diff --git a/.vs/DigitalData.UserManager/DesignTimeBuild/.dtbcache.v2 b/.vs/DigitalData.UserManager/DesignTimeBuild/.dtbcache.v2 index bf346e5..c7aa875 100644 Binary files a/.vs/DigitalData.UserManager/DesignTimeBuild/.dtbcache.v2 and b/.vs/DigitalData.UserManager/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/DigitalData.UserManager/FileContentIndex/70b7f989-eae9-447c-9335-6c5b6de72a4e.vsidx b/.vs/DigitalData.UserManager/FileContentIndex/70b7f989-eae9-447c-9335-6c5b6de72a4e.vsidx new file mode 100644 index 0000000..ac0d609 Binary files /dev/null and b/.vs/DigitalData.UserManager/FileContentIndex/70b7f989-eae9-447c-9335-6c5b6de72a4e.vsidx differ diff --git a/.vs/DigitalData.UserManager/FileContentIndex/9abbe56d-0cd8-4e1b-b7ac-632c694c817e.vsidx b/.vs/DigitalData.UserManager/FileContentIndex/9abbe56d-0cd8-4e1b-b7ac-632c694c817e.vsidx new file mode 100644 index 0000000..81fc0e8 Binary files /dev/null and b/.vs/DigitalData.UserManager/FileContentIndex/9abbe56d-0cd8-4e1b-b7ac-632c694c817e.vsidx differ diff --git a/.vs/DigitalData.UserManager/FileContentIndex/a145341c-2447-457c-8f53-e0a96e31aa59.vsidx b/.vs/DigitalData.UserManager/FileContentIndex/a145341c-2447-457c-8f53-e0a96e31aa59.vsidx new file mode 100644 index 0000000..4ce62b3 Binary files /dev/null and b/.vs/DigitalData.UserManager/FileContentIndex/a145341c-2447-457c-8f53-e0a96e31aa59.vsidx differ diff --git a/.vs/DigitalData.UserManager/FileContentIndex/ded574b6-71d7-4a30-a602-f24e3a692651.vsidx b/.vs/DigitalData.UserManager/FileContentIndex/ded574b6-71d7-4a30-a602-f24e3a692651.vsidx new file mode 100644 index 0000000..9a85647 Binary files /dev/null and b/.vs/DigitalData.UserManager/FileContentIndex/ded574b6-71d7-4a30-a602-f24e3a692651.vsidx differ diff --git a/.vs/DigitalData.UserManager/FileContentIndex/e5bd5043-b45d-4152-b4d5-7f5d392ba2e1.vsidx b/.vs/DigitalData.UserManager/FileContentIndex/e5bd5043-b45d-4152-b4d5-7f5d392ba2e1.vsidx new file mode 100644 index 0000000..8e6e9fe Binary files /dev/null and b/.vs/DigitalData.UserManager/FileContentIndex/e5bd5043-b45d-4152-b4d5-7f5d392ba2e1.vsidx differ diff --git a/.vs/DigitalData.UserManager/v17/.suo b/.vs/DigitalData.UserManager/v17/.suo index e3c5cad..d99c06d 100644 Binary files a/.vs/DigitalData.UserManager/v17/.suo and b/.vs/DigitalData.UserManager/v17/.suo differ diff --git a/DigitalData.UserManager.API/Controllers/GroupController.cs b/DigitalData.UserManager.API/Controllers/GroupController.cs index f7358e6..2fa6817 100644 --- a/DigitalData.UserManager.API/Controllers/GroupController.cs +++ b/DigitalData.UserManager.API/Controllers/GroupController.cs @@ -13,8 +13,8 @@ namespace DigitalData.UserManager.API.Controllers { } - [HttpPost("ByAD")] - public async Task CreateByAD(ADGroup adGroup) + [HttpPost("ByDir")] + public async Task CreateByDir(DirectoryGroupDto adGroup) { var result = await _service.CreateAsync(adGroup); if (result.IsSuccess) diff --git a/DigitalData.UserManager.API/Controllers/UserController.cs b/DigitalData.UserManager.API/Controllers/UserController.cs index 8648010..28587ff 100644 --- a/DigitalData.UserManager.API/Controllers/UserController.cs +++ b/DigitalData.UserManager.API/Controllers/UserController.cs @@ -1,5 +1,6 @@ using DigitalData.Core.API; using DigitalData.UserManager.Application.Contracts; +using DigitalData.UserManager.Application.DTOs.Group; using DigitalData.UserManager.Application.DTOs.User; using DigitalData.UserManager.Domain.Entities; using DigitalData.UserManager.Infrastructure.Contracts; @@ -26,5 +27,19 @@ namespace DigitalData.UserManager.API.Controllers var result = assigned ? await _service.ReadByGroupIdAsync(groupId) : await _service.ReadUnassignedByGroupIdAsync(groupId); ; return Ok(result); } + + [HttpPost("ByDir")] + public async Task CreateByDir(UserPrincipalDto upDto) + { + var result = await _service.CreateAsync(upDto); + if (result.IsSuccess) + { + var createdResource = new { Id = result.Data }; + var actionName = nameof(GetById); + var routeValues = new { id = createdResource.Id }; + return CreatedAtAction(actionName, routeValues, createdResource); + } + return BadRequest(result); + } } } \ No newline at end of file diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.Core.Attributes.dll b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.Core.Attributes.dll deleted file mode 100644 index 964a33b..0000000 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.Core.Attributes.dll and /dev/null differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb deleted file mode 100644 index 3b036e5..0000000 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb and /dev/null differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.dll b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.dll index 6630f13..d7f202c 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.dll and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.dll differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.pdb b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.pdb index d037322..4163d1f 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.pdb and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.API.pdb differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.dll b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.dll index 547bffa..6a3a395 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.dll and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.dll differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb index f1392f6..aae90fb 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll index e6f9e2b..b851a34 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb index 264b0e1..b0ad780 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll index 44f9396..f81c7ad 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll differ diff --git a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb index b5aa4eb..694e64c 100644 Binary files a/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb and b/DigitalData.UserManager.API/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb differ diff --git a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.AssemblyReference.cache b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.AssemblyReference.cache index c284af7..050d7d5 100644 Binary files a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.AssemblyReference.cache and b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.AssemblyReference.cache differ diff --git a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.FileListAbsolute.txt b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.FileListAbsolute.txt index 1eaac7f..8a7d255 100644 --- a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.FileListAbsolute.txt +++ b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.csproj.FileListAbsolute.txt @@ -192,10 +192,8 @@ E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\ E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\runtimes\win\lib\net7.0\System.Windows.Extensions.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\DigitalData.Core.Application.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\DigitalData.Core.Infrastructure.dll -E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\DigitalData.Core.Attributes.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\DigitalData.Core.Application.pdb E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\DigitalData.Core.Infrastructure.pdb -E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\DigitalData.Core.Attributes.pdb E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\System.DirectoryServices.AccountManagement.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\runtimes\win\lib\net7.0\System.DirectoryServices.AccountManagement.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.API\bin\Debug\net7.0\runtimes\win\lib\net7.0\System.Security.Cryptography.ProtectedData.dll diff --git a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.dll b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.dll index 6630f13..d7f202c 100644 Binary files a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.dll and b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.dll differ diff --git a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.pdb b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.pdb index d037322..4163d1f 100644 Binary files a/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.pdb and b/DigitalData.UserManager.API/obj/Debug/net7.0/DigitalData.UserManager.API.pdb differ diff --git a/DigitalData.UserManager.API/obj/Debug/net7.0/ref/DigitalData.UserManager.API.dll b/DigitalData.UserManager.API/obj/Debug/net7.0/ref/DigitalData.UserManager.API.dll index 3fa0f33..474ca19 100644 Binary files a/DigitalData.UserManager.API/obj/Debug/net7.0/ref/DigitalData.UserManager.API.dll and b/DigitalData.UserManager.API/obj/Debug/net7.0/ref/DigitalData.UserManager.API.dll differ diff --git a/DigitalData.UserManager.API/obj/Debug/net7.0/refint/DigitalData.UserManager.API.dll b/DigitalData.UserManager.API/obj/Debug/net7.0/refint/DigitalData.UserManager.API.dll index 3fa0f33..474ca19 100644 Binary files a/DigitalData.UserManager.API/obj/Debug/net7.0/refint/DigitalData.UserManager.API.dll and b/DigitalData.UserManager.API/obj/Debug/net7.0/refint/DigitalData.UserManager.API.dll differ diff --git a/DigitalData.UserManager.Application/Contracts/IGroupService.cs b/DigitalData.UserManager.Application/Contracts/IGroupService.cs index 7a33138..6e74496 100644 --- a/DigitalData.UserManager.Application/Contracts/IGroupService.cs +++ b/DigitalData.UserManager.Application/Contracts/IGroupService.cs @@ -1,12 +1,12 @@ using DigitalData.Core.Contracts.Application; using DigitalData.UserManager.Application.DTOs.Group; -using DigitalData.UserManager.Domain.Entities; using DigitalData.UserManager.Infrastructure.Contracts; +using DigitalData.UserManager.Domain.Entities; namespace DigitalData.UserManager.Application.Contracts { public interface IGroupService : ICRUDService { - Task> CreateAsync(ADGroup adGroup); + Task> CreateAsync(DirectoryGroupDto adGroup); } } \ No newline at end of file diff --git a/DigitalData.UserManager.Application/Contracts/IUserService.cs b/DigitalData.UserManager.Application/Contracts/IUserService.cs index f29ef59..d0356fa 100644 --- a/DigitalData.UserManager.Application/Contracts/IUserService.cs +++ b/DigitalData.UserManager.Application/Contracts/IUserService.cs @@ -14,5 +14,7 @@ namespace DigitalData.UserManager.Application.Contracts Task>> ReadByGroupIdAsync(int groupId); Task>> ReadUnassignedByGroupIdAsync(int groupId); + + Task> CreateAsync(UserPrincipalDto upDto); } } \ No newline at end of file diff --git a/DigitalData.UserManager.Domain/Entities/ADGroup.cs b/DigitalData.UserManager.Application/DTOs/Group/DirectoryGroupDto.cs similarity index 78% rename from DigitalData.UserManager.Domain/Entities/ADGroup.cs rename to DigitalData.UserManager.Application/DTOs/Group/DirectoryGroupDto.cs index 263f9ce..a902427 100644 --- a/DigitalData.UserManager.Domain/Entities/ADGroup.cs +++ b/DigitalData.UserManager.Application/DTOs/Group/DirectoryGroupDto.cs @@ -1,31 +1,28 @@ -using DigitalData.Core.Attributes; - -namespace DigitalData.UserManager.Domain.Entities -{ - [ADFilter("(&(objectClass=group) (samAccountName=*))")] - public class ADGroup - { - public IEnumerable Samaccountname { get; set; } - //public string Name { get; set; } - //public string ObjectSid { get; set; } - //public string ObjectCategory { get; set; } - //public int SamAccountType { get; set; } - //public string DistinguishedName { get; set; } - //public int InstanceType { get; set; } - //public string CN { get; set; } - //public string ObjectClass { get; set; } - //public DateTime WhenChanged { get; set; } - //public Guid ObjectGuid { get; set; } - //public long UsnCreated { get; set; } - //public int? GroupType { get; set; } - //public DateTime? DsCorePropagationData { get; set; } - //public int? AdminCount { get; set; } - //public int? SystemFlags { get; set; } - //public string Member { get; set; } - //public string AdsPath { get; set; } - //public long UsnChanged { get; set; } - //public DateTime WhenCreated { get; set; } - //public string Description { get; set; } - //public bool? IsCriticalSystemObject { get; set; } - } +namespace DigitalData.UserManager.Application.DTOs.Group +{ + public record DirectoryGroupDto + ( + IEnumerable Samaccountname + //public string Name { get; set; } + //public string ObjectSid { get; set; } + //public string ObjectCategory { get; set; } + //public int SamAccountType { get; set; } + //public string DistinguishedName { get; set; } + //public int InstanceType { get; set; } + //public string CN { get; set; } + //public string ObjectClass { get; set; } + //public DateTime WhenChanged { get; set; } + //public Guid ObjectGuid { get; set; } + //public long UsnCreated { get; set; } + //public int? GroupType { get; set; } + //public DateTime? DsCorePropagationData { get; set; } + //public int? AdminCount { get; set; } + //public int? SystemFlags { get; set; } + //public string Member { get; set; } + //public string AdsPath { get; set; } + //public long UsnChanged { get; set; } + //public DateTime WhenCreated { get; set; } + //public string Description { get; set; } + //public bool? IsCriticalSystemObject { get; set; } + ); } \ No newline at end of file diff --git a/DigitalData.UserManager.Application/DTOs/User/UserCreateDto.cs b/DigitalData.UserManager.Application/DTOs/User/UserCreateDto.cs index 1b18bb9..b48ff88 100644 --- a/DigitalData.UserManager.Application/DTOs/User/UserCreateDto.cs +++ b/DigitalData.UserManager.Application/DTOs/User/UserCreateDto.cs @@ -1,17 +1,18 @@ namespace DigitalData.UserManager.Application.DTOs.User { - public record UserCreateDto( - string Prename, - string? Name, - string? Username, - string? Shortname, - string? Email, - string? Language, - string? Comment, - bool? Deleted, - string? DateFormat, - string? AddedWho, - string? ChangedWho, - bool Active - ); + public record class UserCreateDto + { + public string? Prename { get; init; } + public string? Name { get; init; } + public string? Username { get; init; } + public string? Shortname { get; init; } + public string? Email { get; init; } + public string Language { get; init; } = "de-DE"; + public string? Comment { get; init; } + public bool? Deleted { get; init; } + public string DateFormat { get; init; } = "dd.MM.yyyy"; + public string AddedWho { get; init; } = "DEFAULT"; + public string? ChangedWho { get; init; } + public bool Active { get; init; } = true; + } } \ No newline at end of file diff --git a/DigitalData.UserManager.Application/DTOs/User/UserPrincipalDto.cs b/DigitalData.UserManager.Application/DTOs/User/UserPrincipalDto.cs index c01be02..aad89e3 100644 --- a/DigitalData.UserManager.Application/DTOs/User/UserPrincipalDto.cs +++ b/DigitalData.UserManager.Application/DTOs/User/UserPrincipalDto.cs @@ -2,31 +2,33 @@ { public record UserPrincipalDto ( - Guid Guid, - string SId, - string EmployeeId, string SamAccountName, string GivenName, - string MiddleName, + string? MiddleName, string Surname, string EmailAddress, - string VoiceTelephoneNumber, - DateTime? AccountExpirationDate, - DateTime? AccountLockoutTime, - bool AllowReversiblePasswordEncryption, - int BadLogonCount, - bool DelegationPermitted, - bool? Enabled, - string HomeDirectory, - string HomeDrive, - DateTime? LastBadPasswordAttempt, - DateTime? LastLogon, - DateTime? LastPasswordSet, - bool PasswordNeverExpires, - bool PasswordNotRequired, - byte[] PermittedLogonTimes, - bool SmartcardLogonRequired, - bool UserCannotChangePassword + string? AddedWho, + string? DateFormat + // Guid Guid, + // string SId, + // string EmployeeId, + // string VoiceTelephoneNumber, + // DateTime? AccountExpirationDate, + // DateTime? AccountLockoutTime, + // bool AllowReversiblePasswordEncryption, + // int BadLogonCount, + // bool DelegationPermitted, + // bool? Enabled, + // string HomeDirectory, + // string HomeDrive, + // DateTime? LastBadPasswordAttempt, + // DateTime? LastLogon, + // DateTime? LastPasswordSet, + // bool PasswordNeverExpires, + // bool PasswordNotRequired, + // byte[] PermittedLogonTimes, + // bool SmartcardLogonRequired, + // bool UserCannotChangePassword ); } diff --git a/DigitalData.UserManager.Application/MappingProfiles/GroupMappingProfile.cs b/DigitalData.UserManager.Application/MappingProfiles/GroupMappingProfile.cs index 21432e5..12ced0c 100644 --- a/DigitalData.UserManager.Application/MappingProfiles/GroupMappingProfile.cs +++ b/DigitalData.UserManager.Application/MappingProfiles/GroupMappingProfile.cs @@ -16,7 +16,7 @@ namespace DigitalData.UserManager.Application.MappingProfiles CreateMap(); CreateMap(); - CreateMap() + CreateMap() .ForMember(group => group.EcmFkId, opt => opt.MapFrom(adGroup => 1)) .ForMember(group => group.AdSync, opt => opt.MapFrom(adGroup => true)) .ForMember(group => group.Internal, opt => opt.MapFrom(adGroup => false)) diff --git a/DigitalData.UserManager.Application/MappingProfiles/UserMappingProfile.cs b/DigitalData.UserManager.Application/MappingProfiles/UserMappingProfile.cs index 6788ea5..34411f1 100644 --- a/DigitalData.UserManager.Application/MappingProfiles/UserMappingProfile.cs +++ b/DigitalData.UserManager.Application/MappingProfiles/UserMappingProfile.cs @@ -15,6 +15,12 @@ namespace DigitalData.UserManager.Application.MappingProfiles CreateMap(); CreateMap(); CreateMap(); + + CreateMap() + .ForMember(user => user.Name, opt => opt.MapFrom(upDto => upDto.Surname)) + .ForMember(user => user.Prename, opt => opt.MapFrom(upDto => upDto.GivenName)) + .ForMember(user => user.Username, opt => opt.MapFrom(upDto => upDto.SamAccountName)) + .ForMember(user => user.Email, opt => opt.MapFrom(upDto => upDto.EmailAddress)); } } } \ No newline at end of file diff --git a/DigitalData.UserManager.Application/MessageKey.cs b/DigitalData.UserManager.Application/MessageKey.cs index 99ade02..56c0fc1 100644 --- a/DigitalData.UserManager.Application/MessageKey.cs +++ b/DigitalData.UserManager.Application/MessageKey.cs @@ -10,6 +10,7 @@ namespace DigitalData.UserManager.Application { UserNotFound, GroupNotFound, - GroupAlreadyExists + GroupAlreadyExists, + UserAlreadyExists } } diff --git a/DigitalData.UserManager.Application/Services/GroupService.cs b/DigitalData.UserManager.Application/Services/GroupService.cs index 56a091b..0be3e9b 100644 --- a/DigitalData.UserManager.Application/Services/GroupService.cs +++ b/DigitalData.UserManager.Application/Services/GroupService.cs @@ -15,7 +15,7 @@ namespace DigitalData.UserManager.Application.Services { } - public async Task> CreateAsync(ADGroup adGroup) + public async Task> CreateAsync(DirectoryGroupDto adGroup) { var group = _mapper.MapOrThrow(adGroup); diff --git a/DigitalData.UserManager.Application/Services/UserService.cs b/DigitalData.UserManager.Application/Services/UserService.cs index 0b6c2c2..4d5e0cd 100644 --- a/DigitalData.UserManager.Application/Services/UserService.cs +++ b/DigitalData.UserManager.Application/Services/UserService.cs @@ -11,7 +11,7 @@ namespace DigitalData.UserManager.Application.Services { public class UserService : CRUDService, IUserService { - public UserService(IModuleService moduleService, IUserRepository repository, IKeyTranslationService translationService, IMapper mapper) : base(repository, translationService, mapper) + public UserService(IUserRepository repository, IKeyTranslationService translationService, IMapper mapper) : base(repository, translationService, mapper) { } @@ -42,5 +42,19 @@ namespace DigitalData.UserManager.Application.Services IEnumerable readDTOs = _mapper.MapOrThrow>(users); return Successful(readDTOs); } + + public async Task> CreateAsync(UserPrincipalDto upDto) + { + var user = _mapper.MapOrThrow(upDto); + + if (await HasEntity(user.Guid)) + return Failed(MessageKey.UserAlreadyExists.ToString()); + + var createdUser = await _repository.CreateAsync(user); + if (createdUser is null) + return Failed(); + else + return Successful(KeyValueOf(createdUser)); + } } } \ No newline at end of file diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.Core.Attributes.dll b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.Core.Attributes.dll deleted file mode 100644 index 964a33b..0000000 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.Core.Attributes.dll and /dev/null differ diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb deleted file mode 100644 index 3b036e5..0000000 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb and /dev/null differ diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.dll b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.dll index 547bffa..6a3a395 100644 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.dll and b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.dll differ diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb index f1392f6..aae90fb 100644 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb and b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Application.pdb differ diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll index e6f9e2b..b851a34 100644 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll and b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll differ diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb index 264b0e1..b0ad780 100644 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb and b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb differ diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll index 44f9396..f81c7ad 100644 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll and b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll differ diff --git a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb index b5aa4eb..694e64c 100644 Binary files a/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb and b/DigitalData.UserManager.Application/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb differ diff --git a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.AssemblyReference.cache b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.AssemblyReference.cache index 5723942..25d3152 100644 Binary files a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.AssemblyReference.cache and b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.AssemblyReference.cache differ diff --git a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.CoreCompileInputs.cache b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.CoreCompileInputs.cache index 7b6ebdf..41bca92 100644 --- a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.CoreCompileInputs.cache +++ b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -dba0a8f681b3418fb35a3068cfbc370fa3c25506 +c497a415ad8663b537bfca6b9097d6da9018430d diff --git a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.FileListAbsolute.txt b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.FileListAbsolute.txt index 2c51d42..88402a8 100644 --- a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.FileListAbsolute.txt +++ b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.csproj.FileListAbsolute.txt @@ -43,8 +43,6 @@ E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Appl E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Contracts.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Contracts.pdb E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Application.dll -E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Attributes.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Infrastructure.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Application.pdb -E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Attributes.pdb E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Application\bin\Debug\net7.0\DigitalData.Core.Infrastructure.pdb diff --git a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.dll b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.dll index 547bffa..6a3a395 100644 Binary files a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.dll and b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.dll differ diff --git a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.pdb b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.pdb index f1392f6..aae90fb 100644 Binary files a/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.pdb and b/DigitalData.UserManager.Application/obj/Debug/net7.0/DigitalData.UserManager.Application.pdb differ diff --git a/DigitalData.UserManager.Application/obj/Debug/net7.0/ref/DigitalData.UserManager.Application.dll b/DigitalData.UserManager.Application/obj/Debug/net7.0/ref/DigitalData.UserManager.Application.dll index 488eaa0..a54528f 100644 Binary files a/DigitalData.UserManager.Application/obj/Debug/net7.0/ref/DigitalData.UserManager.Application.dll and b/DigitalData.UserManager.Application/obj/Debug/net7.0/ref/DigitalData.UserManager.Application.dll differ diff --git a/DigitalData.UserManager.Application/obj/Debug/net7.0/refint/DigitalData.UserManager.Application.dll b/DigitalData.UserManager.Application/obj/Debug/net7.0/refint/DigitalData.UserManager.Application.dll index 488eaa0..a54528f 100644 Binary files a/DigitalData.UserManager.Application/obj/Debug/net7.0/refint/DigitalData.UserManager.Application.dll and b/DigitalData.UserManager.Application/obj/Debug/net7.0/refint/DigitalData.UserManager.Application.dll differ diff --git a/DigitalData.UserManager.Domain/Entities/SignInUser.cs b/DigitalData.UserManager.Domain/Entities/SignInUser.cs deleted file mode 100644 index f3c810f..0000000 --- a/DigitalData.UserManager.Domain/Entities/SignInUser.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; - -namespace DigitalData.UserManager.Domain.Entities -{ - public class UserModuleAccess - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - [Column("SequentialOrder")] - public int SequentialOrder { get; set; } - - [Column("USER_ID")] - public int UserId { get; set; } - - [Column("USER_PRENAME")] - public string UserPrename { get; set; } - - [Column("USER_SURNAME")] - public string UserSurname { get; set; } - - [Column("USER_SHORTNAME")] - public string UserShortName { get; set; } - - [Column("USER_EMAIL")] - public string UserEmail { get; set; } - - [Column("USER_LANGUAGE")] - public string UserLanguage { get; set; } - - [Column("USER_LANGUAGE_ID")] - public byte UserLanguageId { get; set; } - - [Column("USER_DATE_FORMAT")] - public string UserDateFormat { get; set; } - - [Column("USER_RIGHT_FILE_DEL")] - public bool UserRightFileDel { get; set; } - - [Column("MODULE_ACCESS")] - public bool ModuleAccess { get; set; } - - [Column("IS_ADMIN")] - public bool IsAdmin { get; set; } - - [Column("USERCOUNT_LOGGED_IN")] - public int UsercountLoggedIn { get; set; } - - [Column("COMMENT")] - public string Comment { get; set; } - - [Column("USER_RIGHT2")] - public bool UserRight2 { get; set; } - - [Column("USER_RIGHT3")] - public bool UserRight3 { get; set; } - - [Column("USER_RIGHT4")] - public bool UserRight4 { get; set; } - - [Column("USER_RIGHT5")] - public bool UserRight5 { get; set; } - - [Column("WORKING_MODE")] - public string WorkingMode { get; set; } - - [Column("ADDITIONAL_TITLE")] - public string AdditionalTitle { get; set; } - } - -} diff --git a/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll b/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll index e6f9e2b..b851a34 100644 Binary files a/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll and b/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll differ diff --git a/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb b/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb index 264b0e1..b0ad780 100644 Binary files a/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb and b/DigitalData.UserManager.Domain/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb differ diff --git a/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.csproj.CoreCompileInputs.cache b/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.csproj.CoreCompileInputs.cache index 5b52e92..37b88a9 100644 --- a/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.csproj.CoreCompileInputs.cache +++ b/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -95e0c0254180ef41d498bfd49d7efe64ba775773 +53859718eaebb4f6e3fcf5214f10cd5a6924bee7 diff --git a/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.dll b/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.dll index e6f9e2b..b851a34 100644 Binary files a/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.dll and b/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.dll differ diff --git a/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.pdb b/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.pdb index 264b0e1..b0ad780 100644 Binary files a/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.pdb and b/DigitalData.UserManager.Domain/obj/Debug/net7.0/DigitalData.UserManager.Domain.pdb differ diff --git a/DigitalData.UserManager.Domain/obj/Debug/net7.0/ref/DigitalData.UserManager.Domain.dll b/DigitalData.UserManager.Domain/obj/Debug/net7.0/ref/DigitalData.UserManager.Domain.dll index 1a456ff..41da26a 100644 Binary files a/DigitalData.UserManager.Domain/obj/Debug/net7.0/ref/DigitalData.UserManager.Domain.dll and b/DigitalData.UserManager.Domain/obj/Debug/net7.0/ref/DigitalData.UserManager.Domain.dll differ diff --git a/DigitalData.UserManager.Domain/obj/Debug/net7.0/refint/DigitalData.UserManager.Domain.dll b/DigitalData.UserManager.Domain/obj/Debug/net7.0/refint/DigitalData.UserManager.Domain.dll index 1a456ff..41da26a 100644 Binary files a/DigitalData.UserManager.Domain/obj/Debug/net7.0/refint/DigitalData.UserManager.Domain.dll and b/DigitalData.UserManager.Domain/obj/Debug/net7.0/refint/DigitalData.UserManager.Domain.dll differ diff --git a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.Core.Attributes.dll b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.Core.Attributes.dll deleted file mode 100644 index 964a33b..0000000 Binary files a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.Core.Attributes.dll and /dev/null differ diff --git a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb deleted file mode 100644 index 3b036e5..0000000 Binary files a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.Core.Attributes.pdb and /dev/null differ diff --git a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll index e6f9e2b..b851a34 100644 Binary files a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll and b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.dll differ diff --git a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb index 264b0e1..b0ad780 100644 Binary files a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb and b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Domain.pdb differ diff --git a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll index 44f9396..f81c7ad 100644 Binary files a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll and b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll differ diff --git a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb index b5aa4eb..694e64c 100644 Binary files a/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb and b/DigitalData.UserManager.Infrastructure/bin/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb differ diff --git a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.AssemblyReference.cache b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.AssemblyReference.cache index 8f2ea5c..f5a888e 100644 Binary files a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.AssemblyReference.cache and b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.AssemblyReference.cache differ diff --git a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.FileListAbsolute.txt b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.FileListAbsolute.txt index df3fcac..4e37dfe 100644 --- a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.FileListAbsolute.txt +++ b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.csproj.FileListAbsolute.txt @@ -39,6 +39,4 @@ E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Infr E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Infrastructure\bin\Debug\net7.0\DigitalData.Core.Contracts.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Infrastructure\bin\Debug\net7.0\DigitalData.Core.Contracts.pdb E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Infrastructure\bin\Debug\net7.0\DigitalData.Core.Infrastructure.dll -E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Infrastructure\bin\Debug\net7.0\DigitalData.Core.Attributes.dll E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Infrastructure\bin\Debug\net7.0\DigitalData.Core.Infrastructure.pdb -E:\TekH\Visual Studio\DDWeb\DigitalData.UserManager\DigitalData.UserManager.Infrastructure\bin\Debug\net7.0\DigitalData.Core.Attributes.pdb diff --git a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll index 44f9396..f81c7ad 100644 Binary files a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll and b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.dll differ diff --git a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb index b5aa4eb..694e64c 100644 Binary files a/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb and b/DigitalData.UserManager.Infrastructure/obj/Debug/net7.0/DigitalData.UserManager.Infrastructure.pdb differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/0.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/0.pack index 9430187..43834d9 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/0.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/0.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/1.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/1.pack index f67fa4e..9c81e6c 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/1.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/1.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/12.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/12.pack index cfbba82..03bdd6b 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/12.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/12.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/13.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/13.pack index e082631..9ba337b 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/13.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/13.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/14.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/14.pack index 0ddaecc..a90b502 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/14.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/14.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/16.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/16.pack index 3dd0178..78fbb01 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/16.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/16.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/17.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/17.pack index a802965..3e80fe1 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/17.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/17.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/18.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/18.pack index fd85b18..032aa28 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/18.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/18.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/19.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/19.pack index a5c8fe6..45e77a8 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/19.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/19.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/2.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/2.pack index c2f9666..8c646ce 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/2.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/2.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/20.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/20.pack index b3d5e79..e2dcaee 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/20.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/20.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/21.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/21.pack index 5b555b8..750986a 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/21.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/21.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/22.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/22.pack index 1099c6b..604f09f 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/22.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/22.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/23.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/23.pack new file mode 100644 index 0000000..9d56ee7 Binary files /dev/null and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/23.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/3.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/3.pack index 9b93653..cb8150a 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/3.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/3.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/4.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/4.pack index 19a7d66..bf037d1 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/4.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/4.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/5.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/5.pack index bc9d0dc..a1cbe39 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/5.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/5.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/6.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/6.pack index 8da7e48..ba8e86f 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/6.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/6.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/7.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/7.pack index 718e6f0..a811599 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/7.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/7.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/8.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/8.pack index 03de1f0..455a00e 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/8.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/8.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack index 5ba22b1..125e141 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack.old b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack.old index 737fc0b..6d783cf 100644 Binary files a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack.old and b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/angular-webpack/0fef3cd6ae4edd4d018d6e2742b4885328232205/index.pack.old differ diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0090cc716eab3ebbcfab85ba2df996315460bc4c47bb5c3d1d0264c5769ae94a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0090cc716eab3ebbcfab85ba2df996315460bc4c47bb5c3d1d0264c5769ae94a.json new file mode 100644 index 0000000..5123941 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0090cc716eab3ebbcfab85ba2df996315460bc4c47bb5c3d1d0264c5769ae94a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByAd(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IA0FD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAACE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AA,CAAAnD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/01a79ead432e2cb3234de2e2db943466ea437df4b53e86544712921af4c44bf2.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/01a79ead432e2cb3234de2e2db943466ea437df4b53e86544712921af4c44bf2.json new file mode 100644 index 0000000..f8a7974 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/01a79ead432e2cb3234de2e2db943466ea437df4b53e86544712921af4c44bf2.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n \r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"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8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACI,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAApD,qBAAA,CAAsC,mBAAAoD,GAAA,CAAAZ,sBAAA;QAGxCG,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAArD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/02226cf2cd363ef4391ccdf72e6501e2063d1e083d035b5c724270d90edd19ef.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/02226cf2cd363ef4391ccdf72e6501e2063d1e083d035b5c724270d90edd19ef.json new file mode 100644 index 0000000..6b05d32 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/02226cf2cd363ef4391ccdf72e6501e2063d1e083d035b5c724270d90edd19ef.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(12, \"Gruppen\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,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;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAKLV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAI5Ef,EAAA,CAAAU,cAAA,aAA2B;QAIXV,EAAA,CAAAW,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,eAAO;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/05aafe2b0fba68958b37ad374c73b789c48ddef693cf7d88ea2083a6f09b20cf.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/05aafe2b0fba68958b37ad374c73b789c48ddef693cf7d88ea2083a6f09b20cf.json new file mode 100644 index 0000000..b9ba548 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/05aafe2b0fba68958b37ad374c73b789c48ddef693cf7d88ea2083a6f09b20cf.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class GroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function GroupDirImportComponent_Factory(t) {\n return new (t || GroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupDirImportComponent,\n selectors: [[\"app-group-dir-import\"]],\n viewQuery: function GroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"]],\n template: function GroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function GroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 1);\n i0.ɵɵelement(10, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","GroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","uService","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","GroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-group-dir-import',\r\n templateUrl: './group-dir-import.component.html',\r\n styleUrl: './group-dir-import.component.css'\r\n})\r\nexport class GroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;AAUrD,OAAM,MAAOC,uBAAuB;EAIlCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,C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AA,CAAA1D,sBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0647332175ca3bf078c582e2b1ee63322e1270aee4ffd3c0e4963a16904c6b84.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0647332175ca3bf078c582e2b1ee63322e1270aee4ffd3c0e4963a16904c6b84.json new file mode 100644 index 0000000..0cda5ff --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0647332175ca3bf078c582e2b1ee63322e1270aee4ffd3c0e4963a16904c6b84.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2.5em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"3em\", \"height\", \"2.5em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsb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i1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,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AAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0676107ebab41ef9ec6d438dd59f72cfa9087c6d40fb68d52159ff540a5c83e3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0676107ebab41ef9ec6d438dd59f72cfa9087c6d40fb68d52159ff540a5c83e3.json new file mode 100644 index 0000000..195c31f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0676107ebab41ef9ec6d438dd59f72cfa9087c6d40fb68d52159ff540a5c83e3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n \r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG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2B;IAAAoD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAKLV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAA1C,iBAAA,EAAmB;QAAA,EAAC;QAACiC,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAI5Ef,EAAA,CAAAU,cAAA,aAA2B;QAIXV,EAAA,CAAAW,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACI,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAApD,qBAAA,CAAsC;QAGxC2C,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAArD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/06850d7068ee0f302e8c863b1d4288f94f2c79f1f9d9a20159db6f3ba73fc746.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/06850d7068ee0f302e8c863b1d4288f94f2c79f1f9d9a20159db6f3ba73fc746.json new file mode 100644 index 0000000..f0fc3dd --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/06850d7068ee0f302e8c863b1d4288f94f2c79f1f9d9a20159db6f3ba73fc746.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;E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;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAG8CV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QACvHf,EAAA,CAAAU,cAAA,gBAA0F;QAC5EV,EAAA,CAAAa,MAAA,eAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAK7Cf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/06eeaf758870a9991e4a07b2ca0915b3a8dfdf8d0a0eabffccc4cf1f467c300b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/06eeaf758870a9991e4a07b2ca0915b3a8dfdf8d0a0eabffccc4cf1f467c300b.json new file mode 100644 index 0000000..9fe6fc3 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/06eeaf758870a9991e4a07b2ca0915b3a8dfdf8d0a0eabffccc4cf1f467c300b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 23,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"row\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"div\", 2)(3, \"nav\", 3)(4, \"form\", 4)(5, \"button\", 5);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_5_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(6, \"Gruppen\");\n i0.ɵɵelement(7, \"br\");\n i0.ɵɵtext(8, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(9, \"div\", 2)(10, \"nav\", 3)(11, \"form\", 4)(12, \"button\", 5);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_12_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(13, \"Gruppen\");\n i0.ɵɵelement(14, \"br\");\n i0.ɵɵtext(15, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()()();\n i0.ɵɵelementStart(16, \"div\", 6)(17, \"div\", 2);\n i0.ɵɵelement(18, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(20, \"div\", 2);\n i0.ɵɵelement(21, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(18);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_5_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_12_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB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A,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0caf4f606af44d15616c59c979ef337f22fc128fa98a29192c1ee85eef0fb49e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0caf4f606af44d15616c59c979ef337f22fc128fa98a29192c1ee85eef0fb49e.json new file mode 100644 index 0000000..656726f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0caf4f606af44d15616c59c979ef337f22fc128fa98a29192c1ee85eef0fb49e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;IAmDD,KAAAC,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAACE,MAAM,CAACC,cAAc;QACnE,IAAI,CAACC,QAAQ,CAACC,oBAAoB,CAACJ,SAAS,CAAC;;IAEjD,CAAC;EAzED;EAEAK,QAAQA,CAAA,GACR;EAMAC,eAAeA,CAAA;IACb,IAAI,CAACH,QAAQ,CAACI,OAAO,GAAG,KAAK;EAC/B;EAQAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ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ceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0d146abf43a67ebe9f577638d3b1a9312029546b165d5b2718e3facf737372a3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0d146abf43a67ebe9f577638d3b1a9312029546b165d5b2718e3facf737372a3.json new file mode 100644 index 0000000..a09d426 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0d146abf43a67ebe9f577638d3b1a9312029546b165d5b2718e3facf737372a3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 79,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"height\", \"800px\", \"width\", \"800px\", \"version\", \"1.1\", \"id\", \"Layer_1\", \"xmlns\", \"http://www.w3.org/2000/svg\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"viewBox\", \"0 0 489.5 489.5\", 0, \"xml\", \"space\", \"preserve\"], [\"id\", \"XMLID_324_\", \"d\", \"M480.3,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.7c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#94A4A4\"], [\"id\", \"XMLID_323_\", \"d\", \"M306.5,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.8c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#E64C3D\"], [\"id\", \"XMLID_322_\", \"d\", \"M131.7,446.85v-17.3c0-3.6-1.6-7.1-4.4-9.4c-15.6-12.8-32.4-21.3-35.9-23\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.3c3.1-2,5.1-5.5,5.1-9.5v-25.2c0-12.5-10.2-22.7-22.7-22.7h-2.7h-2.8c-12.5,0-22.7,10.2-22.7,22.7\\n v25.2c0,3.9,2,7.4,5.1,9.5v24.3c0,0.4-0.2,0.8-0.6,1c-3.4,1.7-20.3,10.2-35.9,23c-2.8,2.3-4.4,5.8-4.4,9.4v17.3\", 2, \"fill\", \"#94A4A4\"], [\"d\", \"M315.5,202.55c5,0,9.1-4.1,9.1-9.1v-19.9c0-7-3.1-13.5-8.4-17.9c-14.9-12.2-30.8-21.2-38.7-25.4\\n v-19.1c3.7-4,5.8-9.4,5.8-15v-29c0-19.4-15.8-35.2-35.2-35.2h-6.2c-19.4,0-35.2,15.8-35.2,35.2v29c0,5.6,2.1,10.9,5.8,15v19.1\\n c-7.9,4.1-23.8,13.1-38.7,25.4c-5.3,4.4-8.4,10.9-8.4,17.9v19.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-19.9c0-1.5,0.7-2.9,1.8-3.9\\n c17.2-14.2,35.9-23.6,39.5-25.3c3.5-1.7,5.8-5.4,5.8-9.3v-28c0-3-1.5-5.9-4-7.5c-1.1-0.8-1.8-2-1.8-3.3v-29c0-9.4,7.6-17,17-17\\n h6.2c9.4,0,17,7.6,17,17v29c0,1.3-0.7,2.6-1.8,3.3c-2.5,1.7-4,4.5-4,7.5v28c0,3.9,2.3,7.6,5.8,9.3c3.6,1.7,22.3,11.2,39.5,25.3\\n c1.1,0.9,1.8,2.3,1.8,3.9v19.9C306.5,198.55,310.5,202.55,315.5,202.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M236,282.05c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8h155.1v27.8c0,5,4.1,9.1,9.1,9.1\\n s9.1-4.1,9.1-9.1v-36.9c0-5-4.1-9.1-9.1-9.1H254.1v-27.8c0-5-4.1-9.1-9.1-9.1s-9.1,4.1-9.1,9.1v27.8H71.1c-5,0-9.1,4.1-9.1,9.1\\n v36.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8H236V282.05z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M453,362.95v-25.5c0-17.7-14.4-32-32-32h-5.5c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6\\n v15.7c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-1,0.4-1.9,1.2-2.5c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2\\n v-25.5c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1v-15.7C451.2,372.85,453,368.05,453,362.95z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M306.5,457.55c5,0,9.1-4.1,9.1-9.1v-17.5c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1\\n v-15.7c3.3-3.7,5.1-8.5,5.1-13.6v-25.5c0-17.7-14.4-32-32-32h-5.6c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6v15.7\\n c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5c0-1,0.4-1.9,1.2-2.5\\n c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2v-25.5\\n c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5C297.4,453.45,301.5,457.55,306.5,457.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M131.7,455.95c5,0,9.1-4.1,9.1-9.1v-17.3c0-6.4-2.8-12.4-7.8-16.4c-12.6-10.4-26.1-18.1-33.2-21.9\\n v-15.4c3.2-3.7,5.1-8.4,5.1-13.5v-25.2c0-17.5-14.2-31.8-31.8-31.8h-5.4c-17.5,0-31.8,14.2-31.8,31.8v25.2c0,5,1.8,9.8,5.1,13.5\\n v15.4c-7.1,3.8-20.5,11.5-33.2,21.9c-4.9,4-7.8,10-7.8,16.4v17.3c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.3c0-1,0.4-1.8,1.1-2.4\\n c14.9-12.2,31-20.4,34.1-21.9c3.5-1.7,5.7-5.3,5.7-9.1v-24.3c0-3-1.5-5.9-4-7.5c-0.3-0.2-1-0.8-1-1.9v-25.2\\n c0-7.5,6.1-13.6,13.6-13.6h5.4c7.5,0,13.6,6.1,13.6,13.6v25.2c0,1.1-0.7,1.7-1,1.9c-2.5,1.7-4,4.5-4,7.5v24.3\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.2,9.7,34.1,21.9c0.7,0.6,1.1,1.5,1.1,2.4v17.2C122.6,451.95,126.7,455.95,131.7,455.95z\", 2, \"fill\", \"#2C2F33\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38)(69, \"g\")(70, \"g\");\n i0.ɵɵelement(71, \"path\", 39)(72, \"path\", 40)(73, \"path\", 41)(74, \"path\", 42)(75, \"path\", 43)(76, \"path\", 44)(77, \"path\", 45)(78, \"path\", 46);\n i0.ɵɵelementEnd()()()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2QixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsVUFBVTtFQUNWLGVBQWU7RUFDZixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxhQUFhO0VBQ2IsaUJBQWlCO0VBQ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*/\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50v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 No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0ef9460f702a1143482eb25ebc49924f227b4200c6f778c2cb685549a16fd29a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0ef9460f702a1143482eb25ebc49924f227b4200c6f778c2cb685549a16fd29a.json new file mode 100644 index 0000000..61c0892 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0ef9460f702a1143482eb25ebc49924f227b4200c6f778c2cb685549a16fd29a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd( row?.source ).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAA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AAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAtD,qBAAA,CAAsC,mBAAAsD,GAAA,CAAAhD,sBAAA;QAGxCuC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAvD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0fc840b3441aec2cf97a2b3c73ba47f9eb89a08daf56b9cf66b11f7cc1979cca.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0fc840b3441aec2cf97a2b3c73ba47f9eb89a08daf56b9cf66b11f7cc1979cca.json new file mode 100644 index 0000000..b76dd92 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/0fc840b3441aec2cf97a2b3c73ba47f9eb89a08daf56b9cf66b11f7cc1979cca.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-2\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵelement(9, \"app-dir-user-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2B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{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/13465ac7ee8c4637ef0ccfec6ad4c01520ed820e699e24a0b464b9cf4c3a24e8.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/13465ac7ee8c4637ef0ccfec6ad4c01520ed820e699e24a0b464b9cf4c3a24e8.json new file mode 100644 index 0000000..0f935d5 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/13465ac7ee8c4637ef0ccfec6ad4c01520ed820e699e24a0b464b9cf4c3a24e8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n imporGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 68,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵelementEnd()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2QixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsVUFBVTtFQUNWLGVBQW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clxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","imporGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","importGroup","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {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AA,EAAoC,4BAAA7B,EAAA,CAAA4B,eAAA,KAAAE,GAAA;QACnC9B,EAAA,CAAAwB,SAAA,EAA8B;QAA9BxB,EAAA,CAAAyB,UAAA,eAAAzB,EAAA,CAAA4B,eAAA,KAAAK,GAAA,EAA8B;QAE/BjC,EAAA,CAAAwB,SAAA,GAAoC;QAApCxB,EAAA,CAAAyB,UAAA,qBAAAzB,EAAA,CAAA4B,eAAA,KAAAC,GAAA,EAAoC,4BAAA7B,EAAA,CAAA4B,eAAA,KAAAE,GAAA;QACnC9B,EAAA,CAAAwB,SAAA,EAA+B;QAA/BxB,EAAA,CAAAyB,UAAA,eAAAzB,EAAA,CAAA4B,eAAA,KAAAM,GAAA,EAA+B;QAEhClC,EAAA,CAAAwB,SAAA,GAAoC;QAApCxB,EAAA,CAAAyB,UAAA,qBAAAzB,EAAA,CAAA4B,eAAA,KAAAC,GAAA,EAAoC,4BAAA7B,EAAA,CAAA4B,eAAA,KAAAE,GAAA;QACnC9B,EAAA,CAAAwB,SAAA,EAAgC;QAAhCxB,EAAA,CAAAyB,UAAA,eAAAzB,EAAA,CAAA4B,eAAA,KAAAO,GAAA,EAAgC;QAIdnC,EAAA,CAAAwB,SAAA,GAAoB;QAApBxB,EAAA,CAAAyB,UAAA,eAAAzB,EAAA,CAAA4B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BpC,EAAA,CAAAwB,SAAA,GAAiC;QAAjCxB,EAAA,CAAAqC,WAAA,kBAAAzB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/14470c82a88a68ed3bf749f5315d7abd6fb08fb60e2c5ccd4f205963641ed3f3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/14470c82a88a68ed3bf749f5315d7abd6fb08fb60e2c5ccd4f205963641ed3f3.json new file mode 100644 index 0000000..cfac15d --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/14470c82a88a68ed3bf749f5315d7abd6fb08fb60e2c5ccd4f205963641ed3f3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.http = http;\n this.baseUrl = baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { User } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL')baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n http: HttpClient;\r\n baseUrl: string;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAAoBC,OAAe;IAC7D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;EACxB;EAKAC,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA2B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC1E;EAAC,QAAAG,CAAA,G;qBAhBUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/1549f546f89c5843909dd6d1ceb5949a5da44974f36f71deb4ab4ac39ca99618.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/1549f546f89c5843909dd6d1ceb5949a5da44974f36f71deb4ab4ac39ca99618.json new file mode 100644 index 0000000..1f93be1 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/1549f546f89c5843909dd6d1ceb5949a5da44974f36f71deb4ab4ac39ca99618.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private dirService: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAs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git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/1d22e94ff74f73d49d9f82795bd451b6cad5705bcc83f92a99b58572a9591120.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/1d22e94ff74f73d49d9f82795bd451b6cad5705bcc83f92a99b58572a9591120.json new file mode 100644 index 0000000..8f9f662 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/1d22e94ff74f73d49d9f82795bd451b6cad5705bcc83f92a99b58572a9591120.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\nimport { HttpClientModule } from '@angular/common/http';\nimport { RouterModule } from '@angular/router';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { AppComponent } from './app.component';\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\nimport { HomeComponent } from './home/home.component';\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\nimport { CardComponent } from './components/common/card/card.component';\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from './components/group-dir-import/group-dir-import.component';\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nimport * as i2 from \"@angular/router\";\nexport class AppModule {\n static #_ = this.ɵfac = function AppModule_Factory(t) {\n return new (t || AppModule)();\n };\n static #_2 = this.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: AppModule,\n bootstrap: [AppComponent]\n });\n static #_3 = this.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [BrowserModule.withServerTransition({\n appId: 'ng-cli-universal'\n }), HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, RouterModule.forRoot([{\n path: '',\n component: HomeComponent,\n pathMatch: 'full'\n }, {\n path: 'user-table',\n component: UserTableComponent\n }, {\n path: 'group-table',\n component: GroupTableComponent\n }, {\n path: 'module-table',\n component: ModuleTableComponent\n }, {\n path: 'user-assignment',\n component: UserAssignmentComponent\n }, {\n path: 'user-representation',\n component: UserRepresentationComponent\n }])]\n });\n}\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, {\n declarations: [AppComponent, NavMenuComponent, HomeComponent, BaseTableComponent, UserTableComponent, GroupTableComponent, ModuleTableComponent, GroupUserTableComponent, UserRepTableComponent, DirGroupTableComponent, UserAssignmentComponent, UserRepresentationComponent, UserGroupDirImportComponent, DirUserTableComponent, GroupDirImportComponent],\n imports: [i1.BrowserModule, HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, i2.RouterModule]\n });\n})();","map":{"version":3,"names":["BrowserModule","FormsModule","HttpClientModule","RouterModule","BrowserAnimationsModule","AppComponent","NavMenuComponent","HomeComponent","GuiGridModule","BaseTableComponent","UserTableComponent","GroupTableComponent","ModuleTableComponent","UserAssignmentComponent","CardComponent","TabCardComponent","MatTabsModule","MatTabGroup","MatCommonModule","DragDropModule","MatTableComponent","UserRepresentationComponent","GroupUserTableComponent","UserRepTableComponent","SweetAlert2Module","DirGroupTableComponent","UserGroupDirImportComponent","GroupDirImportComponent","DirUserTableComponent","MatButtonModule","MatIconModule","AppModule","_","_2","bootstrap","_3","withServerTransition","appId","forRoot","path","component","pathMatch","declarations","imports","i1","i2"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\app.module.ts"],"sourcesContent":["import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AppComponent } from './app.component';\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\r\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\r\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\r\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\r\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\r\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\r\nimport { CardComponent } from './components/common/card/card.component';\r\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\r\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\r\nimport { MatCommonModule } from '@angular/material/core';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\r\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\r\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\r\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\r\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\r\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\r\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from './components/group-dir-import/group-dir-import.component';\r\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NavMenuComponent,\r\n HomeComponent,\r\n BaseTableComponent,\r\n UserTableComponent,\r\n GroupTableComponent,\r\n ModuleTableComponent,\r\n GroupUserTableComponent,\r\n UserRepTableComponent,\r\n DirGroupTableComponent,\r\n UserAssignmentComponent,\r\n UserRepresentationComponent,\r\n UserGroupDirImportComponent,\r\n DirUserTableComponent,\r\n GroupDirImportComponent\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n GuiGridModule,\r\n CardComponent,\r\n MatTableComponent,\r\n TabCardComponent,\r\n MatTabsModule,\r\n MatTabGroup,\r\n MatCommonModule,\r\n DragDropModule,\r\n SweetAlert2Module,\r\n MatButtonModule,\r\n MatIconModule,\r\n RouterModule.forRoot([\r\n { path: '', component: HomeComponent, pathMatch: 'full' },\r\n { path: 'user-table', component: UserTableComponent },\r\n { path: 'group-table', component: GroupTableComponent },\r\n { path: 'module-table', component: ModuleTableComponent },\r\n { path: 'user-assignment', component: UserAssignmentComponent },\r\n { path: 'user-representation', component: UserRepresentationComponent },\r\n ])\r\n ]\r\n})\r\nexport class AppModule { }"],"mappings":"AAAA,SAASA,aAAa,QAAQ,2BAA2B;AAEzD,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,gBAAgB,QAAQ,sBAAsB;AACvD,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,uBAAuB,QAAQ,sCAAsC;AAC9E,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,kBAAkB,QAAQ,qDAAqD;AACxF,SAASC,kBAAkB,QAAQ,qDAAqD;AACxF,SAASC,mBAAmB,QAAQ,uDAAuD;AAC3F,SAASC,oBAAoB,QAAQ,yDAAyD;AAC9F,SAASC,uBAAuB,QAAQ,wDAAwD;AAChG,SAASC,aAAa,QAAQ,yCAAyC;AACvE,SAASC,gBAAgB,QAAQ,iDAAiD;AAClF,SAASC,aAAa,EAAEC,WAAW,QAAQ,wBAAwB;AACnE,SAASC,eAAe,QAAQ,wBAAwB;AACxD,SAASC,cAAc,QAAQ,wBAAwB;AACvD,SAASC,iBAAiB,QAAQ,mDAAmD;AACrF,SAASC,2BAA2B,QAAQ,gEAAgE;AAC5G,SAASC,uBAAuB,QAAQ,iEAAiE;AACzG,SAASC,qBAAqB,QAAQ,6DAA6D;AACnG,SAASC,iBAAiB,QAAQ,8BAA8B;AAChE,SAASC,sBAAsB,QAAQ,+DAA+D;AACtG,SAASC,2BAA2B,QAAQ,oEAAoE;AAChH,SAASC,uBAAuB,QAAQ,0DAA0D;AAClG,SAASC,qBAAqB,QAAQ,6DAA6D;AACnG,SAASC,eAAe,QAAQ,0BAA0B;AAC1D,SAASC,aAAa,QAAQ,wBAAwB;;;;AAgD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BD,WAAW,EACXG,uBAAuB,EACvBI,aAAa,EACbM,aAAa,EACbM,iBAAiB,EACjBL,gBAAgB,EAChBC,aAAa,EACbC,WAAW,EACXC,eAAe,EACfC,cAAc,EACdK,iBAAiB,EACjBK,eAAe,EACfC,aAAa,EAAAe,EAAA,CAAA1C,YAAA;EAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/21ad93efda05e17715e7b107e36d797c45d30dea792b6c23dd37aa51cb9ad111.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/21ad93efda05e17715e7b107e36d797c45d30dea792b6c23dd37aa51cb9ad111.json new file mode 100644 index 0000000..d74f267 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/21ad93efda05e17715e7b107e36d797c45d30dea792b6c23dd37aa51cb9ad111.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 79,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"3em\", \"height\", \"2em\", \"version\", \"1.1\", \"id\", \"Layer_1\", \"xmlns\", \"http://www.w3.org/2000/svg\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"viewBox\", \"0 0 489.5 489.5\", 0, \"xml\", \"space\", \"preserve\"], [\"id\", \"XMLID_324_\", \"d\", \"M480.3,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.7c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#94A4A4\"], [\"id\", \"XMLID_323_\", \"d\", \"M306.5,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.8c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#E64C3D\"], [\"id\", \"XMLID_322_\", \"d\", \"M131.7,446.85v-17.3c0-3.6-1.6-7.1-4.4-9.4c-15.6-12.8-32.4-21.3-35.9-23\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.3c3.1-2,5.1-5.5,5.1-9.5v-25.2c0-12.5-10.2-22.7-22.7-22.7h-2.7h-2.8c-12.5,0-22.7,10.2-22.7,22.7\\n v25.2c0,3.9,2,7.4,5.1,9.5v24.3c0,0.4-0.2,0.8-0.6,1c-3.4,1.7-20.3,10.2-35.9,23c-2.8,2.3-4.4,5.8-4.4,9.4v17.3\", 2, \"fill\", \"#94A4A4\"], [\"d\", \"M315.5,202.55c5,0,9.1-4.1,9.1-9.1v-19.9c0-7-3.1-13.5-8.4-17.9c-14.9-12.2-30.8-21.2-38.7-25.4\\n v-19.1c3.7-4,5.8-9.4,5.8-15v-29c0-19.4-15.8-35.2-35.2-35.2h-6.2c-19.4,0-35.2,15.8-35.2,35.2v29c0,5.6,2.1,10.9,5.8,15v19.1\\n c-7.9,4.1-23.8,13.1-38.7,25.4c-5.3,4.4-8.4,10.9-8.4,17.9v19.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-19.9c0-1.5,0.7-2.9,1.8-3.9\\n c17.2-14.2,35.9-23.6,39.5-25.3c3.5-1.7,5.8-5.4,5.8-9.3v-28c0-3-1.5-5.9-4-7.5c-1.1-0.8-1.8-2-1.8-3.3v-29c0-9.4,7.6-17,17-17\\n h6.2c9.4,0,17,7.6,17,17v29c0,1.3-0.7,2.6-1.8,3.3c-2.5,1.7-4,4.5-4,7.5v28c0,3.9,2.3,7.6,5.8,9.3c3.6,1.7,22.3,11.2,39.5,25.3\\n c1.1,0.9,1.8,2.3,1.8,3.9v19.9C306.5,198.55,310.5,202.55,315.5,202.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M236,282.05c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8h155.1v27.8c0,5,4.1,9.1,9.1,9.1\\n s9.1-4.1,9.1-9.1v-36.9c0-5-4.1-9.1-9.1-9.1H254.1v-27.8c0-5-4.1-9.1-9.1-9.1s-9.1,4.1-9.1,9.1v27.8H71.1c-5,0-9.1,4.1-9.1,9.1\\n v36.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8H236V282.05z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M453,362.95v-25.5c0-17.7-14.4-32-32-32h-5.5c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6\\n v15.7c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-1,0.4-1.9,1.2-2.5c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2\\n v-25.5c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1v-15.7C451.2,372.85,453,368.05,453,362.95z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M306.5,457.55c5,0,9.1-4.1,9.1-9.1v-17.5c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1\\n v-15.7c3.3-3.7,5.1-8.5,5.1-13.6v-25.5c0-17.7-14.4-32-32-32h-5.6c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6v15.7\\n c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5c0-1,0.4-1.9,1.2-2.5\\n c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2v-25.5\\n c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5C297.4,453.45,301.5,457.55,306.5,457.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M131.7,455.95c5,0,9.1-4.1,9.1-9.1v-17.3c0-6.4-2.8-12.4-7.8-16.4c-12.6-10.4-26.1-18.1-33.2-21.9\\n v-15.4c3.2-3.7,5.1-8.4,5.1-13.5v-25.2c0-17.5-14.2-31.8-31.8-31.8h-5.4c-17.5,0-31.8,14.2-31.8,31.8v25.2c0,5,1.8,9.8,5.1,13.5\\n v15.4c-7.1,3.8-20.5,11.5-33.2,21.9c-4.9,4-7.8,10-7.8,16.4v17.3c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.3c0-1,0.4-1.8,1.1-2.4\\n c14.9-12.2,31-20.4,34.1-21.9c3.5-1.7,5.7-5.3,5.7-9.1v-24.3c0-3-1.5-5.9-4-7.5c-0.3-0.2-1-0.8-1-1.9v-25.2\\n c0-7.5,6.1-13.6,13.6-13.6h5.4c7.5,0,13.6,6.1,13.6,13.6v25.2c0,1.1-0.7,1.7-1,1.9c-2.5,1.7-4,4.5-4,7.5v24.3\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.2,9.7,34.1,21.9c0.7,0.6,1.1,1.5,1.1,2.4v17.2C122.6,451.95,126.7,455.95,131.7,455.95z\", 2, \"fill\", \"#2C2F33\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38)(69, \"g\")(70, \"g\");\n i0.ɵɵelement(71, \"path\", 39)(72, \"path\", 40)(73, \"path\", 41)(74, \"path\", 42)(75, \"path\", 43)(76, \"path\", 44)(77, \"path\", 45)(78, \"path\", 46);\n i0.ɵɵelementEnd()()()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUF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bi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA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AAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2323fb62d57065137a2ebd69b48755475e7ca6fc1c99aaea9e804bfa7335a36a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2323fb62d57065137a2ebd69b48755475e7ca6fc1c99aaea9e804bfa7335a36a.json new file mode 100644 index 0000000..b1b1e63 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2323fb62d57065137a2ebd69b48755475e7ca6fc1c99aaea9e804bfa7335a36a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.useronSelectedRows = rows => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 5,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\", \"onSelectedRows\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection)(\"onSelectedRows\", ctx.useronSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","useronSelectedRows","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n useronSelectedRows = (rows: Array) => {};\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAA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AAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAtB,gBAAA,EAAkB;QAAA,EAAC;QAACW,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAA4J;QAChKhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAnE,qBAAA,CAAsC,mBAAAmE,GAAA,CAAA5D,sBAAA;QAGxCiD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAApE,eAAA,CAA4B,iBAAAoE,GAAA,CAAA7D,oBAAA,oBAAA6D,GAAA,CAAApD,kBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/232b3d2a10ba7708a2b42fa52d0042db2f86ef827b361801dd1578c50b1b2896.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/232b3d2a10ba7708a2b42fa52d0042db2f86ef827b361801dd1578c50b1b2896.json new file mode 100644 index 0000000..192b27a --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/232b3d2a10ba7708a2b42fa52d0042db2f86ef827b361801dd1578c50b1b2896.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 76,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"800px\", \"height\", \"800px\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵtext(68, \" \");\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(69, \"svg\", 38);\n i0.ɵɵelement(70, \"circle\", 39)(71, \"path\", 40)(72, \"path\", 41)(73, \"path\", 42)(74, \"path\", 43)(75, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2QixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsV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hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAhBhB,gBAAgB;IAAAiB,SAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC,QAAA,WAAAC,0BAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;QCV7BX,EAAA,CAAAa,cAAA,aAAQ;QAM0Fb,EAAA,CAAAc,MAAA,oBAAa;QAAAd,EAAA,CAAAe,YAAA,EAAI;QAEzGf,EAAA,CAAAa,cAAA,YAAoG;QACRb,EAAA,CAAAc,MAAA,sBAAc;QAAAd,EAAA,CAAAe,YAAA,EAA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A,eAAAxB,EAAA,CAAA2B,eAAA,KAAAI,GAAA,EAAuC;QAExC/B,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA8B;QAA9BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAK,GAAA,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2479056898fd259ff8620fbaee3b1a43d2388635b6eb518c619a3f2174388f80.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2479056898fd259ff8620fbaee3b1a43d2388635b6eb518c619a3f2174388f80.json new file mode 100644 index 0000000..60f8047 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2479056898fd259ff8620fbaee3b1a43d2388635b6eb518c619a3f2174388f80.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as __NgCli_bootstrap_1 from \"@angular/platform-browser\";\nimport { enableProdMode } from '@angular/core';\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\nexport function getBaseUrl() {\n return document.getElementsByTagName('base')[0].href;\n}\nexport function getUserManagerUrl() {\n return document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"href\");\n}\nexport function getUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-route\")}`;\n}\nexport function getGroupUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-route\")}`;\n}\nexport function getModuleUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-route\")}`;\n}\nexport function getModuleOfUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-of-user-route\")}`;\n}\nexport function getGroupOfUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-of-user-route\")}`;\n}\nexport function getUserRepUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-representation-route\")}`;\n}\nexport function getDirGroupUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-group-route\")}`;\n}\nexport function getDirUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-user-route\")}`;\n}\nexport function getDirUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-route\")}`;\n}\nvar columnNames = {\n user: [{\n header: 'Benutzername',\n field: 'username'\n }, {\n header: 'Vorname',\n field: 'prename'\n }, {\n header: 'Name',\n field: 'name'\n }, {\n header: 'E-email',\n field: 'email'\n }],\n group: {\n complete: [{\n header: \"Gruppe\",\n field: \"name\"\n }, {\n header: \"Kommentar\",\n field: \"comment\"\n }],\n representative: [{\n header: \"Repräsentation\",\n field: \"name\"\n }],\n right: [{\n header: \"Richtiger\",\n field: \"name\"\n }]\n },\n dirGroup: [{\n header: \"SAM-Account-Name\",\n field: dirGroup => dirGroup.samaccountname[0]\n }],\n dirUser: [{\n header: 'Benutzername',\n field: 'samAccountName'\n }, {\n header: 'Vorname',\n field: 'givenName'\n }, {\n header: 'Name',\n field: 'surname'\n }, {\n header: 'E-email',\n field: 'emailAddress'\n }],\n module: [{\n header: \"Produkt\",\n field: \"name\"\n }, {\n header: \"Kurzname\",\n field: \"shortName\"\n }],\n groupOfUser: [{\n header: \"Benutzername\",\n field: gou => gou.user.username\n }, {\n header: \"Gruppen\",\n field: gou => gou.group.name\n }],\n userRep: [{\n header: \"Repr. Gruppen\",\n field: ur => ur.repGroup?.name\n }, {\n header: \"Rechte Gruppen\",\n field: ur => ur.rightGroup?.name\n }, {\n header: \"Repr. Benutzer\",\n field: ur => ur.repUser?.username\n }]\n};\nconst providers = [{\n provide: 'BASE_URL',\n useFactory: getBaseUrl,\n deps: []\n}, {\n provide: 'USER_MANAGER_URL',\n useFactory: getUserManagerUrl,\n deps: []\n}, {\n provide: 'USER_URL',\n useFactory: getUserUrl,\n deps: []\n}, {\n provide: 'MODULE_URL',\n useFactory: getModuleUrl,\n deps: []\n}, {\n provide: 'GROUP_URL',\n useFactory: getGroupUrl,\n deps: []\n}, {\n provide: 'MODULE_OF_USER_URL',\n useFactory: getModuleOfUserUrl,\n deps: []\n}, {\n provide: 'GROUP_OF_USER_URL',\n useFactory: getGroupOfUserUrl,\n deps: []\n}, {\n provide: 'USER_REP_URL',\n useFactory: getUserRepUrl,\n deps: []\n}, {\n provide: 'DIR_GROUP_URL',\n useFactory: getDirGroupUrl,\n deps: []\n}, {\n provide: 'DIR_USER_URL',\n useFactory: getDirUserUrl,\n deps: []\n}, {\n provide: 'DIR_URL',\n useFactory: getDirUserUrl,\n deps: []\n}, {\n provide: 'USER_TABLE_COLUMNS',\n useFactory: () => columnNames.user,\n deps: []\n}, {\n provide: 'GROUP_COMPLETE_TABLE_COLUMNS',\n useFactory: () => columnNames.group.complete,\n deps: []\n}, {\n provide: 'GROUP_RIGHT_TABLE_COLUMNS',\n useFactory: () => columnNames.group.right,\n deps: []\n}, {\n provide: 'GROUP_REP_TABLE_COLUMNS',\n useFactory: () => columnNames.group.representative,\n deps: []\n}, {\n provide: 'MODULE_TABLE_COLUMNS',\n useFactory: () => columnNames.module,\n deps: []\n}, {\n provide: 'GROUP_USER_TABLE_COLUMNS',\n useFactory: () => columnNames.groupOfUser,\n deps: []\n}, {\n provide: 'USER_REP_TABLE_COLUMNS',\n useFactory: () => columnNames.userRep,\n deps: []\n}, {\n provide: 'DIR_GROUP_TABLE_COLUMNS',\n useFactory: () => columnNames.dirGroup,\n deps: []\n}, {\n provide: 'DIR_USER_TABLE_COLUMNS',\n useFactory: () => columnNames.dirUser,\n deps: []\n}];\nif (environment.production) {\n enableProdMode();\n}\n__NgCli_bootstrap_1.platformBrowser(providers).bootstrapModule(AppModule).catch(err => console.log(err));","map":{"version":3,"names":["enableProdMode","AppModule","environment","getBaseUrl","document","getElementsByTagName","href","getUserManagerUrl","getAttribute","getUserUrl","getGroupUrl","getModuleUrl","getModuleOfUserUrl","getGroupOfUserUrl","getUserRepUrl","getDirGroupUrl","getDirUserUrl","getDirUrl","columnNames","user","header","field","group","complete","representative","right","dirGroup","samaccountname","dirUser","module","groupOfUser","gou","username","name","userRep","ur","repGroup","rightGroup","repUser","providers","provide","useFactory","deps","production","__NgCli_bootstrap_1","platformBrowser","bootstrapModule","catch","err","console","log"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\main.ts"],"sourcesContent":["import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\nimport { DirGroup, User, UserRep } from './app/models/user-management.api.models';\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nexport function getUserManagerUrl() {\r\n return document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"href\");\r\n}\r\nexport function getUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-route\")}`;\r\n}\r\nexport function getGroupUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-route\")}`;\r\n}\r\nexport function getModuleUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-route\")}`;\r\n}\r\nexport function getModuleOfUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-of-user-route\")}`;\r\n}\r\nexport function getGroupOfUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-of-user-route\")}`;\r\n}\r\nexport function getUserRepUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-representation-route\")}`;\r\n}\r\nexport function getDirGroupUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-group-route\")}`;\r\n}\r\nexport function getDirUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-user-route\")}`;\r\n}\r\nexport function getDirUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-route\")}`;\r\n}\r\n\r\nvar columnNames = {\r\n user: [\r\n {\r\n header: 'Benutzername',\r\n field: 'username'\r\n },\r\n {\r\n header: 'Vorname',\r\n field: 'prename'\r\n },\r\n {\r\n header: 'Name',\r\n field: 'name'\r\n },\r\n {\r\n header: 'E-email',\r\n field: 'email'\r\n }],\r\n group: {\r\n complete: [\r\n {\r\n header: \"Gruppe\",\r\n field: \"name\"\r\n },\r\n {\r\n header: \"Kommentar\",\r\n field: \"comment\"\r\n }\r\n ],\r\n representative: [\r\n {\r\n header: \"Repräsentation\",\r\n field: \"name\"\r\n }\r\n ],\r\n right: [\r\n {\r\n header: \"Richtiger\",\r\n field: \"name\"\r\n }\r\n ]\r\n },\r\n dirGroup: [\r\n {\r\n header: \"SAM-Account-Name\",\r\n field: (dirGroup: DirGroup) => dirGroup.samaccountname[0]\r\n }\r\n ],\r\n dirUser: [\r\n {\r\n header: 'Benutzername',\r\n field: 'samAccountName'\r\n },\r\n {\r\n header: 'Vorname',\r\n field: 'givenName'\r\n },\r\n {\r\n header: 'Name',\r\n field: 'surname'\r\n },\r\n {\r\n header: 'E-email',\r\n field: 'emailAddress'\r\n }\r\n ],\r\n module: [\r\n {\r\n header: \"Produkt\",\r\n field: \"name\"\r\n },\r\n {\r\n header: \"Kurzname\",\r\n field: \"shortName\"\r\n }\r\n ],\r\n groupOfUser: [\r\n {\r\n header: \"Benutzername\",\r\n field: (gou: any) => gou.user.username\r\n },\r\n {\r\n header: \"Gruppen\",\r\n field: (gou: any) => gou.group.name\r\n },\r\n ],\r\n userRep: [\r\n {\r\n header: \"Repr. Gruppen\",\r\n field: (ur: UserRep) => ur.repGroup?.name\r\n },\r\n {\r\n header: \"Rechte Gruppen\",\r\n field: (ur: UserRep) => ur.rightGroup?.name\r\n },\r\n {\r\n header: \"Repr. Benutzer\",\r\n field: (ur: UserRep) => ur.repUser?.username\r\n },\r\n ]\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] },\r\n { provide: 'USER_MANAGER_URL', useFactory: getUserManagerUrl, deps: [] },\r\n { provide: 'USER_URL', useFactory: getUserUrl, deps: [] },\r\n { provide: 'MODULE_URL', useFactory: getModuleUrl, deps: [] },\r\n { provide: 'GROUP_URL', useFactory: getGroupUrl, deps: [] },\r\n { provide: 'MODULE_OF_USER_URL', useFactory: getModuleOfUserUrl, deps: [] },\r\n { provide: 'GROUP_OF_USER_URL', useFactory: getGroupOfUserUrl, deps: [] },\r\n { provide: 'USER_REP_URL', useFactory: getUserRepUrl, deps: [] },\r\n { provide: 'DIR_GROUP_URL', useFactory: getDirGroupUrl, deps: [] },\r\n { provide: 'DIR_USER_URL', useFactory: getDirUserUrl, deps: [] },\r\n { provide: 'DIR_URL', useFactory: getDirUserUrl, deps: [] },\r\n { provide: 'USER_TABLE_COLUMNS', useFactory: () => columnNames.user, deps: [] },\r\n { provide: 'GROUP_COMPLETE_TABLE_COLUMNS', useFactory: () => columnNames.group.complete, deps: [] },\r\n { provide: 'GROUP_RIGHT_TABLE_COLUMNS', useFactory: () => columnNames.group.right, deps: [] },\r\n { provide: 'GROUP_REP_TABLE_COLUMNS', useFactory: () => columnNames.group.representative, deps: [] },\r\n { provide: 'MODULE_TABLE_COLUMNS', useFactory: () => columnNames.module, deps: [] },\r\n { provide: 'GROUP_USER_TABLE_COLUMNS', useFactory: () => columnNames.groupOfUser, deps: [] },\r\n { provide: 'USER_REP_TABLE_COLUMNS', useFactory: () => columnNames.userRep, deps: [] },\r\n { provide: 'DIR_GROUP_TABLE_COLUMNS', useFactory: () => columnNames.dirGroup, deps: [] },\r\n { provide: 'DIR_USER_TABLE_COLUMNS', useFactory: () => columnNames.dirUser, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n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,OAAO,EAAE,2BAA2B;EAAEC,UAAU,EAAEA,CAAA,KAAMvB,WAAW,CAACI,KAAK,CAACG,KAAK;EAAEiB,IAAI,EAAE;AAAE,CAAE,EAC7F;EAAEF,OAAO,EAAE,yBAAyB;EAAEC,UAAU,EAAEA,CAAA,KAAMvB,WAAW,CAACI,KAAK,CAACE,cAAc;EAAEkB,IAAI,EAAE;AAAE,CAAE,EACpG;EAAEF,OAAO,EAAE,sBAAsB;EAAEC,UAAU,EAAEA,CAAA,KAAMvB,WAAW,CAACW,MAAM;EAAEa,IAAI,EAAE;AAAE,CAAE,EACnF;EAAEF,OAAO,EAAE,0BAA0B;EAAEC,UAAU,EAAEA,CAAA,KAAMvB,WAAW,CAACY,WAAW;EAAEY,IAAI,EAAE;AAAE,CAAE,EAC5F;EAAEF,OAAO,EAAE,wBAAwB;EAAEC,UAAU,EAAEA,CAAA,KAAMvB,WAAW,CAACgB,OAAO;EAAEQ,IAAI,EAAE;AAAE,CAAE,EACtF;EAAEF,OAAO,EAAE,yBAAyB;EAAEC,UAAU,EAAEA,CAAA,KAAMvB,WAAW,CAACQ,QAAQ;EAAEgB,IAAI,EAAE;AAAE,CAAE,EACxF;EAAEF,OAAO,EAAE,wBAAwB;EAAEC,UAAU,EAAEA,CAAA,KAAMvB,WAAW,CAACU,OAAO;EAAEc,IAAI,EAAE;AAAE,CAAE,CACvF;AAED,IAAIxC,WAAW,CAACyC,UAAU,EAAE;EAC1B3C,cAAc,EAAE;;AAGlB4C,mBAAA,CAAAC,eAAA,CAAuBN,SAAS,CAAC,CAACO,eAAe,CAAC7C,SAAS,CAAC,CACzD8C,KAAK,CAACC,GAAG,IAAIC,OAAO,CAACC,GAAG,CAACF,GAAG,CAAC,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/26581360aca79f5d8f7bbbc20a3ca880bf57269b8d67c4dc4324d0284eef4f71.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/26581360aca79f5d8f7bbbc20a3ca880bf57269b8d67c4dc4324d0284eef4f71.json new file mode 100644 index 0000000..57baa42 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/26581360aca79f5d8f7bbbc20a3ca880bf57269b8d67c4dc4324d0284eef4f71.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 74,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"fill\", \"#000000\", \"width\", \"3em\", \"height\", \"2.5em\", \"version\", \"1.1\", \"id\", \"Capa_1\", \"xmlns\", \"http://www.w3.org/2000/svg\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"viewBox\", \"0 0 488.6 488.6\", 0, \"xml\", \"space\", \"preserve\"], [\"d\", \"M480.9,333.2c-27.2-22.3-56.5-37.1-62.4-40c-0.7-0.3-1.1-1-1.1-1.8v-42.3c5.3-3.5,8.8-9.6,8.8-16.5v-43.9\\n c0-21.8-17.7-39.5-39.5-39.5H382h-4.7c-21.8,0-39.5,17.7-39.5,39.5v43.9c0,6.9,3.5,12.9,8.8,16.5v42.3c0,0.3-0.1,0.5-0.1,0.7\\n c8.3,5.7,17,12.1,25.5,19.1c9.9,8.2,15.6,20.2,15.6,33.2v35.3h101v-30.1C488.6,343.3,485.8,337.2,480.9,333.2z\"], [\"d\", \"M142,291.4v-42.3c5.3-3.5,8.8-9.6,8.8-16.5v-43.9c0-21.8-17.7-39.5-39.5-39.5h-4.7h-4.7c-21.8,0-39.5,17.7-39.5,39.5v43.9\\n c0,6.9,3.5,12.9,8.8,16.5v42.3c0,0.7-0.4,1.4-1.1,1.8c-6,2.9-35.3,17.7-62.4,40c-4.9,4-7.7,10.1-7.7,16.4v30.1h101v-35.3\\n c0-12.9,5.7-25,15.6-33.2c8.5-7,17.2-13.4,25.5-19.1C142.1,291.9,142,291.7,142,291.4z\"], [\"d\", \"M360.5,325.1c-31.9-26.2-66.3-43.6-73.4-47.1c-0.8-0.4-1.3-1.2-1.3-2.1v-49.7c6.2-4.2,10.4-11.3,10.4-19.3v-51.6\\n c0-25.6-20.8-46.4-46.4-46.4h-5.5h-5.5c-25.6,0-46.4,20.8-46.4,46.4v51.5c0,8.1,4.1,15.2,10.4,19.3v49.7c0,0.9-0.5,1.7-1.3,2.1\\n c-7,3.4-41.4,20.8-73.4,47.1c-5.8,4.7-9.1,11.8-9.1,19.3v35.3h108.9l10.8-49.3c-21.7-30.3,1.6-31.8,5.7-31.8l0,0l0,0\\n c4.1,0,27.4,1.5,5.7,31.8l10.8,49.3h108.9v-35.3C369.6,336.9,366.3,329.8,360.5,325.1z\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38)(69, \"g\")(70, \"g\");\n i0.ɵɵelement(71, \"path\", 39)(72, \"path\", 40)(73, \"path\", 41);\n i0.ɵɵelementEnd()()()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1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wMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAhBhB,gBAAgB;IAAAiB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,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/267bd9b90f0109f72ed632172eed125a33dde1acbb5add347173e40f603939d1.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/267bd9b90f0109f72ed632172eed125a33dde1acbb5add347173e40f603939d1.json new file mode 100644 index 0000000..fde1781 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/267bd9b90f0109f72ed632172eed125a33dde1acbb5add347173e40f603939d1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class GroupService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n createByDir(createModel) {\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\n }\n static #_ = this.ɵfac = function GroupService_Factory(t) {\n return new (t || GroupService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('GROUP_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: GroupService,\n factory: GroupService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["ApiService","GroupService","constructor","http","userUri","createByDir","createModel","post","baseUrl","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\group.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { DirGroup, Group, } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GroupService extends ApiService {\r\n constructor(http: HttpClient, @Inject('GROUP_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n createByDir(createModel: DirGroup): Observable {\r\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\r\n }\r\n}"],"mappings":"AAGA,SAASA,UAAU,QAAQ,+BAA+B;;;AAM1D,OAAM,MAAOC,YAAa,SAAQD,UAAiB;EACjDE,YAAYC,IAAgB,EAA+BC,OAAe;IACxE,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IADqC,KAAAA,OAAO,GAAPA,OAAO;EAElE;EAEAC,WAAWA,CAACC,WAAqB;IAC/B,OAAO,IAAI,CAACH,IAAI,CAACI,IAAI,CAAW,GAAG,IAAI,CAACC,OAAO,QAAQ,EAAEF,WAAW,CAAC;EACvE;EAAC,QAAAG,CAAA,G;qBAPUR,YAAY,EAAAS,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACe,WAAW;EAAA;EAAA,QAAAG,EAAA,G;WADtCb,YAAY;IAAAc,OAAA,EAAZd,YAAY,CAAAe,IAAA;IAAAC,UAAA,EAFX;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/28bc8db374301512362fdf04b29d9da28b4802e8da03745e7c7d7f37aad1c33f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/28bc8db374301512362fdf04b29d9da28b4802e8da03745e7c7d7f37aad1c33f.json new file mode 100644 index 0000000..3e2b972 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/28bc8db374301512362fdf04b29d9da28b4802e8da03745e7c7d7f37aad1c33f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"3em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 38);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 39);\n i0.ɵɵelement(69, \"circle\", 40)(70, \"path\", 41)(71, \"path\", 42)(72, \"path\", 43)(73, \"path\", 44)(74, \"path\", 45);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZj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B7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,QAAAC,EAAA,G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A,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2978ec63c01e817d89003c4b7982407db2e9e9e1978377e3ca1bc5bc7634f4ed.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2978ec63c01e817d89003c4b7982407db2e9e9e1978377e3ca1bc5bc7634f4ed.json new file mode 100644 index 0000000..6f585d3 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2978ec63c01e817d89003c4b7982407db2e9e9e1978377e3ca1bc5bc7634f4ed.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(rows[rows.length - 1].source.samaccountname);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName:string = rows[rows.length - 1].source.samaccountname;\r\n console.log(rows[rows.length - 1].source.samaccountname)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IA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":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2c282a8d6c339503b783504d05bae5cae47e433acc8fcd95e326f344cab0ea58.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2c282a8d6c339503b783504d05bae5cae47e433acc8fcd95e326f344cab0ea58.json new file mode 100644 index 0000000..4c12097 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2c282a8d6c339503b783504d05bae5cae47e433acc8fcd95e326f344cab0ea58.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\", \"p-0\", \"m-0\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 5);\n i0.ɵɵelement(10, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IAC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B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAG8CV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAIxHd,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA2B;QACvBV,EAAA,CAAAe,SAAA,gCAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2d61f2be8325662302e2ead7dcfb9b50a2d9841f21abf42e2655f02ca73fa066.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2d61f2be8325662302e2ead7dcfb9b50a2d9841f21abf42e2655f02ca73fa066.json new file mode 100644 index 0000000..2faa0c6 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2d61f2be8325662302e2ead7dcfb9b50a2d9841f21abf42e2655f02ca73fa066.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 37,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"example-label\"], [1, \"example-button-row\"], [1, \"example-flex-container\"], [1, \"example-button-container\"], [\"mat-mini-fab\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a menu icon\"], [\"mat-mini-fab\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a filter list icon\"], [\"mat-mini-fab\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a home icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"+1\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(10, \"div\", 5);\n i0.ɵɵtext(11, \"Mini FAB\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"div\", 6)(13, \"div\", 7)(14, \"div\", 8)(15, \"button\", 9)(16, \"mat-icon\");\n i0.ɵɵtext(17, \"menu\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(18, \"div\", 8)(19, \"button\", 4)(20, \"mat-icon\");\n i0.ɵɵtext(21, \"plus_one\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(22, \"div\", 8)(23, \"button\", 10)(24, \"mat-icon\");\n i0.ɵɵtext(25, \"filter_list\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(26, \"div\", 8)(27, \"button\", 11)(28, \"mat-icon\");\n i0.ɵɵtext(29, \"home\");\n i0.ɵɵelementEnd()()()()()()()();\n i0.ɵɵelementStart(30, \"div\", 12)(31, \"div\", 13);\n i0.ɵɵelement(32, \"app-dir-group-table\", 14, 15);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(34, \"div\", 13);\n i0.ɵɵelement(35, \"app-dir-user-table\", 16, 17);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(32);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
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AAA,EAAW;QAEzBf,EAAA,CAAAU,cAAA,cAA2B;QAAAV,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAM;QACzCf,EAAA,CAAAU,cAAA,cAAgC;QAIdV,EAAA,CAAAa,MAAA,YAAI;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAG7Bf,EAAA,CAAAU,cAAA,cAAsC;QAExBV,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGjCf,EAAA,CAAAU,cAAA,cAAsC;QAExBV,EAAA,CAAAa,MAAA,mBAAW;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGpCf,EAAA,CAAAU,cAAA,cAAsC;QAExBV,EAAA,CAAAa,MAAA,YAAI;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAQ/Cf,EAAA,CAAAU,cAAA,eAA2C;QAEnCV,EAAA,CAAAc,SAAA,mCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,eAA2B;QACvBV,EAAA,CAAAc,SAAA,kCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2ded26b39008bd6a580d55817cffc6342a21f109376de34ca8e8560e20d9ef0f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2ded26b39008bd6a580d55817cffc6342a21f109376de34ca8e8560e20d9ef0f.json new file mode 100644 index 0000000..d9baa3f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2ded26b39008bd6a580d55817cffc6342a21f109376de34ca8e8560e20d9ef0f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname,\n addedWho: 'DEFAULT',\n active: true,\n dateFormat: \"\",\n language: \"\"\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","addedWho","active","dateFormat","language","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n addedWho: 'DEFAULT',\r\n active:true,\r\n dateFormat:\"\",\r\n language:\"\"\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAoGD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAACE,MAAM,CAACC,cA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AA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAtE,qBAAA,CAAsC,mBAAAsE,GAAA,CAAA/D,sBAAA;QAGxCoD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAvE,eAAA,CAA4B,iBAAAuE,GAAA,CAAAhE,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2e9eafc7a6cbc9ecf4148756d94c0da988ed45384b4a8c24923e8b9836a307d3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2e9eafc7a6cbc9ecf4148756d94c0da988ed45384b4a8c24923e8b9836a307d3.json new file mode 100644 index 0000000..aae06b5 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2e9eafc7a6cbc9ecf4148756d94c0da988ed45384b4a8c24923e8b9836a307d3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.useronSelectedRows = rows => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 5,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\", \"onSelectedRows\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection)(\"onSelectedRows\", ctx.useronSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","useronSelectedRows","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n useronSelectedRows = (rows: Array) => {\r\n\r\n };\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;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A,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAhD,iBAAA,EAAmB;QAAA,EAAC;QAACqC,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAtB,gBAAA,EAAkB;QAAA,EAAC;QAACW,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAA4J;QAChKhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAnE,qBAAA,CAAsC,mBAAAmE,GAAA,CAAA5D,sBAAA;QAGxCiD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAApE,eAAA,CAA4B,iBAAAoE,GAAA,CAAA7D,oBAAA,oBAAA6D,GAAA,CAAApD,kBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2f8c9e817e05bd3a8f7abfc9e5bce6a4647774fe4b3bf90d6931a5565e87891c.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2f8c9e817e05bd3a8f7abfc9e5bce6a4647774fe4b3bf90d6931a5565e87891c.json new file mode 100644 index 0000000..4d42982 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/2f8c9e817e05bd3a8f7abfc9e5bce6a4647774fe4b3bf90d6931a5565e87891c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nconst _c0 = [\"dirGroups\"];\nexport class GroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {}\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function GroupDirImportComponent_Factory(t) {\n return new (t || GroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupDirImportComponent,\n selectors: [[\"app-group-dir-import\"]],\n viewQuery: function GroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n }\n },\n decls: 12,\n vars: 1,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"]],\n template: function GroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function GroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 1);\n i0.ɵɵelement(10, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","GroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","ngOnInit","ngAfterViewInit","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","samaccountname","source","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","GroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\n\r\n@Component({\r\n selector: 'app-group-dir-import',\r\n templateUrl: './group-dir-import.component.html',\r\n styleUrl: './group-dir-import.component.css'\r\n})\r\nexport class GroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\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iB,UAAA,iBAAAR,GAAA,CAAAhD,qBAAA,CAAsC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/300f3a2d6e7657cad9d20058980e144e3c9677804084ef374cd3b3d49e04964f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/300f3a2d6e7657cad9d20058980e144e3c9677804084ef374cd3b3d49e04964f.json new file mode 100644 index 0000000..27cbbf6 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/300f3a2d6e7657cad9d20058980e144e3c9677804084ef374cd3b3d49e04964f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n imporGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 67,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2QixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsVUFBVTtFQUNWLGVBQWU7RUFDZixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxhQUFhO0VBQ2IsaUJBQWlCO0VBQ2pCLG9CQUFvQjtFQUNwQixnQk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serGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","imporGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n imporGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
"],"mappings":"AAEA,S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AAA,CAAAsB,SAAA,EAA+B;QAA/BtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAM,GAAA,EAA+B;QAEhChC,EAAA,CAAAsB,SAAA,GAAoC;QAApCtB,EAAA,CAAAuB,UAAA,qBAAAvB,EAAA,CAAA0B,eAAA,KAAAC,GAAA,EAAoC,4BAAA3B,EAAA,CAAA0B,eAAA,KAAAE,GAAA;QACnC5B,EAAA,CAAAsB,SAAA,EAAgC;QAAhCtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAO,GAAA,EAAgC;QAIdjC,EAAA,CAAAsB,SAAA,GAAoB;QAApBtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BlC,EAAA,CAAAsB,SAAA,GAAiC;QAAjCtB,EAAA,CAAAmC,WAAA,kBAAAvB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3214518bb2fa3b986b1ad470fb0dc96b1ddc570cb0210b9f59bc5123a23f4614.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3214518bb2fa3b986b1ad470fb0dc96b1ddc570cb0210b9f59bc5123a23f4614.json new file mode 100644 index 0000000..bd3d736 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3214518bb2fa3b986b1ad470fb0dc96b1ddc570cb0210b9f59bc5123a23f4614.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class GroupService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n createByAd(createModel) {\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\n }\n static #_ = this.ɵfac = function GroupService_Factory(t) {\n return new (t || GroupService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('GROUP_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: GroupService,\n factory: GroupService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["ApiService","GroupService","constructor","http","userUri","createByAd","createModel","post","baseUrl","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\group.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { DirGroup, Group, } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GroupService extends ApiService {\r\n constructor(http: HttpClient, @Inject('GROUP_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n createByAd(createModel: DirGroup): Observable {\r\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\r\n }\r\n}"],"mappings":"AAGA,SAASA,UAAU,QAAQ,+BAA+B;;;AAM1D,OAAM,MAAOC,YAAa,SAAQD,UAAiB;EACjDE,YAAYC,IAAgB,EAA+BC,OAAe;IACxE,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IADqC,KAAAA,OAAO,GAAPA,OAAO;EAElE;EAEAC,UAAUA,CAACC,WAAqB;IAC9B,OAAO,IAAI,CAACH,IAAI,CAACI,IAAI,CAAW,GAAG,IAAI,CAACC,OAAO,QAAQ,EAAEF,WAAW,CAAC;EACvE;EAAC,QAAAG,CAAA,G;qBAPUR,YAAY,EAAAS,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACe,WAAW;EAAA;EAAA,QAAAG,EAAA,G;WADtCb,YAAY;IAAAc,OAAA,EAAZd,YAAY,CAAAe,IAAA;IAAAC,UAAA,EAFX;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/36002655e3e98c455e0234e13830b6ef54ebd50499909313ba396f8cc9a6f9ea.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/36002655e3e98c455e0234e13830b6ef54ebd50499909313ba396f8cc9a6f9ea.json new file mode 100644 index 0000000..9ecb844 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/36002655e3e98c455e0234e13830b6ef54ebd50499909313ba396f8cc9a6f9ea.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IA0FD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAAC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T,GAAA,CAAA3D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/387dde55d9469152f6df061993e508352d535ed3748295a09b10f76847088abd.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/387dde55d9469152f6df061993e508352d535ed3748295a09b10f76847088abd.json new file mode 100644 index 0000000..6283c04 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/387dde55d9469152f6df061993e508352d535ed3748295a09b10f76847088abd.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 14,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(7, \"div\", 4)(8, \"div\", 5);\n i0.ɵɵelement(9, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(11, \"div\", 5);\n i0.ɵɵelement(12, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(9);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iB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C;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAG8CV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAInIf,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAc,SAAA,gCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/391231c507b6795b6ed4aa067648ffdef2b13a9500ccdffbed377bd167b7c8db.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/391231c507b6795b6ed4aa067648ffdef2b13a9500ccdffbed377bd167b7c8db.json new file mode 100644 index 0000000..e8d07d7 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/391231c507b6795b6ed4aa067648ffdef2b13a9500ccdffbed377bd167b7c8db.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BaseTableComponent } from '../base-table/base-table.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/dir-user.service\";\nimport * as i2 from \"@generic-ui/ngx-grid\";\nexport class DirUserTableComponent extends BaseTableComponent {\n constructor(service, columns) {\n super(service, columns);\n }\n fetchDataByGroupName(groupName) {\n this.service.getAll(groupName).subscribe({\n next: response => {\n if (response.isSuccess && response.data) {\n this.source = response.data;\n this.loading = false;\n } else {\n // Handle response failure\n console.error('Failed to fetch users');\n }\n },\n error: error => console.error('Error fetching users:', error)\n });\n }\n static #_ = this.ɵfac = function DirUserTableComponent_Factory(t) {\n return new (t || DirUserTableComponent)(i0.ɵɵdirectiveInject(i1.DirUserService), i0.ɵɵdirectiveInject('DIR_USER_TABLE_COLUMNS'));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: DirUserTableComponent,\n selectors: [[\"app-dir-user-table\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 14,\n consts: [[3, \"columns\", \"columnMenu\", \"sorting\", \"loading\", \"rowSelection\", \"rowDetail\", \"autoResizeWidth\", \"paging\", \"searching\", \"cellEditing\", \"virtualScroll\", \"infoPanel\", \"titlePanel\", \"theme\", \"selectedRows\"], [\"grid\", \"\"]],\n template: function DirUserTableComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"gui-grid\", 0, 1);\n i0.ɵɵlistener(\"selectedRows\", function DirUserTableComponent_Template_gui_grid_selectedRows_0_listener($event) {\n return ctx.onSelectedRows($event);\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"columns\", ctx.columns)(\"columnMenu\", ctx.columnMenu)(\"sorting\", ctx.sorting)(\"loading\", ctx.loading)(\"rowSelection\", ctx.rowSelection)(\"rowDetail\", ctx.rowDetail)(\"autoResizeWidth\", ctx.autoResizeWidth)(\"paging\", ctx.paging)(\"searching\", ctx.searching)(\"cellEditing\", ctx.cellEditing)(\"virtualScroll\", true)(\"infoPanel\", ctx.infoPanel)(\"titlePanel\", ctx.titlePanel)(\"theme\", ctx.theme);\n }\n },\n dependencies: [i2.GuiGridComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["BaseTableComponent","DirUserTableComponent","constructor","service","columns","fetchDataByGroupName","groupName","getAll","subscribe","next","response","isSuccess","data","source","loading","console","error","_","i0","ɵɵdirectiveInject","i1","DirUserService","_2","selectors","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","DirUserTableComponent_Template","rf","ctx","ɵɵelementStart","ɵɵlistener","DirUserTableComponent_Template_gui_grid_selectedRows_0_listener","$event","onSelectedRows","ɵɵelementEnd","ɵɵproperty","columnMenu","sorting","rowSelection","rowDetail","autoResizeWidth","paging","searching","cellEditing","infoPanel","titlePanel","theme"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\dir-user-table\\dir-user-table.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\base-table\\base-table.component.html"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { DirUser } from 'src/app/models/user-management.api.models';\r\nimport { DirUserService } from 'src/app/services/dir-user.service';\r\nimport { BaseTableComponent } from '../base-table/base-table.component';\r\nimport { GuiColumn } from '@generic-ui/ngx-grid/gui/grid/src/core/api/gui.grid.public-api';\r\n\r\n@Component({\r\n selector: 'app-dir-user-table',\r\n templateUrl: '../base-table/base-table.component.html',\r\n styleUrl: './dir-user-table.component.css'\r\n})\r\nexport class DirUserTableComponent extends BaseTableComponent {\r\n constructor(service: DirUserService, @Inject('DIR_USER_TABLE_COLUMNS') columns: Array) {\r\n super(service, columns)\r\n }\r\n\r\n fetchDataByGroupName(groupName: string): void {\r\n this.service.getAll(groupName).subscribe({\r\n next: (response) => {\r\n if (response.isSuccess && response.data) {\r\n this.source = response.data;\r\n this.loading = false;\r\n } else {\r\n // Handle response failure\r\n console.error('Failed to fetch users');\r\n }\r\n },\r\n error: (error) => console.error('Error fetching users:', error)\r\n })\r\n }\r\n}","\r\n"],"mappings":"AAGA,SAASA,kBAAkB,QAAQ,oCAAoC;;;;AAQvE,OAAM,MAAOC,qBAAsB,SAAQD,kBAA2C;EACpFE,YAAYC,OAAuB,EAAoCC,OAAyB;IAC9F,KAAK,CAACD,OAAO,EAAEC,OAAO,CAAC;EACzB;EAEAC,oBAAoBA,CAACC,SAAiB;IACpC,IAAI,CAACH,OAAO,CAACI,MAAM,CAACD,SAAS,CAAC,CAACE,SAAS,CAAC;MACvCC,IAAI,EAAGC,QAAQ,IAAI;QACjB,IAAIA,QAAQ,CAACC,SAAS,IAAID,QAAQ,CAACE,IAAI,EAAE;UACvC,IAAI,CAACC,MAAM,GAAGH,QAAQ,CAACE,IAAI;UAC3B,IAAI,CAACE,OAAO,GAAG,KAAK;SACrB,MAAM;UACL;UACAC,OAAO,CAACC,KAAK,CAAC,uBAAuB,CAAC;;MAE1C,CAAC;MACDA,KAAK,EAAGA,KAAK,IAAKD,OAAO,CAACC,KAAK,CAAC,uBAAuB,EAAEA,KAAK;KAC/D,CAAC;EACJ;EAAC,QAAAC,CAAA,G;qBAlBUhB,qBAAqB,EAAAiB,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,cAAA,GAAAH,EAAA,CAAAC,iBAAA,CACa,wBAAwB;EAAA;EAAA,QAAAG,EAAA,G;UAD1DrB,qBAAqB;IAAAsB,SAAA;IAAAC,QAAA,GAAAN,EAAA,CAAAO,0BAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC,QAAA,WAAAC,+BAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;QCXlCb,EAAA,CAAAe,cAAA,qBAe6C;QAAxCf,EAAA,CAAAgB,UAAA,0BAAAC,gEAAAC,MAAA;UAAA,OAAgBJ,GAAA,CAAAK,cAAA,CAAAD,MAAA,CAAsB;QAAA,EAAC;QAC5ClB,EAAA,CAAAoB,YAAA,EAAW;;;QAfNpB,EAAA,CAAAqB,UAAA,YAAAP,GAAA,CAAA5B,OAAA,CAAmB,eAAA4B,GAAA,CAAAQ,UAAA,aAAAR,GAAA,CAAAS,OAAA,aAAAT,GAAA,CAAAlB,OAAA,kBAAAkB,GAAA,CAAAU,YAAA,eAAAV,GAAA,CAAAW,SAAA,qBAAAX,GAAA,CAAAY,eAAA,YAAAZ,GAAA,CAAAa,MAAA,eAAAb,GAAA,CAAAc,SAAA,iBAAAd,GAAA,CAAAe,WAAA,sCAAAf,GAAA,CAAAgB,SAAA,gBAAAhB,GAAA,CAAAiB,UAAA,WAAAjB,GAAA,CAAAkB,KAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/399e6235ebdca36cbd5576357970f0d960da4883807c5674bc7922cbd23a56ca.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/399e6235ebdca36cbd5576357970f0d960da4883807c5674bc7922cbd23a56ca.json new file mode 100644 index 0000000..937439a --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/399e6235ebdca36cbd5576357970f0d960da4883807c5674bc7922cbd23a56ca.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.createByDir({\n emailAddress: row?.source.emailAddress,\n givenName: row.source.givenName,\n samAccountName: row.source.samAccountName,\n surname: row.source.surname,\n middleName: row.source.middleName\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","emailAddress","givenName","samAccountName","surname","middleName","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.createByDir({\r\n emailAddress: row?.source.emailAddress,\r\n givenName:row.source.givenName,\r\n samAccountName:row.source.samAccountName,\r\n surname: row.source.surname,\r\n middleName:row.source.middleName\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\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aAAAT,GAAA,CAAAhE,eAAA,CAA4B,iBAAAgE,GAAA,CAAAzD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3a4cbe8ffda7fff722b8d3033a923b2d6185fff8c5ab20b45e8235f05d717a2d.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3a4cbe8ffda7fff722b8d3033a923b2d6185fff8c5ab20b45e8235f05d717a2d.json new file mode 100644 index 0000000..fdb7277 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3a4cbe8ffda7fff722b8d3033a923b2d6185fff8c5ab20b45e8235f05d717a2d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 74,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"fill\", \"#000000\", \"width\", \"3em\", \"height\", \"3em\", \"version\", \"1.1\", \"id\", \"Capa_1\", \"xmlns\", \"http://www.w3.org/2000/svg\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"viewBox\", \"0 0 488.6 488.6\", 0, \"xml\", \"space\", \"preserve\"], [\"d\", \"M480.9,333.2c-27.2-22.3-56.5-37.1-62.4-40c-0.7-0.3-1.1-1-1.1-1.8v-42.3c5.3-3.5,8.8-9.6,8.8-16.5v-43.9\\n c0-21.8-17.7-39.5-39.5-39.5H382h-4.7c-21.8,0-39.5,17.7-39.5,39.5v43.9c0,6.9,3.5,12.9,8.8,16.5v42.3c0,0.3-0.1,0.5-0.1,0.7\\n c8.3,5.7,17,12.1,25.5,19.1c9.9,8.2,15.6,20.2,15.6,33.2v35.3h101v-30.1C488.6,343.3,485.8,337.2,480.9,333.2z\"], [\"d\", \"M142,291.4v-42.3c5.3-3.5,8.8-9.6,8.8-16.5v-43.9c0-21.8-17.7-39.5-39.5-39.5h-4.7h-4.7c-21.8,0-39.5,17.7-39.5,39.5v43.9\\n c0,6.9,3.5,12.9,8.8,16.5v42.3c0,0.7-0.4,1.4-1.1,1.8c-6,2.9-35.3,17.7-62.4,40c-4.9,4-7.7,10.1-7.7,16.4v30.1h101v-35.3\\n c0-12.9,5.7-25,15.6-33.2c8.5-7,17.2-13.4,25.5-19.1C142.1,291.9,142,291.7,142,291.4z\"], [\"d\", \"M360.5,325.1c-31.9-26.2-66.3-43.6-73.4-47.1c-0.8-0.4-1.3-1.2-1.3-2.1v-49.7c6.2-4.2,10.4-11.3,10.4-19.3v-51.6\\n c0-25.6-20.8-46.4-46.4-46.4h-5.5h-5.5c-25.6,0-46.4,20.8-46.4,46.4v51.5c0,8.1,4.1,15.2,10.4,19.3v49.7c0,0.9-0.5,1.7-1.3,2.1\\n c-7,3.4-41.4,20.8-73.4,47.1c-5.8,4.7-9.1,11.8-9.1,19.3v35.3h108.9l10.8-49.3c-21.7-30.3,1.6-31.8,5.7-31.8l0,0l0,0\\n c4.1,0,27.4,1.5,5.7,31.8l10.8,49.3h108.9v-35.3C369.6,336.9,366.3,329.8,360.5,325.1z\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38)(69, \"g\")(70, \"g\");\n i0.ɵɵelement(71, \"path\", 39)(72, \"path\", 40)(73, \"path\", 41);\n i0.ɵɵelementEnd()()()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUN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igtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI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B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3b4afcd0404b96942486e59c197338273095d571f6d7d3356c9a9f08703aad9d.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3b4afcd0404b96942486e59c197338273095d571f6d7d3356c9a9f08703aad9d.json new file mode 100644 index 0000000..976e50b --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3b4afcd0404b96942486e59c197338273095d571f6d7d3356c9a9f08703aad9d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, _dirService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirService = _dirService;\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","_dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirService","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n dirService: DirService;\r\n constructor(public gService: GroupService, _dirService: DirService) {\r\n this.dirService = _dirService;\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB,EAAEC,WAAuB;IAA/C,KAAAD,QAAQ,GAARA,QAAQ;IAF3B,KAAAE,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OA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AC;QAACsC,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAApB,gBAAA,EAAkB;QAAA,EAAC;QAACS,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA5D,qBAAA,CAAsC,mBAAA4D,GAAA,CAAAnB,sBAAA;QAGxCQ,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA7D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3b85bfb0fe72269d860082f1517f9843adc974599db3980cb7b594b6e0e70357.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3b85bfb0fe72269d860082f1517f9843adc974599db3980cb7b594b6e0e70357.json new file mode 100644 index 0000000..e07a2b8 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3b85bfb0fe72269d860082f1517f9843adc974599db3980cb7b594b6e0e70357.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\nimport { HttpClientModule } from '@angular/common/http';\nimport { RouterModule } from '@angular/router';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { AppComponent } from './app.component';\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\nimport { HomeComponent } from './home/home.component';\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\nimport { CardComponent } from './components/common/card/card.component';\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\nimport { MatButtonModule, MatIconAnchor } from '@angular/material/button';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nimport * as i2 from \"@angular/router\";\nexport class AppModule {\n static #_ = this.ɵfac = function AppModule_Factory(t) {\n return new (t || AppModule)();\n };\n static #_2 = this.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: AppModule,\n bootstrap: [AppComponent]\n });\n static #_3 = this.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [BrowserModule.withServerTransition({\n appId: 'ng-cli-universal'\n }), HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconAnchor, RouterModule.forRoot([{\n path: '',\n component: HomeComponent,\n pathMatch: 'full'\n }, {\n path: 'user-table',\n component: UserTableComponent\n }, {\n path: 'group-table',\n component: GroupTableComponent\n }, {\n path: 'module-table',\n component: ModuleTableComponent\n }, {\n path: 'user-assignment',\n component: UserAssignmentComponent\n }, {\n path: 'user-representation',\n component: UserRepresentationComponent\n }])]\n });\n}\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, {\n declarations: [AppComponent, NavMenuComponent, HomeComponent, BaseTableComponent, UserTableComponent, GroupTableComponent, ModuleTableComponent, GroupUserTableComponent, UserRepTableComponent, DirGroupTableComponent, UserAssignmentComponent, UserRepresentationComponent, UserGroupDirImportComponent, DirUserTableComponent],\n imports: [i1.BrowserModule, HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconAnchor, i2.RouterModule]\n });\n})();","map":{"version":3,"names":["BrowserModule","FormsModule","HttpClientModule","RouterModule","BrowserAnimationsModule","AppComponent","NavMenuComponent","HomeComponent","GuiGridModule","BaseTableComponent","UserTableComponent","GroupTableComponent","ModuleTableComponent","UserAssignmentComponent","CardComponent","TabCardComponent","MatTabsModule","MatTabGroup","MatCommonModule","DragDropModule","MatTableComponent","UserRepresentationComponent","GroupUserTableComponent","UserRepTableComponent","SweetAlert2Module","DirGroupTableComponent","UserGroupDirImportComponent","DirUserTableComponent","MatButtonModule","MatIconAnchor","AppModule","_","_2","bootstrap","_3","withServerTransition","appId","forRoot","path","component","pathMatch","declarations","imports","i1","i2"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\app.module.ts"],"sourcesContent":["import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AppComponent } from './app.component';\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\r\nimport { BaseTableComponent} from './components/tables/base-table/base-table.component';\r\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\r\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\r\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\r\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\r\nimport { CardComponent } from './components/common/card/card.component';\r\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\r\nimport {MatTabsModule, MatTabGroup } from '@angular/material/tabs';\r\nimport {MatCommonModule} from '@angular/material/core';\r\nimport {DragDropModule} from '@angular/cdk/drag-drop';\r\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\r\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\r\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\r\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\r\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\r\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\r\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\r\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\r\nimport {MatButtonModule, MatIconAnchor} from '@angular/material/button';\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NavMenuComponent,\r\n HomeComponent,\r\n BaseTableComponent,\r\n UserTableComponent,\r\n GroupTableComponent,\r\n ModuleTableComponent,\r\n GroupUserTableComponent,\r\n UserRepTableComponent,\r\n DirGroupTableComponent,\r\n UserAssignmentComponent,\r\n UserRepresentationComponent,\r\n UserGroupDirImportComponent,\r\n DirUserTableComponent\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n GuiGridModule,\r\n CardComponent,\r\n MatTableComponent,\r\n TabCardComponent,\r\n MatTabsModule,\r\n MatTabGroup,\r\n MatCommonModule,\r\n DragDropModule,\r\n SweetAlert2Module,\r\n MatButtonModule,MatIconAnchor,\r\n RouterModule.forRoot([\r\n { path: '', component: HomeComponent, pathMatch: 'full' },\r\n { path: 'user-table', component: UserTableComponent },\r\n { path: 'group-table', component: GroupTableComponent },\r\n { path: 'module-table', component: ModuleTableComponent },\r\n { path: 'user-assignment', component: UserAssignmentComponent },\r\n { path: 'user-representation', component: UserRepresentationComponent },\r\n ])\r\n ]\r\n})\r\nexport class AppModule { }"],"mappings":"AAAA,SAASA,aAAa,QAAQ,2BAA2B;AAEzD,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,gBAAgB,QAAQ,sBAAsB;AACvD,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,uBAAuB,QAAQ,sCAAsC;AAC9E,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,kBAAkB,QAAO,qDAAqD;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EF,IAAI,EAAE,YAAY;MAAEC,SAAS,EAAE7B;IAAkB,CAAE,EACrD;MAAE4B,IAAI,EAAE,aAAa;MAAEC,SAAS,EAAE5B;IAAmB,CAAE,EACvD;MAAE2B,IAAI,EAAE,cAAc;MAAEC,SAAS,EAAE3B;IAAoB,CAAE,EACzD;MAAE0B,IAAI,EAAE,iBAAiB;MAAEC,SAAS,EAAE1B;IAAuB,CAAE,EAC/D;MAAEyB,IAAI,EAAE,qBAAqB;MAAEC,SAAS,EAAElB;IAA2B,CAAE,CAC1E,CAAC;EAAA;;;2EAGGS,SAAS;IAAAW,YAAA,GA1CdpC,YAAY,EACZC,gBAAgB,EAChBC,aAAa,EACbE,kBAAkB,EAClBC,kBAAkB,EAClBC,mBAAmB,EACnBC,oBAAoB,EACpBU,uBAAuB,EACvBC,qBAAqB,EACrBE,sBAAsB,EACtBZ,uBAAuB,EACvBQ,2BAA2B,EAC3BK,2BAA2B,EAC3BC,qBAAqB;IAAAe,OAAA,GAAAC,EAAA,CAAA3C,aAAA,EAMrBE,gBAAgB,EAChBD,WAAW,EACXG,uBAAuB,EACvBI,aAAa,EACbM,aAAa,EACbM,iBAAiB,EACjBL,gBAAgB,EAChBC,aAAa,EACbC,WAAW,EACXC,eAAe,EACfC,cAAc,EACdK,iBAAiB,EACjBI,eAAe,EAACC,aAAa,EAAAe,EAAA,CAAAzC,YAAA;EAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3e8efaeaf9ce8167c17b086b94ad31116a135b52b84aec24007d80d6d19b97ed.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3e8efaeaf9ce8167c17b086b94ad31116a135b52b84aec24007d80d6d19b97ed.json new file mode 100644 index 0000000..457c6ef --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3e8efaeaf9ce8167c17b086b94ad31116a135b52b84aec24007d80d6d19b97ed.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"2em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 38);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 39);\n i0.ɵɵelement(69, \"circle\", 40)(70, \"path\", 41)(71, \"path\", 42)(72, \"path\", 43)(73, \"path\", 44)(74, \"path\", 45);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLG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lLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,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B;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3fac684a04f987a39bdfceeae42b4981b927145b94d7fcc915a2e4cb1dc288a7.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3fac684a04f987a39bdfceeae42b4981b927145b94d7fcc915a2e4cb1dc288a7.json new file mode 100644 index 0000000..e904cac --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/3fac684a04f987a39bdfceeae42b4981b927145b94d7fcc915a2e4cb1dc288a7.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵelement(9, \"app-dir-user-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA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OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAmC;QAE3BV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA2B;QACvBV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/41ce9f39d9adcb8c5ed74483296e90c09d12a50659c6e4f6164ae262265a99c3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/41ce9f39d9adcb8c5ed74483296e90c09d12a50659c6e4f6164ae262265a99c3.json new file mode 100644 index 0000000..5a11526 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/41ce9f39d9adcb8c5ed74483296e90c09d12a50659c6e4f6164ae262265a99c3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport { DirService } from 'src/app/services/dir.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nimport * as i5 from \"src/app/services/dir.service\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, _dirService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirService = _dirService;\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","DirService","UserGroupDirImportComponent","constructor","gService","_dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirService","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n dirService: DirService;\r\n constructor(public gService: GroupService, @Inject(DirService) _dirService: DirService) {\r\n this.dirService = _dirService;\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;AAGrD,SAASC,UAAU,QAAQ,8BAA8B;;;;;;;;;AAOzD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB,EAAsBC,WAAuB;IAAnE,KAAAD,QAAQ,GAARA,QAAQ;IAF3B,KAAAE,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEd,mBAAmB,CAACe,QAAQ;MAClCC,IAAI,EAAEjB,mBAAmB,CAACkB;KAC3B;IAlBC,IAAI,CAACC,UAAU,GAAGR,WAAW;EAC/B;EAEAS,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IAAI,CAACxB,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QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAA1D,qBAAA,CAAsC,mBAAA0D,GAAA,CAAAjB,sBAAA;QAGxCQ,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAA3D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4322e242fceced0c25db1c095818f0d2410a00ec9ab4b96d60b9769e1cc7d86e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4322e242fceced0c25db1c095818f0d2410a00ec9ab4b96d60b9769e1cc7d86e.json new file mode 100644 index 0000000..63721c8 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4322e242fceced0c25db1c095818f0d2410a00ec9ab4b96d60b9769e1cc7d86e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 16,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4);\n i0.ɵɵelement(8, \"mat-icon\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(9, \"div\", 5)(10, \"div\", 6);\n i0.ɵɵelement(11, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 6);\n i0.ɵɵelement(14, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(11);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AA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AA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/436ea85573d518f81f1ef64ce05f24c01e28b04d40f7535ca637712b65713d06.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/436ea85573d518f81f1ef64ce05f24c01e28b04d40f7535ca637712b65713d06.json new file mode 100644 index 0000000..d3f917e --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/436ea85573d518f81f1ef64ce05f24c01e28b04d40f7535ca637712b65713d06.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class GroupOfUserService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n deleteByGroupUserId(groupId, userId) {\n const url = `${this.baseUrl}?groupId=${groupId}&userId=${userId}`;\n return this.http.delete(url);\n }\n getAll(withUser = false, withGroup = false) {\n let params = new HttpParams();\n if (withUser) {\n params = params.set('withUser', 'true');\n }\n if (withGroup) {\n params = params.set('withGroup', 'true');\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function GroupOfUserService_Factory(t) {\n return new (t || GroupOfUserService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('GROUP_OF_USER_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: GroupOfUserService,\n factory: GroupOfUserService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","ApiService","GroupOfUserService","constructor","http","userUri","deleteByGroupUserId","groupId","userId","url","baseUrl","delete","getAll","withUser","withGroup","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\group-of-user.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { GroupOfUser } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GroupOfUserService extends ApiService {\r\n constructor(http: HttpClient, @Inject('GROUP_OF_USER_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n deleteByGroupUserId(groupId: number, userId: number): Observable> {\r\n const url = `${this.baseUrl}?groupId=${groupId}&userId=${userId}`;\r\n return this.http.delete>(url);\r\n }\r\n\r\n override getAll(withUser: boolean = false, withGroup: boolean = false): Observable> {\r\n let params = new HttpParams();\r\n if (withUser) {\r\n params = params.set('withUser', 'true');\r\n }\r\n if (withGroup) {\r\n params = params.set('withGroup', 'true');\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AACA,SAAqBA,UAAU,QAAQ,sBAAsB;AAE7D,SAASC,UAAU,QAAQ,+BAA+B;;;AAO1D,OAAM,MAAOC,kBAAmB,SAAQD,UAAuB;EAC7DE,YAAYC,IAAgB,EAAuCC,OAAe;IAChF,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IAD6C,KAAAA,OAAO,GAAPA,OAAO;EAE1E;EAEAC,mBAAmBA,CAACC,OAAe,EAAEC,MAAc;IACjD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,YAAYH,OAAO,WAAWC,MAAM,EAAE;IACjE,OAAO,IAAI,CAACJ,IAAI,CAACO,MAAM,CAAwBF,GAAG,CAAC;EACrD;EAESG,MAAMA,CAACC,QAAA,GAAoB,KAAK,EAAEC,SAAA,GAAqB,KAAK;IACnE,IAAIC,MAAM,GAAG,IAAIf,UAAU,EAAE;IAC7B,IAAIa,QAAQ,EAAE;MACZE,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC;;IAEzC,IAAIF,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC;;IAG1C,OAAO,IAAI,CAACZ,IAAI,CAACa,GAAG,CAAkC,IAAI,CAACP,OAAO,EAAE;MAAEK;IAAM,CAAE,CAAC;EACjF;EAAC,QAAAG,CAAA,G;qBApBUhB,kBAAkB,EAAAiB,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACS,mBAAmB;EAAA;EAAA,QAAAG,EAAA,G;WAD9CrB,kBAAkB;IAAAsB,OAAA,EAAlBtB,kBAAkB,CAAAuB,IAAA;IAAAC,UAAA,EAFjB;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/45561b6042553859041b63d772dcb4daa66c7de3160787bda6ea95351094a095.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/45561b6042553859041b63d772dcb4daa66c7de3160787bda6ea95351094a095.json new file mode 100644 index 0000000..a6a2951 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/45561b6042553859041b63d772dcb4daa66c7de3160787bda6ea95351094a095.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as __NgCli_bootstrap_1 from \"@angular/platform-browser\";\nimport { enableProdMode } from '@angular/core';\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\nexport function getBaseUrl() {\n return document.getElementsByTagName('base')[0].href;\n}\nexport function getUserManagerUrl() {\n return document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"href\");\n}\nexport function getUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-route\")}`;\n}\nexport function getGroupUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-route\")}`;\n}\nexport function getModuleUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-route\")}`;\n}\nexport function getModuleOfUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-of-user-route\")}`;\n}\nexport function getGroupOfUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-of-user-route\")}`;\n}\nexport function getUserRepUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-representation-route\")}`;\n}\nexport function getDirGroupUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-group-route\")}`;\n}\nexport function getDirUserUrl() {\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-user-route\")}`;\n}\nvar columnNames = {\n user: [{\n header: 'Benutzername',\n field: 'username'\n }, {\n header: 'Vorname',\n field: 'prename'\n }, {\n header: 'Name',\n field: 'name'\n }, {\n header: 'E-email',\n field: 'email'\n }],\n group: {\n complete: [{\n header: \"Gruppe\",\n field: \"name\"\n }, {\n header: \"Kommentar\",\n field: \"comment\"\n }],\n representative: [{\n header: \"Repräsentation\",\n field: \"name\"\n }],\n right: [{\n header: \"Richtiger\",\n field: \"name\"\n }]\n },\n dirGroup: [{\n header: \"SAM-Account-Name\",\n field: dirGroup => dirGroup.samaccountname[0]\n }],\n dirUser: [{\n header: 'Benutzername',\n field: 'samAccountName'\n }, {\n header: 'Vorname',\n field: 'givenName'\n }, {\n header: 'Name',\n field: 'surname'\n }, {\n header: 'E-email',\n field: 'emailAddress'\n }],\n module: [{\n header: \"Produkt\",\n field: \"name\"\n }, {\n header: \"Kurzname\",\n field: \"shortName\"\n }],\n groupOfUser: [{\n header: \"Benutzername\",\n field: gou => gou.user.username\n }, {\n header: \"Gruppen\",\n field: gou => gou.group.name\n }],\n userRep: [{\n header: \"Repr. Gruppen\",\n field: ur => ur.repGroup?.name\n }, {\n header: \"Rechte Gruppen\",\n field: ur => ur.rightGroup?.name\n }, {\n header: \"Repr. Benutzer\",\n field: ur => ur.repUser?.username\n }]\n};\nconst providers = [{\n provide: 'BASE_URL',\n useFactory: getBaseUrl,\n deps: []\n}, {\n provide: 'USER_MANAGER_URL',\n useFactory: getUserManagerUrl,\n deps: []\n}, {\n provide: 'USER_URL',\n useFactory: getUserUrl,\n deps: []\n}, {\n provide: 'MODULE_URL',\n useFactory: getModuleUrl,\n deps: []\n}, {\n provide: 'GROUP_URL',\n useFactory: getGroupUrl,\n deps: []\n}, {\n provide: 'MODULE_OF_USER_URL',\n useFactory: getModuleOfUserUrl,\n deps: []\n}, {\n provide: 'GROUP_OF_USER_URL',\n useFactory: getGroupOfUserUrl,\n deps: []\n}, {\n provide: 'USER_REP_URL',\n useFactory: getUserRepUrl,\n deps: []\n}, {\n provide: 'DIR_GROUP_URL',\n useFactory: getDirGroupUrl,\n deps: []\n}, {\n provide: 'DIR_USER_URL',\n useFactory: getDirUserUrl,\n deps: []\n}, {\n provide: 'USER_TABLE_COLUMNS',\n useFactory: () => columnNames.user,\n deps: []\n}, {\n provide: 'GROUP_COMPLETE_TABLE_COLUMNS',\n useFactory: () => columnNames.group.complete,\n deps: []\n}, {\n provide: 'GROUP_RIGHT_TABLE_COLUMNS',\n useFactory: () => columnNames.group.right,\n deps: []\n}, {\n provide: 'GROUP_REP_TABLE_COLUMNS',\n useFactory: () => columnNames.group.representative,\n deps: []\n}, {\n provide: 'MODULE_TABLE_COLUMNS',\n useFactory: () => columnNames.module,\n deps: []\n}, {\n provide: 'GROUP_USER_TABLE_COLUMNS',\n useFactory: () => columnNames.groupOfUser,\n deps: []\n}, {\n provide: 'USER_REP_TABLE_COLUMNS',\n useFactory: () => columnNames.userRep,\n deps: []\n}, {\n provide: 'DIR_GROUP_TABLE_COLUMNS',\n useFactory: () => columnNames.dirGroup,\n deps: []\n}, {\n provide: 'DIR_USER_TABLE_COLUMNS',\n useFactory: () => columnNames.dirUser,\n deps: []\n}];\nif (environment.production) {\n enableProdMode();\n}\n__NgCli_bootstrap_1.platformBrowser(providers).bootstrapModule(AppModule).catch(err => console.log(err));","map":{"version":3,"names":["enableProdMode","AppModule","environment","getBaseUrl","document","getElementsByTagName","href","getUserManagerUrl","getAttribute","getUserUrl","getGroupUrl","getModuleUrl","getModuleOfUserUrl","getGroupOfUserUrl","getUserRepUrl","getDirGroupUrl","getDirUserUrl","columnNames","user","header","field","group","complete","representative","right","dirGroup","samaccountname","dirUser","module","groupOfUser","gou","username","name","userRep","ur","repGroup","rightGroup","repUser","providers","provide","useFactory","deps","production","__NgCli_bootstrap_1","platformBrowser","bootstrapModule","catch","err","console","log"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\main.ts"],"sourcesContent":["import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\nimport { DirGroup, User, UserRep } from './app/models/user-management.api.models';\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nexport function getUserManagerUrl() {\r\n return document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"href\");\r\n}\r\nexport function getUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-route\")}`;\r\n}\r\nexport function getGroupUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-route\")}`;\r\n}\r\nexport function getModuleUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-route\")}`;\r\n}\r\nexport function getModuleOfUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"module-of-user-route\")}`;\r\n}\r\nexport function getGroupOfUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"group-of-user-route\")}`;\r\n}\r\nexport function getUserRepUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"user-representation-route\")}`;\r\n}\r\nexport function getDirGroupUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-group-route\")}`;\r\n}\r\nexport function getDirUserUrl() {\r\n return `${getUserManagerUrl()}${document.getElementsByTagName(\"user-manager-api\")[0].getAttribute(\"dir-user-route\")}`;\r\n}\r\n\r\nvar columnNames = {\r\n user: [\r\n {\r\n header: 'Benutzername',\r\n field: 'username'\r\n },\r\n {\r\n header: 'Vorname',\r\n field: 'prename'\r\n },\r\n {\r\n header: 'Name',\r\n field: 'name'\r\n },\r\n {\r\n header: 'E-email',\r\n field: 'email'\r\n }],\r\n group: {\r\n complete: [\r\n {\r\n header: \"Gruppe\",\r\n field: \"name\"\r\n },\r\n {\r\n header: \"Kommentar\",\r\n field: \"comment\"\r\n }\r\n ],\r\n representative: [\r\n {\r\n header: \"Repräsentation\",\r\n field: \"name\"\r\n }\r\n ],\r\n right: [\r\n {\r\n header: \"Richtiger\",\r\n field: \"name\"\r\n }\r\n ]\r\n },\r\n dirGroup: [\r\n {\r\n header: \"SAM-Account-Name\",\r\n field: (dirGroup: DirGroup) => dirGroup.samaccountname[0]\r\n }\r\n ],\r\n dirUser: [\r\n {\r\n header: 'Benutzername',\r\n field: 'samAccountName'\r\n },\r\n {\r\n header: 'Vorname',\r\n field: 'givenName'\r\n },\r\n {\r\n header: 'Name',\r\n field: 'surname'\r\n },\r\n {\r\n header: 'E-email',\r\n field: 'emailAddress'\r\n }\r\n ],\r\n module: [\r\n {\r\n header: \"Produkt\",\r\n field: \"name\"\r\n },\r\n {\r\n header: \"Kurzname\",\r\n field: \"shortName\"\r\n }\r\n ],\r\n groupOfUser: [\r\n {\r\n header: \"Benutzername\",\r\n field: (gou: any) => gou.user.username\r\n },\r\n {\r\n header: \"Gruppen\",\r\n field: (gou: any) => gou.group.name\r\n },\r\n ],\r\n userRep: [\r\n {\r\n header: \"Repr. Gruppen\",\r\n field: (ur: UserRep) => ur.repGroup?.name\r\n },\r\n {\r\n header: \"Rechte Gruppen\",\r\n field: (ur: UserRep) => ur.rightGroup?.name\r\n },\r\n {\r\n header: \"Repr. Benutzer\",\r\n field: (ur: UserRep) => ur.repUser?.username\r\n },\r\n ]\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] },\r\n { provide: 'USER_MANAGER_URL', useFactory: getUserManagerUrl, deps: [] },\r\n { provide: 'USER_URL', useFactory: getUserUrl, deps: [] },\r\n { provide: 'MODULE_URL', useFactory: getModuleUrl, deps: [] },\r\n { provide: 'GROUP_URL', useFactory: getGroupUrl, deps: [] },\r\n { provide: 'MODULE_OF_USER_URL', useFactory: getModuleOfUserUrl, deps: [] },\r\n { provide: 'GROUP_OF_USER_URL', useFactory: getGroupOfUserUrl, deps: [] },\r\n { provide: 'USER_REP_URL', useFactory: getUserRepUrl, deps: [] },\r\n { provide: 'DIR_GROUP_URL', useFactory: getDirGroupUrl, deps: [] },\r\n { provide: 'DIR_USER_URL', useFactory: getDirUserUrl, deps: [] },\r\n { provide: 'USER_TABLE_COLUMNS', useFactory: () => columnNames.user, deps: [] },\r\n { provide: 'GROUP_COMPLETE_TABLE_COLUMNS', useFactory: () => columnNames.group.complete, deps: [] },\r\n { provide: 'GROUP_RIGHT_TABLE_COLUMNS', useFactory: () => columnNames.group.right, deps: [] },\r\n { provide: 'GROUP_REP_TABLE_COLUMNS', useFactory: () => columnNames.group.representative, deps: [] },\r\n { provide: 'MODULE_TABLE_COLUMNS', useFactory: () => columnNames.module, deps: [] },\r\n { provide: 'GROUP_USER_TABLE_COLUMNS', useFactory: () => columnNames.groupOfUser, deps: [] },\r\n { provide: 'USER_REP_TABLE_COLUMNS', useFactory: () => columnNames.userRep, deps: [] }, //\r\n { provide: 'DIR_GROUP_TABLE_COLUMNS', useFactory: () => columnNames.dirGroup, deps: [] },\r\n { provide: 'DIR_USER_TABLE_COLUMNS', useFactory: () => columnNames.dirUser, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic(providers).bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n"],"mappings":";AAAA,SAASA,cAAc,QAAQ,eAAe;AAG9C,SAASC,SAAS,QAAQ,kBAAkB;AAC5C,SAASC,WAAW,QAAQ,4BAA4B;AAGxD,OAAM,SAAUC,UAAUA,CAAA;EACxB,OAAOC,QAAQ,CAACC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAACC,IAAI;AACtD;AAEA,OAAM,SAAUC,iBAAiBA,CAAA;EAC/B,OAAOH,QAAQ,CAACC,oBAAoB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAACG,YAAY,CAAC,MAAM,CAAC;AAClF;AACA,OAAM,SAAUC,UAAUA,CAAA;EACxB,OAAO,GAAGF,iBAAiB,EAAE,GAAGH,QAAQ,CAACC,oBAAoB,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W,CAACU,OAAO;EAAEc,IAAI,EAAE;AAAE,CAAE,CACvF;AAED,IAAIvC,WAAW,CAACwC,UAAU,EAAE;EAC1B1C,cAAc,EAAE;;AAGlB2C,mBAAA,CAAAC,eAAA,CAAuBN,SAAS,CAAC,CAACO,eAAe,CAAC5C,SAAS,CAAC,CACzD6C,KAAK,CAACC,GAAG,IAAIC,OAAO,CAACC,GAAG,CAACF,GAAG,CAAC,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/45c5a0b680bcbe2579e69cc669119320c7c73a2f9127f997fd594a4a408e8508.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/45c5a0b680bcbe2579e69cc669119320c7c73a2f9127f997fd594a4a408e8508.json new file mode 100644 index 0000000..7cf4968 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/45c5a0b680bcbe2579e69cc669119320c7c73a2f9127f997fd594a4a408e8508.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r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AAS;QAI5Ef,EAAA,CAAAU,cAAA,aAA2B;QAIXV,EAAA,CAAAW,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAX,gBAAA,EAAkB;QAAA,EAAC;QAACE,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAlD,qBAAA,CAAsC;QAGxCyC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAnD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/46653df7c5df0b6c4526f0e0990549f73f957d60e0a9adfca6b00c5fca7428f9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/46653df7c5df0b6c4526f0e0990549f73f957d60e0a9adfca6b00c5fca7428f9.json new file mode 100644 index 0000000..ed75291 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/46653df7c5df0b6c4526f0e0990549f73f957d60e0a9adfca6b00c5fca7428f9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty","dirUsersRowSelection"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByAd( row?.source ).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3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AAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAxD,qBAAA,CAAsC,mBAAAwD,GAAA,CAAAlD,sBAAA;QAGxCuC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAzD,eAAA,CAA4B,iBAAAyD,GAAA,CAAAU,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/46c8313334a3e69308a9f1a73211602ee52e9b84df190fa86dfafe91d4421710.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/46c8313334a3e69308a9f1a73211602ee52e9b84df190fa86dfafe91d4421710.json new file mode 100644 index 0000000..e40ddfe --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/46c8313334a3e69308a9f1a73211602ee52e9b84df190fa86dfafe91d4421710.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50L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XQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAA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EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/471a1001f1066f50ad178f30037ebcf227fa3db171cbf3fa20657d96161b7c19.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/471a1001f1066f50ad178f30037ebcf227fa3db171cbf3fa20657d96161b7c19.json new file mode 100644 index 0000000..de1255b --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/471a1001f1066f50ad178f30037ebcf227fa3db171cbf3fa20657d96161b7c19.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵelement(9, \"app-dir-user-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\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A2B;QACvBV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/47a65dc13df11560aff7b3eb64730882d7fc228c9a4c4980df64447c673a1f5f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/47a65dc13df11560aff7b3eb64730882d7fc228c9a4c4980df64447c673a1f5f.json new file mode 100644 index 0000000..451a0a0 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/47a65dc13df11560aff7b3eb64730882d7fc228c9a4c4980df64447c673a1f5f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = () => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res);\n this.dirUsers;\n }\n },\n error: err => {}\n });\n }\n };\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","ngOnInit","ngAfterViewInit","dirUsers","loading","rows","length","groupName","source","samaccountname","getUser","subscribe","next","res","isSuccess","console","log","error","err","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","results","filter","result","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private dirService: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n this.dirGroupOnSelectedRows = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if (res.isSuccess) {\r\n console.log(res)\r\n this.dirUsers\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n\r\n }\r\n }\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = () => { }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,UAAsB;IAAtD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,UAAU,GAAVA,UAAU;IAF9D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAkC3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC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AAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACE,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA1D,qBAAA,CAAsC,mBAAA0D,GAAA,CAAApD,sBAAA;QAGxCyC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA3D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4a9d3f52f34008cee7ff2c2c579b965c5f387f038a45d1b72f312329a6ebe1c7.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4a9d3f52f34008cee7ff2c2c579b965c5f387f038a45d1b72f312329a6ebe1c7.json new file mode 100644 index 0000000..73e0427 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4a9d3f52f34008cee7ff2c2c579b965c5f387f038a45d1b72f312329a6ebe1c7.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.createByDir({\n emailAddress: row?.source.emailAddress,\n givenName: row.source.givenName,\n samAccountName: row.source.samAccountName,\n surname: row.source.surname,\n middleName: row.source.middleName\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","emailAddress","givenName","samAccountName","surname","middleName","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.createByDir({\r\n emailAddress: row?.source.emailAddress,\r\n givenName:row.source.givenName,\r\n samAccountName:row.source.samAccountName,\r\n surname: row.source.surname,\r\n middleName:row.source.middleName\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAiGD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAACE,MAAM,CAACC,cAAc;QACnE,IAAI,CAACC,QAAQ,CAACC,oBAAoB,CAACJ,SAAS,CAAC;;IAEjD,CAAC;EA7HD;EAEAK,QAAQA,CAAA,GACR;EAMAC,eAAeA,CAAA;IACb,IAAI,CAACH,QAAQ,CAACI,OAAO,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,sBAAA;QAGxC4C,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA/D,eAAA,CAA4B,iBAAA+D,GAAA,CAAAxD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4b4efab7260f984916ce7afcc9c90343377ee5f4add09ac97a5f1beaa3b0c75a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4b4efab7260f984916ce7afcc9c90343377ee5f4add09ac97a5f1beaa3b0c75a.json new file mode 100644 index 0000000..ee2eba9 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4b4efab7260f984916ce7afcc9c90343377ee5f4add09ac97a5f1beaa3b0c75a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 5,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\", \"onSelectedRows\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection)(\"onSelectedRows\", ctx.useronSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty","useronSelectedRows"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;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AC;QAACW,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAA4J;QAChKhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAlE,qBAAA,CAAsC,mBAAAkE,GAAA,CAAA3D,sBAAA;QAGxCgD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAnE,eAAA,CAA4B,iBAAAmE,GAAA,CAAA5D,oBAAA,oBAAA4D,GAAA,CAAAU,kBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4eec2b8780e39256cc9536ce8524d03d659f392cbe6ad749f2732213d90e35cc.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4eec2b8780e39256cc9536ce8524d03d659f392cbe6ad749f2732213d90e35cc.json new file mode 100644 index 0000000..e53624c --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4eec2b8780e39256cc9536ce8524d03d659f392cbe6ad749f2732213d90e35cc.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\", \"pe-0\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"pe-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,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,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f5f04aa7f4193483b272ec6f96550a877747f531411833fee3ae4295c42fdbb.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f5f04aa7f4193483b272ec6f96550a877747f531411833fee3ae4295c42fdbb.json new file mode 100644 index 0000000..2181a98 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f5f04aa7f4193483b272ec6f96550a877747f531411833fee3ae4295c42fdbb.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAA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CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f602e502f546a6e4b246b3bcf2fb8c1c182ee5b0a515e8299a4f4186362bdb2.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f602e502f546a6e4b246b3bcf2fb8c1c182ee5b0a515e8299a4f4186362bdb2.json new file mode 100644 index 0000000..b446623 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f602e502f546a6e4b246b3bcf2fb8c1c182ee5b0a515e8299a4f4186362bdb2.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport { DirService } from 'src/app/services/dir.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nimport * as i5 from \"src/app/services/dir.service\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(_gService, _dirService) {\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirService = _dirService;\n this.gService = _gService;\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","DirService","UserGroupDirImportComponent","constructor","_gService","_dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirService","gService","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n dirService: DirService;\r\n gService: GroupService;\r\n constructor(_gService: GroupService, @Inject(DirService) _dirService: DirService) {\r\n this.dirService = _dirService;\r\n this.gService = _gService;\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;AAGrD,SAASC,UAAU,QAAQ,8BAA8B;;;;;;;;;AAOzD,OAAM,MAAOC,2BAA2B;EAKtCC,YAAYC,SAAuB,EAAsBC,WAAuB;IAHhF,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAmB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEd,mBAAmB,CAACe,QAAQ;MAClCC,IAAI,EAAEjB,mBAAmB,CAACkB;KAC3B;IAnBC,IAAI,CAACC,UAAU,GAAGR,WAAW;IAC7B,IAA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AA,EAAS;QAI5Ef,EAAA,CAAAU,cAAA,aAA2B;QAIXV,EAAA,CAAAW,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAlB,gBAAA,EAAkB;QAAA,EAAC;QAACS,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAA3D,qBAAA,CAAsC,mBAAA2D,GAAA,CAAAjB,sBAAA;QAGxCQ,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAA5D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f84e4431467583d86cd9ffa1c9670cad84a537ab6d65d437bec8aa6a2459938.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f84e4431467583d86cd9ffa1c9670cad84a537ab6d65d437bec8aa6a2459938.json new file mode 100644 index 0000000..14693e1 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/4f84e4431467583d86cd9ffa1c9670cad84a537ab6d65d437bec8aa6a2459938.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 67,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSx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tcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n\r\n }\r\n}","
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;;;;;;;;;;;;;;;;;;AAOjH,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAGAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,2BAA2B,EAAE;MAC9DU,KAAK,EAAE;KACR,CAAC;EAEJ;EAAC,QAAAC,CAAA,G;qBArBUV,gBAAgB,EAAAW,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAhBf,gBAAgB;IAAAgB,SAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC,QAAA,WAAAC,0BAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;QCT7BX,EAAA,CAAAa,cAAA,aAAQ;QAM0Fb,EAAA,CAAAc,MAAA,oBAAa;QAAAd,EAAA,CAAAe,Y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,SAAA,EAA8B;QAA9BtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAK,GAAA,EAA8B;QAE/B/B,EAAA,CAAAsB,SAAA,GAAoC;QAApCtB,EAAA,CAAAuB,UAAA,qBAAAvB,EAAA,CAAA0B,eAAA,KAAAC,GAAA,EAAoC,4BAAA3B,EAAA,CAAA0B,eAAA,KAAAE,GAAA;QACnC5B,EAAA,CAAAsB,SAAA,EAA+B;QAA/BtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAM,GAAA,EAA+B;QAEhChC,EAAA,CAAAsB,SAAA,GAAoC;QAApCtB,EAAA,CAAAuB,UAAA,qBAAAvB,EAAA,CAAA0B,eAAA,KAAAC,GAAA,EAAoC,4BAAA3B,EAAA,CAAA0B,eAAA,KAAAE,GAAA;QACnC5B,EAAA,CAAAsB,SAAA,EAAgC;QAAhCtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAO,GAAA,EAAgC;QAIdjC,EAAA,CAAAsB,SAAA,GAAoB;QAApBtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BlC,EAAA,CAAAsB,SAAA,GAAiC;QAAjCtB,EAAA,CAAAmC,WAAA,kBAAAvB,GAAA,CAAApB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/528499505763be3c4686ee9127ca6d3f742b3dccfefbd25d067e06440c6d6a6a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/528499505763be3c4686ee9127ca6d3f742b3dccfefbd25d067e06440c6d6a6a.json new file mode 100644 index 0000000..971f306 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/528499505763be3c4686ee9127ca6d3f742b3dccfefbd25d067e06440c6d6a6a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.baseUrl = baseUrl;\n this.http = http;\n this.baseUrl = baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { DirUser } from '../models/user-management.api.models';\r\n\r\n@Injectable()\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL') private baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n http: HttpClient;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAO7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAA6BC,OAAe;IAAf,KAAAA,OAAO,GAAPA,OAAO;IAC9D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;EACxB;EAIAC,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA8B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC7E;EAAC,QAAAG,CAAA,G;qBAfUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB;EAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/55eae08c9bcba9ff3df663f9a86190358be823648736d9588bc09691a3bd24f3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/55eae08c9bcba9ff3df663f9a86190358be823648736d9588bc09691a3bd24f3.json new file mode 100644 index 0000000..d0f5694 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/55eae08c9bcba9ff3df663f9a86190358be823648736d9588bc09691a3bd24f3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(_gService, _dirService) {\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirService = _dirService;\n this.gService = _gService;\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","_gService","_dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirService","gService","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n dirService: DirService;\r\n gService: GroupService;\r\n constructor(_gService: GroupService, _dirService: DirService) {\r\n this.dirService = _dirService;\r\n this.gService = _gService;\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAA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0ad1e0dab2eafd2409eb70d1f23043e3a5a2c39c2303b189bb5ffd394594.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/568b0ad1e0dab2eafd2409eb70d1f23043e3a5a2c39c2303b189bb5ffd394594.json new file mode 100644 index 0000000..b79fc86 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/568b0ad1e0dab2eafd2409eb70d1f23043e3a5a2c39c2303b189bb5ffd394594.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.isUsersNew = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.isUsersNew = true;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.dirUserOnSelectedRows = rows => {\n console.log(this.isUsersNew);\n if (this.isUsersNew) {\n this.isUsersNew = false;\n this.dirGroups.safelyUnselectAll();\n }\n if (rows.length > 0) {}\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","isUsersNew","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","dirUserOnSelectedRows","console","log","dirGroups","safelyUnselectAll","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","selectedRows","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n isUsersNew: boolean = false;\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.isUsersNew = true;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n dirUserOnSelectedRows: (rows: Array) => void = (rows) => {\r\n console.log(this.isUsersNew)\r\n if(this.isUsersNew){\r\n this.isUsersNew=false;\r\n this.dirGroups.safelyUnselectAll();\r\n }\r\n\r\n if (rows.length > 0) {\r\n \r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EA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AC;QAACG,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA5D,qBAAA,CAAsC,mBAAA4D,GAAA,CAAApD,sBAAA;QAGxCyC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA7D,eAAA,CAA4B,iBAAA6D,GAAA,CAAAtD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/56d0efbe9b89b78b2b267aa79de5d5fa4772d7cd587d8cae43b7a8d6491d7e17.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/56d0efbe9b89b78b2b267aa79de5d5fa4772d7cd587d8cae43b7a8d6491d7e17.json new file mode 100644 index 0000000..7b30d9b --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/56d0efbe9b89b78b2b267aa79de5d5fa4772d7cd587d8cae43b7a8d6491d7e17.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = () => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res);\n if (res.data != null) this.dirUsers.source = res.data;\n }\n },\n error: err => {}\n });\n }\n };\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","ngOnInit","ngAfterViewInit","dirUsers","loading","rows","length","groupName","source","samaccountname","getUser","subscribe","next","res","isSuccess","console","log","data","error","err","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","results","filter","result","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private dirService: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n this.dirGroupOnSelectedRows = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if (res.isSuccess) {\r\n console.log(res)\r\n if(res.data != null)\r\n this.dirUsers.source = res.data\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n\r\n }\r\n }\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = () => { }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAm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AAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA5D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/57c84328119158610bfe0b8b9cff40516f8af030ed978a63b85dcfcdb6170a91.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/57c84328119158610bfe0b8b9cff40516f8af030ed978a63b85dcfcdb6170a91.json new file mode 100644 index 0000000..89405a6 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/57c84328119158610bfe0b8b9cff40516f8af030ed978a63b85dcfcdb6170a91.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.isUsersNew = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.isUsersNew = true;\n this.dirUsers.safelyUnselectAll();\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.dirUserOnSelectedRows = rows => {\n console.log(this.isUsersNew);\n if (this.isUsersNew) {\n this.isUsersNew = false;\n this.dirGroups.safelyUnselectAll();\n }\n if (rows.length > 0) {}\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","isUsersNew","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","safelyUnselectAll","fetchDataByGroupName","dirUserOnSelectedRows","console","log","dirGroups","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","selectedRows","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n isUsersNew: boolean = false;\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.isUsersNew = true;\r\n this.dirUsers.safelyUnselectAll()\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n dirUserOnSelectedRows: (rows: Array) => void = (rows) => {\r\n console.log(this.isUsersNew)\r\n if(this.isUsersNew){\r\n this.isUsersNew=false;\r\n this.dirGroups.safelyUnselectAll();\r\n }\r\n\r\n if (rows.length > 0) {\r\n \r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,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AAC;QAACyB,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAd,gBAAA,EAAkB;QAAA,EAAC;QAACG,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA5D,qBAAA,CAAsC,mBAAA4D,GAAA,CAAApD,sBAAA;QAGxCyC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA7D,eAAA,CAA4B,iBAAA6D,GAAA,CAAAtD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/57cc01de5c610474b0fc005604b1f63b601292b8e4bb5f05d9b67e181f7c7086.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/57cc01de5c610474b0fc005604b1f63b601292b8e4bb5f05d9b67e181f7c7086.json new file mode 100644 index 0000000..14decea --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/57cc01de5c610474b0fc005604b1f63b601292b8e4bb5f05d9b67e181f7c7086.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as i0 from '@angular/core';\nimport { SecurityContext, Injectable, Optional, Inject, SkipSelf, ErrorHandler, InjectionToken, inject, booleanAttribute, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Input, NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DOCUMENT } from '@angular/common';\nimport { of, throwError, forkJoin, Subscription } from 'rxjs';\nimport { tap, map, catchError, finalize, share, take } from 'rxjs/operators';\nimport * as i1 from '@angular/common/http';\nimport { HttpClient } from '@angular/common/http';\nimport * as i2 from '@angular/platform-browser';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n/**\n * The Trusted Types policy, or null if Trusted Types are not\n * enabled/supported, or undefined if the policy has not been created yet.\n */\nconst _c0 = [\"*\"];\nlet policy;\n/**\n * Returns the Trusted Types policy, or null if Trusted Types are not\n * enabled/supported. The first call to this function will create the policy.\n */\nfunction getPolicy() {\n if (policy === undefined) {\n policy = null;\n if (typeof window !== 'undefined') {\n const ttWindow = window;\n if (ttWindow.trustedTypes !== undefined) {\n policy = ttWindow.trustedTypes.createPolicy('angular#components', {\n createHTML: s => s\n });\n }\n }\n }\n return policy;\n}\n/**\n * Unsafely promote a string to a TrustedHTML, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that the\n * provided string will never cause an XSS vulnerability if used in a context\n * that will be interpreted as HTML by a browser, e.g. when assigning to\n * element.innerHTML.\n */\nfunction trustedHTMLFromString(html) {\n return getPolicy()?.createHTML(html) || html;\n}\n\n/**\n * Returns an exception to be thrown in the case when attempting to\n * load an icon with a name that cannot be found.\n * @docs-private\n */\nfunction getMatIconNameNotFoundError(iconName) {\n return Error(`Unable to find icon with the name \"${iconName}\"`);\n}\n/**\n * Returns an exception to be thrown when the consumer attempts to use\n * `` without including @angular/common/http.\n * @docs-private\n */\nfunction getMatIconNoHttpProviderError() {\n return Error('Could not find HttpClient provider for use with Angular Material icons. ' + 'Please include the HttpClientModule from @angular/common/http in your ' + 'app imports.');\n}\n/**\n * Returns an exception to be thrown when a URL couldn't be sanitized.\n * @param url URL that was attempted to be sanitized.\n * @docs-private\n */\nfunction getMatIconFailedToSanitizeUrlError(url) {\n return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL ` + `via Angular's DomSanitizer. Attempted URL was \"${url}\".`);\n}\n/**\n * Returns an exception to be thrown when a HTML string couldn't be sanitized.\n * @param literal HTML that was attempted to be sanitized.\n * @docs-private\n */\nfunction getMatIconFailedToSanitizeLiteralError(literal) {\n return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by ` + `Angular's DomSanitizer. Attempted literal was \"${literal}\".`);\n}\n/**\n * Configuration for an icon, including the URL and possibly the cached SVG element.\n * @docs-private\n */\nclass SvgIconConfig {\n constructor(url, svgText, options) {\n this.url = url;\n this.svgText = svgText;\n this.options = options;\n }\n}\n/**\n * Service to register and display icons used by the `` component.\n * - Registers icon URLs by namespace and name.\n * - Registers icon set URLs by namespace.\n * - Registers aliases for CSS classes, for use with icon fonts.\n * - Loads icons from URLs and extracts individual icons from icon sets.\n */\nclass MatIconRegistry {\n constructor(_httpClient, _sanitizer, document, _errorHandler) {\n this._httpClient = _httpClient;\n this._sanitizer = _sanitizer;\n this._errorHandler = _errorHandler;\n /**\n * URLs and cached SVG elements for individual icons. Keys are of the format \"[namespace]:[icon]\".\n */\n this._svgIconConfigs = new Map();\n /**\n * SvgIconConfig objects and cached SVG elements for icon sets, keyed by namespace.\n * Multiple icon sets can be registered under the same namespace.\n */\n this._iconSetConfigs = new Map();\n /** Cache for icons loaded by direct URLs. */\n this._cachedIconsByUrl = new Map();\n /** In-progress icon fetches. Used to coalesce multiple requests to the same URL. */\n this._inProgressUrlFetches = new Map();\n /** Map from font identifiers to their CSS class names. Used for icon fonts. */\n this._fontCssClassesByAlias = new Map();\n /** Registered icon resolver functions. */\n this._resolvers = [];\n /**\n * The CSS classes to apply when an `` component has no icon name, url, or font\n * specified. The default 'material-icons' value assumes that the material icon font has been\n * loaded as described at https://google.github.io/material-design-icons/#icon-font-for-the-web\n */\n this._defaultFontSetClass = ['material-icons', 'mat-ligature-font'];\n this._document = document;\n }\n /**\n * Registers an icon by URL in the default namespace.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n addSvgIcon(iconName, url, options) {\n return this.addSvgIconInNamespace('', iconName, url, options);\n }\n /**\n * Registers an icon using an HTML string in the default namespace.\n * @param iconName Name under which the icon should be registered.\n * @param literal SVG source of the icon.\n */\n addSvgIconLiteral(iconName, literal, options) {\n return this.addSvgIconLiteralInNamespace('', iconName, literal, options);\n }\n /**\n * Registers an icon by URL in the specified namespace.\n * @param namespace Namespace in which the icon should be registered.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n addSvgIconInNamespace(namespace, iconName, url, options) {\n return this._addSvgIconConfig(namespace, iconName, new SvgIconConfig(url, null, options));\n }\n /**\n * Registers an icon resolver function with the registry. The function will be invoked with the\n * name and namespace of an icon when the registry tries to resolve the URL from which to fetch\n * the icon. The resolver is expected to return a `SafeResourceUrl` that points to the icon,\n * an object with the icon URL and icon options, or `null` if the icon is not supported. Resolvers\n * will be invoked in the order in which they have been registered.\n * @param resolver Resolver function to be registered.\n */\n addSvgIconResolver(resolver) {\n this._resolvers.push(resolver);\n return this;\n }\n /**\n * Registers an icon using an HTML string in the specified namespace.\n * @param namespace Namespace in which the icon should be registered.\n * @param iconName Name under which the icon should be registered.\n * @param literal SVG source of the icon.\n */\n addSvgIconLiteralInNamespace(namespace, iconName, literal, options) {\n const cleanLiteral = this._sanitizer.sanitize(SecurityContext.HTML, literal);\n // TODO: add an ngDevMode check\n if (!cleanLiteral) {\n throw getMatIconFailedToSanitizeLiteralError(literal);\n }\n // Security: The literal is passed in as SafeHtml, and is thus trusted.\n const trustedLiteral = trustedHTMLFromString(cleanLiteral);\n return this._addSvgIconConfig(namespace, iconName, new SvgIconConfig('', trustedLiteral, options));\n }\n /**\n * Registers an icon set by URL in the default namespace.\n * @param url\n */\n addSvgIconSet(url, options) {\n return this.addSvgIconSetInNamespace('', url, options);\n }\n /**\n * Registers an icon set using an HTML string in the default namespace.\n * @param literal SVG source of the icon set.\n */\n addSvgIconSetLiteral(literal, options) {\n return this.addSvgIconSetLiteralInNamespace('', literal, options);\n }\n /**\n * Registers an icon set by URL in the specified namespace.\n * @param namespace Namespace in which to register the icon set.\n * @param url\n */\n addSvgIconSetInNamespace(namespace, url, options) {\n return this._addSvgIconSetConfig(namespace, new SvgIconConfig(url, null, options));\n }\n /**\n * Registers an icon set using an HTML string in the specified namespace.\n * @param namespace Namespace in which to register the icon set.\n * @param literal SVG source of the icon set.\n */\n addSvgIconSetLiteralInNamespace(namespace, literal, options) {\n const cleanLiteral = this._sanitizer.sanitize(SecurityContext.HTML, literal);\n if (!cleanLiteral) {\n throw getMatIconFailedToSanitizeLiteralError(literal);\n }\n // Security: The literal is passed in as SafeHtml, and is thus trusted.\n const trustedLiteral = trustedHTMLFromString(cleanLiteral);\n return this._addSvgIconSetConfig(namespace, new SvgIconConfig('', trustedLiteral, options));\n }\n /**\n * Defines an alias for CSS class names to be used for icon fonts. Creating an matIcon\n * component with the alias as the fontSet input will cause the class name to be applied\n * to the `` element.\n *\n * If the registered font is a ligature font, then don't forget to also include the special\n * class `mat-ligature-font` to allow the usage via attribute. So register like this:\n *\n * ```ts\n * iconRegistry.registerFontClassAlias('f1', 'font1 mat-ligature-font');\n * ```\n *\n * And use like this:\n *\n * ```html\n * \n * ```\n *\n * @param alias Alias for the font.\n * @param classNames Class names override to be used instead of the alias.\n */\n registerFontClassAlias(alias, classNames = alias) {\n this._fontCssClassesByAlias.set(alias, classNames);\n return this;\n }\n /**\n * Returns the CSS class name associated with the alias by a previous call to\n * registerFontClassAlias. If no CSS class has been associated, returns the alias unmodified.\n */\n classNameForFontAlias(alias) {\n return this._fontCssClassesByAlias.get(alias) || alias;\n }\n /**\n * Sets the CSS classes to be used for icon fonts when an `` component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n */\n setDefaultFontSetClass(...classNames) {\n this._defaultFontSetClass = classNames;\n return this;\n }\n /**\n * Returns the CSS classes to be used for icon fonts when an `` component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n */\n getDefaultFontSetClass() {\n return this._defaultFontSetClass;\n }\n /**\n * Returns an Observable that produces the icon (as an `` DOM element) from the given URL.\n * The response from the URL may be cached so this will not always cause an HTTP request, but\n * the produced element will always be a new copy of the originally fetched icon. (That is,\n * it will not contain any modifications made to elements previously returned).\n *\n * @param safeUrl URL from which to fetch the SVG icon.\n */\n getSvgIconFromUrl(safeUrl) {\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, safeUrl);\n if (!url) {\n throw getMatIconFailedToSanitizeUrlError(safeUrl);\n }\n const cachedIcon = this._cachedIconsByUrl.get(url);\n if (cachedIcon) {\n return of(cloneSvg(cachedIcon));\n }\n return this._loadSvgIconFromConfig(new SvgIconConfig(safeUrl, null)).pipe(tap(svg => this._cachedIconsByUrl.set(url, svg)), map(svg => cloneSvg(svg)));\n }\n /**\n * Returns an Observable that produces the icon (as an `` DOM element) with the given name\n * and namespace. The icon must have been previously registered with addIcon or addIconSet;\n * if not, the Observable will throw an error.\n *\n * @param name Name of the icon to be retrieved.\n * @param namespace Namespace in which to look for the icon.\n */\n getNamedSvgIcon(name, namespace = '') {\n const key = iconKey(namespace, name);\n let config = this._svgIconConfigs.get(key);\n // Return (copy of) cached icon if possible.\n if (config) {\n return this._getSvgFromConfig(config);\n }\n // Otherwise try to resolve the config from one of the resolver functions.\n config = this._getIconConfigFromResolvers(namespace, name);\n if (config) {\n this._svgIconConfigs.set(key, config);\n return this._getSvgFromConfig(config);\n }\n // See if we have any icon sets registered for the namespace.\n const iconSetConfigs = this._iconSetConfigs.get(namespace);\n if (iconSetConfigs) {\n return this._getSvgFromIconSetConfigs(name, iconSetConfigs);\n }\n return throwError(getMatIconNameNotFoundError(key));\n }\n ngOnDestroy() {\n this._resolvers = [];\n this._svgIconConfigs.clear();\n this._iconSetConfigs.clear();\n this._cachedIconsByUrl.clear();\n }\n /**\n * Returns the cached icon for a SvgIconConfig if available, or fetches it from its URL if not.\n */\n _getSvgFromConfig(config) {\n if (config.svgText) {\n // We already have the SVG element for this icon, return a copy.\n return of(cloneSvg(this._svgElementFromConfig(config)));\n } else {\n // Fetch the icon from the config's URL, cache it, and return a copy.\n return this._loadSvgIconFromConfig(config).pipe(map(svg => cloneSvg(svg)));\n }\n }\n /**\n * Attempts to find an icon with the specified name in any of the SVG icon sets.\n * First searches the available cached icons for a nested element with a matching name, and\n * if found copies the element to a new `` element. If not found, fetches all icon sets\n * that have not been cached, and searches again after all fetches are completed.\n * The returned Observable produces the SVG element if possible, and throws\n * an error if no icon with the specified name can be found.\n */\n _getSvgFromIconSetConfigs(name, iconSetConfigs) {\n // For all the icon set SVG elements we've fetched, see if any contain an icon with the\n // requested name.\n const namedIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n if (namedIcon) {\n // We could cache namedIcon in _svgIconConfigs, but since we have to make a copy every\n // time anyway, there's probably not much advantage compared to just always extracting\n // it from the icon set.\n return of(namedIcon);\n }\n // Not found in any cached icon sets. If there are icon sets with URLs that we haven't\n // fetched, fetch them now and look for iconName in the results.\n const iconSetFetchRequests = iconSetConfigs.filter(iconSetConfig => !iconSetConfig.svgText).map(iconSetConfig => {\n return this._loadSvgIconSetFromConfig(iconSetConfig).pipe(catchError(err => {\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, iconSetConfig.url);\n // Swallow errors fetching individual URLs so the\n // combined Observable won't necessarily fail.\n const errorMessage = `Loading icon set URL: ${url} failed: ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n return of(null);\n }));\n });\n // Fetch all the icon set URLs. When the requests complete, every IconSet should have a\n // cached SVG element (unless the request failed), and we can check again for the icon.\n return forkJoin(iconSetFetchRequests).pipe(map(() => {\n const foundIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n // TODO: add an ngDevMode check\n if (!foundIcon) {\n throw getMatIconNameNotFoundError(name);\n }\n return foundIcon;\n }));\n }\n /**\n * Searches the cached SVG elements for the given icon sets for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n _extractIconWithNameFromAnySet(iconName, iconSetConfigs) {\n // Iterate backwards, so icon sets added later have precedence.\n for (let i = iconSetConfigs.length - 1; i >= 0; i--) {\n const config = iconSetConfigs[i];\n // Parsing the icon set's text into an SVG element can be expensive. We can avoid some of\n // the parsing by doing a quick check using `indexOf` to see if there's any chance for the\n // icon to be in the set. This won't be 100% accurate, but it should help us avoid at least\n // some of the parsing.\n if (config.svgText && config.svgText.toString().indexOf(iconName) > -1) {\n const svg = this._svgElementFromConfig(config);\n const foundIcon = this._extractSvgIconFromSet(svg, iconName, config.options);\n if (foundIcon) {\n return foundIcon;\n }\n }\n }\n return null;\n }\n /**\n * Loads the content of the icon URL specified in the SvgIconConfig and creates an SVG element\n * from it.\n */\n _loadSvgIconFromConfig(config) {\n return this._fetchIcon(config).pipe(tap(svgText => config.svgText = svgText), map(() => this._svgElementFromConfig(config)));\n }\n /**\n * Loads the content of the icon set URL specified in the\n * SvgIconConfig and attaches it to the config.\n */\n _loadSvgIconSetFromConfig(config) {\n if (config.svgText) {\n return of(null);\n }\n return this._fetchIcon(config).pipe(tap(svgText => config.svgText = svgText));\n }\n /**\n * Searches the cached element of the given SvgIconConfig for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n _extractSvgIconFromSet(iconSet, iconName, options) {\n // Use the `id=\"iconName\"` syntax in order to escape special\n // characters in the ID (versus using the #iconName syntax).\n const iconSource = iconSet.querySelector(`[id=\"${iconName}\"]`);\n if (!iconSource) {\n return null;\n }\n // Clone the element and remove the ID to prevent multiple elements from being added\n // to the page with the same ID.\n const iconElement = iconSource.cloneNode(true);\n iconElement.removeAttribute('id');\n // If the icon node is itself an node, clone and return it directly. If not, set it as\n // the content of a new node.\n if (iconElement.nodeName.toLowerCase() === 'svg') {\n return this._setSvgAttributes(iconElement, options);\n }\n // If the node is a , it won't be rendered so we have to convert it into . Note\n // that the same could be achieved by referring to it via , however the \n // tag is problematic on Firefox, because it needs to include the current page path.\n if (iconElement.nodeName.toLowerCase() === 'symbol') {\n return this._setSvgAttributes(this._toSvgElement(iconElement), options);\n }\n // createElement('SVG') doesn't work as expected; the DOM ends up with\n // the correct nodes, but the SVG content doesn't render. Instead we\n // have to create an empty SVG node using innerHTML and append its content.\n // Elements created using DOMParser.parseFromString have the same problem.\n // http://stackoverflow.com/questions/23003278/svg-innerhtml-in-firefox-can-not-display\n const svg = this._svgElementFromString(trustedHTMLFromString(''));\n // Clone the node so we don't remove it from the parent icon set element.\n svg.appendChild(iconElement);\n return this._setSvgAttributes(svg, options);\n }\n /**\n * Creates a DOM element from the given SVG string.\n */\n _svgElementFromString(str) {\n const div = this._document.createElement('DIV');\n div.innerHTML = str;\n const svg = div.querySelector('svg');\n // TODO: add an ngDevMode check\n if (!svg) {\n throw Error(' tag not found');\n }\n return svg;\n }\n /**\n * Converts an element into an SVG node by cloning all of its children.\n */\n _toSvgElement(element) {\n const svg = this._svgElementFromString(trustedHTMLFromString(''));\n const attributes = element.attributes;\n // Copy over all the attributes from the `symbol` to the new SVG, except the id.\n for (let i = 0; i < attributes.length; i++) {\n const {\n name,\n value\n } = attributes[i];\n if (name !== 'id') {\n svg.setAttribute(name, value);\n }\n }\n for (let i = 0; i < element.childNodes.length; i++) {\n if (element.childNodes[i].nodeType === this._document.ELEMENT_NODE) {\n svg.appendChild(element.childNodes[i].cloneNode(true));\n }\n }\n return svg;\n }\n /**\n * Sets the default attributes for an SVG element to be used as an icon.\n */\n _setSvgAttributes(svg, options) {\n svg.setAttribute('fit', '');\n svg.setAttribute('height', '100%');\n svg.setAttribute('width', '100%');\n svg.setAttribute('preserveAspectRatio', 'xMidYMid meet');\n svg.setAttribute('focusable', 'false'); // Disable IE11 default behavior to make SVGs focusable.\n if (options && options.viewBox) {\n svg.setAttribute('viewBox', options.viewBox);\n }\n return svg;\n }\n /**\n * Returns an Observable which produces the string contents of the given icon. Results may be\n * cached, so future calls with the same URL may not cause another HTTP request.\n */\n _fetchIcon(iconConfig) {\n const {\n url: safeUrl,\n options\n } = iconConfig;\n const withCredentials = options?.withCredentials ?? false;\n if (!this._httpClient) {\n throw getMatIconNoHttpProviderError();\n }\n // TODO: add an ngDevMode check\n if (safeUrl == null) {\n throw Error(`Cannot fetch icon from URL \"${safeUrl}\".`);\n }\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, safeUrl);\n // TODO: add an ngDevMode check\n if (!url) {\n throw getMatIconFailedToSanitizeUrlError(safeUrl);\n }\n // Store in-progress fetches to avoid sending a duplicate request for a URL when there is\n // already a request in progress for that URL. It's necessary to call share() on the\n // Observable returned by http.get() so that multiple subscribers don't cause multiple XHRs.\n const inProgressFetch = this._inProgressUrlFetches.get(url);\n if (inProgressFetch) {\n return inProgressFetch;\n }\n const req = this._httpClient.get(url, {\n responseType: 'text',\n withCredentials\n }).pipe(map(svg => {\n // Security: This SVG is fetched from a SafeResourceUrl, and is thus\n // trusted HTML.\n return trustedHTMLFromString(svg);\n }), finalize(() => this._inProgressUrlFetches.delete(url)), share());\n this._inProgressUrlFetches.set(url, req);\n return req;\n }\n /**\n * Registers an icon config by name in the specified namespace.\n * @param namespace Namespace in which to register the icon config.\n * @param iconName Name under which to register the config.\n * @param config Config to be registered.\n */\n _addSvgIconConfig(namespace, iconName, config) {\n this._svgIconConfigs.set(iconKey(namespace, iconName), config);\n return this;\n }\n /**\n * Registers an icon set config in the specified namespace.\n * @param namespace Namespace in which to register the icon config.\n * @param config Config to be registered.\n */\n _addSvgIconSetConfig(namespace, config) {\n const configNamespace = this._iconSetConfigs.get(namespace);\n if (configNamespace) {\n configNamespace.push(config);\n } else {\n this._iconSetConfigs.set(namespace, [config]);\n }\n return this;\n }\n /** Parses a config's text into an SVG element. */\n _svgElementFromConfig(config) {\n if (!config.svgElement) {\n const svg = this._svgElementFromString(config.svgText);\n this._setSvgAttributes(svg, config.options);\n config.svgElement = svg;\n }\n return config.svgElement;\n }\n /** Tries to create an icon config through the registered resolver functions. */\n _getIconConfigFromResolvers(namespace, name) {\n for (let i = 0; i < this._resolvers.length; i++) {\n const result = this._resolvers[i](name, namespace);\n if (result) {\n return isSafeUrlWithOptions(result) ? new SvgIconConfig(result.url, null, result.options) : new SvgIconConfig(result, null);\n }\n }\n return undefined;\n }\n static #_ = this.ɵfac = function MatIconRegistry_Factory(t) {\n return new (t || MatIconRegistry)(i0.ɵɵinject(i1.HttpClient, 8), i0.ɵɵinject(i2.DomSanitizer), i0.ɵɵinject(DOCUMENT, 8), i0.ɵɵinject(i0.ErrorHandler));\n };\n static #_2 = this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MatIconRegistry,\n factory: MatIconRegistry.ɵfac,\n providedIn: 'root'\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatIconRegistry, [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], () => [{\n type: i1.HttpClient,\n decorators: [{\n type: Optional\n }]\n }, {\n type: i2.DomSanitizer\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }]\n }, {\n type: i0.ErrorHandler\n }], null);\n})();\n/** @docs-private */\nfunction ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry, httpClient, sanitizer, errorHandler, document) {\n return parentRegistry || new MatIconRegistry(httpClient, sanitizer, document, errorHandler);\n}\n/** @docs-private */\nconst ICON_REGISTRY_PROVIDER = {\n // If there is already an MatIconRegistry available, use that. Otherwise, provide a new one.\n provide: MatIconRegistry,\n deps: [[new Optional(), new SkipSelf(), MatIconRegistry], [new Optional(), HttpClient], DomSanitizer, ErrorHandler, [new Optional(), DOCUMENT]],\n useFactory: ICON_REGISTRY_PROVIDER_FACTORY\n};\n/** Clones an SVGElement while preserving type information. */\nfunction cloneSvg(svg) {\n return svg.cloneNode(true);\n}\n/** Returns the cache key to use for an icon namespace and name. */\nfunction iconKey(namespace, name) {\n return namespace + ':' + name;\n}\nfunction isSafeUrlWithOptions(value) {\n return !!(value.url && value.options);\n}\n\n/** Injection token to be used to override the default options for `mat-icon`. */\nconst MAT_ICON_DEFAULT_OPTIONS = new InjectionToken('MAT_ICON_DEFAULT_OPTIONS');\n/**\n * Injection token used to provide the current location to `MatIcon`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n */\nconst MAT_ICON_LOCATION = new InjectionToken('mat-icon-location', {\n providedIn: 'root',\n factory: MAT_ICON_LOCATION_FACTORY\n});\n/** @docs-private */\nfunction MAT_ICON_LOCATION_FACTORY() {\n const _document = inject(DOCUMENT);\n const _location = _document ? _document.location : null;\n return {\n // Note that this needs to be a function, rather than a property, because Angular\n // will only resolve it once, but we want the current path on each call.\n getPathname: () => _location ? _location.pathname + _location.search : ''\n };\n}\n/** SVG attributes that accept a FuncIRI (e.g. `url()`). */\nconst funcIriAttributes = ['clip-path', 'color-profile', 'src', 'cursor', 'fill', 'filter', 'marker', 'marker-start', 'marker-mid', 'marker-end', 'mask', 'stroke'];\n/** Selector that can be used to find all elements that are using a `FuncIRI`. */\nconst funcIriAttributeSelector = funcIriAttributes.map(attr => `[${attr}]`).join(', ');\n/** Regex that can be used to extract the id out of a FuncIRI. */\nconst funcIriPattern = /^url\\(['\"]?#(.*?)['\"]?\\)$/;\n/**\n * Component to display an icon. It can be used in the following ways:\n *\n * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the\n * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of\n * MatIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format\n * \"[namespace]:[name]\", if not the value will be the name of an icon in the default namespace.\n * Examples:\n * `\n * `\n *\n * - Use a font ligature as an icon by putting the ligature text in the `fontIcon` attribute or the\n * content of the `` component. If you register a custom font class, don't forget to also\n * include the special class `mat-ligature-font`. It is recommended to use the attribute alternative\n * to prevent the ligature text to be selectable and to appear in search engine results.\n * By default, the Material icons font is used as described at\n * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an\n * alternate font by setting the fontSet input to either the CSS class to apply to use the\n * desired font, or to an alias previously registered with MatIconRegistry.registerFontClassAlias.\n * Examples:\n * `\n * home\n * \n * sun`\n *\n * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the\n * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a\n * CSS class which causes the glyph to be displayed via a :before selector, as in\n * https://fortawesome.github.io/Font-Awesome/examples/\n * Example:\n * ``\n */\nclass MatIcon {\n /** Theme palette color of the icon. */\n get color() {\n return this._color || this._defaultColor;\n }\n set color(value) {\n this._color = value;\n }\n /** Name of the icon in the SVG icon set. */\n get svgIcon() {\n return this._svgIcon;\n }\n set svgIcon(value) {\n if (value !== this._svgIcon) {\n if (value) {\n this._updateSvgIcon(value);\n } else if (this._svgIcon) {\n this._clearSvgElement();\n }\n this._svgIcon = value;\n }\n }\n /** Font set that the icon is a part of. */\n get fontSet() {\n return this._fontSet;\n }\n set fontSet(value) {\n const newValue = this._cleanupFontValue(value);\n if (newValue !== this._fontSet) {\n this._fontSet = newValue;\n this._updateFontIconClasses();\n }\n }\n /** Name of an icon within a font set. */\n get fontIcon() {\n return this._fontIcon;\n }\n set fontIcon(value) {\n const newValue = this._cleanupFontValue(value);\n if (newValue !== this._fontIcon) {\n this._fontIcon = newValue;\n this._updateFontIconClasses();\n }\n }\n constructor(_elementRef, _iconRegistry, ariaHidden, _location, _errorHandler, defaults) {\n this._elementRef = _elementRef;\n this._iconRegistry = _iconRegistry;\n this._location = _location;\n this._errorHandler = _errorHandler;\n /**\n * Whether the icon should be inlined, automatically sizing the icon to match the font size of\n * the element the icon is contained in.\n */\n this.inline = false;\n this._previousFontSetClass = [];\n /** Subscription to the current in-progress SVG icon request. */\n this._currentIconFetch = Subscription.EMPTY;\n if (defaults) {\n if (defaults.color) {\n this.color = this._defaultColor = defaults.color;\n }\n if (defaults.fontSet) {\n this.fontSet = defaults.fontSet;\n }\n }\n // If the user has not explicitly set aria-hidden, mark the icon as hidden, as this is\n // the right thing to do for the majority of icon use-cases.\n if (!ariaHidden) {\n _elementRef.nativeElement.setAttribute('aria-hidden', 'true');\n }\n }\n /**\n * Splits an svgIcon binding value into its icon set and icon name components.\n * Returns a 2-element array of [(icon set), (icon name)].\n * The separator for the two fields is ':'. If there is no separator, an empty\n * string is returned for the icon set and the entire value is returned for\n * the icon name. If the argument is falsy, returns an array of two empty strings.\n * Throws an error if the name contains two or more ':' separators.\n * Examples:\n * `'social:cake' -> ['social', 'cake']\n * 'penguin' -> ['', 'penguin']\n * null -> ['', '']\n * 'a:b:c' -> (throws Error)`\n */\n _splitIconName(iconName) {\n if (!iconName) {\n return ['', ''];\n }\n const parts = iconName.split(':');\n switch (parts.length) {\n case 1:\n return ['', parts[0]];\n // Use default namespace.\n case 2:\n return parts;\n default:\n throw Error(`Invalid icon name: \"${iconName}\"`);\n // TODO: add an ngDevMode check\n }\n }\n ngOnInit() {\n // Update font classes because ngOnChanges won't be called if none of the inputs are present,\n // e.g. arrow In this case we need to add a CSS class for the default font.\n this._updateFontIconClasses();\n }\n ngAfterViewChecked() {\n const cachedElements = this._elementsWithExternalReferences;\n if (cachedElements && cachedElements.size) {\n const newPath = this._location.getPathname();\n // We need to check whether the URL has changed on each change detection since\n // the browser doesn't have an API that will let us react on link clicks and\n // we can't depend on the Angular router. The references need to be updated,\n // because while most browsers don't care whether the URL is correct after\n // the first render, Safari will break if the user navigates to a different\n // page and the SVG isn't re-rendered.\n if (newPath !== this._previousPath) {\n this._previousPath = newPath;\n this._prependPathToReferences(newPath);\n }\n }\n }\n ngOnDestroy() {\n this._currentIconFetch.unsubscribe();\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n }\n _usingFontIcon() {\n return !this.svgIcon;\n }\n _setSvgElement(svg) {\n this._clearSvgElement();\n // Note: we do this fix here, rather than the icon registry, because the\n // references have to point to the URL at the time that the icon was created.\n const path = this._location.getPathname();\n this._previousPath = path;\n this._cacheChildrenWithExternalReferences(svg);\n this._prependPathToReferences(path);\n this._elementRef.nativeElement.appendChild(svg);\n }\n _clearSvgElement() {\n const layoutElement = this._elementRef.nativeElement;\n let childCount = layoutElement.childNodes.length;\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n // Remove existing non-element child nodes and SVGs, and add the new SVG element. Note that\n // we can't use innerHTML, because IE will throw if the element has a data binding.\n while (childCount--) {\n const child = layoutElement.childNodes[childCount];\n // 1 corresponds to Node.ELEMENT_NODE. We remove all non-element nodes in order to get rid\n // of any loose text nodes, as well as any SVG elements in order to remove any old icons.\n if (child.nodeType !== 1 || child.nodeName.toLowerCase() === 'svg') {\n child.remove();\n }\n }\n }\n _updateFontIconClasses() {\n if (!this._usingFontIcon()) {\n return;\n }\n const elem = this._elementRef.nativeElement;\n const fontSetClasses = (this.fontSet ? this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/) : this._iconRegistry.getDefaultFontSetClass()).filter(className => className.length > 0);\n this._previousFontSetClass.forEach(className => elem.classList.remove(className));\n fontSetClasses.forEach(className => elem.classList.add(className));\n this._previousFontSetClass = fontSetClasses;\n if (this.fontIcon !== this._previousFontIconClass && !fontSetClasses.includes('mat-ligature-font')) {\n if (this._previousFontIconClass) {\n elem.classList.remove(this._previousFontIconClass);\n }\n if (this.fontIcon) {\n elem.classList.add(this.fontIcon);\n }\n this._previousFontIconClass = this.fontIcon;\n }\n }\n /**\n * Cleans up a value to be used as a fontIcon or fontSet.\n * Since the value ends up being assigned as a CSS class, we\n * have to trim the value and omit space-separated values.\n */\n _cleanupFontValue(value) {\n return typeof value === 'string' ? value.trim().split(' ')[0] : value;\n }\n /**\n * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI`\n * reference. This is required because WebKit browsers require references to be prefixed with\n * the current path, if the page has a `base` tag.\n */\n _prependPathToReferences(path) {\n const elements = this._elementsWithExternalReferences;\n if (elements) {\n elements.forEach((attrs, element) => {\n attrs.forEach(attr => {\n element.setAttribute(attr.name, `url('${path}#${attr.value}')`);\n });\n });\n }\n }\n /**\n * Caches the children of an SVG element that have `url()`\n * references that we need to prefix with the current path.\n */\n _cacheChildrenWithExternalReferences(element) {\n const elementsWithFuncIri = element.querySelectorAll(funcIriAttributeSelector);\n const elements = this._elementsWithExternalReferences = this._elementsWithExternalReferences || new Map();\n for (let i = 0; i < elementsWithFuncIri.length; i++) {\n funcIriAttributes.forEach(attr => {\n const elementWithReference = elementsWithFuncIri[i];\n const value = elementWithReference.getAttribute(attr);\n const match = value ? value.match(funcIriPattern) : null;\n if (match) {\n let attributes = elements.get(elementWithReference);\n if (!attributes) {\n attributes = [];\n elements.set(elementWithReference, attributes);\n }\n attributes.push({\n name: attr,\n value: match[1]\n });\n }\n });\n }\n }\n /** Sets a new SVG icon with a particular name. */\n _updateSvgIcon(rawName) {\n this._svgNamespace = null;\n this._svgName = null;\n this._currentIconFetch.unsubscribe();\n if (rawName) {\n const [namespace, iconName] = this._splitIconName(rawName);\n if (namespace) {\n this._svgNamespace = namespace;\n }\n if (iconName) {\n this._svgName = iconName;\n }\n this._currentIconFetch = this._iconRegistry.getNamedSvgIcon(iconName, namespace).pipe(take(1)).subscribe(svg => this._setSvgElement(svg), err => {\n const errorMessage = `Error retrieving icon ${namespace}:${iconName}! ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n });\n }\n }\n static #_ = this.ɵfac = function MatIcon_Factory(t) {\n return new (t || MatIcon)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(MatIconRegistry), i0.ɵɵinjectAttribute('aria-hidden'), i0.ɵɵdirectiveInject(MAT_ICON_LOCATION), i0.ɵɵdirectiveInject(i0.ErrorHandler), i0.ɵɵdirectiveInject(MAT_ICON_DEFAULT_OPTIONS, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatIcon,\n selectors: [[\"mat-icon\"]],\n hostAttrs: [\"role\", \"img\", 1, \"mat-icon\", \"notranslate\"],\n hostVars: 10,\n hostBindings: function MatIcon_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-mat-icon-type\", ctx._usingFontIcon() ? \"font\" : \"svg\")(\"data-mat-icon-name\", ctx._svgName || ctx.fontIcon)(\"data-mat-icon-namespace\", ctx._svgNamespace || ctx.fontSet)(\"fontIcon\", ctx._usingFontIcon() ? ctx.fontIcon : null);\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-icon-inline\", ctx.inline)(\"mat-icon-no-color\", ctx.color !== \"primary\" && ctx.color !== \"accent\" && ctx.color !== \"warn\");\n }\n },\n inputs: {\n color: \"color\",\n inline: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"inline\", \"inline\", booleanAttribute],\n svgIcon: \"svgIcon\",\n fontSet: \"fontSet\",\n fontIcon: \"fontIcon\"\n },\n exportAs: [\"matIcon\"],\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function MatIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n styles: [\"mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatIcon, [{\n type: Component,\n args: [{\n template: '',\n selector: 'mat-icon',\n exportAs: 'matIcon',\n host: {\n 'role': 'img',\n 'class': 'mat-icon notranslate',\n '[class]': 'color ? \"mat-\" + color : \"\"',\n '[attr.data-mat-icon-type]': '_usingFontIcon() ? \"font\" : \"svg\"',\n '[attr.data-mat-icon-name]': '_svgName || fontIcon',\n '[attr.data-mat-icon-namespace]': '_svgNamespace || fontSet',\n '[attr.fontIcon]': '_usingFontIcon() ? fontIcon : null',\n '[class.mat-icon-inline]': 'inline',\n '[class.mat-icon-no-color]': 'color !== \"primary\" && color !== \"accent\" && color !== \"warn\"'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n styles: [\"mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: MatIconRegistry\n }, {\n type: undefined,\n decorators: [{\n type: Attribute,\n args: ['aria-hidden']\n }]\n }, {\n type: undefined,\n decorators: [{\n type: Inject,\n args: [MAT_ICON_LOCATION]\n }]\n }, {\n type: i0.ErrorHandler\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_ICON_DEFAULT_OPTIONS]\n }]\n }], {\n color: [{\n type: Input\n }],\n inline: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n svgIcon: [{\n type: Input\n }],\n fontSet: [{\n type: Input\n }],\n fontIcon: [{\n type: Input\n }]\n });\n})();\nclass MatIconModule {\n static #_ = this.ɵfac = function MatIconModule_Factory(t) {\n return new (t || MatIconModule)();\n };\n static #_2 = this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: MatIconModule\n });\n static #_3 = this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [MatCommonModule, MatCommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatIconModule, [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, MatIcon],\n exports: [MatIcon, MatCommonModule]\n }]\n }], null, null);\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ICON_REGISTRY_PROVIDER, ICON_REGISTRY_PROVIDER_FACTORY, MAT_ICON_DEFAULT_OPTIONS, MAT_ICON_LOCATION, MAT_ICON_LOCATION_FACTORY, MatIcon, MatIconModule, MatIconRegistry, getMatIconFailedToSanitizeLiteralError, getMatIconFailedToSanitizeUrlError, getMatIconNameNotFoundError, getMatIconNoHttpProviderError };","map":{"version":3,"names":["i0","SecurityContext","Injectable","Optional","Inject","SkipSelf","ErrorHandler","InjectionToken","inject","booleanAttribute","Component","ViewEncapsulation","ChangeDetectionStrategy","Attribute","Input","NgModule","MatCommonModule","DOCUMENT","of","throwError","forkJoin","Subscription","tap","map","catchError","finalize","share","take","i1","HttpClient","i2","DomSanitizer","_c0","policy","getPolicy","undefined","window","ttWindow","trustedTypes","createPolicy","createHTML","s","trustedHTMLFromString","html","getMatIconNameNotFoundError","iconName","Error","getMatIconNoHttpProviderError","getMatIconFailedToSanitizeUrlError","url","getMatIconFailedToSanitizeLiteralError","literal","SvgIconConfig","constructor","svgText","options","MatIconRegistry","_httpClient","_sanitizer","document","_errorHandler","_svgIconConfigs","Map","_iconSetConfigs","_cachedIconsByUrl","_inProgressUrlFetches","_fontCssClassesByAlias","_resolvers","_defaultFontSetClass","_document","addSvgIcon","addSvgIconInNamespace","addSvgIconLiteral","addSvgIconLiteralInNamespace","namespace","_addSvgIconConfig","addSvgIconResolver","resolver","push","cleanLiteral","sanitize","HTML","trustedLiteral","addSvgIconSet","addSvgIconSetInNamespace","addSvgIconSetLiteral","addSvgIconSetLiteralInNamespace","_addSvgIconSetConfig","registerFontClassAlias","alias","classNames","set","classNameForFontAlias","get","setDefaultFontSetClass","getDefaultFontSetClass","getSvgIconFromUrl","safeUrl","RESOURCE_URL","cachedIcon","cloneSvg","_loadSvgIconFromConfig","pipe","svg","getNamedSvgIcon","name","key","iconKey","config","_getSvgFromConfig","_getIconConfigFromResolvers","iconSetConfigs","_getSvgFromIconSetConfigs","ngOnDestroy","clear","_svgElementFromConfig","namedIcon","_extractIconWithNameFromAnySet","iconSetFetchRequests","filter","iconSetConfig","_loadSvgIconSetFromConfig","err","errorMessage","message","handleError","foundIcon","i","length","toString","indexOf","_extractSvgIconFromSet","_fetchIcon","iconSet","iconSource","querySelector","iconElement","cloneNode","removeAttribute","nodeName","toLowerCase","_setSvgAttributes","_toSvgElement","_svgElementFromString","appendChild","str","div","createElement","innerHTML","element","attributes","value","setAttribute","childNodes","nodeType","ELEMENT_NODE","viewBox","iconConfig","withCredentials","inProgressFetch","req","responseType","delete","configNamespace","svgElement","result","isSafeUrlWithOptions","_","ɵfac","MatIconRegistry_Factory","t","ɵɵinject","_2","ɵprov","ɵɵdefineInjectable","token","factory","providedIn","ngDevMode","ɵsetClassMetadata","type","args","decorators","ICON_REGISTRY_PROVIDER_FACTORY","parentRegistry","httpClient","sanitizer","errorHandler","ICON_REGISTRY_PROVIDER","provide","deps","useFactory","MAT_ICON_DEFAULT_OPTIONS","MAT_ICON_LOCATION","MAT_ICON_LOCATION_FACTORY","_location","location","getPathname","pathname","search","funcIriAttributes","funcIriAttributeSelector","attr","join","funcIriPattern","MatIcon","color","_color","_defaultColor","svgIcon","_svgIcon","_updateSvgIcon","_clearSvgElement","fontSet","_fontSet","newValue","_cleanupFontValue","_updateFontIconClasses","fontIcon","_fontIcon","_elementRef","_iconRegistry","ariaHidden","defaults","inline","_previousFontSetClass","_currentIconFetch","EMPTY","nativeElement","_splitIconName","parts","split","ngOnInit","ngAfterViewChecked","cachedElements","_elementsWithExternalReferences","size","newPath","_previousPath","_prependPathToReferences","unsubscribe","_usingFontIcon","_setSvgElement","path","_cacheChildrenWithExternalReferences","layoutElement","childCount","child","remove","elem","fontSetClasses","className","forEach","classList","add","_previousFontIconClass","includes","trim","elements","attrs","elementsWithFuncIri","querySelectorAll","elementWithReference","getAttribute","match","rawName","_svgNamespace","_svgName","subscribe","MatIcon_Factory","ɵɵdirectiveInject","ElementRef","ɵɵinjectAttribute","ɵcmp","ɵɵdefineComponent","selectors","hostAttrs","hostVars","hostBindings","MatIcon_HostBindings","rf","ctx","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","inputs","ɵɵInputFlags","HasDecoratorInputTransform","exportAs","standalone","features","ɵɵInputTransformsFeature","ɵɵStandaloneFeature","ngContentSelectors","decls","vars","template","MatIcon_Template","ɵɵprojectionDef","ɵɵprojection","styles","encapsulation","changeDetection","selector","host","None","OnPush","transform","MatIconModule","MatIconModule_Factory","ɵmod","ɵɵdefineNgModule","_3","ɵinj","ɵɵdefineInjector","imports","exports"],"sources":["E:/TekH/Visual Studio/DDWeb/DigitalData.UserManager/DigitalData.UserManager.NgWebUI/ClientApp/node_modules/@angular/material/fesm2022/icon.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { SecurityContext, Injectable, Optional, Inject, SkipSelf, ErrorHandler, InjectionToken, inject, booleanAttribute, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Input, NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DOCUMENT } from '@angular/common';\nimport { of, throwError, forkJoin, Subscription } from 'rxjs';\nimport { tap, map, catchError, finalize, share, take } from 'rxjs/operators';\nimport * as i1 from '@angular/common/http';\nimport { HttpClient } from '@angular/common/http';\nimport * as i2 from '@angular/platform-browser';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n/**\n * The Trusted Types policy, or null if Trusted Types are not\n * enabled/supported, or undefined if the policy has not been created yet.\n */\nlet policy;\n/**\n * Returns the Trusted Types policy, or null if Trusted Types are not\n * enabled/supported. The first call to this function will create the policy.\n */\nfunction getPolicy() {\n if (policy === undefined) {\n policy = null;\n if (typeof window !== 'undefined') {\n const ttWindow = window;\n if (ttWindow.trustedTypes !== undefined) {\n policy = ttWindow.trustedTypes.createPolicy('angular#components', {\n createHTML: (s) => s,\n });\n }\n }\n }\n return policy;\n}\n/**\n * Unsafely promote a string to a TrustedHTML, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that the\n * provided string will never cause an XSS vulnerability if used in a context\n * that will be interpreted as HTML by a browser, e.g. when assigning to\n * element.innerHTML.\n */\nfunction trustedHTMLFromString(html) {\n return getPolicy()?.createHTML(html) || html;\n}\n\n/**\n * Returns an exception to be thrown in the case when attempting to\n * load an icon with a name that cannot be found.\n * @docs-private\n */\nfunction getMatIconNameNotFoundError(iconName) {\n return Error(`Unable to find icon with the name \"${iconName}\"`);\n}\n/**\n * Returns an exception to be thrown when the consumer attempts to use\n * `` without including @angular/common/http.\n * @docs-private\n */\nfunction getMatIconNoHttpProviderError() {\n return Error('Could not find HttpClient provider for use with Angular Material icons. ' +\n 'Please include the HttpClientModule from @angular/common/http in your ' +\n 'app imports.');\n}\n/**\n * Returns an exception to be thrown when a URL couldn't be sanitized.\n * @param url URL that was attempted to be sanitized.\n * @docs-private\n */\nfunction getMatIconFailedToSanitizeUrlError(url) {\n return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL ` +\n `via Angular's DomSanitizer. Attempted URL was \"${url}\".`);\n}\n/**\n * Returns an exception to be thrown when a HTML string couldn't be sanitized.\n * @param literal HTML that was attempted to be sanitized.\n * @docs-private\n */\nfunction getMatIconFailedToSanitizeLiteralError(literal) {\n return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by ` +\n `Angular's DomSanitizer. Attempted literal was \"${literal}\".`);\n}\n/**\n * Configuration for an icon, including the URL and possibly the cached SVG element.\n * @docs-private\n */\nclass SvgIconConfig {\n constructor(url, svgText, options) {\n this.url = url;\n this.svgText = svgText;\n this.options = options;\n }\n}\n/**\n * Service to register and display icons used by the `` component.\n * - Registers icon URLs by namespace and name.\n * - Registers icon set URLs by namespace.\n * - Registers aliases for CSS classes, for use with icon fonts.\n * - Loads icons from URLs and extracts individual icons from icon sets.\n */\nclass MatIconRegistry {\n constructor(_httpClient, _sanitizer, document, _errorHandler) {\n this._httpClient = _httpClient;\n this._sanitizer = _sanitizer;\n this._errorHandler = _errorHandler;\n /**\n * URLs and cached SVG elements for individual icons. Keys are of the format \"[namespace]:[icon]\".\n */\n this._svgIconConfigs = new Map();\n /**\n * SvgIconConfig objects and cached SVG elements for icon sets, keyed by namespace.\n * Multiple icon sets can be registered under the same namespace.\n */\n this._iconSetConfigs = new Map();\n /** Cache for icons loaded by direct URLs. */\n this._cachedIconsByUrl = new Map();\n /** In-progress icon fetches. Used to coalesce multiple requests to the same URL. */\n this._inProgressUrlFetches = new Map();\n /** Map from font identifiers to their CSS class names. Used for icon fonts. */\n this._fontCssClassesByAlias = new Map();\n /** Registered icon resolver functions. */\n this._resolvers = [];\n /**\n * The CSS classes to apply when an `` component has no icon name, url, or font\n * specified. The default 'material-icons' value assumes that the material icon font has been\n * loaded as described at https://google.github.io/material-design-icons/#icon-font-for-the-web\n */\n this._defaultFontSetClass = ['material-icons', 'mat-ligature-font'];\n this._document = document;\n }\n /**\n * Registers an icon by URL in the default namespace.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n addSvgIcon(iconName, url, options) {\n return this.addSvgIconInNamespace('', iconName, url, options);\n }\n /**\n * Registers an icon using an HTML string in the default namespace.\n * @param iconName Name under which the icon should be registered.\n * @param literal SVG source of the icon.\n */\n addSvgIconLiteral(iconName, literal, options) {\n return this.addSvgIconLiteralInNamespace('', iconName, literal, options);\n }\n /**\n * Registers an icon by URL in the specified namespace.\n * @param namespace Namespace in which the icon should be registered.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n addSvgIconInNamespace(namespace, iconName, url, options) {\n return this._addSvgIconConfig(namespace, iconName, new SvgIconConfig(url, null, options));\n }\n /**\n * Registers an icon resolver function with the registry. The function will be invoked with the\n * name and namespace of an icon when the registry tries to resolve the URL from which to fetch\n * the icon. The resolver is expected to return a `SafeResourceUrl` that points to the icon,\n * an object with the icon URL and icon options, or `null` if the icon is not supported. Resolvers\n * will be invoked in the order in which they have been registered.\n * @param resolver Resolver function to be registered.\n */\n addSvgIconResolver(resolver) {\n this._resolvers.push(resolver);\n return this;\n }\n /**\n * Registers an icon using an HTML string in the specified namespace.\n * @param namespace Namespace in which the icon should be registered.\n * @param iconName Name under which the icon should be registered.\n * @param literal SVG source of the icon.\n */\n addSvgIconLiteralInNamespace(namespace, iconName, literal, options) {\n const cleanLiteral = this._sanitizer.sanitize(SecurityContext.HTML, literal);\n // TODO: add an ngDevMode check\n if (!cleanLiteral) {\n throw getMatIconFailedToSanitizeLiteralError(literal);\n }\n // Security: The literal is passed in as SafeHtml, and is thus trusted.\n const trustedLiteral = trustedHTMLFromString(cleanLiteral);\n return this._addSvgIconConfig(namespace, iconName, new SvgIconConfig('', trustedLiteral, options));\n }\n /**\n * Registers an icon set by URL in the default namespace.\n * @param url\n */\n addSvgIconSet(url, options) {\n return this.addSvgIconSetInNamespace('', url, options);\n }\n /**\n * Registers an icon set using an HTML string in the default namespace.\n * @param literal SVG source of the icon set.\n */\n addSvgIconSetLiteral(literal, options) {\n return this.addSvgIconSetLiteralInNamespace('', literal, options);\n }\n /**\n * Registers an icon set by URL in the specified namespace.\n * @param namespace Namespace in which to register the icon set.\n * @param url\n */\n addSvgIconSetInNamespace(namespace, url, options) {\n return this._addSvgIconSetConfig(namespace, new SvgIconConfig(url, null, options));\n }\n /**\n * Registers an icon set using an HTML string in the specified namespace.\n * @param namespace Namespace in which to register the icon set.\n * @param literal SVG source of the icon set.\n */\n addSvgIconSetLiteralInNamespace(namespace, literal, options) {\n const cleanLiteral = this._sanitizer.sanitize(SecurityContext.HTML, literal);\n if (!cleanLiteral) {\n throw getMatIconFailedToSanitizeLiteralError(literal);\n }\n // Security: The literal is passed in as SafeHtml, and is thus trusted.\n const trustedLiteral = trustedHTMLFromString(cleanLiteral);\n return this._addSvgIconSetConfig(namespace, new SvgIconConfig('', trustedLiteral, options));\n }\n /**\n * Defines an alias for CSS class names to be used for icon fonts. Creating an matIcon\n * component with the alias as the fontSet input will cause the class name to be applied\n * to the `` element.\n *\n * If the registered font is a ligature font, then don't forget to also include the special\n * class `mat-ligature-font` to allow the usage via attribute. So register like this:\n *\n * ```ts\n * iconRegistry.registerFontClassAlias('f1', 'font1 mat-ligature-font');\n * ```\n *\n * And use like this:\n *\n * ```html\n * \n * ```\n *\n * @param alias Alias for the font.\n * @param classNames Class names override to be used instead of the alias.\n */\n registerFontClassAlias(alias, classNames = alias) {\n this._fontCssClassesByAlias.set(alias, classNames);\n return this;\n }\n /**\n * Returns the CSS class name associated with the alias by a previous call to\n * registerFontClassAlias. If no CSS class has been associated, returns the alias unmodified.\n */\n classNameForFontAlias(alias) {\n return this._fontCssClassesByAlias.get(alias) || alias;\n }\n /**\n * Sets the CSS classes to be used for icon fonts when an `` component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n */\n setDefaultFontSetClass(...classNames) {\n this._defaultFontSetClass = classNames;\n return this;\n }\n /**\n * Returns the CSS classes to be used for icon fonts when an `` component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n */\n getDefaultFontSetClass() {\n return this._defaultFontSetClass;\n }\n /**\n * Returns an Observable that produces the icon (as an `` DOM element) from the given URL.\n * The response from the URL may be cached so this will not always cause an HTTP request, but\n * the produced element will always be a new copy of the originally fetched icon. (That is,\n * it will not contain any modifications made to elements previously returned).\n *\n * @param safeUrl URL from which to fetch the SVG icon.\n */\n getSvgIconFromUrl(safeUrl) {\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, safeUrl);\n if (!url) {\n throw getMatIconFailedToSanitizeUrlError(safeUrl);\n }\n const cachedIcon = this._cachedIconsByUrl.get(url);\n if (cachedIcon) {\n return of(cloneSvg(cachedIcon));\n }\n return this._loadSvgIconFromConfig(new SvgIconConfig(safeUrl, null)).pipe(tap(svg => this._cachedIconsByUrl.set(url, svg)), map(svg => cloneSvg(svg)));\n }\n /**\n * Returns an Observable that produces the icon (as an `` DOM element) with the given name\n * and namespace. The icon must have been previously registered with addIcon or addIconSet;\n * if not, the Observable will throw an error.\n *\n * @param name Name of the icon to be retrieved.\n * @param namespace Namespace in which to look for the icon.\n */\n getNamedSvgIcon(name, namespace = '') {\n const key = iconKey(namespace, name);\n let config = this._svgIconConfigs.get(key);\n // Return (copy of) cached icon if possible.\n if (config) {\n return this._getSvgFromConfig(config);\n }\n // Otherwise try to resolve the config from one of the resolver functions.\n config = this._getIconConfigFromResolvers(namespace, name);\n if (config) {\n this._svgIconConfigs.set(key, config);\n return this._getSvgFromConfig(config);\n }\n // See if we have any icon sets registered for the namespace.\n const iconSetConfigs = this._iconSetConfigs.get(namespace);\n if (iconSetConfigs) {\n return this._getSvgFromIconSetConfigs(name, iconSetConfigs);\n }\n return throwError(getMatIconNameNotFoundError(key));\n }\n ngOnDestroy() {\n this._resolvers = [];\n this._svgIconConfigs.clear();\n this._iconSetConfigs.clear();\n this._cachedIconsByUrl.clear();\n }\n /**\n * Returns the cached icon for a SvgIconConfig if available, or fetches it from its URL if not.\n */\n _getSvgFromConfig(config) {\n if (config.svgText) {\n // We already have the SVG element for this icon, return a copy.\n return of(cloneSvg(this._svgElementFromConfig(config)));\n }\n else {\n // Fetch the icon from the config's URL, cache it, and return a copy.\n return this._loadSvgIconFromConfig(config).pipe(map(svg => cloneSvg(svg)));\n }\n }\n /**\n * Attempts to find an icon with the specified name in any of the SVG icon sets.\n * First searches the available cached icons for a nested element with a matching name, and\n * if found copies the element to a new `` element. If not found, fetches all icon sets\n * that have not been cached, and searches again after all fetches are completed.\n * The returned Observable produces the SVG element if possible, and throws\n * an error if no icon with the specified name can be found.\n */\n _getSvgFromIconSetConfigs(name, iconSetConfigs) {\n // For all the icon set SVG elements we've fetched, see if any contain an icon with the\n // requested name.\n const namedIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n if (namedIcon) {\n // We could cache namedIcon in _svgIconConfigs, but since we have to make a copy every\n // time anyway, there's probably not much advantage compared to just always extracting\n // it from the icon set.\n return of(namedIcon);\n }\n // Not found in any cached icon sets. If there are icon sets with URLs that we haven't\n // fetched, fetch them now and look for iconName in the results.\n const iconSetFetchRequests = iconSetConfigs\n .filter(iconSetConfig => !iconSetConfig.svgText)\n .map(iconSetConfig => {\n return this._loadSvgIconSetFromConfig(iconSetConfig).pipe(catchError((err) => {\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, iconSetConfig.url);\n // Swallow errors fetching individual URLs so the\n // combined Observable won't necessarily fail.\n const errorMessage = `Loading icon set URL: ${url} failed: ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n return of(null);\n }));\n });\n // Fetch all the icon set URLs. When the requests complete, every IconSet should have a\n // cached SVG element (unless the request failed), and we can check again for the icon.\n return forkJoin(iconSetFetchRequests).pipe(map(() => {\n const foundIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n // TODO: add an ngDevMode check\n if (!foundIcon) {\n throw getMatIconNameNotFoundError(name);\n }\n return foundIcon;\n }));\n }\n /**\n * Searches the cached SVG elements for the given icon sets for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n _extractIconWithNameFromAnySet(iconName, iconSetConfigs) {\n // Iterate backwards, so icon sets added later have precedence.\n for (let i = iconSetConfigs.length - 1; i >= 0; i--) {\n const config = iconSetConfigs[i];\n // Parsing the icon set's text into an SVG element can be expensive. We can avoid some of\n // the parsing by doing a quick check using `indexOf` to see if there's any chance for the\n // icon to be in the set. This won't be 100% accurate, but it should help us avoid at least\n // some of the parsing.\n if (config.svgText && config.svgText.toString().indexOf(iconName) > -1) {\n const svg = this._svgElementFromConfig(config);\n const foundIcon = this._extractSvgIconFromSet(svg, iconName, config.options);\n if (foundIcon) {\n return foundIcon;\n }\n }\n }\n return null;\n }\n /**\n * Loads the content of the icon URL specified in the SvgIconConfig and creates an SVG element\n * from it.\n */\n _loadSvgIconFromConfig(config) {\n return this._fetchIcon(config).pipe(tap(svgText => (config.svgText = svgText)), map(() => this._svgElementFromConfig(config)));\n }\n /**\n * Loads the content of the icon set URL specified in the\n * SvgIconConfig and attaches it to the config.\n */\n _loadSvgIconSetFromConfig(config) {\n if (config.svgText) {\n return of(null);\n }\n return this._fetchIcon(config).pipe(tap(svgText => (config.svgText = svgText)));\n }\n /**\n * Searches the cached element of the given SvgIconConfig for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n _extractSvgIconFromSet(iconSet, iconName, options) {\n // Use the `id=\"iconName\"` syntax in order to escape special\n // characters in the ID (versus using the #iconName syntax).\n const iconSource = iconSet.querySelector(`[id=\"${iconName}\"]`);\n if (!iconSource) {\n return null;\n }\n // Clone the element and remove the ID to prevent multiple elements from being added\n // to the page with the same ID.\n const iconElement = iconSource.cloneNode(true);\n iconElement.removeAttribute('id');\n // If the icon node is itself an node, clone and return it directly. If not, set it as\n // the content of a new node.\n if (iconElement.nodeName.toLowerCase() === 'svg') {\n return this._setSvgAttributes(iconElement, options);\n }\n // If the node is a , it won't be rendered so we have to convert it into . Note\n // that the same could be achieved by referring to it via , however the \n // tag is problematic on Firefox, because it needs to include the current page path.\n if (iconElement.nodeName.toLowerCase() === 'symbol') {\n return this._setSvgAttributes(this._toSvgElement(iconElement), options);\n }\n // createElement('SVG') doesn't work as expected; the DOM ends up with\n // the correct nodes, but the SVG content doesn't render. Instead we\n // have to create an empty SVG node using innerHTML and append its content.\n // Elements created using DOMParser.parseFromString have the same problem.\n // http://stackoverflow.com/questions/23003278/svg-innerhtml-in-firefox-can-not-display\n const svg = this._svgElementFromString(trustedHTMLFromString(''));\n // Clone the node so we don't remove it from the parent icon set element.\n svg.appendChild(iconElement);\n return this._setSvgAttributes(svg, options);\n }\n /**\n * Creates a DOM element from the given SVG string.\n */\n _svgElementFromString(str) {\n const div = this._document.createElement('DIV');\n div.innerHTML = str;\n const svg = div.querySelector('svg');\n // TODO: add an ngDevMode check\n if (!svg) {\n throw Error(' tag not found');\n }\n return svg;\n }\n /**\n * Converts an element into an SVG node by cloning all of its children.\n */\n _toSvgElement(element) {\n const svg = this._svgElementFromString(trustedHTMLFromString(''));\n const attributes = element.attributes;\n // Copy over all the attributes from the `symbol` to the new SVG, except the id.\n for (let i = 0; i < attributes.length; i++) {\n const { name, value } = attributes[i];\n if (name !== 'id') {\n svg.setAttribute(name, value);\n }\n }\n for (let i = 0; i < element.childNodes.length; i++) {\n if (element.childNodes[i].nodeType === this._document.ELEMENT_NODE) {\n svg.appendChild(element.childNodes[i].cloneNode(true));\n }\n }\n return svg;\n }\n /**\n * Sets the default attributes for an SVG element to be used as an icon.\n */\n _setSvgAttributes(svg, options) {\n svg.setAttribute('fit', '');\n svg.setAttribute('height', '100%');\n svg.setAttribute('width', '100%');\n svg.setAttribute('preserveAspectRatio', 'xMidYMid meet');\n svg.setAttribute('focusable', 'false'); // Disable IE11 default behavior to make SVGs focusable.\n if (options && options.viewBox) {\n svg.setAttribute('viewBox', options.viewBox);\n }\n return svg;\n }\n /**\n * Returns an Observable which produces the string contents of the given icon. Results may be\n * cached, so future calls with the same URL may not cause another HTTP request.\n */\n _fetchIcon(iconConfig) {\n const { url: safeUrl, options } = iconConfig;\n const withCredentials = options?.withCredentials ?? false;\n if (!this._httpClient) {\n throw getMatIconNoHttpProviderError();\n }\n // TODO: add an ngDevMode check\n if (safeUrl == null) {\n throw Error(`Cannot fetch icon from URL \"${safeUrl}\".`);\n }\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, safeUrl);\n // TODO: add an ngDevMode check\n if (!url) {\n throw getMatIconFailedToSanitizeUrlError(safeUrl);\n }\n // Store in-progress fetches to avoid sending a duplicate request for a URL when there is\n // already a request in progress for that URL. It's necessary to call share() on the\n // Observable returned by http.get() so that multiple subscribers don't cause multiple XHRs.\n const inProgressFetch = this._inProgressUrlFetches.get(url);\n if (inProgressFetch) {\n return inProgressFetch;\n }\n const req = this._httpClient.get(url, { responseType: 'text', withCredentials }).pipe(map(svg => {\n // Security: This SVG is fetched from a SafeResourceUrl, and is thus\n // trusted HTML.\n return trustedHTMLFromString(svg);\n }), finalize(() => this._inProgressUrlFetches.delete(url)), share());\n this._inProgressUrlFetches.set(url, req);\n return req;\n }\n /**\n * Registers an icon config by name in the specified namespace.\n * @param namespace Namespace in which to register the icon config.\n * @param iconName Name under which to register the config.\n * @param config Config to be registered.\n */\n _addSvgIconConfig(namespace, iconName, config) {\n this._svgIconConfigs.set(iconKey(namespace, iconName), config);\n return this;\n }\n /**\n * Registers an icon set config in the specified namespace.\n * @param namespace Namespace in which to register the icon config.\n * @param config Config to be registered.\n */\n _addSvgIconSetConfig(namespace, config) {\n const configNamespace = this._iconSetConfigs.get(namespace);\n if (configNamespace) {\n configNamespace.push(config);\n }\n else {\n this._iconSetConfigs.set(namespace, [config]);\n }\n return this;\n }\n /** Parses a config's text into an SVG element. */\n _svgElementFromConfig(config) {\n if (!config.svgElement) {\n const svg = this._svgElementFromString(config.svgText);\n this._setSvgAttributes(svg, config.options);\n config.svgElement = svg;\n }\n return config.svgElement;\n }\n /** Tries to create an icon config through the registered resolver functions. */\n _getIconConfigFromResolvers(namespace, name) {\n for (let i = 0; i < this._resolvers.length; i++) {\n const result = this._resolvers[i](name, namespace);\n if (result) {\n return isSafeUrlWithOptions(result)\n ? new SvgIconConfig(result.url, null, result.options)\n : new SvgIconConfig(result, null);\n }\n }\n return undefined;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconRegistry, deps: [{ token: i1.HttpClient, optional: true }, { token: i2.DomSanitizer }, { token: DOCUMENT, optional: true }, { token: i0.ErrorHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconRegistry, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconRegistry, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: i1.HttpClient, decorators: [{\n type: Optional\n }] }, { type: i2.DomSanitizer }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.ErrorHandler }] });\n/** @docs-private */\nfunction ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry, httpClient, sanitizer, errorHandler, document) {\n return parentRegistry || new MatIconRegistry(httpClient, sanitizer, document, errorHandler);\n}\n/** @docs-private */\nconst ICON_REGISTRY_PROVIDER = {\n // If there is already an MatIconRegistry available, use that. Otherwise, provide a new one.\n provide: MatIconRegistry,\n deps: [\n [new Optional(), new SkipSelf(), MatIconRegistry],\n [new Optional(), HttpClient],\n DomSanitizer,\n ErrorHandler,\n [new Optional(), DOCUMENT],\n ],\n useFactory: ICON_REGISTRY_PROVIDER_FACTORY,\n};\n/** Clones an SVGElement while preserving type information. */\nfunction cloneSvg(svg) {\n return svg.cloneNode(true);\n}\n/** Returns the cache key to use for an icon namespace and name. */\nfunction iconKey(namespace, name) {\n return namespace + ':' + name;\n}\nfunction isSafeUrlWithOptions(value) {\n return !!(value.url && value.options);\n}\n\n/** Injection token to be used to override the default options for `mat-icon`. */\nconst MAT_ICON_DEFAULT_OPTIONS = new InjectionToken('MAT_ICON_DEFAULT_OPTIONS');\n/**\n * Injection token used to provide the current location to `MatIcon`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n */\nconst MAT_ICON_LOCATION = new InjectionToken('mat-icon-location', {\n providedIn: 'root',\n factory: MAT_ICON_LOCATION_FACTORY,\n});\n/** @docs-private */\nfunction MAT_ICON_LOCATION_FACTORY() {\n const _document = inject(DOCUMENT);\n const _location = _document ? _document.location : null;\n return {\n // Note that this needs to be a function, rather than a property, because Angular\n // will only resolve it once, but we want the current path on each call.\n getPathname: () => (_location ? _location.pathname + _location.search : ''),\n };\n}\n/** SVG attributes that accept a FuncIRI (e.g. `url()`). */\nconst funcIriAttributes = [\n 'clip-path',\n 'color-profile',\n 'src',\n 'cursor',\n 'fill',\n 'filter',\n 'marker',\n 'marker-start',\n 'marker-mid',\n 'marker-end',\n 'mask',\n 'stroke',\n];\n/** Selector that can be used to find all elements that are using a `FuncIRI`. */\nconst funcIriAttributeSelector = funcIriAttributes.map(attr => `[${attr}]`).join(', ');\n/** Regex that can be used to extract the id out of a FuncIRI. */\nconst funcIriPattern = /^url\\(['\"]?#(.*?)['\"]?\\)$/;\n/**\n * Component to display an icon. It can be used in the following ways:\n *\n * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the\n * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of\n * MatIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format\n * \"[namespace]:[name]\", if not the value will be the name of an icon in the default namespace.\n * Examples:\n * `\n * `\n *\n * - Use a font ligature as an icon by putting the ligature text in the `fontIcon` attribute or the\n * content of the `` component. If you register a custom font class, don't forget to also\n * include the special class `mat-ligature-font`. It is recommended to use the attribute alternative\n * to prevent the ligature text to be selectable and to appear in search engine results.\n * By default, the Material icons font is used as described at\n * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an\n * alternate font by setting the fontSet input to either the CSS class to apply to use the\n * desired font, or to an alias previously registered with MatIconRegistry.registerFontClassAlias.\n * Examples:\n * `\n * home\n * \n * sun`\n *\n * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the\n * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a\n * CSS class which causes the glyph to be displayed via a :before selector, as in\n * https://fortawesome.github.io/Font-Awesome/examples/\n * Example:\n * ``\n */\nclass MatIcon {\n /** Theme palette color of the icon. */\n get color() {\n return this._color || this._defaultColor;\n }\n set color(value) {\n this._color = value;\n }\n /** Name of the icon in the SVG icon set. */\n get svgIcon() {\n return this._svgIcon;\n }\n set svgIcon(value) {\n if (value !== this._svgIcon) {\n if (value) {\n this._updateSvgIcon(value);\n }\n else if (this._svgIcon) {\n this._clearSvgElement();\n }\n this._svgIcon = value;\n }\n }\n /** Font set that the icon is a part of. */\n get fontSet() {\n return this._fontSet;\n }\n set fontSet(value) {\n const newValue = this._cleanupFontValue(value);\n if (newValue !== this._fontSet) {\n this._fontSet = newValue;\n this._updateFontIconClasses();\n }\n }\n /** Name of an icon within a font set. */\n get fontIcon() {\n return this._fontIcon;\n }\n set fontIcon(value) {\n const newValue = this._cleanupFontValue(value);\n if (newValue !== this._fontIcon) {\n this._fontIcon = newValue;\n this._updateFontIconClasses();\n }\n }\n constructor(_elementRef, _iconRegistry, ariaHidden, _location, _errorHandler, defaults) {\n this._elementRef = _elementRef;\n this._iconRegistry = _iconRegistry;\n this._location = _location;\n this._errorHandler = _errorHandler;\n /**\n * Whether the icon should be inlined, automatically sizing the icon to match the font size of\n * the element the icon is contained in.\n */\n this.inline = false;\n this._previousFontSetClass = [];\n /** Subscription to the current in-progress SVG icon request. */\n this._currentIconFetch = Subscription.EMPTY;\n if (defaults) {\n if (defaults.color) {\n this.color = this._defaultColor = defaults.color;\n }\n if (defaults.fontSet) {\n this.fontSet = defaults.fontSet;\n }\n }\n // If the user has not explicitly set aria-hidden, mark the icon as hidden, as this is\n // the right thing to do for the majority of icon use-cases.\n if (!ariaHidden) {\n _elementRef.nativeElement.setAttribute('aria-hidden', 'true');\n }\n }\n /**\n * Splits an svgIcon binding value into its icon set and icon name components.\n * Returns a 2-element array of [(icon set), (icon name)].\n * The separator for the two fields is ':'. If there is no separator, an empty\n * string is returned for the icon set and the entire value is returned for\n * the icon name. If the argument is falsy, returns an array of two empty strings.\n * Throws an error if the name contains two or more ':' separators.\n * Examples:\n * `'social:cake' -> ['social', 'cake']\n * 'penguin' -> ['', 'penguin']\n * null -> ['', '']\n * 'a:b:c' -> (throws Error)`\n */\n _splitIconName(iconName) {\n if (!iconName) {\n return ['', ''];\n }\n const parts = iconName.split(':');\n switch (parts.length) {\n case 1:\n return ['', parts[0]]; // Use default namespace.\n case 2:\n return parts;\n default:\n throw Error(`Invalid icon name: \"${iconName}\"`); // TODO: add an ngDevMode check\n }\n }\n ngOnInit() {\n // Update font classes because ngOnChanges won't be called if none of the inputs are present,\n // e.g. arrow In this case we need to add a CSS class for the default font.\n this._updateFontIconClasses();\n }\n ngAfterViewChecked() {\n const cachedElements = this._elementsWithExternalReferences;\n if (cachedElements && cachedElements.size) {\n const newPath = this._location.getPathname();\n // We need to check whether the URL has changed on each change detection since\n // the browser doesn't have an API that will let us react on link clicks and\n // we can't depend on the Angular router. The references need to be updated,\n // because while most browsers don't care whether the URL is correct after\n // the first render, Safari will break if the user navigates to a different\n // page and the SVG isn't re-rendered.\n if (newPath !== this._previousPath) {\n this._previousPath = newPath;\n this._prependPathToReferences(newPath);\n }\n }\n }\n ngOnDestroy() {\n this._currentIconFetch.unsubscribe();\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n }\n _usingFontIcon() {\n return !this.svgIcon;\n }\n _setSvgElement(svg) {\n this._clearSvgElement();\n // Note: we do this fix here, rather than the icon registry, because the\n // references have to point to the URL at the time that the icon was created.\n const path = this._location.getPathname();\n this._previousPath = path;\n this._cacheChildrenWithExternalReferences(svg);\n this._prependPathToReferences(path);\n this._elementRef.nativeElement.appendChild(svg);\n }\n _clearSvgElement() {\n const layoutElement = this._elementRef.nativeElement;\n let childCount = layoutElement.childNodes.length;\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n // Remove existing non-element child nodes and SVGs, and add the new SVG element. Note that\n // we can't use innerHTML, because IE will throw if the element has a data binding.\n while (childCount--) {\n const child = layoutElement.childNodes[childCount];\n // 1 corresponds to Node.ELEMENT_NODE. We remove all non-element nodes in order to get rid\n // of any loose text nodes, as well as any SVG elements in order to remove any old icons.\n if (child.nodeType !== 1 || child.nodeName.toLowerCase() === 'svg') {\n child.remove();\n }\n }\n }\n _updateFontIconClasses() {\n if (!this._usingFontIcon()) {\n return;\n }\n const elem = this._elementRef.nativeElement;\n const fontSetClasses = (this.fontSet\n ? this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/)\n : this._iconRegistry.getDefaultFontSetClass()).filter(className => className.length > 0);\n this._previousFontSetClass.forEach(className => elem.classList.remove(className));\n fontSetClasses.forEach(className => elem.classList.add(className));\n this._previousFontSetClass = fontSetClasses;\n if (this.fontIcon !== this._previousFontIconClass &&\n !fontSetClasses.includes('mat-ligature-font')) {\n if (this._previousFontIconClass) {\n elem.classList.remove(this._previousFontIconClass);\n }\n if (this.fontIcon) {\n elem.classList.add(this.fontIcon);\n }\n this._previousFontIconClass = this.fontIcon;\n }\n }\n /**\n * Cleans up a value to be used as a fontIcon or fontSet.\n * Since the value ends up being assigned as a CSS class, we\n * have to trim the value and omit space-separated values.\n */\n _cleanupFontValue(value) {\n return typeof value === 'string' ? value.trim().split(' ')[0] : value;\n }\n /**\n * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI`\n * reference. This is required because WebKit browsers require references to be prefixed with\n * the current path, if the page has a `base` tag.\n */\n _prependPathToReferences(path) {\n const elements = this._elementsWithExternalReferences;\n if (elements) {\n elements.forEach((attrs, element) => {\n attrs.forEach(attr => {\n element.setAttribute(attr.name, `url('${path}#${attr.value}')`);\n });\n });\n }\n }\n /**\n * Caches the children of an SVG element that have `url()`\n * references that we need to prefix with the current path.\n */\n _cacheChildrenWithExternalReferences(element) {\n const elementsWithFuncIri = element.querySelectorAll(funcIriAttributeSelector);\n const elements = (this._elementsWithExternalReferences =\n this._elementsWithExternalReferences || new Map());\n for (let i = 0; i < elementsWithFuncIri.length; i++) {\n funcIriAttributes.forEach(attr => {\n const elementWithReference = elementsWithFuncIri[i];\n const value = elementWithReference.getAttribute(attr);\n const match = value ? value.match(funcIriPattern) : null;\n if (match) {\n let attributes = elements.get(elementWithReference);\n if (!attributes) {\n attributes = [];\n elements.set(elementWithReference, attributes);\n }\n attributes.push({ name: attr, value: match[1] });\n }\n });\n }\n }\n /** Sets a new SVG icon with a particular name. */\n _updateSvgIcon(rawName) {\n this._svgNamespace = null;\n this._svgName = null;\n this._currentIconFetch.unsubscribe();\n if (rawName) {\n const [namespace, iconName] = this._splitIconName(rawName);\n if (namespace) {\n this._svgNamespace = namespace;\n }\n if (iconName) {\n this._svgName = iconName;\n }\n this._currentIconFetch = this._iconRegistry\n .getNamedSvgIcon(iconName, namespace)\n .pipe(take(1))\n .subscribe(svg => this._setSvgElement(svg), (err) => {\n const errorMessage = `Error retrieving icon ${namespace}:${iconName}! ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIcon, deps: [{ token: i0.ElementRef }, { token: MatIconRegistry }, { token: 'aria-hidden', attribute: true }, { token: MAT_ICON_LOCATION }, { token: i0.ErrorHandler }, { token: MAT_ICON_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"16.1.0\", version: \"17.2.0\", type: MatIcon, isStandalone: true, selector: \"mat-icon\", inputs: { color: \"color\", inline: [\"inline\", \"inline\", booleanAttribute], svgIcon: \"svgIcon\", fontSet: \"fontSet\", fontIcon: \"fontIcon\" }, host: { attributes: { \"role\": \"img\" }, properties: { \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\", \"attr.data-mat-icon-type\": \"_usingFontIcon() ? \\\"font\\\" : \\\"svg\\\"\", \"attr.data-mat-icon-name\": \"_svgName || fontIcon\", \"attr.data-mat-icon-namespace\": \"_svgNamespace || fontSet\", \"attr.fontIcon\": \"_usingFontIcon() ? fontIcon : null\", \"class.mat-icon-inline\": \"inline\", \"class.mat-icon-no-color\": \"color !== \\\"primary\\\" && color !== \\\"accent\\\" && color !== \\\"warn\\\"\" }, classAttribute: \"mat-icon notranslate\" }, exportAs: [\"matIcon\"], ngImport: i0, template: '', isInline: true, styles: [\"mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIcon, decorators: [{\n type: Component,\n args: [{ template: '', selector: 'mat-icon', exportAs: 'matIcon', host: {\n 'role': 'img',\n 'class': 'mat-icon notranslate',\n '[class]': 'color ? \"mat-\" + color : \"\"',\n '[attr.data-mat-icon-type]': '_usingFontIcon() ? \"font\" : \"svg\"',\n '[attr.data-mat-icon-name]': '_svgName || fontIcon',\n '[attr.data-mat-icon-namespace]': '_svgNamespace || fontSet',\n '[attr.fontIcon]': '_usingFontIcon() ? fontIcon : null',\n '[class.mat-icon-inline]': 'inline',\n '[class.mat-icon-no-color]': 'color !== \"primary\" && color !== \"accent\" && color !== \"warn\"',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, styles: [\"mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: MatIconRegistry }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['aria-hidden']\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_ICON_LOCATION]\n }] }, { type: i0.ErrorHandler }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_ICON_DEFAULT_OPTIONS]\n }] }], propDecorators: { color: [{\n type: Input\n }], inline: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], svgIcon: [{\n type: Input\n }], fontSet: [{\n type: Input\n }], fontIcon: [{\n type: Input\n }] } });\n\nclass MatIconModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconModule, imports: [MatCommonModule, MatIcon], exports: [MatIcon, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconModule, imports: [MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, MatIcon],\n exports: [MatIcon, MatCommonModule],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ICON_REGISTRY_PROVIDER, ICON_REGISTRY_PROVIDER_FACTORY, MAT_ICON_DEFAULT_OPTIONS, MAT_ICON_LOCATION, MAT_ICON_LOCATION_FACTORY, MatIcon, MatIconModule, MatIconRegistry, getMatIconFailedToSanitizeLiteralError, getMatIconFailedToSanitizeUrlError, getMatIconNameNotFoundError, getMatIconNoHttpProviderError };\n"],"mappings":"AAAA,OAAO,KAAKA,EAAE,MAAM,eAAe;AACnC,SAASC,eAAe,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,YAAY,EAAEC,cAAc,EAAEC,MAAM,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,iBAAiB,EAAEC,uBAAuB,EAAEC,SAAS,EAAEC,KAAK,EAAEC,QAAQ,QAAQ,eAAe;AAClO,SAASC,eAAe,QAAQ,wBAAwB;AACxD,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,EAAE,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,YAAY,QAAQ,MAAM;AAC7D,SAASC,GAAG,EAAEC,GAAG,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,IAAI,QAAQ,gBAAgB;AAC5E,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAC1C,SAASC,UAAU,QAAQ,sBAAsB;AACjD,OAAO,KAAKC,EAAE,MAAM,2BAA2B;AAC/C,SAASC,YAAY,QAAQ,2BAA2B;;AAExD;AACA;AACA;AACA;AAHA,MAAAC,GAAA;AAIA,IAAIC,MAAM;AACV;AACA;AACA;AACA;AACA,SAASC,SAASA,CAAA,EAAG;EACjB,IAAID,MAAM,KAAKE,SAAS,EAAE;IACtBF,MAAM,GAAG,IAAI;IACb,IAAI,OAAOG,MAAM,KAAK,WAAW,EAAE;MAC/B,MAAMC,QAAQ,GAAGD,MAAM;MACvB,IAAIC,QAAQ,CAACC,YAAY,KAAKH,SAAS,EAAE;QACrCF,MAAM,GAAGI,QAAQ,CAACC,YAAY,CAACC,YAAY,CAAC,oBAAoB,EAAE;UAC9DC,UAAU,EAAGC,CAAC,IAAKA;QACvB,CAAC,CAAC;MACN;I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"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5caa001bf94478f2bcb8b5a8234a5c239742fba3f12a8c31d2063968d33fe57d.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5caa001bf94478f2bcb8b5a8234a5c239742fba3f12a8c31d2063968d33fe57d.json new file mode 100644 index 0000000..85ec220 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5caa001bf94478f2bcb8b5a8234a5c239742fba3f12a8c31d2063968d33fe57d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, _dirService) {\n this.gService = gService;\n this._dirService = _dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirService = _dirService;\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","_dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirService","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n dirService: DirService;\r\n constructor(public gService: GroupService, public _dirService: DirService) {\r\n this.dirService = _dirService;\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB,EAASC,WAAuB;IAAtD,KAAAD,QAAQ,GAARA,QAAQ;IAAuB,KAAAC,WAAW,GAAXA,WAAW;IAF7D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAlBC,IAAI,CAACC,UAAU,GAAGR,WAAW;EAC/B;EAEAS,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,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,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA5D,qBAAA,CAAsC,mBAAA4D,GAAA,CAAAnB,sBAAA;QAGxCQ,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA7D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5d7fcac8c5be95897e92e8d693a6caf3cb37297d9758c7038bc384efb9562248.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5d7fcac8c5be95897e92e8d693a6caf3cb37297d9758c7038bc384efb9562248.json new file mode 100644 index 0000000..efd6953 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5d7fcac8c5be95897e92e8d693a6caf3cb37297d9758c7038bc384efb9562248.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\nimport { HttpClientModule } from '@angular/common/http';\nimport { RouterModule } from '@angular/router';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { AppComponent } from './app.component';\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\nimport { HomeComponent } from './home/home.component';\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\nimport { CardComponent } from './components/common/card/card.component';\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\nimport { MatButtonModule } from '@angular/material/button';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nimport * as i2 from \"@angular/router\";\nexport class AppModule {\n static #_ = this.ɵfac = function AppModule_Factory(t) {\n return new (t || AppModule)();\n };\n static #_2 = this.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: AppModule,\n bootstrap: [AppComponent]\n });\n static #_3 = this.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [BrowserModule.withServerTransition({\n appId: 'ng-cli-universal'\n }), HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, RouterModule.forRoot([{\n path: '',\n component: HomeComponent,\n pathMatch: 'full'\n }, {\n path: 'user-table',\n component: UserTableComponent\n }, {\n path: 'group-table',\n component: GroupTableComponent\n }, {\n path: 'module-table',\n component: ModuleTableComponent\n }, {\n path: 'user-assignment',\n component: UserAssignmentComponent\n }, {\n path: 'user-representation',\n component: UserRepresentationComponent\n }])]\n });\n}\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, {\n declarations: [AppComponent, NavMenuComponent, HomeComponent, BaseTableComponent, UserTableComponent, GroupTableComponent, ModuleTableComponent, GroupUserTableComponent, UserRepTableComponent, DirGroupTableComponent, UserAssignmentComponent, UserRepresentationComponent, UserGroupDirImportComponent, DirUserTableComponent],\n imports: [i1.BrowserModule, HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, i2.RouterModule]\n });\n})();","map":{"version":3,"names":["BrowserModule","FormsModule","HttpClientModule","RouterModule","BrowserAnimationsModule","AppComponent","NavMenuComponent","HomeComponent","GuiGridModule","BaseTableComponent","UserTableComponent","GroupTableComponent","ModuleTableComponent","UserAssignmentComponent","CardComponent","TabCardComponent","MatTabsModule","MatTabGroup","MatCommonModule","DragDropModule","MatTableComponent","UserRepresentationComponent","GroupUserTableComponent","UserRepTableComponent","SweetAlert2Module","DirGroupTableComponent","UserGroupDirImportComponent","DirUserTableComponent","MatButtonModule","AppModule","_","_2","bootstrap","_3","withServerTransition","appId","forRoot","path","component","pathMatch","declarations","imports","i1","i2"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\app.module.ts"],"sourcesContent":["import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AppComponent } from './app.component';\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\r\nimport { BaseTableComponent} from './components/tables/base-table/base-table.component';\r\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\r\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\r\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\r\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\r\nimport { CardComponent } from './components/common/card/card.component';\r\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\r\nimport {MatTabsModule, MatTabGroup } from '@angular/material/tabs';\r\nimport {MatCommonModule} from '@angular/material/core';\r\nimport {DragDropModule} from '@angular/cdk/drag-drop';\r\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\r\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\r\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\r\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\r\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\r\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\r\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\r\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NavMenuComponent,\r\n HomeComponent,\r\n BaseTableComponent,\r\n UserTableComponent,\r\n GroupTableComponent,\r\n ModuleTableComponent,\r\n GroupUserTableComponent,\r\n UserRepTableComponent,\r\n DirGroupTableComponent,\r\n UserAssignmentComponent,\r\n UserRepresentationComponent,\r\n UserGroupDirImportComponent,\r\n DirUserTableComponent\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n GuiGridModule,\r\n CardComponent,\r\n MatTableComponent,\r\n TabCardComponent,\r\n MatTabsModule,\r\n MatTabGroup,\r\n MatCommonModule,\r\n DragDropModule,\r\n SweetAlert2Module,\r\n MatButtonModule,\r\n RouterModule.forRoot([\r\n { path: '', component: HomeComponent, pathMatch: 'full' },\r\n { path: 'user-table', component: UserTableComponent },\r\n { path: 'group-table', component: GroupTableComponent },\r\n { path: 'module-table', component: ModuleTableComponent },\r\n { path: 'user-assignment', component: UserAssignmentComponent },\r\n { path: 'user-representation', component: UserRepresentationComponent },\r\n ])\r\n ]\r\n})\r\nexport class AppModule { }"],"mappings":"AAAA,SAASA,aAAa,QAAQ,2BAA2B;AAEzD,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,gBAAgB,QAAQ,sBAAsB;AACvD,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,uBAAuB,QAAQ,sCAAsC;AAC9E,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,kBAAkB,QAAO,qDAAqD;AACvF,SAASC,kBAAkB,QAAQ,qDAAqD;AACxF,SAASC,mBAAmB,QAAQ,uDAAuD;AAC3F,SAASC,oBAAoB,QAAQ,yDAAyD;AAC9F,SAASC,uBAAuB,QAAQ,wDAAwD;AAChG,SAASC,aAAa,QAAQ,yCAAyC;AACvE,SAASC,gBAAgB,QAAQ,iDAAiD;AAClF,SAAQC,aAAa,EAAEC,WAAW,QAAQ,wBAAwB;AAClE,SAAQC,eAAe,QAAO,wBAAwB;AACtD,SAAQC,cAAc,QAAO,wBAAwB;AACrD,SAASC,iBAAiB,QAAQ,mDAAmD;AACrF,S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C,gBAAgB,EAChBC,aAAa,EACbE,kBAAkB,EAClBC,kBAAkB,EAClBC,mBAAmB,EACnBC,oBAAoB,EACpBU,uBAAuB,EACvBC,qBAAqB,EACrBE,sBAAsB,EACtBZ,uBAAuB,EACvBQ,2BAA2B,EAC3BK,2BAA2B,EAC3BC,qBAAqB;IAAAc,OAAA,GAAAC,EAAA,CAAA1C,aAAA,EAMrBE,gBAAgB,EAChBD,WAAW,EACXG,uBAAuB,EACvBI,aAAa,EACbM,aAAa,EACbM,iBAAiB,EACjBL,gBAAgB,EAChBC,aAAa,EACbC,WAAW,EACXC,eAAe,EACfC,cAAc,EACdK,iBAAiB,EACjBI,eAAe,EAAAe,EAAA,CAAAxC,YAAA;EAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5dc45ed8ecbb3e91dd74d628e2367b6d35368f509f4cc402f4072dcc58ea2a06.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5dc45ed8ecbb3e91dd74d628e2367b6d35368f509f4cc402f4072dcc58ea2a06.json new file mode 100644 index 0000000..2ac7160 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5dc45ed8ecbb3e91dd74d628e2367b6d35368f509f4cc402f4072dcc58ea2a06.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IAAI,CAACtB,QAAQ,CAACuB,UAAU,CAAC;QAAEH,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC,CAACI,IAAI,CAC5E5B,UAAU,CAAE6B,GAAG,IAAI;QACjBP,OAAO,CAACC,GAAG,CA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AAA,EAAS;QACvHf,EAAA,CAAAU,cAAA,gBAAqF;QACtEV,EAAA,CAAAa,MAAA,eAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAK9Cf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5dc8c62117ff53d361a85d6ee1432e44be929c8ede535b50ef388916b18bded4.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5dc8c62117ff53d361a85d6ee1432e44be929c8ede535b50ef388916b18bded4.json new file mode 100644 index 0000000..e549073 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5dc8c62117ff53d361a85d6ee1432e44be929c8ede535b50ef388916b18bded4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 5,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\", \"onSelectedRows\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection)(\"onSelectedRows\", ctx.useronSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty","useronSelectedRows"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,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,cAAA,aAAyB;QAKLZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAhD,iBAAA,EAAmB;QAAA,EAAC;QAACqC,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAtB,gBAAA,EAAkB;QAAA,EAAC;QAACW,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAA4J;QAChKhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAlE,qBAAA,CAAsC,mBAAAkE,GAAA,CAAA3D,sBAAA;QAGxCgD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAnE,eAAA,CAA4B,iBAAAmE,GAAA,CAAA5D,oBAAA,oBAAA4D,GAAA,CAAAU,kBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5ed4969edd978bd3789ce8dcf9725984e0c95a7e574b43b8949b596524a4d69a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5ed4969edd978bd3789ce8dcf9725984e0c95a7e574b43b8949b596524a4d69a.json new file mode 100644 index 0000000..e7a554c --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/5ed4969edd978bd3789ce8dcf9725984e0c95a7e574b43b8949b596524a4d69a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class GroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function GroupDirImportComponent_Factory(t) {\n return new (t || GroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupDirImportComponent,\n selectors: [[\"app-group-dir-import\"]],\n viewQuery: function GroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"]],\n template: function GroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function GroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 1);\n i0.ɵɵelement(10, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","GroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","GroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-group-dir-import',\r\n templateUrl: './group-dir-import.component.html',\r\n styleUrl: './group-dir-import.component.css'\r\n})\r\nexport class GroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;AAUrD,OAAM,MAAOC,uBAAuB;EAIlCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB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IACpC,CAAC,CAAC,CACH,CAACC,SAAS,CAAC;MACVC,IAAI,EAAGC,OAAO,IAAI;QAChB;QACA;QACApB,QAAQ,IAAIoB,OAAO,CAACC,MAAM,CAACC,MAAM,IAAIA,MAAM,KAAK,IAAI,CAAC,CAACjC,MAAM;MAC9D,CAAC;MACDkC,KAAK,EAAGhB,GAAG,IAAI;QACb;QACAC,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEF,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAiB,CAAA,G;qBAxEUhD,uBAAuB,EAAAiD,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAvBrD,uBAAuB;IAAAsD,SAAA;IAAAC,SAAA,WAAAC,8BAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCfpCR,EAAA,CAAAU,cAAA,aAAyB;QAKLV,EAAA,CAAAW,UAAA,mBAAAC,yDAAA;UAAA,OAASH,GAAA,CAAApC,iBAAA,EAAmB;QAAA,EAAC;QAAC2B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;;;QAD8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAtD,qBAAA,CAAsC,mBAAAsD,GAAA,CAAA/C,sBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/600f9ec2ea34d2c4aa1d1edb87029f7310efc669ba94fcf8ff3a8699c22e207b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/600f9ec2ea34d2c4aa1d1edb87029f7310efc669ba94fcf8ff3a8699c22e207b.json new file mode 100644 index 0000000..43d8f16 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/600f9ec2ea34d2c4aa1d1edb87029f7310efc669ba94fcf8ff3a8699c22e207b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n this.dirGroups.safelyUnselectAll();\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","dirGroups","safelyUnselectAll","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n this.dirGroups.safelyUnselectAll();\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IA0FD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAI,CAACC,SAAS,CAACC,iBAAiB,EAAE;MAClC,IAAIF,IAAI,CAACG,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWJ,IAAI,CAACA,IAAI,CAACG,MAAM,GAAG,CAAC,CAAC,CAACE,MAAM,CAACC,cAAc;QACnE,IAAI,CAACC,QAAQ,CAACC,oBAAoB,CAACJ,SAAS,CAAC;;IAEjD,CAAC;E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ebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/616fde51e66fbf85da5ea995053d30a219d2ecce2bf04f2b9881a7c3cfe59fae.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/616fde51e66fbf85da5ea995053d30a219d2ecce2bf04f2b9881a7c3cfe59fae.json new file mode 100644 index 0000000..ae1f5f9 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/616fde51e66fbf85da5ea995053d30a219d2ecce2bf04f2b9881a7c3cfe59fae.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 67,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ng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MjQ5LjQzNzg0NjtcclxuXHJcbiAgLS1icy1idG4tZm9udC13ZWlnaHQ6IDYwMDtcclxuICAtLWJzLWJ0bi1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n\r\n }\r\n}","
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;;;;;;;;;;;;;;;;;;AAOjH,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,S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B,SAAA,GAAiC;QAAjCtB,EAAA,CAAAmC,WAAA,kBAAAvB,GAAA,CAAApB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/61da86f00af63b311ac598b659b84deb7f4abfafe7d51be95870ecae91457e3a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/61da86f00af63b311ac598b659b84deb7f4abfafe7d51be95870ecae91457e3a.json new file mode 100644 index 0000000..0de3a8e --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/61da86f00af63b311ac598b659b84deb7f4abfafe7d51be95870ecae91457e3a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 14,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(7, \"div\", 4)(8, \"div\", 5);\n i0.ɵɵelement(9, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(11, \"div\", 5);\n i0.ɵɵelement(12, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(9);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAe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;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAG8CV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAInIf,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAc,SAAA,gCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/633751beb97f82342bcac1620dead942b7521cf4da52dd353ab328e192be8d03.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/633751beb97f82342bcac1620dead942b7521cf4da52dd353ab328e192be8d03.json new file mode 100644 index 0000000..7c04d2f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/633751beb97f82342bcac1620dead942b7521cf4da52dd353ab328e192be8d03.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.useronSelectedRows = rows => {\n if (rows.length > 0) {\n if (this.dirGroups.selectedRows.length > 0) {\n this.dirGroups.safelyUnselectAll();\n }\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 5,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\", \"onSelectedRows\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection)(\"onSelectedRows\", ctx.useronSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","useronSelectedRows","dirGroups","selectedRows","safelyUnselectAll","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n useronSelectedRows = (rows: Array) => {\r\n if(rows.length > 0){\r\n if(this.dirGroups.selectedRows.length > 0) {\r\n this.dirGroups.safelyUnselectAll()\r\n }\r\n }\r\n };\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;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,GAAA,CAAAtB,gBAAA,EAAkB;QAAA,EAAC;QAACW,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAA4J;QAChKhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAnE,qBAAA,CAAsC,mBAAAmE,GAAA,CAAA5D,sBAAA;QAGxCiD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAApE,eAAA,CAA4B,iBAAAoE,GAAA,CAAA7D,oBAAA,oBAAA6D,GAAA,CAAApD,kBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/635244d152f4a37dd3455e330d44be8d927f32b2f6e86dd5d244eb0883a5a9aa.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/635244d152f4a37dd3455e330d44be8d927f32b2f6e86dd5d244eb0883a5a9aa.json new file mode 100644 index 0000000..b68b8f2 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/635244d152f4a37dd3455e330d44be8d927f32b2f6e86dd5d244eb0883a5a9aa.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n \r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,O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AAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAtD,qBAAA,CAAsC,mBAAAsD,GAAA,CAAAhD,sBAAA;QAGxCuC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAvD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/66df66ed51a208d368e3bcb64f168c39b57b1da33e78759898373c125689d9a5.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/66df66ed51a208d368e3bcb64f168c39b57b1da33e78759898373c125689d9a5.json new file mode 100644 index 0000000..9b8a3f0 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/66df66ed51a208d368e3bcb64f168c39b57b1da33e78759898373c125689d9a5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = () => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","ngOnInit","ngAfterViewInit","dirUsers","loading","rows","length","groupName","source","samaccountname","fetchDataByGroupName","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n this.dirGroupOnSelectedRows = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName)\r\n\r\n }\r\n }\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = () => { }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAuB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;IAmDD,KAAAC,s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AAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAtD,qBAAA,CAAsC,mBAAAsD,GAAA,CAAAhD,sBAAA;QAGxCuC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAvD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6751c837d0f58ed790ae3499fcba8df224c3c67f9e1d7a0613cd9cfa03454f7e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6751c837d0f58ed790ae3499fcba8df224c3c67f9e1d7a0613cd9cfa03454f7e.json new file mode 100644 index 0000000..504b375 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6751c837d0f58ed790ae3499fcba8df224c3c67f9e1d7a0613cd9cfa03454f7e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-6\", \"ms-1\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,Y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externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/68d5c90f2b270c2d965beb70fe02f2890c7abf8e0dd8c2d31a4f733090bb5c0f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/68d5c90f2b270c2d965beb70fe02f2890c7abf8e0dd8c2d31a4f733090bb5c0f.json new file mode 100644 index 0000000..a080f6d --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/68d5c90f2b270c2d965beb70fe02f2890c7abf8e0dd8c2d31a4f733090bb5c0f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\nimport { HttpClientModule } from '@angular/common/http';\nimport { RouterModule } from '@angular/router';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { AppComponent } from './app.component';\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\nimport { HomeComponent } from './home/home.component';\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\nimport { CardComponent } from './components/common/card/card.component';\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nimport * as i2 from \"@angular/router\";\nexport class AppModule {\n static #_ = this.ɵfac = function AppModule_Factory(t) {\n return new (t || AppModule)();\n };\n static #_2 = this.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: AppModule,\n bootstrap: [AppComponent]\n });\n static #_3 = this.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [BrowserModule.withServerTransition({\n appId: 'ng-cli-universal'\n }), HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, RouterModule.forRoot([{\n path: '',\n component: HomeComponent,\n pathMatch: 'full'\n }, {\n path: 'user-table',\n component: UserTableComponent\n }, {\n path: 'group-table',\n component: GroupTableComponent\n }, {\n path: 'module-table',\n component: ModuleTableComponent\n }, {\n path: 'user-assignment',\n component: UserAssignmentComponent\n }, {\n path: 'user-representation',\n component: UserRepresentationComponent\n }])]\n });\n}\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, {\n declarations: [AppComponent, NavMenuComponent, HomeComponent, BaseTableComponent, UserTableComponent, GroupTableComponent, ModuleTableComponent, GroupUserTableComponent, UserRepTableComponent, DirGroupTableComponent, UserAssignmentComponent, UserRepresentationComponent, UserGroupDirImportComponent, DirUserTableComponent],\n imports: [i1.BrowserModule, HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, i2.RouterModule]\n });\n})();","map":{"version":3,"names":["BrowserModule","FormsModule","HttpClientModule","RouterModule","BrowserAnimationsModule","AppComponent","NavMenuComponent","HomeComponent","GuiGridModule","BaseTableComponent","UserTableComponent","GroupTableComponent","ModuleTableComponent","UserAssignmentComponent","CardComponent","TabCardComponent","MatTabsModule","MatTabGroup","MatCommonModule","DragDropModule","MatTableComponent","UserRepresentationComponent","GroupUserTableComponent","UserRepTableComponent","SweetAlert2Module","DirGroupTableComponent","UserGroupDirImportComponent","DirUserTableComponent","MatButtonModule","MatIconModule","AppModule","_","_2","bootstrap","_3","withServerTransition","appId","forRoot","path","component","pathMatch","declarations","imports","i1","i2"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\app.module.ts"],"sourcesContent":["import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AppComponent } from './app.component';\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\r\nimport { BaseTableComponent} from './components/tables/base-table/base-table.component';\r\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\r\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\r\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\r\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\r\nimport { CardComponent } from './components/common/card/card.component';\r\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\r\nimport {MatTabsModule, MatTabGroup } from '@angular/material/tabs';\r\nimport {MatCommonModule} from '@angular/material/core';\r\nimport {DragDropModule} from '@angular/cdk/drag-drop';\r\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\r\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\r\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\r\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\r\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\r\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\r\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\r\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\r\nimport {MatButtonModule} from '@angular/material/button';\r\nimport {MatIconModule} from '@angular/material/icon';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NavMenuComponent,\r\n HomeComponent,\r\n BaseTableComponent,\r\n UserTableComponent,\r\n GroupTableComponent,\r\n ModuleTableComponent,\r\n GroupUserTableComponent,\r\n UserRepTableComponent,\r\n DirGroupTableComponent,\r\n UserAssignmentComponent,\r\n UserRepresentationComponent,\r\n UserGroupDirImportComponent,\r\n DirUserTableComponent\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n GuiGridModule,\r\n CardComponent,\r\n MatTableComponent,\r\n TabCardComponent,\r\n MatTabsModule,\r\n MatTabGroup,\r\n MatCommonModule,\r\n DragDropModule,\r\n SweetAlert2Module,\r\n MatButtonModule,\r\n MatIconModule,\r\n RouterModule.forRoot([\r\n { path: '', component: HomeComponent, pathMatch: 'full' },\r\n { path: 'user-table', component: UserTableComponent },\r\n { path: 'group-table', component: GroupTableComponent },\r\n { path: 'module-table', component: ModuleTableComponent },\r\n { path: 'user-assignment', component: UserAssignmentComponent },\r\n { path: 'user-representation', component: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EACjBI,eAAe,EACfC,aAAa,EAAAe,EAAA,CAAAzC,YAAA;EAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6a307ecf3ed2a1be711d35c8cdcba6cc6558eac216537b8c248d8a14552ca62b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6a307ecf3ed2a1be711d35c8cdcba6cc6558eac216537b8c248d8a14552ca62b.json new file mode 100644 index 0000000..bb9fbcc --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6a307ecf3ed2a1be711d35c8cdcba6cc6558eac216537b8c248d8a14552ca62b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IA2FD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,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CAAAnD,sBAAA;QAGxCwC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA3D,eAAA,CAA4B,iBAAA2D,GAAA,CAAApD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6a8770e0ff9afbec642d31329e7936aa1fe197534f8c9d524c8a9e9f88f06a72.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6a8770e0ff9afbec642d31329e7936aa1fe197534f8c9d524c8a9e9f88f06a72.json new file mode 100644 index 0000000..9a71610 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6a8770e0ff9afbec642d31329e7936aa1fe197534f8c9d524c8a9e9f88f06a72.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirService.getUser(groupName).subscribe({\n next: res => {},\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService, public dirService: DirService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB,EAASC,UAAsB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAuB,KAAAC,UAAU,GAAVA,UAAU;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,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AAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAzD,qBAAA,CAAsC,mBAAAyD,GAAA,CAAAjB,sBAAA;QAGxCM,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA1D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6daa7cafe659753efb7d7754e95b0a4a05f556d734dce41680668be6a3d95ea9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6daa7cafe659753efb7d7754e95b0a4a05f556d734dce41680668be6a3d95ea9.json new file mode 100644 index 0000000..3102a35 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6daa7cafe659753efb7d7754e95b0a4a05f556d734dce41680668be6a3d95ea9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"pe-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAq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AO,IAAI;QAChB;QACA;QACAtB,QAAQ,IAAIsB,OAAO,CAACC,MAAM,CAACC,MAAM,IAAIA,MAAM,KAAK,IAAI,CAAC,CAACC,MAAM;MAC9D,CAAC;MACDC,KAAK,EAAGf,GAAG,IAAI;QACb;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAmC;QAE3BV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAAwB;QACpBV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6f11d0bdbbc41a4c428456d406ead20aa2dcefc768ec4149011c537117eae8b4.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6f11d0bdbbc41a4c428456d406ead20aa2dcefc768ec4149011c537117eae8b4.json new file mode 100644 index 0000000..19efdd7 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6f11d0bdbbc41a4c428456d406ead20aa2dcefc768ec4149011c537117eae8b4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵelement(9, \"app-dir-user-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAA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AAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAiB;QAETV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA2B;QACvBV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6f9db924e344bfa198765a7aab50ca4f75b7f71575847ef2b01062a091268903.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6f9db924e344bfa198765a7aab50ca4f75b7f71575847ef2b01062a091268903.json new file mode 100644 index 0000000..372d3a1 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6f9db924e344bfa198765a7aab50ca4f75b7f71575847ef2b01062a091268903.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.http = http;\n this.baseUrl = baseUrl;\n this.http = http;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { DirUser } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(private http: HttpClient, @Inject('DIR_URL') private baseUrl: string) {\r\n this.http = http;\r\n }\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAoBC,IAAgB,EAA6BC,OAAe;IAA5D,KAAAD,IAAI,GAAJA,IAAI;IAAyC,KAAAC,OAAO,GAAPA,OAAO;IACtE,IAAI,CAACD,IAAI,GAAGA,IAAI;EAClB;EAEAE,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA8B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC7E;EAAC,QAAAG,CAAA,G;qBAZUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACyB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WAD5Cd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6fa1a998d71ead58680ca20ed4e887103b2584389a92e19a73678bf5dde77850.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6fa1a998d71ead58680ca20ed4e887103b2584389a92e19a73678bf5dde77850.json new file mode 100644 index 0000000..f6f1da9 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6fa1a998d71ead58680ca20ed4e887103b2584389a92e19a73678bf5dde77850.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 15,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 6);\n i0.ɵɵelement(10, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"div\", 6);\n i0.ɵɵelement(13, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB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GAAA,CAAAlE,qBAAA,CAAsC,mBAAAkE,GAAA,CAAA3D,sBAAA;QAGxCgD,EAAA,CAAAkB,SAAA,GAA4B;QAA5BlB,EAAA,CAAAmB,UAAA,aAAAR,GAAA,CAAAnE,eAAA,CAA4B,iBAAAmE,GAAA,CAAA5D,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6fd23570cc9ead7a230f4ab505aa7f326c7f889aa74c81be0679782e6907271d.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6fd23570cc9ead7a230f4ab505aa7f326c7f889aa74c81be0679782e6907271d.json new file mode 100644 index 0000000..bcd835f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/6fd23570cc9ead7a230f4ab505aa7f326c7f889aa74c81be0679782e6907271d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.http = http;\n this.baseUrl = baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { DirUser, User } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL')baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n http: HttpClient;\r\n baseUrl: string;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAAoBC,OAAe;IAC7D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;EACxB;EAKAC,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA8B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC7E;EAAC,QAAAG,CAAA,G;qBAhBUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/70dfcf1a3bf4c8424eef99dd8315f9652835e1cee790a1aac6d2683ddc01afc0.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/70dfcf1a3bf4c8424eef99dd8315f9652835e1cee790a1aac6d2683ddc01afc0.json new file mode 100644 index 0000000..49b7401 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/70dfcf1a3bf4c8424eef99dd8315f9652835e1cee790a1aac6d2683ddc01afc0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [\"mat-fab\", \"\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\", 5);\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 6)(11, \"div\", 7);\n i0.ɵɵelement(12, \"app-dir-group-table\", 8, 9);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 7);\n i0.ɵɵelement(15, \"app-dir-user-table\", 10, 11);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B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AAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7151a4979f80014e4735f9fc9af88dfad9b82faba9380dd8dac05ef7f7fa3184.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7151a4979f80014e4735f9fc9af88dfad9b82faba9380dd8dac05ef7f7fa3184.json new file mode 100644 index 0000000..113ba7d --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7151a4979f80014e4735f9fc9af88dfad9b82faba9380dd8dac05ef7f7fa3184.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"container-flex\"], [1, \"row\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 5);\n i0.ɵɵelement(10, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EA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2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAA4B;QAGpBV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA2B;QACvBV,EAAA,CAAAe,SAAA,gCAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/71bb841bd1a5ee523f7686a5912d619ed02461a71a03b2aa0159c209f526389c.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/71bb841bd1a5ee523f7686a5912d619ed02461a71a03b2aa0159c209f526389c.json new file mode 100644 index 0000000..02386bd --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/71bb841bd1a5ee523f7686a5912d619ed02461a71a03b2aa0159c209f526389c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByAd( row?.source ).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,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BAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACE,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAzD,qBAAA,CAAsC,mBAAAyD,GAAA,CAAAlD,sBAAA;QAGxCuC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA1D,eAAA,CAA4B,iBAAA0D,GAAA,CAAAnD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/727f21821075b9598fb3dfd7a48d1aab0e96758e1b7a5b46c012409d6d2cf392.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/727f21821075b9598fb3dfd7a48d1aab0e96758e1b7a5b46c012409d6d2cf392.json new file mode 100644 index 0000000..9d5e8eb --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/727f21821075b9598fb3dfd7a48d1aab0e96758e1b7a5b46c012409d6d2cf392.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = () => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n }\n };\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","ngOnInit","ngAfterViewInit","dirUsers","loading","rows","length","groupName","source","samaccountname","console","log","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private dirService: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n this.dirGroupOnSelectedRows = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n }\r\n }\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows : (rows: Array) => void = ()=>{}\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAA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AA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAArC,iBAAA,EAAmB;QAAA,EAAC;QAAC0B,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACE,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAvD,qBAAA,CAAsC,mBAAAuD,GAAA,CAAAjD,sBAAA;QAGxCsC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAxD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7381612e6c07cb3a34ae42e94751cd14b3754ba5e40539cfef28b3fb00ee2554.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7381612e6c07cb3a34ae42e94751cd14b3754ba5e40539cfef28b3fb00ee2554.json new file mode 100644 index 0000000..00f1f80 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7381612e6c07cb3a34ae42e94751cd14b3754ba5e40539cfef28b3fb00ee2554.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirService.getUser(groupName).subscribe();\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService, public dirService: DirService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName:string = rows[rows.length - 1].source.samaccountname;\r\n this.dirService.getUser(groupName).subscribe()\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAm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,aAAyB;QAKLZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAA9C,iBAAA,EAAmB;QAAA,EAAC;QAACmC,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAjB,gBAAA,EAAkB;QAAA,EAAC;QAACM,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAxD,qBAAA,CAAsC,mBAAAwD,GAAA,CAAAhB,sBAAA;QAGxCK,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAzD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/73a2c2f2d2a73cf3fec95688421bd52b5dae290a2058fc48b8863e5e7fccd8b1.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/73a2c2f2d2a73cf3fec95688421bd52b5dae290a2058fc48b8863e5e7fccd8b1.json new file mode 100644 index 0000000..ca80345 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/73a2c2f2d2a73cf3fec95688421bd52b5dae290a2058fc48b8863e5e7fccd8b1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\nimport { HttpClientModule } from '@angular/common/http';\nimport { RouterModule } from '@angular/router';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { AppComponent } from './app.component';\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\nimport { HomeComponent } from './home/home.component';\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\nimport { CardComponent } from './components/common/card/card.component';\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nimport * as i2 from \"@angular/router\";\nexport class AppModule {\n static #_ = this.ɵfac = function AppModule_Factory(t) {\n return new (t || AppModule)();\n };\n static #_2 = this.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: AppModule,\n bootstrap: [AppComponent]\n });\n static #_3 = this.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [BrowserModule.withServerTransition({\n appId: 'ng-cli-universal'\n }), HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, RouterModule.forRoot([{\n path: '',\n component: HomeComponent,\n pathMatch: 'full'\n }, {\n path: 'user-table',\n component: UserTableComponent\n }, {\n path: 'group-table',\n component: GroupTableComponent\n }, {\n path: 'module-table',\n component: ModuleTableComponent\n }, {\n path: 'user-assignment',\n component: UserAssignmentComponent\n }, {\n path: 'user-representation',\n component: UserRepresentationComponent\n }])]\n });\n}\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, {\n declarations: [AppComponent, NavMenuComponent, HomeComponent, BaseTableComponent, UserTableComponent, GroupTableComponent, ModuleTableComponent, GroupUserTableComponent, UserRepTableComponent, DirGroupTableComponent, UserAssignmentComponent, UserRepresentationComponent, UserGroupDirImportComponent, DirUserTableComponent],\n imports: [i1.BrowserModule, HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, i2.RouterModule]\n });\n})();","map":{"version":3,"names":["BrowserModule","FormsModule","HttpClientModule","RouterModule","BrowserAnimationsModule","AppComponent","NavMenuComponent","HomeComponent","GuiGridModule","BaseTableComponent","UserTableComponent","GroupTableComponent","ModuleTableComponent","UserAssignmentComponent","CardComponent","TabCardComponent","MatTabsModule","MatTabGroup","MatCommonModule","DragDropModule","MatTableComponent","UserRepresentationComponent","GroupUserTableComponent","UserRepTableComponent","SweetAlert2Module","DirGroupTableComponent","UserGroupDirImportComponent","DirUserTableComponent","MatButtonModule","MatIconModule","AppModule","_","_2","bootstrap","_3","withServerTransition","appId","forRoot","path","component","pathMatch","declarations","imports","i1","i2"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\app.module.ts"],"sourcesContent":["import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AppComponent } from './app.component';\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\r\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\r\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\r\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\r\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\r\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\r\nimport { CardComponent } from './components/common/card/card.component';\r\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\r\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\r\nimport { MatCommonModule } from '@angular/material/core';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\r\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\r\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\r\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\r\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\r\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\r\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\r\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NavMenuComponent,\r\n HomeComponent,\r\n BaseTableComponent,\r\n UserTableComponent,\r\n GroupTableComponent,\r\n ModuleTableComponent,\r\n GroupUserTableComponent,\r\n UserRepTableComponent,\r\n DirGroupTableComponent,\r\n UserAssignmentComponent,\r\n UserRepresentationComponent,\r\n UserGroupDirImportComponent,\r\n DirUserTableComponent\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n GuiGridModule,\r\n CardComponent,\r\n MatTableComponent,\r\n TabCardComponent,\r\n MatTabsModule,\r\n MatTabGroup,\r\n MatCommonModule,\r\n DragDropModule,\r\n SweetAlert2Module,\r\n MatButtonModule,\r\n MatIconModule,\r\n RouterModule.forRoot([\r\n { path: '', component: HomeComponent, pathMatch: 'full' },\r\n { path: 'user-table', component: UserTableComponent },\r\n { path: 'group-table', component: GroupTableComponent },\r\n { path: 'module-table', component: ModuleTableComponent },\r\n { path: 'user-assignment', component: UserAssignmentComponent },\r\n { path: 'user-representation', component: UserRepresentationComponent },\r\n ])\r\n ]\r\n})\r\nexport class AppModule { }"],"mappings":"AAAA,SAASA,aAAa,QAAQ,2BAA2B;AAEzD,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,gBAAgB,QAAQ,sBAAsB;AACvD,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,uBAAuB,QAAQ,sCAAsC;AAC9E,SAASC,Y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cAAc,EACdK,iBAAiB,EACjBI,eAAe,EACfC,aAAa,EACb1B,YAAY,CAACkC,OAAO,CAAC,CACjB;MAAEC,IAAI,EAAE,EAAE;MAAEC,SAAS,EAAEhC,aAAa;MAAEiC,SAAS,EAAE;IAAM,CAAE,EACzD;MAAEF,IAAI,EAAE,YAAY;MAAEC,SAAS,EAAE7B;IAAkB,CAAE,EACrD;MAAE4B,IAAI,EAAE,aAAa;MAAEC,SAAS,EAAE5B;IAAmB,CAAE,EACvD;MAAE2B,IAAI,EAAE,cAAc;MAAEC,SAAS,EAAE3B;IAAoB,CAAE,EACzD;MAAE0B,IAAI,EAAE,iBAAiB;MAAEC,SAAS,EAAE1B;IAAuB,CAAE,EAC/D;MAAEyB,IAAI,EAAE,qBAAqB;MAAEC,SAAS,EAAElB;IAA2B,CAAE,CAC1E,CAAC;EAAA;;;2EAGGS,SAAS;IAAAW,YAAA,GA3CdpC,YAAY,EACZC,gBAAgB,EAChBC,aAAa,EACbE,kBAAkB,EAClBC,kBAAkB,EAClBC,mBAAmB,EACnBC,oBAAoB,EACpBU,uBAAuB,EACvBC,qBAAqB,EACrBE,sBAAsB,EACtBZ,uBAAuB,EACvBQ,2BAA2B,EAC3BK,2BAA2B,EAC3BC,qBAAqB;IAAAe,OAAA,GAAAC,EAAA,CAAA3C,aAAA,EAMrBE,gBAAgB,EAChBD,WAAW,EACXG,uBAAuB,EACvBI,aAAa,EACbM,aAAa,EACbM,iBAAiB,EACjBL,gBAAgB,EAChBC,aAAa,EACbC,WAAW,EACXC,eAAe,EACfC,cAAc,EACdK,iBAAiB,EACjBI,eAAe,EACfC,aAAa,EAAAe,EAAA,CAAAzC,YAAA;EAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/760537e337bdc3b414f49550bd2c99733cac5d2be1c5691dad22075267b49d91.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/760537e337bdc3b414f49550bd2c99733cac5d2be1c5691dad22075267b49d91.json new file mode 100644 index 0000000..13c3116 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/760537e337bdc3b414f49550bd2c99733cac5d2be1c5691dad22075267b49d91.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, _baseUrl) {\n this._baseUrl = _baseUrl;\n this.http = http;\n this.baseUrl = _baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","_baseUrl","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { DirUser } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL') private _baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = _baseUrl;\r\n }\r\n\r\n baseUrl:string;\r\n http: HttpClient;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAA6BC,QAAgB;IAAhB,KAAAA,QAAQ,GAARA,QAAQ;IAC/D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACE,OAAO,GAAGD,QAAQ;EACzB;EAKAE,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIR,UAAU,EAAE;IAC7B,IAAIO,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACJ,IAAI,CAACO,GAAG,CAA8B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC7E;EAAC,QAAAG,CAAA,G;qBAhBUV,UAAU,EAAAW,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCf,UAAU;IAAAgB,OAAA,EAAVhB,UAAU,CAAAiB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/768ef64584bc91412aeb7b6c819dbc93bff8202ef6a1302d33e74635e8c7083c.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/768ef64584bc91412aeb7b6c819dbc93bff8202ef6a1302d33e74635e8c7083c.json new file mode 100644 index 0000000..b355cf7 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/768ef64584bc91412aeb7b6c819dbc93bff8202ef6a1302d33e74635e8c7083c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\nimport { HttpClientModule } from '@angular/common/http';\nimport { RouterModule } from '@angular/router';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { AppComponent } from './app.component';\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\nimport { HomeComponent } from './home/home.component';\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\nimport { BaseTableComponent } from './components/tables/base-table/base-table.component';\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\nimport { CardComponent } from './components/common/card/card.component';\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\nimport { MatTabsModule, MatTabGroup } from '@angular/material/tabs';\nimport { MatCommonModule } from '@angular/material/core';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nimport * as i2 from \"@angular/router\";\nexport class AppModule {\n static #_ = this.ɵfac = function AppModule_Factory(t) {\n return new (t || AppModule)();\n };\n static #_2 = this.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: AppModule,\n bootstrap: [AppComponent]\n });\n static #_3 = this.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [BrowserModule.withServerTransition({\n appId: 'ng-cli-universal'\n }), HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, RouterModule.forRoot([{\n path: '',\n component: HomeComponent,\n pathMatch: 'full'\n }, {\n path: 'user-table',\n component: UserTableComponent\n }, {\n path: 'group-table',\n component: GroupTableComponent\n }, {\n path: 'module-table',\n component: ModuleTableComponent\n }, {\n path: 'user-assignment',\n component: UserAssignmentComponent\n }, {\n path: 'user-representation',\n component: UserRepresentationComponent\n }])]\n });\n}\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, {\n declarations: [AppComponent, NavMenuComponent, HomeComponent, BaseTableComponent, UserTableComponent, GroupTableComponent, ModuleTableComponent, GroupUserTableComponent, UserRepTableComponent, DirGroupTableComponent, UserAssignmentComponent, UserRepresentationComponent, UserGroupDirImportComponent, DirUserTableComponent],\n imports: [i1.BrowserModule, HttpClientModule, FormsModule, BrowserAnimationsModule, GuiGridModule, CardComponent, MatTableComponent, TabCardComponent, MatTabsModule, MatTabGroup, MatCommonModule, DragDropModule, SweetAlert2Module, MatButtonModule, MatIconModule, i2.RouterModule]\n });\n})();","map":{"version":3,"names":["BrowserModule","FormsModule","HttpClientModule","RouterModule","BrowserAnimationsModule","AppComponent","NavMenuComponent","HomeComponent","GuiGridModule","BaseTableComponent","UserTableComponent","GroupTableComponent","ModuleTableComponent","UserAssignmentComponent","CardComponent","TabCardComponent","MatTabsModule","MatTabGroup","MatCommonModule","DragDropModule","MatTableComponent","UserRepresentationComponent","GroupUserTableComponent","UserRepTableComponent","SweetAlert2Module","DirGroupTableComponent","UserGroupDirImportComponent","DirUserTableComponent","MatButtonModule","MatIconModule","AppModule","_","_2","bootstrap","_3","withServerTransition","appId","forRoot","path","component","pathMatch","declarations","imports","i1","i2"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\app.module.ts"],"sourcesContent":["import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AppComponent } from './app.component';\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { GuiGridModule } from '@generic-ui/ngx-grid';\r\nimport { BaseTableComponent} from './components/tables/base-table/base-table.component';\r\nimport { UserTableComponent } from './components/tables/user-table/user-table.component';\r\nimport { GroupTableComponent } from './components/tables/group-table/group-table.component';\r\nimport { ModuleTableComponent } from './components/tables/module-table/module-table.component';\r\nimport { UserAssignmentComponent } from './components/user-assignment/user-assignment.component';\r\nimport { CardComponent } from './components/common/card/card.component';\r\nimport { TabCardComponent } from './components/common/tab-card/tab-card.component';\r\nimport {MatTabsModule, MatTabGroup } from '@angular/material/tabs';\r\nimport {MatCommonModule} from '@angular/material/core';\r\nimport {DragDropModule} from '@angular/cdk/drag-drop';\r\nimport { MatTableComponent } from './components/common/mat-table/mat-table.component';\r\nimport { UserRepresentationComponent } from './components/user-representation/user-representation.component';\r\nimport { GroupUserTableComponent } from \"./components/tables/group-user-table/group-user-table.component\";\r\nimport { UserRepTableComponent } from './components/tables/user-rep-table/user-rep-table.component';\r\nimport { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';\r\nimport { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component';\r\nimport { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component';\r\nimport { DirUserTableComponent } from \"./components/tables/dir-user-table/dir-user-table.component\";\r\nimport {MatButtonModule} from '@angular/material/button';\r\nimport {MatIconModule} from '@angular/material/icon';\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NavMenuComponent,\r\n HomeComponent,\r\n BaseTableComponent,\r\n UserTableComponent,\r\n GroupTableComponent,\r\n ModuleTableComponent,\r\n GroupUserTableComponent,\r\n UserRepTableComponent,\r\n DirGroupTableComponent,\r\n UserAssignmentComponent,\r\n UserRepresentationComponent,\r\n UserGroupDirImportComponent,\r\n DirUserTableComponent\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n GuiGridModule,\r\n CardComponent,\r\n MatTableComponent,\r\n TabCardComponent,\r\n MatTabsModule,\r\n MatTabGroup,\r\n MatCommonModule,\r\n DragDropModule,\r\n SweetAlert2Module,\r\n MatButtonModule,\r\n MatIconModule,\r\n RouterModule.forRoot([\r\n { path: '', component: HomeComponent, pathMatch: 'full' },\r\n { path: 'user-table', component: UserTableComponent },\r\n { path: 'group-table', component: GroupTableComponent },\r\n { path: 'module-table', component: ModuleTableComponent },\r\n { path: 'user-assignment', component: UserAssignmentComponent },\r\n { path: 'user-representation', component: UserRepresentationComponent },\r\n ])\r\n ]\r\n})\r\nexport class AppModule { }"],"mappings":"AAAA,SAASA,aAAa,QAAQ,2BAA2B;AAEzD,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,gBAAgB,QAAQ,sBAAsB;AACvD,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,uBAAuB,QAAQ,sCAAsC;AAC9E,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,aAAa,Q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AEC,SAAS,EAAEhC,aAAa;MAAEiC,SAAS,EAAE;IAAM,CAAE,EACzD;MAAEF,IAAI,EAAE,YAAY;MAAEC,SAAS,EAAE7B;IAAkB,CAAE,EACrD;MAAE4B,IAAI,EAAE,aAAa;MAAEC,SAAS,EAAE5B;IAAmB,CAAE,EACvD;MAAE2B,IAAI,EAAE,cAAc;MAAEC,SAAS,EAAE3B;IAAoB,CAAE,EACzD;MAAE0B,IAAI,EAAE,iBAAiB;MAAEC,SAAS,EAAE1B;IAAuB,CAAE,EAC/D;MAAEyB,IAAI,EAAE,qBAAqB;MAAEC,SAAS,EAAElB;IAA2B,CAAE,CAC1E,CAAC;EAAA;;;2EAGGS,SAAS;IAAAW,YAAA,GA3CdpC,YAAY,EACZC,gBAAgB,EAChBC,aAAa,EACbE,kBAAkB,EAClBC,kBAAkB,EAClBC,mBAAmB,EACnBC,oBAAoB,EACpBU,uBAAuB,EACvBC,qBAAqB,EACrBE,sBAAsB,EACtBZ,uBAAuB,EACvBQ,2BAA2B,EAC3BK,2BAA2B,EAC3BC,qBAAqB;IAAAe,OAAA,GAAAC,EAAA,CAAA3C,aAAA,EAMrBE,gBAAgB,EAChBD,WAAW,EACXG,uBAAuB,EACvBI,aAAa,EACbM,aAAa,EACbM,iBAAiB,EACjBL,gBAAgB,EAChBC,aAAa,EACbC,WAAW,EACXC,eAAe,EACfC,cAAc,EACdK,iBAAiB,EACjBI,eAAe,EACfC,aAAa,EAAAe,EAAA,CAAAzC,YAAA;EAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/794b19b0a487e34bc8e36a4a818e1b133ebbc2404f70f25168b88398fe0aa662.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/794b19b0a487e34bc8e36a4a818e1b133ebbc2404f70f25168b88398fe0aa662.json new file mode 100644 index 0000000..522e790 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/794b19b0a487e34bc8e36a4a818e1b133ebbc2404f70f25168b88398fe0aa662.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd( row?.source ).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,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;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAtD,qBAAA,CAAsC,mBAAAsD,GAAA,CAAAhD,sBAAA;QAGxCuC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAvD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7ab45e085600a279baaa1fef1a9dbac5e6caa85fc1f7bc001732a68a537fe26f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7ab45e085600a279baaa1fef1a9dbac5e6caa85fc1f7bc001732a68a537fe26f.json new file mode 100644 index 0000000..caafe6f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7ab45e085600a279baaa1fef1a9dbac5e6caa85fc1f7bc001732a68a537fe26f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 143,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"example-label\"], [1, \"example-button-row\"], [\"mat-button\", \"\"], [\"mat-button\", \"\", \"color\", \"primary\"], [\"mat-button\", \"\", \"color\", \"accent\"], [\"mat-button\", \"\", \"color\", \"warn\"], [\"mat-button\", \"\", \"disabled\", \"\"], [\"mat-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [\"mat-raised-button\", \"\"], [\"mat-raised-button\", \"\", \"color\", \"primary\"], [\"mat-raised-button\", \"\", \"color\", \"accent\"], [\"mat-raised-button\", \"\", \"color\", \"warn\"], [\"mat-raised-button\", \"\", \"disabled\", \"\"], [\"mat-raised-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [\"mat-stroked-button\", \"\"], [\"mat-stroked-button\", \"\", \"color\", \"primary\"], [\"mat-stroked-button\", \"\", \"color\", \"accent\"], [\"mat-stroked-button\", \"\", \"color\", \"warn\"], [\"mat-stroked-button\", \"\", \"disabled\", \"\"], [\"mat-stroked-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [\"mat-flat-button\", \"\"], [\"mat-flat-button\", \"\", \"color\", \"primary\"], [\"mat-flat-button\", \"\", \"color\", \"accent\"], [\"mat-flat-button\", \"\", \"color\", \"warn\"], [\"mat-flat-button\", \"\", \"disabled\", \"\"], [\"mat-flat-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [1, \"example-flex-container\"], [\"mat-icon-button\", \"\", \"aria-label\", \"Example icon button with a vertical three dot icon\"], [\"mat-icon-button\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a home icon\"], [\"mat-icon-button\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a menu icon\"], [\"mat-icon-button\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a heart icon\"], [\"mat-icon-button\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a open in new tab icon\"], [1, \"example-button-container\"], [\"mat-fab\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a delete icon\"], [\"mat-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a bookmark icon\"], [\"mat-fab\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a home icon\"], [\"mat-fab\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a heart icon\"], [\"mat-mini-fab\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a menu icon\"], [\"mat-mini-fab\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a filter list icon\"], [\"mat-mini-fab\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a home icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(10, \"section\")(11, \"div\", 5);\n i0.ɵɵtext(12, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 6)(14, \"button\", 7);\n i0.ɵɵtext(15, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(16, \"button\", 8);\n i0.ɵɵtext(17, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(18, \"button\", 9);\n i0.ɵɵtext(19, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(20, \"button\", 10);\n i0.ɵɵtext(21, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 11);\n i0.ɵɵtext(23, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(24, \"a\", 12);\n i0.ɵɵtext(25, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(26, \"section\")(27, \"div\", 5);\n i0.ɵɵtext(28, \"Raised\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"div\", 6)(30, \"button\", 13);\n i0.ɵɵtext(31, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"button\", 14);\n i0.ɵɵtext(33, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(34, \"button\", 15);\n i0.ɵɵtext(35, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(36, \"button\", 16);\n i0.ɵɵtext(37, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(38, \"button\", 17);\n i0.ɵɵtext(39, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(40, \"a\", 18);\n i0.ɵɵtext(41, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(42, \"section\")(43, \"div\", 5);\n i0.ɵɵtext(44, \"Stroked\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(45, \"div\", 6)(46, \"button\", 19);\n i0.ɵɵtext(47, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(48, \"button\", 20);\n i0.ɵɵtext(49, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(50, \"button\", 21);\n i0.ɵɵtext(51, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(52, \"button\", 22);\n i0.ɵɵtext(53, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(54, \"button\", 23);\n i0.ɵɵtext(55, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(56, \"a\", 24);\n i0.ɵɵtext(57, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(58, \"section\")(59, \"div\", 5);\n i0.ɵɵtext(60, \"Flat\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(61, \"div\", 6)(62, \"button\", 25);\n i0.ɵɵtext(63, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(64, \"button\", 26);\n i0.ɵɵtext(65, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(66, \"button\", 27);\n i0.ɵɵtext(67, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(68, \"button\", 28);\n i0.ɵɵtext(69, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(70, \"button\", 29);\n i0.ɵɵtext(71, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(72, \"a\", 30);\n i0.ɵɵtext(73, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(74, \"section\")(75, \"div\", 5);\n i0.ɵɵtext(76, \"Icon\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(77, \"div\", 6)(78, \"div\", 31)(79, \"button\", 32)(80, \"mat-icon\");\n i0.ɵɵtext(81, \"more_vert\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(82, \"button\", 33)(83, \"mat-icon\");\n i0.ɵɵtext(84, \"home\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(85, \"button\", 34)(86, \"mat-icon\");\n i0.ɵɵtext(87, \"menu\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(88, \"button\", 35)(89, \"mat-icon\");\n i0.ɵɵtext(90, \"favorite\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(91, \"button\", 36)(92, \"mat-icon\");\n i0.ɵɵtext(93, \"open_in_new\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(94, \"section\")(95, \"div\", 5);\n i0.ɵɵtext(96, \"FAB\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(97, \"div\", 6)(98, \"div\", 31)(99, \"div\", 37)(100, \"button\", 38)(101, \"mat-icon\");\n i0.ɵɵtext(102, \"delete\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(103, \"div\", 37)(104, \"button\", 39)(105, \"mat-icon\");\n i0.ɵɵtext(106, \"bookmark\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(107, \"div\", 37)(108, \"button\", 40)(109, \"mat-icon\");\n i0.ɵɵtext(110, \"home\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(111, \"div\", 37)(112, \"button\", 41)(113, \"mat-icon\");\n i0.ɵɵtext(114, \"favorite\");\n i0.ɵɵelementEnd()()()()()();\n i0.ɵɵelementStart(115, \"section\")(116, \"div\", 5);\n i0.ɵɵtext(117, \"Mini FAB\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(118, \"div\", 6)(119, \"div\", 31)(120, \"div\", 37)(121, \"button\", 42)(122, \"mat-icon\");\n i0.ɵɵtext(123, \"menu\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(124, \"div\", 37)(125, \"button\", 4)(126, \"mat-icon\");\n i0.ɵɵtext(127, \"plus_one\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(128, \"div\", 37)(129, \"button\", 43)(130, \"mat-icon\");\n i0.ɵɵtext(131, \"filter_list\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(132, \"div\", 37)(133, \"button\", 44)(134, \"mat-icon\");\n i0.ɵɵtext(135, \"home\");\n i0.ɵɵelementEnd()()()()()()();\n i0.ɵɵelementStart(136, \"div\", 45)(137, \"div\", 46);\n i0.ɵɵelement(138, \"app-dir-group-table\", 47, 48);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(140, \"div\", 46);\n i0.ɵɵelement(141, \"app-dir-user-table\", 49, 50);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(138);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatAnchor, i3.MatButton, i3.MatIconButton, i3.MatMiniFabButton, i3.MatFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
Basic
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Link\r\n
\r\n
\r\n \r\n
\r\n
Raised
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Link\r\n
\r\n
\r\n\r\n
\r\n
Stroked
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Link\r\n
\r\n
\r\n\r\n
\r\n
Flat
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Link\r\n
\r\n
\r\n\r\n
\r\n
Icon
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
FAB
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
Mini FAB
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AA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f,EAAA,CAAAU,cAAA,gBAAsC;QAExBV,EAAA,CAAAa,MAAA,iBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAOvCf,EAAA,CAAAU,cAAA,gBAAS;QACoBV,EAAA,CAAAa,MAAA,iBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAM;QACzCf,EAAA,CAAAU,cAAA,eAAgC;QAIdV,EAAA,CAAAa,MAAA,aAAI;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAG7Bf,EAAA,CAAAU,cAAA,gBAAsC;QAExBV,EAAA,CAAAa,MAAA,iBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGjCf,EAAA,CAAAU,cAAA,gBAAsC;QAExBV,EAAA,CAAAa,MAAA,oBAAW;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGpCf,EAAA,CAAAU,cAAA,gBAAsC;QAExBV,EAAA,CAAAa,MAAA,aAAI;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAQzCf,EAAA,CAAAU,cAAA,gBAA2C;QAEnCV,EAAA,CAAAc,SAAA,oCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,gBAA2B;QACvBV,EAAA,CAAAc,SAAA,mCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,KAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7b759a2e6f4eac531fa762a771b68e6528099c4c4aa3f56f634ae496cd1aa3f0.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7b759a2e6f4eac531fa762a771b68e6528099c4c4aa3f56f634ae496cd1aa3f0.json new file mode 100644 index 0000000..bedb882 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7b759a2e6f4eac531fa762a771b68e6528099c4c4aa3f56f634ae496cd1aa3f0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IAC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AAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAG8CV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QACvHf,EAAA,CAAAU,cAAA,gBAA0F;QAC5EV,EAAA,CAAAa,MAAA,eAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAK7Cf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7bc3206ef3c55449d4f59cb2bf587c135fde94f53bfdf0d0eded43b838fa198e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7bc3206ef3c55449d4f59cb2bf587c135fde94f53bfdf0d0eded43b838fa198e.json new file mode 100644 index 0000000..0c75638 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7bc3206ef3c55449d4f59cb2bf587c135fde94f53bfdf0d0eded43b838fa198e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,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AA,CAAsC;QAGxCwC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7c51cc5037da4fc9acb83d75e7bdb6ca3c06398728dbea81e5cef469a494d9c0.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7c51cc5037da4fc9acb83d75e7bdb6ca3c06398728dbea81e5cef469a494d9c0.json new file mode 100644 index 0000000..e7a06d2 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7c51cc5037da4fc9acb83d75e7bdb6ca3c06398728dbea81e5cef469a494d9c0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class UserService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n getByModuleId(moduleId, assigned = true) {\n const url = `${this.baseUrl}/ByModuleId/${moduleId}?assigned=${assigned}`;\n return this.http.get(url);\n }\n getByGroupId(groupId, assigned = true) {\n const url = `${this.baseUrl}/ByGroupId/${groupId}?assigned=${assigned}`;\n return this.http.get(url);\n }\n createByAd(createModel) {\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\n }\n static #_ = this.ɵfac = function UserService_Factory(t) {\n return new (t || UserService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('USER_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: UserService,\n factory: UserService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["ApiService","UserService","constructor","http","userUri","getByModuleId","moduleId","assigned","url","baseUrl","get","getByGroupId","groupId","createByAd","createModel","post","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\user.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { DirUser, User } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService extends ApiService {\r\n constructor(http: HttpClient, @Inject('USER_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n getByModuleId(moduleId: number, assigned: boolean = true): Observable> {\r\n const url = `${this.baseUrl}/ByModuleId/${moduleId}?assigned=${assigned}`;\r\n return this.http.get>(url);\r\n }\r\n\r\n getByGroupId(groupId: number, assigned: boolean = true): Observable> {\r\n const url = `${this.baseUrl}/ByGroupId/${groupId}?assigned=${assigned}`;\r\n return this.http.get>(url);\r\n }\r\n\r\n createByAd(createModel: DirUser): Observable {\r\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\r\n }\r\n}"],"mappings":"AAGA,SAASA,UAAU,QAAQ,+BAA+B;;;AAO1D,OAAM,MAAOC,WAAY,SAAQD,UAAgB;EAC/CE,YAAYC,IAAgB,EAA8BC,OAAe;IACvE,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IADoC,KAAAA,OAAO,GAAPA,OAAO;EAEjE;EAEAC,aAAaA,CAACC,QAAgB,EAAEC,QAAA,GAAoB,IAAI;IACtD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,eAAeH,QAAQ,aAAaC,QAAQ,EAAE;IACzE,OAAO,IAAI,CAACJ,IAAI,CAACO,GAAG,CAA2BF,GAAG,CAAC;EACrD;EAEAG,YAAYA,CAACC,OAAe,EAAEL,QAAA,GAAoB,IAAI;IACpD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,cAAcG,OAAO,aAAaL,QAAQ,EAAE;IACvE,OAAO,IAAI,CAACJ,IAAI,CAACO,GAAG,CAA2BF,GAAG,CAAC;EACrD;EAEAK,UAAUA,CAACC,WAAoB;IAC7B,OAAO,IAAI,CAACX,IAAI,CAACY,IAAI,CAAU,GAAG,IAAI,CAACN,OAAO,QAAQ,EAAEK,WAAW,CAAC;EACtE;EAAC,QAAAE,CAAA,G;qBAjBUf,WAAW,EAAAgB,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACgB,UAAU;EAAA;EAAA,QAAAG,EAAA,G;WADrCpB,WAAW;IAAAqB,OAAA,EAAXrB,WAAW,CAAAsB,IAAA;IAAAC,UAAA,EAFV;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f712e4b141cd53e278c2433075850d780a07cd78a560a2f3fc80d049c0f3952.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f712e4b141cd53e278c2433075850d780a07cd78a560a2f3fc80d049c0f3952.json new file mode 100644 index 0000000..418635c --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f712e4b141cd53e278c2433075850d780a07cd78a560a2f3fc80d049c0f3952.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 5);\n i0.ɵɵelement(10, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE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A,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f79358f49291e667d97ebc0a288cee710e44c9f0d17d4cf82fea732985ed95f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f79358f49291e667d97ebc0a288cee710e44c9f0d17d4cf82fea732985ed95f.json new file mode 100644 index 0000000..03b9659 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f79358f49291e667d97ebc0a288cee710e44c9f0d17d4cf82fea732985ed95f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 15,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(5, \"Benutzer\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 6);\n i0.ɵɵelement(10, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"div\", 6);\n i0.ɵɵelement(13, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAgGD,KAAAE,sBAAsB,GAAIC,IAA2B,IAAI;MACvD,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAACE,MAAM,CAACC,cAAc;QACnE,IAAI,CAACC,QAAQ,CAACC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diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f805132bb6cca3f1905816213c1abf4a37b1a273776a9ba49e5f48b22730ad9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f805132bb6cca3f1905816213c1abf4a37b1a273776a9ba49e5f48b22730ad9.json new file mode 100644 index 0000000..5c94f34 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7f805132bb6cca3f1905816213c1abf4a37b1a273776a9ba49e5f48b22730ad9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class GroupOfUserService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n deleteByGroupUserId(groupId, userId) {\n const url = `${this.baseUrl}?groupId=${groupId}&userId=${userId}`;\n return this.http.delete(url);\n }\n getAll(withUser = false, withGroup = false) {\n let params = new HttpParams();\n if (withUser) {\n params = params.set('withUser', withUser);\n }\n if (withGroup) {\n params = params.set('withGroup', withGroup);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function GroupOfUserService_Factory(t) {\n return new (t || GroupOfUserService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('GROUP_OF_USER_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: GroupOfUserService,\n factory: GroupOfUserService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","ApiService","GroupOfUserService","constructor","http","userUri","deleteByGroupUserId","groupId","userId","url","baseUrl","delete","getAll","withUser","withGroup","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\group-of-user.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { GroupOfUser } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GroupOfUserService extends ApiService {\r\n constructor(http: HttpClient, @Inject('GROUP_OF_USER_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n deleteByGroupUserId(groupId: number, userId: number): Observable> {\r\n const url = `${this.baseUrl}?groupId=${groupId}&userId=${userId}`;\r\n return this.http.delete>(url);\r\n }\r\n\r\n override getAll(withUser: boolean = false, withGroup: boolean = false): Observable> {\r\n let params = new HttpParams();\r\n if (withUser) {\r\n params = params.set('withUser', withUser);\r\n }\r\n if (withGroup) {\r\n params = params.set('withGroup', withGroup);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AACA,SAAqBA,UAAU,QAAQ,sBAAsB;AAE7D,SAASC,UAAU,QAAQ,+BAA+B;;;AAO1D,OAAM,MAAOC,kBAAmB,SAAQD,UAAuB;EAC7DE,YAAYC,IAAgB,EAAuCC,OAAe;IAChF,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IAD6C,KAAAA,OAAO,GAAPA,OAAO;EAE1E;EAEAC,mBAAmBA,CAACC,OAAe,EAAEC,MAAc;IACjD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,YAAYH,OAAO,WAAWC,MAAM,EAAE;IACjE,OAAO,IAAI,CAACJ,IAAI,CAACO,MAAM,CAAwBF,GAAG,CAAC;EACrD;EAESG,MAAMA,CAACC,QAAA,GAAoB,KAAK,EAAEC,SAAA,GAAqB,KAAK;IACnE,IAAIC,MAAM,GAAG,IAAIf,UAAU,EAAE;IAC7B,IAAIa,QAAQ,EAAE;MACZE,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,UAAU,EAAEH,QAAQ,CAAC;;IAE3C,IAAIC,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACV,IAAI,CAACa,GAAG,CAAkC,IAAI,CAACP,OAAO,EAAE;MAAEK;IAAM,CAAE,CAAC;EACjF;EAAC,QAAAG,CAAA,G;qBApBUhB,kBAAkB,EAAAiB,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACS,mBAAmB;EAAA;EAAA,QAAAG,EAAA,G;WAD9CrB,kBAAkB;IAAAsB,OAAA,EAAlBtB,kBAAkB,CAAAuB,IAAA;IAAAC,UAAA,EAFjB;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7fa9eb797c8f986daba3161ff96fbfddd140784839d13216404e13e7fea0b08d.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7fa9eb797c8f986daba3161ff96fbfddd140784839d13216404e13e7fea0b08d.json new file mode 100644 index 0000000..0c43303 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/7fa9eb797c8f986daba3161ff96fbfddd140784839d13216404e13e7fea0b08d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uS) {\n this.gService = gService;\n this.uS = uS;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uS","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","fetchDataByGroupName","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uS: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,EAAc;IAA9C,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,EAAE,GAAFA,EAAE;IAFtD,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACv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gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAxD,qBAAA,CAAsC,mBAAAwD,GAAA,CAAAhB,sBAAA;QAGxCK,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAzD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/808361497fac9581b56699505653c4176621bf226e668b1cfa8a885cd087d25f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/808361497fac9581b56699505653c4176621bf226e668b1cfa8a885cd087d25f.json new file mode 100644 index 0000000..84ddfb6 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/808361497fac9581b56699505653c4176621bf226e668b1cfa8a885cd087d25f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nconst _c0 = [\"dirGroups\"];\nexport class GroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {}\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function GroupDirImportComponent_Factory(t) {\n return new (t || GroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupDirImportComponent,\n selectors: [[\"app-group-dir-import\"]],\n viewQuery: function GroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n }\n },\n decls: 12,\n vars: 1,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"]],\n template: function GroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function GroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 6);\n i0.ɵɵelement(10, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","GroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","ngOnInit","ngAfterViewInit","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","samaccountname","source","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","GroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\n\r\n@Component({\r\n selector: 'app-group-dir-import',\r\n templateUrl: './group-dir-import.component.html',\r\n styleUrl: './group-dir-import.component.css'\r\n})\r\nexport class GroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;AAQrD,OAAM,MAAOC,uBAAuB;EAIlCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAc3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB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;MAC9D,CAAC;MACDC,KAAK,EAAGjB,GAAG,IAAI;QACb;QACAC,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEF,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAkB,CAAA,G;qBAtEU1C,uBAAuB,EAAA2C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAvB/C,uBAAuB;IAAAgD,SAAA;IAAAC,SAAA,WAAAC,8BAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;QCbpCR,EAAA,CAAAU,cAAA,aAAyB;QAKLV,EAAA,CAAAW,UAAA,mBAAAC,yDAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;;;QAD8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAhD,qBAAA,CAAsC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/80ee200cb645504464f9727c7bb073da4357ac3c22d2a4f7582080e3d81d9d3a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/80ee200cb645504464f9727c7bb073da4357ac3c22d2a4f7582080e3d81d9d3a.json new file mode 100644 index 0000000..1e24fa6 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/80ee200cb645504464f9727c7bb073da4357ac3c22d2a4f7582080e3d81d9d3a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 14,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(7, \"div\", 4)(8, \"div\", 5);\n i0.ɵɵelement(9, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(11, \"div\", 5);\n i0.ɵɵelement(12, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(9);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IAAI,CAACtB,QAAQ,CAACuB,UAAU,CA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A,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAInIf,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAc,SAAA,gCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/815dcbcd5c1cdeae62758f75a417deadda0299280b46b47896d111dd97e541f8.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/815dcbcd5c1cdeae62758f75a417deadda0299280b46b47896d111dd97e541f8.json new file mode 100644 index 0000000..c174d47 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/815dcbcd5c1cdeae62758f75a417deadda0299280b46b47896d111dd97e541f8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(rows[rows.length - 1].source.samaccountname);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService, public dirService: DirService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName:string = rows[rows.length - 1].source.samaccountname;\r\n console.log(rows[rows.length - 1].source.samaccountname)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB,EAASC,UAAsB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAuB,KAAAC,UAAU,GAAVA,UAAU;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;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AAAhB,gBAAA,EAAkB;QAAA,EAAC;QAACK,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAvD,qBAAA,CAAsC,mBAAAuD,GAAA,CAAAf,sBAAA;QAGxCI,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAxD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8552fbd7eac2ba6ceb2d251a7b545e0dcfe87c1cedbda74a0391d53b491f8526.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8552fbd7eac2ba6ceb2d251a7b545e0dcfe87c1cedbda74a0391d53b491f8526.json new file mode 100644 index 0000000..fba12b2 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8552fbd7eac2ba6ceb2d251a7b545e0dcfe87c1cedbda74a0391d53b491f8526.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService, public dirService: DirService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAA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D,EAAA;;;;;;;;;;;;;;;QCfxCV,EAAA,CAAAY,cAAA,aAAyB;QAKLZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAjD,iBAAA,EAAmB;QAAA,EAAC;QAACsC,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAApB,gBAAA,EAAkB;QAAA,EAAC;QAACS,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA3D,qBAAA,CAAsC,mBAAA2D,GAAA,CAAAnB,sBAAA;QAGxCQ,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA5D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/858a0c75691d457ec415fda57162829959ea747fe3e1ff69d241ba1ccec2d5b8.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/858a0c75691d457ec415fda57162829959ea747fe3e1ff69d241ba1ccec2d5b8.json new file mode 100644 index 0000000..0a554d4 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/858a0c75691d457ec415fda57162829959ea747fe3e1ff69d241ba1ccec2d5b8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class GroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function GroupDirImportComponent_Factory(t) {\n return new (t || GroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupDirImportComponent,\n selectors: [[\"app-group-dir-import\"]],\n viewQuery: function GroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"]],\n template: function GroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function GroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 1);\n i0.ɵɵelement(10, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","GroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","GroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-group-dir-import',\r\n templateUrl: './group-dir-import.component.html',\r\n styleUrl: './group-dir-import.component.css'\r\n})\r\nexport class GroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AAUrD,OAAM,MAAOC,uBAAuB;EAIlCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,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QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,aAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;;;QAD8BjB,EAAA,CAAAkB,SAAA,IAAsC;QAAtClB,EAAA,CAAAmB,UAAA,iBAAAR,GAAA,CAAAlE,qBAAA,CAAsC,mBAAAkE,GAAA,CAAA3D,sBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8a5570b5c3350f8c878a608af226048520bcc4a07dd43a2f567fd5d4cd06e4ea.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8a5570b5c3350f8c878a608af226048520bcc4a07dd43a2f567fd5d4cd06e4ea.json new file mode 100644 index 0000000..764a3c7 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8a5570b5c3350f8c878a608af226048520bcc4a07dd43a2f567fd5d4cd06e4ea.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname,\n addedWho: 'DEFAULT',\n active: true,\n dateFormat: \"dd.MM.yyyy\",\n language: \"de-DE\"\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","addedWho","active","dateFormat","language","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n addedWho: 'DEFAULT',\r\n active:true,\r\n dateFormat:\"dd.MM.yyyy\",\r\n language:\"de-DE\"\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,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LZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAApD,iBAAA,EAAmB;QAAA,EAAC;QAACyC,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAA1B,gBAAA,EAAkB;QAAA,EAAC;QAACe,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAtE,qBAAA,CAAsC,mBAAAsE,GAAA,CAAA/D,sBAAA;QAGxCoD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAvE,eAAA,CAA4B,iBAAAuE,GAAA,CAAAhE,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8c503a4ef39ac3a5bb7e56f3a58b303d72fa33d3949f0434470a31ab211d6157.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8c503a4ef39ac3a5bb7e56f3a58b303d72fa33d3949f0434470a31ab211d6157.json new file mode 100644 index 0000000..0a9e19e --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8c503a4ef39ac3a5bb7e56f3a58b303d72fa33d3949f0434470a31ab211d6157.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByAd( row?.source ).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,Q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AAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAxD,qBAAA,CAAsC,mBAAAwD,GAAA,CAAAlD,sBAAA;QAGxCuC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAzD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8db63230681208be2cdec60241b808f255b900685a4236dc16b5e6c1eb87d794.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8db63230681208be2cdec60241b808f255b900685a4236dc16b5e6c1eb87d794.json new file mode 100644 index 0000000..239ba41 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8db63230681208be2cdec60241b808f255b900685a4236dc16b5e6c1eb87d794.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class UserService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n getByModuleId(moduleId, assigned = true) {\n const url = `${this.baseUrl}/ByModuleId/${moduleId}?assigned=${assigned}`;\n return this.http.get(url);\n }\n getByGroupId(groupId, assigned = true) {\n const url = `${this.baseUrl}/ByGroupId/${groupId}?assigned=${assigned}`;\n return this.http.get(url);\n }\n createByDir(createModel) {\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\n }\n static #_ = this.ɵfac = function UserService_Factory(t) {\n return new (t || UserService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('USER_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: UserService,\n factory: UserService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["ApiService","UserService","constructor","http","userUri","getByModuleId","moduleId","assigned","url","baseUrl","get","getByGroupId","groupId","createByDir","createModel","post","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\user.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { DirUser, User } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService extends ApiService {\r\n constructor(http: HttpClient, @Inject('USER_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n getByModuleId(moduleId: number, assigned: boolean = true): Observable> {\r\n const url = `${this.baseUrl}/ByModuleId/${moduleId}?assigned=${assigned}`;\r\n return this.http.get>(url);\r\n }\r\n\r\n getByGroupId(groupId: number, assigned: boolean = true): Observable> {\r\n const url = `${this.baseUrl}/ByGroupId/${groupId}?assigned=${assigned}`;\r\n return this.http.get>(url);\r\n }\r\n\r\n createByDir(createModel: DirUser): Observable {\r\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\r\n }\r\n}"],"mappings":"AAGA,SAASA,UAAU,QAAQ,+BAA+B;;;AAO1D,OAAM,MAAOC,WAAY,SAAQD,UAAgB;EAC/CE,YAAYC,IAAgB,EAA8BC,OAAe;IACvE,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IADoC,KAAAA,OAAO,GAAPA,OAAO;EAEjE;EAEAC,aAAaA,CAACC,QAAgB,EAAEC,QAAA,GAAoB,IAAI;IACtD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,eAAeH,QAAQ,aAAaC,QAAQ,EAAE;IACzE,OAAO,IAAI,CAACJ,IAAI,CAACO,GAAG,CAA2BF,GAAG,CAAC;EACrD;EAEAG,YAAYA,CAACC,OAAe,EAAEL,QAAA,GAAoB,IAAI;IACpD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,cAAcG,OAAO,aAAaL,QAAQ,EAAE;IACvE,OAAO,IAAI,CAACJ,IAAI,CAACO,GAAG,CAA2BF,GAAG,CAAC;EACrD;EAEAK,WAAWA,CAACC,WAAoB;IAC9B,OAAO,IAAI,CAACX,IAAI,CAACY,IAAI,CAAU,GAAG,IAAI,CAACN,OAAO,QAAQ,EAAEK,WAAW,CAAC;EACtE;EAAC,QAAAE,CAAA,G;qBAjBUf,WAAW,EAAAgB,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACgB,UAAU;EAAA;EAAA,QAAAG,EAAA,G;WADrCpB,WAAW;IAAAqB,OAAA,EAAXrB,WAAW,CAAAsB,IAAA;IAAAC,UAAA,EAFV;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8e92101dadd0864434b16b1a82932c50724d72c76a101f7b29a18d95baad947c.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8e92101dadd0864434b16b1a82932c50724d72c76a101f7b29a18d95baad947c.json new file mode 100644 index 0000000..78cbded --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/8e92101dadd0864434b16b1a82932c50724d72c76a101f7b29a18d95baad947c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\"], [1, \"navbar\", \"bg-body-tertiary\", \"pe-0\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"pe-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 8);\n i0.ɵɵelement(10, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IAAI,CAACtB,QAAQ,CAACuB,UAAU,CAAC;QAAEH,cAAc,EAAEL,GAAG,EAA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A,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAIxHd,EAAA,CAAAU,cAAA,aAAmC;QAE3BV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAAwB;QACpBV,EAAA,CAAAe,SAAA,iCAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9355ba10b337beac4df17415c9bef7e1adc0414504d5580ef0e9c5de64a7de93.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9355ba10b337beac4df17415c9bef7e1adc0414504d5580ef0e9c5de64a7de93.json new file mode 100644 index 0000000..5b7c521 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9355ba10b337beac4df17415c9bef7e1adc0414504d5580ef0e9c5de64a7de93.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 76,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵtext(68, \" \");\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(69, \"svg\", 38);\n i0.ɵɵelement(70, \"circle\", 39)(71, \"path\", 40)(72, \"path\", 41)(73, \"path\", 42)(74, \"path\", 43)(75, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {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g0NjtcclxuXHJcbiAgLS1icy1idG4tZm9udC13ZWlnaHQ6IDYwMDtcclxuICAtLWJzLWJ0bi1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n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A,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA8B;QAA9BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAK,GAAA,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/94a4f3c9c34f9a96572ce94591f79f221d95022dccdda4d7e53dc25749309d09.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/94a4f3c9c34f9a96572ce94591f79f221d95022dccdda4d7e53dc25749309d09.json new file mode 100644 index 0000000..1f4def3 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/94a4f3c9c34f9a96572ce94591f79f221d95022dccdda4d7e53dc25749309d09.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGro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UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAxC,iBAAA,EAAmB;QAAA,EAAC;QAAC6B,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAd,gBAAA,EAAkB;QAAA,EAAC;QAACG,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA1D,qBAAA,CAAsC,mBAAA0D,GAAA,CAAAnD,sBAAA;QAGxCwC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA3D,eAAA,CAA4B,iBAAA2D,GAAA,CAAApD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/95fcb5dd6d834dece7e0af4af889b25fc937f8e1b527baa1c8a1ad8eae0f4425.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/95fcb5dd6d834dece7e0af4af889b25fc937f8e1b527baa1c8a1ad8eae0f4425.json new file mode 100644 index 0000000..69e2b61 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/95fcb5dd6d834dece7e0af4af889b25fc937f8e1b527baa1c8a1ad8eae0f4425.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.http = http;\n this.baseUrl = baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { User } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL')baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n http: HttpClient;\r\n baseUrl: string;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAAoBC,OAAe;IAC7D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;EACxB;EAKAC,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA2B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC1E;EAAC,QAAAG,CAAA,G;qBAhBUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/97addf1bed3375a23883557ebd26ef7da3204ce7910dd2960360f047baef5b95.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/97addf1bed3375a23883557ebd26ef7da3204ce7910dd2960360f047baef5b95.json new file mode 100644 index 0000000..26db8be --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/97addf1bed3375a23883557ebd26ef7da3204ce7910dd2960360f047baef5b95.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 149,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"example-label\"], [1, \"example-button-row\"], [\"mat-button\", \"\"], [\"mat-button\", \"\", \"color\", \"primary\"], [\"mat-button\", \"\", \"color\", \"accent\"], [\"mat-button\", \"\", \"color\", \"warn\"], [\"mat-button\", \"\", \"disabled\", \"\"], [\"mat-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [\"mat-raised-button\", \"\"], [\"mat-raised-button\", \"\", \"color\", \"primary\"], [\"mat-raised-button\", \"\", \"color\", \"accent\"], [\"mat-raised-button\", \"\", \"color\", \"warn\"], [\"mat-raised-button\", \"\", \"disabled\", \"\"], [\"mat-raised-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [\"mat-stroked-button\", \"\"], [\"mat-stroked-button\", \"\", \"color\", \"primary\"], [\"mat-stroked-button\", \"\", \"color\", \"accent\"], [\"mat-stroked-button\", \"\", \"color\", \"warn\"], [\"mat-stroked-button\", \"\", \"disabled\", \"\"], [\"mat-stroked-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [\"mat-flat-button\", \"\"], [\"mat-flat-button\", \"\", \"color\", \"primary\"], [\"mat-flat-button\", \"\", \"color\", \"accent\"], [\"mat-flat-button\", \"\", \"color\", \"warn\"], [\"mat-flat-button\", \"\", \"disabled\", \"\"], [\"mat-flat-button\", \"\", \"href\", \"https://www.google.com/\", \"target\", \"_blank\"], [1, \"example-flex-container\"], [\"mat-icon-button\", \"\", \"aria-label\", \"Example icon button with a vertical three dot icon\"], [\"mat-icon-button\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a home icon\"], [\"mat-icon-button\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a menu icon\"], [\"mat-icon-button\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a heart icon\"], [\"mat-icon-button\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a open in new tab icon\"], [1, \"example-button-container\"], [\"mat-fab\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a delete icon\"], [\"mat-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a bookmark icon\"], [\"mat-fab\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a home icon\"], [\"mat-fab\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a heart icon\"], [\"mat-mini-fab\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a menu icon\"], [\"mat-mini-fab\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a filter list icon\"], [\"mat-mini-fab\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a home icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(10, \"section\")(11, \"div\", 5);\n i0.ɵɵtext(12, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 6)(14, \"button\", 7);\n i0.ɵɵtext(15, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(16, \"button\", 8);\n i0.ɵɵtext(17, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(18, \"button\", 9);\n i0.ɵɵtext(19, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(20, \"button\", 10);\n i0.ɵɵtext(21, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 11);\n i0.ɵɵtext(23, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(24, \"a\", 12);\n i0.ɵɵtext(25, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelement(26, \"mat-divider\");\n i0.ɵɵelementStart(27, \"section\")(28, \"div\", 5);\n i0.ɵɵtext(29, \"Raised\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(30, \"div\", 6)(31, \"button\", 13);\n i0.ɵɵtext(32, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(33, \"button\", 14);\n i0.ɵɵtext(34, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(35, \"button\", 15);\n i0.ɵɵtext(36, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(37, \"button\", 16);\n i0.ɵɵtext(38, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(39, \"button\", 17);\n i0.ɵɵtext(40, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(41, \"a\", 18);\n i0.ɵɵtext(42, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelement(43, \"mat-divider\");\n i0.ɵɵelementStart(44, \"section\")(45, \"div\", 5);\n i0.ɵɵtext(46, \"Stroked\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(47, \"div\", 6)(48, \"button\", 19);\n i0.ɵɵtext(49, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(50, \"button\", 20);\n i0.ɵɵtext(51, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(52, \"button\", 21);\n i0.ɵɵtext(53, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(54, \"button\", 22);\n i0.ɵɵtext(55, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(56, \"button\", 23);\n i0.ɵɵtext(57, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(58, \"a\", 24);\n i0.ɵɵtext(59, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelement(60, \"mat-divider\");\n i0.ɵɵelementStart(61, \"section\")(62, \"div\", 5);\n i0.ɵɵtext(63, \"Flat\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(64, \"div\", 6)(65, \"button\", 25);\n i0.ɵɵtext(66, \"Basic\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(67, \"button\", 26);\n i0.ɵɵtext(68, \"Primary\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(69, \"button\", 27);\n i0.ɵɵtext(70, \"Accent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(71, \"button\", 28);\n i0.ɵɵtext(72, \"Warn\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(73, \"button\", 29);\n i0.ɵɵtext(74, \"Disabled\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(75, \"a\", 30);\n i0.ɵɵtext(76, \"Link\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelement(77, \"mat-divider\");\n i0.ɵɵelementStart(78, \"section\")(79, \"div\", 5);\n i0.ɵɵtext(80, \"Icon\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(81, \"div\", 6)(82, \"div\", 31)(83, \"button\", 32)(84, \"mat-icon\");\n i0.ɵɵtext(85, \"more_vert\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(86, \"button\", 33)(87, \"mat-icon\");\n i0.ɵɵtext(88, \"home\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(89, \"button\", 34)(90, \"mat-icon\");\n i0.ɵɵtext(91, \"menu\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(92, \"button\", 35)(93, \"mat-icon\");\n i0.ɵɵtext(94, \"favorite\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(95, \"button\", 36)(96, \"mat-icon\");\n i0.ɵɵtext(97, \"open_in_new\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelement(98, \"mat-divider\");\n i0.ɵɵelementStart(99, \"section\")(100, \"div\", 5);\n i0.ɵɵtext(101, \"FAB\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(102, \"div\", 6)(103, \"div\", 31)(104, \"div\", 37)(105, \"button\", 38)(106, \"mat-icon\");\n i0.ɵɵtext(107, \"delete\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(108, \"div\", 37)(109, \"button\", 39)(110, \"mat-icon\");\n i0.ɵɵtext(111, \"bookmark\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(112, \"div\", 37)(113, \"button\", 40)(114, \"mat-icon\");\n i0.ɵɵtext(115, \"home\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(116, \"div\", 37)(117, \"button\", 41)(118, \"mat-icon\");\n i0.ɵɵtext(119, \"favorite\");\n i0.ɵɵelementEnd()()()()()();\n i0.ɵɵelement(120, \"mat-divider\");\n i0.ɵɵelementStart(121, \"section\")(122, \"div\", 5);\n i0.ɵɵtext(123, \"Mini FAB\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(124, \"div\", 6)(125, \"div\", 31)(126, \"div\", 37)(127, \"button\", 42)(128, \"mat-icon\");\n i0.ɵɵtext(129, \"menu\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(130, \"div\", 37)(131, \"button\", 4)(132, \"mat-icon\");\n i0.ɵɵtext(133, \"plus_one\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(134, \"div\", 37)(135, \"button\", 43)(136, \"mat-icon\");\n i0.ɵɵtext(137, \"filter_list\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(138, \"div\", 37)(139, \"button\", 44)(140, \"mat-icon\");\n i0.ɵɵtext(141, \"home\");\n i0.ɵɵelementEnd()()()()()()();\n i0.ɵɵelementStart(142, \"div\", 45)(143, \"div\", 46);\n i0.ɵɵelement(144, \"app-dir-group-table\", 47, 48);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(146, \"div\", 46);\n i0.ɵɵelement(147, \"app-dir-user-table\", 49, 50);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(144);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatAnchor, i3.MatButton, i3.MatIconButton, i3.MatMiniFabButton, i3.MatFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
Basic
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Link\r\n
\r\n
\r\n \r\n
\r\n
Raised
\r\n
\r\n \r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AA,iBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGjCf,EAAA,CAAAU,cAAA,gBAAsC;QAExBV,EAAA,CAAAa,MAAA,oBAAW;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGpCf,EAAA,CAAAU,cAAA,gBAAsC;QAExBV,EAAA,CAAAa,MAAA,aAAI;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAQzCf,EAAA,CAAAU,cAAA,gBAA2C;QAEnCV,EAAA,CAAAc,SAAA,oCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,gBAA2B;QACvBV,EAAA,CAAAc,SAAA,mCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,KAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/97d24976d217abe8363020b66f30a3c43e246e2bc7398aa20317b565ea9eed7c.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/97d24976d217abe8363020b66f30a3c43e246e2bc7398aa20317b565ea9eed7c.json new file mode 100644 index 0000000..f6784dd --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/97d24976d217abe8363020b66f30a3c43e246e2bc7398aa20317b565ea9eed7c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 5);\n i0.ɵɵelement(10, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n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AAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9999344164ed7e3ef9d1da9c309fdbb9b342aa65181f65621eddb59a70fb88b9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9999344164ed7e3ef9d1da9c309fdbb9b342aa65181f65621eddb59a70fb88b9.json new file mode 100644 index 0000000..bcfffc8 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9999344164ed7e3ef9d1da9c309fdbb9b342aa65181f65621eddb59a70fb88b9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-6\", \"ps-1\", \"ms-2\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClC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AAM,KAAK,IAAI,CAAC,CAACC,MAAM;MAC9D,CAAC;MACDC,KAAK,EAAGf,GAAG,IAAI;QACb;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAiB;QAETV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA2B;QACvBV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9d7b905209df854ed2d54ba437381d2533d09cc415939ea11ec11617ceadfb79.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9d7b905209df854ed2d54ba437381d2533d09cc415939ea11ec11617ceadfb79.json new file mode 100644 index 0000000..08ea283 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9d7b905209df854ed2d54ba437381d2533d09cc415939ea11ec11617ceadfb79.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUs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;;;;;;;;;;QCfxCV,EAAA,CAAAY,cAAA,aAAyB;QAKLZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAxC,iBAAA,EAAmB;QAAA,EAAC;QAAC6B,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAd,gBAAA,EAAkB;QAAA,EAAC;QAACG,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA1D,qBAAA,CAAsC,mBAAA0D,GAAA,CAAAnD,sBAAA;QAGxCwC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA3D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9e76b4e5b6c450b05cf86e5bf05f4fb00d1eabeaa6d3cf7b118eadde829598bb.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9e76b4e5b6c450b05cf86e5bf05f4fb00d1eabeaa6d3cf7b118eadde829598bb.json new file mode 100644 index 0000000..33bfe9b --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9e76b4e5b6c450b05cf86e5bf05f4fb00d1eabeaa6d3cf7b118eadde829598bb.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.isUsersNew = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.isUsersNew = true;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.dirUserOnSelectedRows = rows => {\n if (this.isUsersNew) {\n this.isUsersNew = false;\n this.dirGroups.safelyUnselectAll();\n }\n if (rows.length > 0) {}\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByDir(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","isUsersNew","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","dirUserOnSelectedRows","dirGroups","safelyUnselectAll","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","subscribe","next","results","filter","result","error","addSelectedUsers","createByDir","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByDir(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n isUsersNew: boolean = false;\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.isUsersNew = true;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n dirUserOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if(this.isUsersNew){\r\n this.isUsersNew=false;\r\n this.dirGroups.safelyUnselectAll();\r\n }\r\n\r\n if (rows.length > 0) {\r\n \r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IA0FD,KAAAE,UAAU,GAAY,KAAK;IAC3B,KAAAC,sBAAsB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gB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA5D,qBAAA,CAAsC,mBAAA4D,GAAA,CAAApD,sBAAA;QAGxCyC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA7D,eAAA,CAA4B,iBAAA6D,GAAA,CAAAtD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9ed79ca8aac0a638753430ccacc0e8a8066c18674893d1956871b63d5aa924f4.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9ed79ca8aac0a638753430ccacc0e8a8066c18674893d1956871b63d5aa924f4.json new file mode 100644 index 0000000..9e6f62c --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9ed79ca8aac0a638753430ccacc0e8a8066c18674893d1956871b63d5aa924f4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 68,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵelementEnd()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25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kb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAA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GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9f507067c64a9fc5983bbbb631272d7f783994af71b790abeb0364a2618c8c0f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9f507067c64a9fc5983bbbb631272d7f783994af71b790abeb0364a2618c8c0f.json new file mode 100644 index 0000000..99260c3 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/9f507067c64a9fc5983bbbb631272d7f783994af71b790abeb0364a2618c8c0f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(this.dirUsers.selectedRows);\n requests.push(this.uService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(this.dirUsers.selectedRows)\r\n requests.push(\r\n this.uService.createByAd(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IA2FD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE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AoB,UAAA,iBAAAT,GAAA,CAAAzD,qBAAA,CAAsC,mBAAAyD,GAAA,CAAAlD,sBAAA;QAGxCuC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA1D,eAAA,CAA4B,iBAAA0D,GAAA,CAAAnD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a0ad0cf41bedb9238c91c5c49baadb9b5f94a2a201e066d138450d2b4e4ef08f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a0ad0cf41bedb9238c91c5c49baadb9b5f94a2a201e066d138450d2b4e4ef08f.json new file mode 100644 index 0000000..56f73c0 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a0ad0cf41bedb9238c91c5c49baadb9b5f94a2a201e066d138450d2b4e4ef08f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵelement(9, \"app-dir-user-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,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EAAGf,GAAG,IAAI;QACb;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAyB;QAEjBV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAAmB;QACfV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a2dde26047a5df198e1182d52cd4aaadd00d073d5d97f95c84a1da0d227a88db.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a2dde26047a5df198e1182d52cd4aaadd00d073d5d97f95c84a1da0d227a88db.json new file mode 100644 index 0000000..9ce1045 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a2dde26047a5df198e1182d52cd4aaadd00d073d5d97f95c84a1da0d227a88db.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as i1 from '@angular/cdk/platform';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, inject, booleanAttribute, Directive, Input, numberAttribute, ANIMATION_MODULE_TYPE, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, NgModule } from '@angular/core';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { MatRippleLoader, MatCommonModule, MatRippleModule } from '@angular/material/core';\n\n/** Injection token that can be used to provide the default options the button component. */\nconst _c0 = [\"mat-button\", \"\"];\nconst _c1 = [[[\"\", 8, \"material-icons\", 3, \"iconPositionEnd\", \"\"], [\"mat-icon\", 3, \"iconPositionEnd\", \"\"], [\"\", \"matButtonIcon\", \"\", 3, \"iconPositionEnd\", \"\"]], \"*\", [[\"\", \"iconPositionEnd\", \"\", 8, \"material-icons\"], [\"mat-icon\", \"iconPositionEnd\", \"\"], [\"\", \"matButtonIcon\", \"\", \"iconPositionEnd\", \"\"]]];\nconst _c2 = [\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\", \"*\", \".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\"];\nconst _c3 = \".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\";\nconst _c4 = \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\";\nconst _c5 = [\"mat-fab\", \"\"];\nconst _c6 = [\"mat-mini-fab\", \"\"];\nconst _c7 = \".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\";\nconst _c8 = [\"mat-icon-button\", \"\"];\nconst _c9 = [\"*\"];\nconst _c10 = \".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\";\nconst MAT_BUTTON_CONFIG = new InjectionToken('MAT_BUTTON_CONFIG');\n/** Shared host configuration for all buttons */\nconst MAT_BUTTON_HOST = {\n '[attr.disabled]': '_getDisabledAttribute()',\n '[attr.aria-disabled]': '_getAriaDisabled()',\n '[class.mat-mdc-button-disabled]': 'disabled',\n '[class.mat-mdc-button-disabled-interactive]': 'disabledInteractive',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n // MDC automatically applies the primary theme color to the button, but we want to support\n // an unthemed version. If color is undefined, apply a CSS class that makes it easy to\n // select and style this \"theme\".\n '[class.mat-unthemed]': '!color',\n // Add a class that applies to all buttons. This makes it easier to target if somebody\n // wants to target all Material buttons.\n '[class.mat-mdc-button-base]': 'true',\n '[class]': 'color ? \"mat-\" + color : \"\"'\n};\n/** List of classes to add to buttons instances based on host attribute selector. */\nconst HOST_SELECTOR_MDC_CLASS_PAIR = [{\n attribute: 'mat-button',\n mdcClasses: ['mdc-button', 'mat-mdc-button']\n}, {\n attribute: 'mat-flat-button',\n mdcClasses: ['mdc-button', 'mdc-button--unelevated', 'mat-mdc-unelevated-button']\n}, {\n attribute: 'mat-raised-button',\n mdcClasses: ['mdc-button', 'mdc-button--raised', 'mat-mdc-raised-button']\n}, {\n attribute: 'mat-stroked-button',\n mdcClasses: ['mdc-button', 'mdc-button--outlined', 'mat-mdc-outlined-button']\n}, {\n attribute: 'mat-fab',\n mdcClasses: ['mdc-fab', 'mat-mdc-fab']\n}, {\n attribute: 'mat-mini-fab',\n mdcClasses: ['mdc-fab', 'mdc-fab--mini', 'mat-mdc-mini-fab']\n}, {\n attribute: 'mat-icon-button',\n mdcClasses: ['mdc-icon-button', 'mat-mdc-icon-button']\n}];\n/** Base class for all buttons. */\nclass MatButtonBase {\n /**\n * Reference to the MatRipple instance of the button.\n * @deprecated Considered an implementation detail. To be removed.\n * @breaking-change 17.0.0\n */\n get ripple() {\n return this._rippleLoader?.getRipple(this._elementRef.nativeElement);\n }\n set ripple(v) {\n this._rippleLoader?.attachRipple(this._elementRef.nativeElement, v);\n }\n /** Whether the ripple effect is disabled or not. */\n get disableRipple() {\n return this._disableRipple;\n }\n set disableRipple(value) {\n this._disableRipple = value;\n this._updateRippleDisabled();\n }\n /** Whether the button is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = value;\n this._updateRippleDisabled();\n }\n constructor(_elementRef, _platform, _ngZone, _animationMode) {\n this._elementRef = _elementRef;\n this._platform = _platform;\n this._ngZone = _ngZone;\n this._animationMode = _animationMode;\n this._focusMonitor = inject(FocusMonitor);\n /**\n * Handles the lazy creation of the MatButton ripple.\n * Used to improve initial load time of large applications.\n */\n this._rippleLoader = inject(MatRippleLoader);\n /** Whether this button is a FAB. Used to apply the correct class on the ripple. */\n this._isFab = false;\n this._disableRipple = false;\n this._disabled = false;\n const config = inject(MAT_BUTTON_CONFIG, {\n optional: true\n });\n const element = _elementRef.nativeElement;\n const classList = element.classList;\n this.disabledInteractive = config?.disabledInteractive ?? false;\n this._rippleLoader?.configureRipple(element, {\n className: 'mat-mdc-button-ripple'\n });\n // For each of the variant selectors that is present in the button's host\n // attributes, add the correct corresponding MDC classes.\n for (const {\n attribute,\n mdcClasses\n } of HOST_SELECTOR_MDC_CLASS_PAIR) {\n if (element.hasAttribute(attribute)) {\n classList.add(...mdcClasses);\n }\n }\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true);\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n this._rippleLoader?.destroyRipple(this._elementRef.nativeElement);\n }\n /** Focuses the button. */\n focus(origin = 'program', options) {\n if (origin) {\n this._focusMonitor.focusVia(this._elementRef.nativeElement, origin, options);\n } else {\n this._elementRef.nativeElement.focus(options);\n }\n }\n _getAriaDisabled() {\n if (this.ariaDisabled != null) {\n return this.ariaDisabled;\n }\n return this.disabled && this.disabledInteractive ? true : null;\n }\n _getDisabledAttribute() {\n return this.disabledInteractive || !this.disabled ? null : true;\n }\n _updateRippleDisabled() {\n this._rippleLoader?.setDisabled(this._elementRef.nativeElement, this.disableRipple || this.disabled);\n }\n static #_ = this.ɵfac = function MatButtonBase_Factory(t) {\n i0.ɵɵinvalidFactory();\n };\n static #_2 = this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: MatButtonBase,\n inputs: {\n color: \"color\",\n disableRipple: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"disableRipple\", \"disableRipple\", booleanAttribute],\n disabled: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"disabled\", \"disabled\", booleanAttribute],\n ariaDisabled: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"aria-disabled\", \"ariaDisabled\", booleanAttribute],\n disabledInteractive: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"disabledInteractive\", \"disabledInteractive\", booleanAttribute]\n },\n features: [i0.ɵɵInputTransformsFeature]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatButtonBase, [{\n type: Directive\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined\n }], {\n color: [{\n type: Input\n }],\n disableRipple: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n disabled: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n ariaDisabled: [{\n type: Input,\n args: [{\n transform: booleanAttribute,\n alias: 'aria-disabled'\n }]\n }],\n disabledInteractive: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }]\n });\n})();\n/** Shared host configuration for buttons using the `` tag. */\nconst MAT_ANCHOR_HOST = {\n '[attr.disabled]': '_getDisabledAttribute()',\n '[class.mat-mdc-button-disabled]': 'disabled',\n '[class.mat-mdc-button-disabled-interactive]': 'disabledInteractive',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n // Note that we ignore the user-specified tabindex when it's disabled for\n // consistency with the `mat-button` applied on native buttons where even\n // though they have an index, they're not tabbable.\n '[attr.tabindex]': 'disabled && !disabledInteractive ? -1 : tabIndex',\n '[attr.aria-disabled]': '_getDisabledAttribute()',\n // MDC automatically applies the primary theme color to the button, but we want to support\n // an unthemed version. If color is undefined, apply a CSS class that makes it easy to\n // select and style this \"theme\".\n '[class.mat-unthemed]': '!color',\n // Add a class that applies to all buttons. This makes it easier to target if somebody\n // wants to target all Material buttons.\n '[class.mat-mdc-button-base]': 'true',\n '[class]': 'color ? \"mat-\" + color : \"\"'\n};\n/**\n * Anchor button base.\n */\nclass MatAnchorBase extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n this._haltDisabledEvents = event => {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n }\n ngOnInit() {\n this._ngZone.runOutsideAngular(() => {\n this._elementRef.nativeElement.addEventListener('click', this._haltDisabledEvents);\n });\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._elementRef.nativeElement.removeEventListener('click', this._haltDisabledEvents);\n }\n _getAriaDisabled() {\n return this.ariaDisabled == null ? this.disabled : this.ariaDisabled;\n }\n static #_ = this.ɵfac = function MatAnchorBase_Factory(t) {\n i0.ɵɵinvalidFactory();\n };\n static #_2 = this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: MatAnchorBase,\n inputs: {\n tabIndex: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"tabIndex\", \"tabIndex\", value => {\n return value == null ? undefined : numberAttribute(value);\n }]\n },\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatAnchorBase, [{\n type: Directive\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined\n }], {\n tabIndex: [{\n type: Input,\n args: [{\n transform: value => {\n return value == null ? undefined : numberAttribute(value);\n }\n }]\n }]\n });\n})();\n\n/**\n * Material Design button component. Users interact with a button to perform an action.\n * See https://material.io/components/buttons\n *\n * The `MatButton` class applies to native button elements and captures the appearances for\n * \"text button\", \"outlined button\", and \"contained button\" per the Material Design\n * specification. `MatButton` additionally captures an additional \"flat\" appearance, which matches\n * \"contained\" but without elevation.\n */\nclass MatButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static #_ = this.ɵfac = function MatButton_Factory(t) {\n return new (t || MatButton)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatButton,\n selectors: [[\"button\", \"mat-button\", \"\"], [\"button\", \"mat-raised-button\", \"\"], [\"button\", \"mat-flat-button\", \"\"], [\"button\", \"mat-stroked-button\", \"\"]],\n hostVars: 14,\n hostBindings: function MatButton_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"aria-disabled\", ctx._getAriaDisabled());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true);\n }\n },\n exportAs: [\"matButton\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c0,\n ngContentSelectors: _c2,\n decls: 7,\n vars: 4,\n consts: [[1, \"mat-mdc-button-persistent-ripple\"], [1, \"mdc-button__label\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatButton_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c1);\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementStart(2, \"span\", 1);\n i0.ɵɵprojection(3, 1);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(4, 2);\n i0.ɵɵelement(5, \"span\", 2)(6, \"span\", 3);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"mdc-button__ripple\", !ctx._isFab)(\"mdc-fab__ripple\", ctx._isFab);\n }\n },\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatButton, [{\n type: Component,\n args: [{\n selector: `\n button[mat-button], button[mat-raised-button], button[mat-flat-button],\n button[mat-stroked-button]\n `,\n host: MAT_BUTTON_HOST,\n exportAs: 'matButton',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }], null);\n})();\n/**\n * Material Design button component for anchor elements. Anchor elements are used to provide\n * links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons\n *\n * The `MatAnchor` class applies to native anchor elements and captures the appearances for\n * \"text button\", \"outlined button\", and \"contained button\" per the Material Design\n * specification. `MatAnchor` additionally captures an additional \"flat\" appearance, which matches\n * \"contained\" but without elevation.\n */\nclass MatAnchor extends MatAnchorBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static #_ = this.ɵfac = function MatAnchor_Factory(t) {\n return new (t || MatAnchor)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatAnchor,\n selectors: [[\"a\", \"mat-button\", \"\"], [\"a\", \"mat-raised-button\", \"\"], [\"a\", \"mat-flat-button\", \"\"], [\"a\", \"mat-stroked-button\", \"\"]],\n hostVars: 15,\n hostBindings: function MatAnchor_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"tabindex\", ctx.disabled && !ctx.disabledInteractive ? -1 : ctx.tabIndex)(\"aria-disabled\", ctx._getDisabledAttribute());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true);\n }\n },\n exportAs: [\"matButton\", \"matAnchor\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c0,\n ngContentSelectors: _c2,\n decls: 7,\n vars: 4,\n consts: [[1, \"mat-mdc-button-persistent-ripple\"], [1, \"mdc-button__label\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatAnchor_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c1);\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementStart(2, \"span\", 1);\n i0.ɵɵprojection(3, 1);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(4, 2);\n i0.ɵɵelement(5, \"span\", 2)(6, \"span\", 3);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"mdc-button__ripple\", !ctx._isFab)(\"mdc-fab__ripple\", ctx._isFab);\n }\n },\n styles: [_c3, _c4],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatAnchor, [{\n type: Component,\n args: [{\n selector: `a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]`,\n exportAs: 'matButton, matAnchor',\n host: MAT_ANCHOR_HOST,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }], null);\n})();\n\n/** Injection token to be used to override the default options for FAB. */\nconst MAT_FAB_DEFAULT_OPTIONS = new InjectionToken('mat-mdc-fab-default-options', {\n providedIn: 'root',\n factory: MAT_FAB_DEFAULT_OPTIONS_FACTORY\n});\n/** @docs-private */\nfunction MAT_FAB_DEFAULT_OPTIONS_FACTORY() {\n return {\n // The FAB by default has its color set to accent.\n color: 'accent'\n };\n}\n// Default FAB configuration.\nconst defaults = MAT_FAB_DEFAULT_OPTIONS_FACTORY();\n/**\n * Material Design floating action button (FAB) component. These buttons represent the primary\n * or most common action for users to interact with.\n * See https://material.io/components/buttons-floating-action-button/\n *\n * The `MatFabButton` class has two appearances: normal and extended.\n */\nclass MatFabButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static #_ = this.ɵfac = function MatFabButton_Factory(t) {\n return new (t || MatFabButton)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8), i0.ɵɵdirectiveInject(MAT_FAB_DEFAULT_OPTIONS, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatFabButton,\n selectors: [[\"button\", \"mat-fab\", \"\"]],\n hostVars: 18,\n hostBindings: function MatFabButton_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"aria-disabled\", ctx._getAriaDisabled());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true)(\"mdc-fab--extended\", ctx.extended)(\"mat-mdc-extended-fab\", ctx.extended);\n }\n },\n inputs: {\n extended: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"extended\", \"extended\", booleanAttribute]\n },\n exportAs: [\"matButton\"],\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c5,\n ngContentSelectors: _c2,\n decls: 7,\n vars: 4,\n consts: [[1, \"mat-mdc-button-persistent-ripple\"], [1, \"mdc-button__label\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatFabButton_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c1);\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementStart(2, \"span\", 1);\n i0.ɵɵprojection(3, 1);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(4, 2);\n i0.ɵɵelement(5, \"span\", 2)(6, \"span\", 3);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"mdc-button__ripple\", !ctx._isFab)(\"mdc-fab__ripple\", ctx._isFab);\n }\n },\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatFabButton, [{\n type: Component,\n args: [{\n selector: `button[mat-fab]`,\n host: {\n ...MAT_BUTTON_HOST,\n '[class.mdc-fab--extended]': 'extended',\n '[class.mat-mdc-extended-fab]': 'extended'\n },\n exportAs: 'matButton',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }]\n }], {\n extended: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }]\n });\n})();\n/**\n * Material Design mini floating action button (FAB) component. These buttons represent the primary\n * or most common action for users to interact with.\n * See https://material.io/components/buttons-floating-action-button/\n */\nclass MatMiniFabButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static #_ = this.ɵfac = function MatMiniFabButton_Factory(t) {\n return new (t || MatMiniFabButton)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8), i0.ɵɵdirectiveInject(MAT_FAB_DEFAULT_OPTIONS, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatMiniFabButton,\n selectors: [[\"button\", \"mat-mini-fab\", \"\"]],\n hostVars: 14,\n hostBindings: function MatMiniFabButton_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"aria-disabled\", ctx._getAriaDisabled());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true);\n }\n },\n exportAs: [\"matButton\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c6,\n ngContentSelectors: _c2,\n decls: 7,\n vars: 4,\n consts: [[1, \"mat-mdc-button-persistent-ripple\"], [1, \"mdc-button__label\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatMiniFabButton_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c1);\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementStart(2, \"span\", 1);\n i0.ɵɵprojection(3, 1);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(4, 2);\n i0.ɵɵelement(5, \"span\", 2)(6, \"span\", 3);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"mdc-button__ripple\", !ctx._isFab)(\"mdc-fab__ripple\", ctx._isFab);\n }\n },\n styles: [_c7],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatMiniFabButton, [{\n type: Component,\n args: [{\n selector: `button[mat-mini-fab]`,\n host: MAT_BUTTON_HOST,\n exportAs: 'matButton',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }]\n }], null);\n})();\n/**\n * Material Design floating action button (FAB) component for anchor elements. Anchor elements\n * are used to provide links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons-floating-action-button/\n *\n * The `MatFabAnchor` class has two appearances: normal and extended.\n */\nclass MatFabAnchor extends MatAnchor {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static #_ = this.ɵfac = function MatFabAnchor_Factory(t) {\n return new (t || MatFabAnchor)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8), i0.ɵɵdirectiveInject(MAT_FAB_DEFAULT_OPTIONS, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatFabAnchor,\n selectors: [[\"a\", \"mat-fab\", \"\"]],\n hostVars: 19,\n hostBindings: function MatFabAnchor_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"tabindex\", ctx.disabled && !ctx.disabledInteractive ? -1 : ctx.tabIndex)(\"aria-disabled\", ctx._getDisabledAttribute());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true)(\"mdc-fab--extended\", ctx.extended)(\"mat-mdc-extended-fab\", ctx.extended);\n }\n },\n inputs: {\n extended: [i0.ɵɵInputFlags.HasDecoratorInputTransform, \"extended\", \"extended\", booleanAttribute]\n },\n exportAs: [\"matButton\", \"matAnchor\"],\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c5,\n ngContentSelectors: _c2,\n decls: 7,\n vars: 4,\n consts: [[1, \"mat-mdc-button-persistent-ripple\"], [1, \"mdc-button__label\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatFabAnchor_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c1);\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementStart(2, \"span\", 1);\n i0.ɵɵprojection(3, 1);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(4, 2);\n i0.ɵɵelement(5, \"span\", 2)(6, \"span\", 3);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"mdc-button__ripple\", !ctx._isFab)(\"mdc-fab__ripple\", ctx._isFab);\n }\n },\n styles: [_c7],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatFabAnchor, [{\n type: Component,\n args: [{\n selector: `a[mat-fab]`,\n host: {\n ...MAT_ANCHOR_HOST,\n '[class.mdc-fab--extended]': 'extended',\n '[class.mat-mdc-extended-fab]': 'extended'\n },\n exportAs: 'matButton, matAnchor',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }]\n }], {\n extended: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }]\n });\n})();\n/**\n * Material Design mini floating action button (FAB) component for anchor elements. Anchor elements\n * are used to provide links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons-floating-action-button/\n */\nclass MatMiniFabAnchor extends MatAnchor {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static #_ = this.ɵfac = function MatMiniFabAnchor_Factory(t) {\n return new (t || MatMiniFabAnchor)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8), i0.ɵɵdirectiveInject(MAT_FAB_DEFAULT_OPTIONS, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatMiniFabAnchor,\n selectors: [[\"a\", \"mat-mini-fab\", \"\"]],\n hostVars: 15,\n hostBindings: function MatMiniFabAnchor_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"tabindex\", ctx.disabled && !ctx.disabledInteractive ? -1 : ctx.tabIndex)(\"aria-disabled\", ctx._getDisabledAttribute());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true);\n }\n },\n exportAs: [\"matButton\", \"matAnchor\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c6,\n ngContentSelectors: _c2,\n decls: 7,\n vars: 4,\n consts: [[1, \"mat-mdc-button-persistent-ripple\"], [1, \"mdc-button__label\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatMiniFabAnchor_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c1);\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementStart(2, \"span\", 1);\n i0.ɵɵprojection(3, 1);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(4, 2);\n i0.ɵɵelement(5, \"span\", 2)(6, \"span\", 3);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"mdc-button__ripple\", !ctx._isFab)(\"mdc-fab__ripple\", ctx._isFab);\n }\n },\n styles: [_c7],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatMiniFabAnchor, [{\n type: Component,\n args: [{\n selector: `a[mat-mini-fab]`,\n host: MAT_ANCHOR_HOST,\n exportAs: 'matButton, matAnchor',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }]\n }], null);\n})();\n\n/**\n * Material Design icon button component. This type of button displays a single interactive icon for\n * users to perform an action.\n * See https://material.io/develop/web/components/buttons/icon-buttons/\n */\nclass MatIconButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n this._rippleLoader.configureRipple(this._elementRef.nativeElement, {\n centered: true\n });\n }\n static #_ = this.ɵfac = function MatIconButton_Factory(t) {\n return new (t || MatIconButton)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatIconButton,\n selectors: [[\"button\", \"mat-icon-button\", \"\"]],\n hostVars: 14,\n hostBindings: function MatIconButton_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"aria-disabled\", ctx._getAriaDisabled());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true);\n }\n },\n exportAs: [\"matButton\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c8,\n ngContentSelectors: _c9,\n decls: 4,\n vars: 0,\n consts: [[1, \"mat-mdc-button-persistent-ripple\", \"mdc-icon-button__ripple\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatIconButton_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelement(2, \"span\", 1)(3, \"span\", 2);\n }\n },\n styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", _c4],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatIconButton, [{\n type: Component,\n args: [{\n selector: `button[mat-icon-button]`,\n host: MAT_BUTTON_HOST,\n exportAs: 'matButton',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }], null);\n})();\n/**\n * Material Design icon button component for anchor elements. This button displays a single\n * interaction icon that allows users to navigate across different routes or pages.\n * See https://material.io/develop/web/components/buttons/icon-buttons/\n */\nclass MatIconAnchor extends MatAnchorBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static #_ = this.ɵfac = function MatIconAnchor_Factory(t) {\n return new (t || MatIconAnchor)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));\n };\n static #_2 = this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: MatIconAnchor,\n selectors: [[\"a\", \"mat-icon-button\", \"\"]],\n hostVars: 15,\n hostBindings: function MatIconAnchor_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx._getDisabledAttribute())(\"tabindex\", ctx.disabled && !ctx.disabledInteractive ? -1 : ctx.tabIndex)(\"aria-disabled\", ctx._getDisabledAttribute());\n i0.ɵɵclassMap(ctx.color ? \"mat-\" + ctx.color : \"\");\n i0.ɵɵclassProp(\"mat-mdc-button-disabled\", ctx.disabled)(\"mat-mdc-button-disabled-interactive\", ctx.disabledInteractive)(\"_mat-animation-noopable\", ctx._animationMode === \"NoopAnimations\")(\"mat-unthemed\", !ctx.color)(\"mat-mdc-button-base\", true);\n }\n },\n exportAs: [\"matButton\", \"matAnchor\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n attrs: _c8,\n ngContentSelectors: _c2,\n decls: 7,\n vars: 4,\n consts: [[1, \"mat-mdc-button-persistent-ripple\"], [1, \"mdc-button__label\"], [1, \"mat-mdc-focus-indicator\"], [1, \"mat-mdc-button-touch-target\"]],\n template: function MatIconAnchor_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c1);\n i0.ɵɵelement(0, \"span\", 0);\n i0.ɵɵprojection(1);\n i0.ɵɵelementStart(2, \"span\", 1);\n i0.ɵɵprojection(3, 1);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(4, 2);\n i0.ɵɵelement(5, \"span\", 2)(6, \"span\", 3);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"mdc-button__ripple\", !ctx._isFab)(\"mdc-fab__ripple\", ctx._isFab);\n }\n },\n styles: [_c10, _c4],\n encapsulation: 2,\n changeDetection: 0\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatIconAnchor, [{\n type: Component,\n args: [{\n selector: `a[mat-icon-button]`,\n host: MAT_ANCHOR_HOST,\n exportAs: 'matButton, matAnchor',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\",\n styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"]\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1.Platform\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }], null);\n})();\nclass MatButtonModule {\n static #_ = this.ɵfac = function MatButtonModule_Factory(t) {\n return new (t || MatButtonModule)();\n };\n static #_2 = this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: MatButtonModule\n });\n static #_3 = this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [MatCommonModule, MatRippleModule, MatCommonModule]\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(MatButtonModule, [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, MatRippleModule, MatAnchor, MatButton, MatIconAnchor, MatMiniFabAnchor, MatMiniFabButton, MatIconButton, MatFabAnchor, MatFabButton],\n exports: [MatAnchor, MatButton, MatIconAnchor, MatIconButton, MatMiniFabAnchor, MatMiniFabButton, MatFabAnchor, MatFabButton, MatCommonModule]\n }]\n }], null, null);\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_BUTTON_CONFIG, MAT_FAB_DEFAULT_OPTIONS, MAT_FAB_DEFAULT_OPTIONS_FACTORY, MatAnchor, MatButton, MatButtonModule, MatFabAnchor, MatFabButton, MatIconAnchor, MatIconButton, MatMiniFabAnchor, MatMiniFabButton };","map":{"version":3,"names":["i1","i0","InjectionToken","inject","booleanAttribute","Directive","Input","numberAttribute","ANIMATION_MODULE_TYPE","Component","ViewEncapsulation","ChangeDetectionStrategy","Optional","Inject","NgModule","FocusMonitor","MatRippleLoader","MatCommonModule","MatRippleModule","_c0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","_c9","_c10","MAT_BUTTON_CONFIG","MAT_BUTTON_HOST","HOST_SELECTOR_MDC_CLASS_PAIR","attribute","mdcClasses","MatButtonBase","ripple","_rippleLoader","getRipple","_elementRef","nativeElement","v","attachRipple","disableRipple","_disableRipple","value","_updateRippleDisabled","disabled","_disabled","constructor","_platform","_ngZone","_animationMode","_focusMonitor","_isFab","config","optional","element","classList","disabledInteractive","configureRipple","className","hasAttribute","add","ngAfterViewInit","monitor","ngOnDestroy","stopMonitoring","destroyRipple","focus","origin","options","focusVia","_getAriaDisabled","ariaDisabled","_getDisabledAttribute","setDisabled","_","ɵfac","MatButtonBase_Factory","t","ɵɵinvalidFactory","_2","ɵdir","ɵɵdefineDirective","type","inputs","color","ɵɵInputFlags","HasDecoratorInputTransform","features","ɵɵInputTransformsFeature","ngDevMode","ɵsetClassMetadata","ElementRef","Platform","NgZone","undefined","args","transform","alias","MAT_ANCHOR_HOST","MatAnchorBase","elementRef","platform","ngZone","animationMode","_haltDisabledEvents","event","preventDefault","stopImmediatePropagation","ngOnInit","runOutsideAngular","addEventListener","removeEventListener","MatAnchorBase_Factory","tabIndex","ɵɵInheritDefinitionFeature","MatButton","MatButton_Factory","ɵɵdirectiveInject","ɵcmp","ɵɵdefineComponent","selectors","hostVars","hostBindings","MatButton_HostBindings","rf","ctx","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","exportAs","standalone","ɵɵStandaloneFeature","attrs","ngContentSelectors","decls","vars","consts","template","MatButton_Template","ɵɵprojectionDef","ɵɵelement","ɵɵprojection","ɵɵelementStart","ɵɵelementEnd","styles","encapsulation","changeDetection","selector","host","None","OnPush","decorators","MatAnchor","MatAnchor_Factory","MatAnchor_HostBindings","MatAnchor_Template","MAT_FAB_DEFAULT_OPTIONS","providedIn","factory","MAT_FAB_DEFAULT_OPTIONS_FACTORY","defaults","MatFabButton","_options","MatFabButton_Factory","MatFabButton_HostBindings","extended","MatFabButton_Template","MatMiniFabButton","MatMiniFabButton_Factory","MatMiniFabButton_HostBindings","MatMiniFabButton_Template","MatFabAnchor","MatFabAnchor_Factory","MatFabAnchor_HostBindings","MatFabAnchor_Template","MatMiniFabAnchor","MatMiniFabAnchor_Factory","MatMiniFabAnchor_HostBindings","MatMiniFabAnchor_Template","MatIconButton","centered","MatIconButton_Factory","MatIconButton_HostBindings","MatIconButton_Template","MatIconAnchor","MatIconAnchor_Factory","MatIconAnchor_HostBindings","MatIconAnchor_Template","MatButtonModule","MatButtonModule_Factory","ɵmod","ɵɵdefineNgModule","_3","ɵinj","ɵɵdefineInjector","imports","exports"],"sources":["E:/TekH/Visual Studio/DDWeb/DigitalData.UserManager/DigitalData.UserManager.NgWebUI/ClientApp/node_modules/@angular/material/fesm2022/button.mjs"],"sourcesContent":["import * as i1 from '@angular/cdk/platform';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, inject, booleanAttribute, Directive, Input, numberAttribute, ANIMATION_MODULE_TYPE, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, NgModule } from '@angular/core';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { MatRippleLoader, MatCommonModule, MatRippleModule } from '@angular/material/core';\n\n/** Injection token that can be used to provide the default options the button component. */\nconst MAT_BUTTON_CONFIG = new InjectionToken('MAT_BUTTON_CONFIG');\n/** Shared host configuration for all buttons */\nconst MAT_BUTTON_HOST = {\n '[attr.disabled]': '_getDisabledAttribute()',\n '[attr.aria-disabled]': '_getAriaDisabled()',\n '[class.mat-mdc-button-disabled]': 'disabled',\n '[class.mat-mdc-button-disabled-interactive]': 'disabledInteractive',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n // MDC automatically applies the primary theme color to the button, but we want to support\n // an unthemed version. If color is undefined, apply a CSS class that makes it easy to\n // select and style this \"theme\".\n '[class.mat-unthemed]': '!color',\n // Add a class that applies to all buttons. This makes it easier to target if somebody\n // wants to target all Material buttons.\n '[class.mat-mdc-button-base]': 'true',\n '[class]': 'color ? \"mat-\" + color : \"\"',\n};\n/** List of classes to add to buttons instances based on host attribute selector. */\nconst HOST_SELECTOR_MDC_CLASS_PAIR = [\n {\n attribute: 'mat-button',\n mdcClasses: ['mdc-button', 'mat-mdc-button'],\n },\n {\n attribute: 'mat-flat-button',\n mdcClasses: ['mdc-button', 'mdc-button--unelevated', 'mat-mdc-unelevated-button'],\n },\n {\n attribute: 'mat-raised-button',\n mdcClasses: ['mdc-button', 'mdc-button--raised', 'mat-mdc-raised-button'],\n },\n {\n attribute: 'mat-stroked-button',\n mdcClasses: ['mdc-button', 'mdc-button--outlined', 'mat-mdc-outlined-button'],\n },\n {\n attribute: 'mat-fab',\n mdcClasses: ['mdc-fab', 'mat-mdc-fab'],\n },\n {\n attribute: 'mat-mini-fab',\n mdcClasses: ['mdc-fab', 'mdc-fab--mini', 'mat-mdc-mini-fab'],\n },\n {\n attribute: 'mat-icon-button',\n mdcClasses: ['mdc-icon-button', 'mat-mdc-icon-button'],\n },\n];\n/** Base class for all buttons. */\nclass MatButtonBase {\n /**\n * Reference to the MatRipple instance of the button.\n * @deprecated Considered an implementation detail. To be removed.\n * @breaking-change 17.0.0\n */\n get ripple() {\n return this._rippleLoader?.getRipple(this._elementRef.nativeElement);\n }\n set ripple(v) {\n this._rippleLoader?.attachRipple(this._elementRef.nativeElement, v);\n }\n /** Whether the ripple effect is disabled or not. */\n get disableRipple() {\n return this._disableRipple;\n }\n set disableRipple(value) {\n this._disableRipple = value;\n this._updateRippleDisabled();\n }\n /** Whether the button is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = value;\n this._updateRippleDisabled();\n }\n constructor(_elementRef, _platform, _ngZone, _animationMode) {\n this._elementRef = _elementRef;\n this._platform = _platform;\n this._ngZone = _ngZone;\n this._animationMode = _animationMode;\n this._focusMonitor = inject(FocusMonitor);\n /**\n * Handles the lazy creation of the MatButton ripple.\n * Used to improve initial load time of large applications.\n */\n this._rippleLoader = inject(MatRippleLoader);\n /** Whether this button is a FAB. Used to apply the correct class on the ripple. */\n this._isFab = false;\n this._disableRipple = false;\n this._disabled = false;\n const config = inject(MAT_BUTTON_CONFIG, { optional: true });\n const element = _elementRef.nativeElement;\n const classList = element.classList;\n this.disabledInteractive = config?.disabledInteractive ?? false;\n this._rippleLoader?.configureRipple(element, { className: 'mat-mdc-button-ripple' });\n // For each of the variant selectors that is present in the button's host\n // attributes, add the correct corresponding MDC classes.\n for (const { attribute, mdcClasses } of HOST_SELECTOR_MDC_CLASS_PAIR) {\n if (element.hasAttribute(attribute)) {\n classList.add(...mdcClasses);\n }\n }\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true);\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n this._rippleLoader?.destroyRipple(this._elementRef.nativeElement);\n }\n /** Focuses the button. */\n focus(origin = 'program', options) {\n if (origin) {\n this._focusMonitor.focusVia(this._elementRef.nativeElement, origin, options);\n }\n else {\n this._elementRef.nativeElement.focus(options);\n }\n }\n _getAriaDisabled() {\n if (this.ariaDisabled != null) {\n return this.ariaDisabled;\n }\n return this.disabled && this.disabledInteractive ? true : null;\n }\n _getDisabledAttribute() {\n return this.disabledInteractive || !this.disabled ? null : true;\n }\n _updateRippleDisabled() {\n this._rippleLoader?.setDisabled(this._elementRef.nativeElement, this.disableRipple || this.disabled);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButtonBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"17.2.0\", type: MatButtonBase, inputs: { color: \"color\", disableRipple: [\"disableRipple\", \"disableRipple\", booleanAttribute], disabled: [\"disabled\", \"disabled\", booleanAttribute], ariaDisabled: [\"aria-disabled\", \"ariaDisabled\", booleanAttribute], disabledInteractive: [\"disabledInteractive\", \"disabledInteractive\", booleanAttribute] }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButtonBase, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined }], propDecorators: { color: [{\n type: Input\n }], disableRipple: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], disabled: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], ariaDisabled: [{\n type: Input,\n args: [{ transform: booleanAttribute, alias: 'aria-disabled' }]\n }], disabledInteractive: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }] } });\n/** Shared host configuration for buttons using the `` tag. */\nconst MAT_ANCHOR_HOST = {\n '[attr.disabled]': '_getDisabledAttribute()',\n '[class.mat-mdc-button-disabled]': 'disabled',\n '[class.mat-mdc-button-disabled-interactive]': 'disabledInteractive',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n // Note that we ignore the user-specified tabindex when it's disabled for\n // consistency with the `mat-button` applied on native buttons where even\n // though they have an index, they're not tabbable.\n '[attr.tabindex]': 'disabled && !disabledInteractive ? -1 : tabIndex',\n '[attr.aria-disabled]': '_getDisabledAttribute()',\n // MDC automatically applies the primary theme color to the button, but we want to support\n // an unthemed version. If color is undefined, apply a CSS class that makes it easy to\n // select and style this \"theme\".\n '[class.mat-unthemed]': '!color',\n // Add a class that applies to all buttons. This makes it easier to target if somebody\n // wants to target all Material buttons.\n '[class.mat-mdc-button-base]': 'true',\n '[class]': 'color ? \"mat-\" + color : \"\"',\n};\n/**\n * Anchor button base.\n */\nclass MatAnchorBase extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n this._haltDisabledEvents = (event) => {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n }\n ngOnInit() {\n this._ngZone.runOutsideAngular(() => {\n this._elementRef.nativeElement.addEventListener('click', this._haltDisabledEvents);\n });\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._elementRef.nativeElement.removeEventListener('click', this._haltDisabledEvents);\n }\n _getAriaDisabled() {\n return this.ariaDisabled == null ? this.disabled : this.ariaDisabled;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatAnchorBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"17.2.0\", type: MatAnchorBase, inputs: { tabIndex: [\"tabIndex\", \"tabIndex\", (value) => {\n return value == null ? undefined : numberAttribute(value);\n }] }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatAnchorBase, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined }], propDecorators: { tabIndex: [{\n type: Input,\n args: [{\n transform: (value) => {\n return value == null ? undefined : numberAttribute(value);\n },\n }]\n }] } });\n\n/**\n * Material Design button component. Users interact with a button to perform an action.\n * See https://material.io/components/buttons\n *\n * The `MatButton` class applies to native button elements and captures the appearances for\n * \"text button\", \"outlined button\", and \"contained button\" per the Material Design\n * specification. `MatButton` additionally captures an additional \"flat\" appearance, which matches\n * \"contained\" but without elevation.\n */\nclass MatButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MatButton, isStandalone: true, selector: \"\\n button[mat-button], button[mat-raised-button], button[mat-flat-button],\\n button[mat-stroked-button]\\n \", host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"attr.aria-disabled\": \"_getAriaDisabled()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButton, decorators: [{\n type: Component,\n args: [{ selector: `\n button[mat-button], button[mat-raised-button], button[mat-flat-button],\n button[mat-stroked-button]\n `, host: MAT_BUTTON_HOST, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }] });\n/**\n * Material Design button component for anchor elements. Anchor elements are used to provide\n * links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons\n *\n * The `MatAnchor` class applies to native anchor elements and captures the appearances for\n * \"text button\", \"outlined button\", and \"contained button\" per the Material Design\n * specification. `MatAnchor` additionally captures an additional \"flat\" appearance, which matches\n * \"contained\" but without elevation.\n */\nclass MatAnchor extends MatAnchorBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MatAnchor, isStandalone: true, selector: \"a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]\", host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled && !disabledInteractive ? -1 : tabIndex\", \"attr.aria-disabled\": \"_getDisabledAttribute()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]`, exportAs: 'matButton, matAnchor', host: MAT_ANCHOR_HOST, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }] });\n\n/** Injection token to be used to override the default options for FAB. */\nconst MAT_FAB_DEFAULT_OPTIONS = new InjectionToken('mat-mdc-fab-default-options', {\n providedIn: 'root',\n factory: MAT_FAB_DEFAULT_OPTIONS_FACTORY,\n});\n/** @docs-private */\nfunction MAT_FAB_DEFAULT_OPTIONS_FACTORY() {\n return {\n // The FAB by default has its color set to accent.\n color: 'accent',\n };\n}\n// Default FAB configuration.\nconst defaults = MAT_FAB_DEFAULT_OPTIONS_FACTORY();\n/**\n * Material Design floating action button (FAB) component. These buttons represent the primary\n * or most common action for users to interact with.\n * See https://material.io/components/buttons-floating-action-button/\n *\n * The `MatFabButton` class has two appearances: normal and extended.\n */\nclass MatFabButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatFabButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"16.1.0\", version: \"17.2.0\", type: MatFabButton, isStandalone: true, selector: \"button[mat-fab]\", inputs: { extended: [\"extended\", \"extended\", booleanAttribute] }, host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"attr.aria-disabled\": \"_getAriaDisabled()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\", \"class.mdc-fab--extended\": \"extended\", \"class.mat-mdc-extended-fab\": \"extended\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatFabButton, decorators: [{\n type: Component,\n args: [{ selector: `button[mat-fab]`, host: {\n ...MAT_BUTTON_HOST,\n '[class.mdc-fab--extended]': 'extended',\n '[class.mat-mdc-extended-fab]': 'extended',\n }, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }], propDecorators: { extended: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }] } });\n/**\n * Material Design mini floating action button (FAB) component. These buttons represent the primary\n * or most common action for users to interact with.\n * See https://material.io/components/buttons-floating-action-button/\n */\nclass MatMiniFabButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatMiniFabButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MatMiniFabButton, isStandalone: true, selector: \"button[mat-mini-fab]\", host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"attr.aria-disabled\": \"_getAriaDisabled()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatMiniFabButton, decorators: [{\n type: Component,\n args: [{ selector: `button[mat-mini-fab]`, host: MAT_BUTTON_HOST, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }] });\n/**\n * Material Design floating action button (FAB) component for anchor elements. Anchor elements\n * are used to provide links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons-floating-action-button/\n *\n * The `MatFabAnchor` class has two appearances: normal and extended.\n */\nclass MatFabAnchor extends MatAnchor {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatFabAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"16.1.0\", version: \"17.2.0\", type: MatFabAnchor, isStandalone: true, selector: \"a[mat-fab]\", inputs: { extended: [\"extended\", \"extended\", booleanAttribute] }, host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled && !disabledInteractive ? -1 : tabIndex\", \"attr.aria-disabled\": \"_getDisabledAttribute()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\", \"class.mdc-fab--extended\": \"extended\", \"class.mat-mdc-extended-fab\": \"extended\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatFabAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-fab]`, host: {\n ...MAT_ANCHOR_HOST,\n '[class.mdc-fab--extended]': 'extended',\n '[class.mat-mdc-extended-fab]': 'extended',\n }, exportAs: 'matButton, matAnchor', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }], propDecorators: { extended: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }] } });\n/**\n * Material Design mini floating action button (FAB) component for anchor elements. Anchor elements\n * are used to provide links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons-floating-action-button/\n */\nclass MatMiniFabAnchor extends MatAnchor {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatMiniFabAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MatMiniFabAnchor, isStandalone: true, selector: \"a[mat-mini-fab]\", host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled && !disabledInteractive ? -1 : tabIndex\", \"attr.aria-disabled\": \"_getDisabledAttribute()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatMiniFabAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-mini-fab]`, host: MAT_ANCHOR_HOST, exportAs: 'matButton, matAnchor', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }] });\n\n/**\n * Material Design icon button component. This type of button displays a single interactive icon for\n * users to perform an action.\n * See https://material.io/develop/web/components/buttons/icon-buttons/\n */\nclass MatIconButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n this._rippleLoader.configureRipple(this._elementRef.nativeElement, { centered: true });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MatIconButton, isStandalone: true, selector: \"button[mat-icon-button]\", host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"attr.aria-disabled\": \"_getAriaDisabled()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconButton, decorators: [{\n type: Component,\n args: [{ selector: `button[mat-icon-button]`, host: MAT_BUTTON_HOST, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }] });\n/**\n * Material Design icon button component for anchor elements. This button displays a single\n * interaction icon that allows users to navigate across different routes or pages.\n * See https://material.io/develop/web/components/buttons/icon-buttons/\n */\nclass MatIconAnchor extends MatAnchorBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MatIconAnchor, isStandalone: true, selector: \"a[mat-icon-button]\", host: { properties: { \"attr.disabled\": \"_getDisabledAttribute()\", \"class.mat-mdc-button-disabled\": \"disabled\", \"class.mat-mdc-button-disabled-interactive\": \"disabledInteractive\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled && !disabledInteractive ? -1 : tabIndex\", \"attr.aria-disabled\": \"_getDisabledAttribute()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class\": \"color ? \\\"mat-\\\" + color : \\\"\\\"\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatIconAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-icon-button]`, host: MAT_ANCHOR_HOST, exportAs: 'matButton, matAnchor', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }] });\n\nclass MatButtonModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButtonModule, imports: [MatCommonModule,\n MatRippleModule,\n MatAnchor,\n MatButton,\n MatIconAnchor,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatIconButton,\n MatFabAnchor,\n MatFabButton], exports: [MatAnchor,\n MatButton,\n MatIconAnchor,\n MatIconButton,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatFabAnchor,\n MatFabButton,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButtonModule, imports: [MatCommonModule,\n MatRippleModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MatButtonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n MatCommonModule,\n MatRippleModule,\n MatAnchor,\n MatButton,\n MatIconAnchor,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatIconButton,\n MatFabAnchor,\n MatFabButton,\n ],\n exports: [\n MatAnchor,\n MatButton,\n MatIconAnchor,\n MatIconButton,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatFabAnchor,\n MatFabButton,\n MatCommonModule,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_BUTTON_CONFIG, MAT_FAB_DEFAULT_OPTIONS, MAT_FAB_DEFAULT_OPTIONS_FACTORY, MatAnchor, MatButton, MatButtonModule, MatFabAnchor, MatFabButton, MatIconAnchor, MatIconButton, MatMiniFabAnchor, MatMiniFabButton };\n"],"mappings":"AAAA,OAAO,KAAKA,EAAE,MAAM,uBAAuB;AAC3C,OAAO,KAAKC,EAAE,MAAM,eAAe;AACnC,SAASC,cAAc,EAAEC,MAAM,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,KAAK,EAAEC,eAAe,EAAEC,qBAAqB,EAAEC,SAAS,EAAEC,iBAAiB,EAAEC,uBAAuB,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,eAAe;AACrN,SAASC,YAAY,QAAQ,mBAAmB;AAChD,SAASC,eAAe,EAAEC,eAAe,EAAEC,eAAe,QAAQ,wBAAwB;;AAE1F;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,GAAA;AAAA,MAAAC,IAAA;AACA,MAAMC,iBAAiB,GAAG,IAAI5B,cAAc,CAAC,mBAAmB,CAAC;AACjE;AACA,MAAM6B,eAAe,GAAG;EACpB,iBAAiB,EAAE,yBAAyB;EAC5C,sBAAsB,EAAE,oBAAoB;EAC5C,iCAAiC,EAAE,UAAU;EAC7C,6CAA6C,EAAE,qBAAqB;EACpE,iCAAiC,EAAE,qCAAqC;EACxE;EACA;EACA;EACA,sBAAsB,EAAE,QAAQ;EAChC;EACA;EACA,6BAA6B,EAAE,MAAM;EACrC,SAAS,EAAE;AACf,CAAC;AACD;AACA,MAAMC,4BAA4B,GAAG,CACjC;EACIC,SAAS,EAAE,YAAY;EACvBC,UAAU,EAAE,CAAC,YAAY,EAAE,gBA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metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a4cf87ebcdf8561ef28e94d20f963c766c9859cd82112e9a6e6817d1640deb39.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a4cf87ebcdf8561ef28e94d20f963c766c9859cd82112e9a6e6817d1640deb39.json new file mode 100644 index 0000000..fcaed15 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a4cf87ebcdf8561ef28e94d20f963c766c9859cd82112e9a6e6817d1640deb39.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = () => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirService.getUser(groupName).subscribe({\n next(res) {\n if (res.isSuccess) {\n console.log(res);\n }\n },\n error(err) {}\n });\n }\n };\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","ngOnInit","ngAfterViewInit","dirUsers","loading","rows","length","groupName","source","samaccountname","getUser","subscribe","next","res","isSuccess","console","log","error","err","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","results","filter","result","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private dirService: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n this.dirGroupOnSelectedRows = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirService.getUser(groupName).subscribe({\r\n next(res) {\r\n if(res.isSuccess){\r\n console.log(res)\r\n }\r\n },\r\n error(err) {\r\n \r\n }\r\n })\r\n\r\n }\r\n }\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows : (rows: Array) => void = ()=>{}\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,UAAsB;IAAtD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,UAAU,GAAVA,UAAU;IAF9D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAiC3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAmDD,KAAAC,sBAAsB,GAA2C,MAAI,CAAC,CAAC;EApFvE;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;IAC7B,IAAI,CAACJ,sBAAsB,GAAIK,IAAI,IAAI;MACrC,IAAIA,IAAI,CAACC,MA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CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA1D,qBAAA,CAAsC,mBAAA0D,GAAA,CAAApD,sBAAA;QAGxCyC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA3D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a4e6e2191e52529a5d749c2fe1c24433491ff3827194484ef83bbb8ea4e7891b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a4e6e2191e52529a5d749c2fe1c24433491ff3827194484ef83bbb8ea4e7891b.json new file mode 100644 index 0000000..0721391 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a4e6e2191e52529a5d749c2fe1c24433491ff3827194484ef83bbb8ea4e7891b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.http = http;\n this.baseUrl = baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { User } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL')baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n http: HttpClient;\r\n baseUrl: string;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAAoBC,OAAe;IAC7D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;EACxB;EAKAC,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA2B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC1E;EAAC,QAAAG,CAAA,G;qBAhBUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a55fb29ef90d2c855ef3a83bb8cae9bb9a1358fe55647fad46f52eb3f775fef8.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a55fb29ef90d2c855ef3a83bb8cae9bb9a1358fe55647fad46f52eb3f775fef8.json new file mode 100644 index 0000000..c3cfb1d --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a55fb29ef90d2c855ef3a83bb8cae9bb9a1358fe55647fad46f52eb3f775fef8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 38,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"example-label\"], [1, \"example-button-row\"], [1, \"example-flex-container\"], [1, \"example-button-container\"], [\"mat-mini-fab\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a menu icon\"], [\"mat-mini-fab\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a filter list icon\"], [\"mat-mini-fab\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a home icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"+1\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(10, \"section\")(11, \"div\", 5);\n i0.ɵɵtext(12, \"Mini FAB\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 6)(14, \"div\", 7)(15, \"div\", 8)(16, \"button\", 9)(17, \"mat-icon\");\n i0.ɵɵtext(18, \"menu\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(19, \"div\", 8)(20, \"button\", 4)(21, \"mat-icon\");\n i0.ɵɵtext(22, \"plus_one\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(23, \"div\", 8)(24, \"button\", 10)(25, \"mat-icon\");\n i0.ɵɵtext(26, \"filter_list\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(27, \"div\", 8)(28, \"button\", 11)(29, \"mat-icon\");\n i0.ɵɵtext(30, \"home\");\n i0.ɵɵelementEnd()()()()()()()();\n i0.ɵɵelementStart(31, \"div\", 12)(32, \"div\", 13);\n i0.ɵɵelement(33, \"app-dir-group-table\", 14, 15);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(35, \"div\", 13);\n i0.ɵɵelement(36, \"app-dir-user-table\", 16, 17);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(33);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAE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AA2C;QAEnCV,EAAA,CAAAc,SAAA,mCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,eAA2B;QACvBV,EAAA,CAAAc,SAAA,kCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a9ae9a23fa8e5fe71447f5c73f5de20d86de475be571d3a996b71d74c9adb064.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a9ae9a23fa8e5fe71447f5c73f5de20d86de475be571d3a996b71d74c9adb064.json new file mode 100644 index 0000000..3e6910d --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/a9ae9a23fa8e5fe71447f5c73f5de20d86de475be571d3a996b71d74c9adb064.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 8);\n i0.ɵɵelement(10, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAm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alDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/abe40f942469882bba51fe93282e039d8ca364640444c5bb23399f2798996ecc.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/abe40f942469882bba51fe93282e039d8ca364640444c5bb23399f2798996ecc.json new file mode 100644 index 0000000..e2f283e --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/abe40f942469882bba51fe93282e039d8ca364640444c5bb23399f2798996ecc.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-6\", \"p-1\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;M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A2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAiB;QAETV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA2B;QACvBV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ac83b06dcdd7d572b31e874b9586e645d1314f9c510ae7524526fea9b009a6b9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ac83b06dcdd7d572b31e874b9586e645d1314f9c510ae7524526fea9b009a6b9.json new file mode 100644 index 0000000..06aadf7 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ac83b06dcdd7d572b31e874b9586e645d1314f9c510ae7524526fea9b009a6b9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-6p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\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AA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/aca33696425f7e91b5085165af5f38ffc0c63be3796ae56ec8308e2f736c6c1d.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/aca33696425f7e91b5085165af5f38ffc0c63be3796ae56ec8308e2f736c6c1d.json new file mode 100644 index 0000000..bdd40cd --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/aca33696425f7e91b5085165af5f38ffc0c63be3796ae56ec8308e2f736c6c1d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2.5em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 38);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 39);\n i0.ɵɵelement(69, \"circle\", 40)(70, \"path\", 41)(71, \"path\", 42)(72, \"path\", 43)(73, \"path\", 44)(74, \"path\", 45);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50L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XQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAA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,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/acc349abcf6b7dfcdd660089db3d2cfc43164bad260f3366619d0f82f704c9b7.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/acc349abcf6b7dfcdd660089db3d2cfc43164bad260f3366619d0f82f704c9b7.json new file mode 100644 index 0000000..b5d5696 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/acc349abcf6b7dfcdd660089db3d2cfc43164bad260f3366619d0f82f704c9b7.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.createByAd(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBA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,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACE,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAzD,qBAAA,CAAsC,mBAAAyD,GAAA,CAAAlD,sBAAA;QAGxCuC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA1D,eAAA,CAA4B,iBAAA0D,GAAA,CAAAnD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ad165fb733bd592ca4ff4bf8c241ed3292452272d83d7af7ff46ce17b6c8779b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ad165fb733bd592ca4ff4bf8c241ed3292452272d83d7af7ff46ce17b6c8779b.json new file mode 100644 index 0000000..ac969b3 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ad165fb733bd592ca4ff4bf8c241ed3292452272d83d7af7ff46ce17b6c8779b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.useronSelectedRows = rows => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 5,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\", \"onSelectedRows\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection)(\"onSelectedRows\", ctx.useronSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","useronSelectedRows","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n useronSelectedRows: (rows: Array) => void = (rows) => {};\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAgGD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAACE,MAAM,CAACC,cAAc;QACnE,IAAI,CAACC,QAAQ,CAACC,oBAAoB,CAACJ,SAAS,CAAC;;IAEjD,CAAC;IAED,KAA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tCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAnE,qBAAA,CAAsC,mBAAAmE,GAAA,CAAA5D,sBAAA;QAGxCiD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAApE,eAAA,CAA4B,iBAAAoE,GAAA,CAAA7D,oBAAA,oBAAA6D,GAAA,CAAApD,kBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ae2135a2d7509e4359ee1ffd019e275783f40d6c137e6187b324c55617cad84d.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ae2135a2d7509e4359ee1ffd019e275783f40d6c137e6187b324c55617cad84d.json new file mode 100644 index 0000000..79b4a7b --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ae2135a2d7509e4359ee1ffd019e275783f40d6c137e6187b324c55617cad84d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nconst _c0 = [\"dirGroups\"];\nexport class GroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {}\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function GroupDirImportComponent_Factory(t) {\n return new (t || GroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupDirImportComponent,\n selectors: [[\"app-group-dir-import\"]],\n viewQuery: function GroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n }\n },\n decls: 12,\n vars: 1,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"]],\n template: function GroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function GroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 1);\n i0.ɵɵelement(10, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","GroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","ngOnInit","ngAfterViewInit","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","samaccountname","source","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","GroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\n\r\n@Component({\r\n selector: 'app-group-dir-import',\r\n templateUrl: './group-dir-import.component.html',\r\n styleUrl: './group-dir-import.component.css'\r\n})\r\nexport class GroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;AAQrD,OAAM,MAAOC,uBAAuB;EAIlCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAc3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EArBD;EAEAE,QAAQA,CAAA,GACR;EAKAC,eAAeA,CAAA,GACf;EAcAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,Q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AA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;QCbpCR,EAAA,CAAAU,cAAA,aAAyB;QAKLV,EAAA,CAAAW,UAAA,mBAAAC,yDAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;;;QAD8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAhD,qBAAA,CAAsC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ae9987d6e60fe76e4d97f9c274075f2a944762ca0824686380e368600571c5fd.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ae9987d6e60fe76e4d97f9c274075f2a944762ca0824686380e368600571c5fd.json new file mode 100644 index 0000000..947eb2e --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ae9987d6e60fe76e4d97f9c274075f2a944762ca0824686380e368600571c5fd.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirUsers, this.dirUsers.fetchDataByGroupName);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","fetchDataByGroupName","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirUsers, this.dirUsers.fetchDataByGroupName)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eA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AuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAtD,qBAAA,CAAsC,mBAAAsD,GAAA,CAAAd,sBAAA;QAGxCK,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAvD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/af0c6a8ce072d4cf34026f8d85eeccee9f2bb17e73535b45fab1e3ea5b36fb52.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/af0c6a8ce072d4cf34026f8d85eeccee9f2bb17e73535b45fab1e3ea5b36fb52.json new file mode 100644 index 0000000..79106b0 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/af0c6a8ce072d4cf34026f8d85eeccee9f2bb17e73535b45fab1e3ea5b36fb52.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 67,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGF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LXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport {MatDialog} from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog){\r\n\r\n }\r\n \r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n \r\n importUser() {\r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eAAAvB,EAAA,CAAA0B,eAAA,KAAAM,GAAA,EAA+B;QAEhChC,EAAA,CAAAsB,SAAA,GAAoC;QAApCtB,EAAA,CAAAuB,UAAA,qBAAAvB,EAAA,CAAA0B,eAAA,KAAAC,GAAA,EAAoC,4BAAA3B,EAAA,CAAA0B,eAAA,KAAAE,GAAA;QACnC5B,EAAA,CAAAsB,SAAA,EAAgC;QAAhCtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAO,GAAA,EAAgC;QAIdjC,EAAA,CAAAsB,SAAA,GAAoB;QAApBtB,EAAA,CAAAuB,UAAA,eAAAvB,EAAA,CAAA0B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BlC,EAAA,CAAAsB,SAAA,GAAiC;QAAjCtB,EAAA,CAAAmC,WAAA,kBAAAvB,GAAA,CAAApB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/af25fe704086c2e28da63ca3d48d407827cbbbab6b91be83e9658a8ccbb430f3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/af25fe704086c2e28da63ca3d48d407827cbbbab6b91be83e9658a8ccbb430f3.json new file mode 100644 index 0000000..4a93744 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/af25fe704086c2e28da63ca3d48d407827cbbbab6b91be83e9658a8ccbb430f3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IAAI,CAACtB,QAAQ,CAACuB,UAAU,CAAC;QAAEH,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC,CAACI,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c,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QACvHf,EAAA,CAAAU,cAAA,gBAAqF;QACvEV,EAAA,CAAAa,MAAA,eAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAK7Cf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b2decdf9b8914b7c2de72014c2df74dd92736951317a296c73514fdbeac78d59.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b2decdf9b8914b7c2de72014c2df74dd92736951317a296c73514fdbeac78d59.json new file mode 100644 index 0000000..a7b58f1 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b2decdf9b8914b7c2de72014c2df74dd92736951317a296c73514fdbeac78d59.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class UserService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n getByModuleId(moduleId, assigned = true) {\n const url = `${this.baseUrl}/ByModuleId/${moduleId}?assigned=${assigned}`;\n return this.http.get(url);\n }\n getByGroupId(groupId, assigned = true) {\n const url = `${this.baseUrl}/ByGroupId/${groupId}?assigned=${assigned}`;\n return this.http.get(url);\n }\n createByDir(createModel) {\n console.log(createModel);\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\n }\n static #_ = this.ɵfac = function UserService_Factory(t) {\n return new (t || UserService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('USER_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: UserService,\n factory: UserService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["ApiService","UserService","constructor","http","userUri","getByModuleId","moduleId","assigned","url","baseUrl","get","getByGroupId","groupId","createByDir","createModel","console","log","post","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\user.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { DirUser, User } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService extends ApiService {\r\n constructor(http: HttpClient, @Inject('USER_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n getByModuleId(moduleId: number, assigned: boolean = true): Observable> {\r\n const url = `${this.baseUrl}/ByModuleId/${moduleId}?assigned=${assigned}`;\r\n return this.http.get>(url);\r\n }\r\n\r\n getByGroupId(groupId: number, assigned: boolean = true): Observable> {\r\n const url = `${this.baseUrl}/ByGroupId/${groupId}?assigned=${assigned}`;\r\n return this.http.get>(url);\r\n }\r\n\r\n createByDir(createModel: DirUser): Observable {\r\n console.log(createModel)\r\n return this.http.post(`${this.baseUrl}/byDir`, createModel);\r\n }\r\n}"],"mappings":"AAGA,SAASA,UAAU,QAAQ,+BAA+B;;;AAO1D,OAAM,MAAOC,WAAY,SAAQD,UAAgB;EAC/CE,YAAYC,IAAgB,EAA8BC,OAAe;IACvE,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IADoC,KAAAA,OAAO,GAAPA,OAAO;EAEjE;EAEAC,aAAaA,CAACC,QAAgB,EAAEC,QAAA,GAAoB,IAAI;IACtD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,eAAeH,QAAQ,aAAaC,QAAQ,EAAE;IACzE,OAAO,IAAI,CAACJ,IAAI,CAACO,GAAG,CAA2BF,GAAG,CAAC;EACrD;EAEAG,YAAYA,CAACC,OAAe,EAAEL,QAAA,GAAoB,IAAI;IACpD,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACC,OAAO,cAAcG,OAAO,aAAaL,QAAQ,EAAE;IACvE,OAAO,IAAI,CAACJ,IAAI,CAACO,GAAG,CAA2BF,GAAG,CAAC;EACrD;EAEAK,WAAWA,CAACC,WAAoB;IAC9BC,OAAO,CAACC,GAAG,CAACF,WAAW,CAAC;IACxB,OAAO,IAAI,CAACX,IAAI,CAACc,IAAI,CAAU,GAAG,IAAI,CAACR,OAAO,QAAQ,EAAEK,WAAW,CAAC;EACtE;EAAC,QAAAI,CAAA,G;qBAlBUjB,WAAW,EAAAkB,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACgB,UAAU;EAAA;EAAA,QAAAG,EAAA,G;WADrCtB,WAAW;IAAAuB,OAAA,EAAXvB,WAAW,CAAAwB,IAAA;IAAAC,UAAA,EAFV;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b4107542d758caafe4c3970924cbeb0edeb4fc72c08fc5345387620091664559.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b4107542d758caafe4c3970924cbeb0edeb4fc72c08fc5345387620091664559.json new file mode 100644 index 0000000..c4fc218 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b4107542d758caafe4c3970924cbeb0edeb4fc72c08fc5345387620091664559.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uS) {\n this.gService = gService;\n this.uS = uS;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirUsers, this.dirUsers.fetchDataByGroupName);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uS","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","fetchDataByGroupName","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uS: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirUsers, this.dirUsers.fetchDataByGroupName)\r\n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02d43ad646e124c60a9611c1d0a40a7ad2162067cc778ef9dca2537cc.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b561c8e02d43ad646e124c60a9611c1d0a40a7ad2162067cc778ef9dca2537cc.json new file mode 100644 index 0000000..1c95973 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b561c8e02d43ad646e124c60a9611c1d0a40a7ad2162067cc778ef9dca2537cc.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"3em\", \"height\", \"2.5em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ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ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAAC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,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b5f3b9416cba07906fa50de4fec4cdba704cc70b51e9a2c443e0336163d2d504.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b5f3b9416cba07906fa50de4fec4cdba704cc70b51e9a2c443e0336163d2d504.json new file mode 100644 index 0000000..44cf5b9 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b5f3b9416cba07906fa50de4fec4cdba704cc70b51e9a2c443e0336163d2d504.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {});\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 68,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵelementEnd()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQj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IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n });\r\n }\r\n}","
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE,EAC3D,CAAC;EACJ;EAAC,QAAAY,CAAA,G;qBAvBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAhBhB,gBAAgB;IAAAiB,SAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,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":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b65641c89c273c7d81e96e1e669668b3e9053d007f27b27f056147d99690d9b0.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b65641c89c273c7d81e96e1e669668b3e9053d007f27b27f056147d99690d9b0.json new file mode 100644 index 0000000..3a745b3 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b65641c89c273c7d81e96e1e669668b3e9053d007f27b27f056147d99690d9b0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"1.3em\", \"height\", \"1.6em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6Qix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1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK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CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b85f2ab2a70c7a416c689be842cd9231241105906c81dffe97bb66c48aeac595.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b85f2ab2a70c7a416c689be842cd9231241105906c81dffe97bb66c48aeac595.json new file mode 100644 index 0000000..63052d8 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b85f2ab2a70c7a416c689be842cd9231241105906c81dffe97bb66c48aeac595.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n console.log(this.dirGroups, this.dirUsers);\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirGroups, this.dirUsers);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","console","log","dirGroups","row","selectedRows","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n console.log(this.dirGroups, this.dirUsers)\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirGroups, this.dirUsers)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EA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I;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAArD,qBAAA,CAAsC,mBAAAqD,GAAA,CAAAb,sBAAA;QAGxCI,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAtD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b92b78dc7b536a519f82c1feb107c890b7e046600f123938cede424a9a3fe26b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b92b78dc7b536a519f82c1feb107c890b7e046600f123938cede424a9a3fe26b.json new file mode 100644 index 0000000..69f8010 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b92b78dc7b536a519f82c1feb107c890b7e046600f123938cede424a9a3fe26b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport { ApiService } from './user-management.api.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirUserService extends ApiService {\n constructor(http, userUri) {\n super(http, userUri);\n this.userUri = userUri;\n }\n getAll(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirUserService_Factory(t) {\n return new (t || DirUserService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_USER_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirUserService,\n factory: DirUserService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","ApiService","DirUserService","constructor","http","userUri","getAll","groupName","params","set","get","baseUrl","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir-user.service.ts"],"sourcesContent":["import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { DirUser } from '../models/user-management.api.models';\r\nimport { ApiService } from './user-management.api.service';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirUserService extends ApiService {\r\n constructor(http: HttpClient, @Inject('DIR_USER_URL') private userUri: string) {\r\n super(http, userUri);\r\n }\r\n\r\n override getAll(groupName?: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AACA,SAAqBA,UAAU,QAAQ,sBAAsB;AAE7D,SAASC,UAAU,QAAQ,+BAA+B;;;AAO1D,OAAM,MAAOC,cAAe,SAAQD,UAAmB;EACrDE,YAAYC,IAAgB,EAAkCC,OAAe;IAC3E,KAAK,CAACD,IAAI,EAAEC,OAAO,CAAC;IADwC,KAAAA,OAAO,GAAPA,OAAO;EAErE;EAESC,MAAMA,CAACC,SAAkB;IAChC,IAAIC,MAAM,GAAG,IAAIR,UAAU,EAAE;IAC7B,IAAIO,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA8B,IAAI,CAACC,OAAO,EAAE;MAAEH;IAAM,CAAE,CAAC;EAC7E;EAAC,QAAAI,CAAA,G;qBAZUV,cAAc,EAAAW,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACa,cAAc;EAAA;EAAA,QAAAG,EAAA,G;WADzCf,cAAc;IAAAgB,OAAA,EAAdhB,cAAc,CAAAiB,IAAA;IAAAC,UAAA,EAFb;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b94a132a9449b846c8033fb99282bf3a2f4c2ceb54f349711ae574a8d44ee0f5.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b94a132a9449b846c8033fb99282bf3a2f4c2ceb54f349711ae574a8d44ee0f5.json new file mode 100644 index 0000000..45b72b5 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b94a132a9449b846c8033fb99282bf3a2f4c2ceb54f349711ae574a8d44ee0f5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.ROW,\n mode: GuiRowSelectionMode.SINGLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n this.dirGroups.safelyUnselectAll();\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log('An error occurred', err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 15,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(5, \"Benutzer\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 6);\n i0.ɵɵelement(10, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"div\", 6);\n i0.ɵɵelement(13, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","ROW","mode","SINGLE","dirUsersRowSelection","CHECKBOX","MULTIPLE","dirGroupOnSelectedRows","rows","length","dirGroups","safelyUnselectAll","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedUsers","requests","numAdded","row","selectedRows","push","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","subscribe","next","results","filter","result","error","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.ROW,\r\n mode: GuiRowSelectionMode.SINGLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log('An error occurred', err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n this.dirGroups.safelyUnselectAll()\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,GAAG;MAC7BC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACkB,QAAQ;MAClCH,IAAI,EAAEhB,mBAAmB,CAACoB;KAC3B;IAmDD,KAAAC,sBAAsB,GAAIC,IAA2B,IAAI;MACvD,IAAI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,IAAsC;QAAtClB,EAAA,CAAAmB,UAAA,iBAAAR,GAAA,CAAAlE,qBAAA,CAAsC,mBAAAkE,GAAA,CAAAzD,sBAAA;QAGxC8C,EAAA,CAAAkB,SAAA,GAA4B;QAA5BlB,EAAA,CAAAmB,UAAA,aAAAR,GAAA,CAAAnE,eAAA,CAA4B,iBAAAmE,GAAA,CAAA5D,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b9d880a8cde53ca7a80ff84382705ddd08dcd5f857ff7e3773f18aa4106d079f.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b9d880a8cde53ca7a80ff84382705ddd08dcd5f857ff7e3773f18aa4106d079f.json new file mode 100644 index 0000000..f4c65f7 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/b9d880a8cde53ca7a80ff84382705ddd08dcd5f857ff7e3773f18aa4106d079f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-\", \"6p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,E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,IAAI,CAAC,CAACC,MAAM;MAC9D,CAAC;MACDC,KAAK,EAAGf,GAAG,IAAI;QACb;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAiB;QAETV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA2B;QACvBV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/bb2f3923965be5bd3da0871a1e8c935db80055d2b2dce179cfeca403bc7939a0.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/bb2f3923965be5bd3da0871a1e8c935db80055d2b2dce179cfeca403bc7939a0.json new file mode 100644 index 0000000..181772e --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/bb2f3923965be5bd3da0871a1e8c935db80055d2b2dce179cfeca403bc7939a0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 79,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"3em\", \"height\", \"2em\", \"version\", \"1.1\", \"id\", \"Layer_1\", \"xmlns\", \"http://www.w3.org/2000/svg\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"viewBox\", \"0 0 489.5 489.5\", 0, \"xml\", \"space\", \"preserve\"], [\"id\", \"XMLID_324_\", \"d\", \"M480.3,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.7c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#94A4A4\"], [\"id\", \"XMLID_323_\", \"d\", \"M306.5,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.8c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#E64C3D\"], [\"id\", \"XMLID_322_\", \"d\", \"M131.7,446.85v-17.3c0-3.6-1.6-7.1-4.4-9.4c-15.6-12.8-32.4-21.3-35.9-23\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.3c3.1-2,5.1-5.5,5.1-9.5v-25.2c0-12.5-10.2-22.7-22.7-22.7h-2.7h-2.8c-12.5,0-22.7,10.2-22.7,22.7\\n v25.2c0,3.9,2,7.4,5.1,9.5v24.3c0,0.4-0.2,0.8-0.6,1c-3.4,1.7-20.3,10.2-35.9,23c-2.8,2.3-4.4,5.8-4.4,9.4v17.3\", 2, \"fill\", \"#94A4A4\"], [\"d\", \"M315.5,202.55c5,0,9.1-4.1,9.1-9.1v-19.9c0-7-3.1-13.5-8.4-17.9c-14.9-12.2-30.8-21.2-38.7-25.4\\n v-19.1c3.7-4,5.8-9.4,5.8-15v-29c0-19.4-15.8-35.2-35.2-35.2h-6.2c-19.4,0-35.2,15.8-35.2,35.2v29c0,5.6,2.1,10.9,5.8,15v19.1\\n c-7.9,4.1-23.8,13.1-38.7,25.4c-5.3,4.4-8.4,10.9-8.4,17.9v19.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-19.9c0-1.5,0.7-2.9,1.8-3.9\\n c17.2-14.2,35.9-23.6,39.5-25.3c3.5-1.7,5.8-5.4,5.8-9.3v-28c0-3-1.5-5.9-4-7.5c-1.1-0.8-1.8-2-1.8-3.3v-29c0-9.4,7.6-17,17-17\\n h6.2c9.4,0,17,7.6,17,17v29c0,1.3-0.7,2.6-1.8,3.3c-2.5,1.7-4,4.5-4,7.5v28c0,3.9,2.3,7.6,5.8,9.3c3.6,1.7,22.3,11.2,39.5,25.3\\n c1.1,0.9,1.8,2.3,1.8,3.9v19.9C306.5,198.55,310.5,202.55,315.5,202.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M236,282.05c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8h155.1v27.8c0,5,4.1,9.1,9.1,9.1\\n s9.1-4.1,9.1-9.1v-36.9c0-5-4.1-9.1-9.1-9.1H254.1v-27.8c0-5-4.1-9.1-9.1-9.1s-9.1,4.1-9.1,9.1v27.8H71.1c-5,0-9.1,4.1-9.1,9.1\\n v36.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8H236V282.05z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M453,362.95v-25.5c0-17.7-14.4-32-32-32h-5.5c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6\\n v15.7c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-1,0.4-1.9,1.2-2.5c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2\\n v-25.5c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1v-15.7C451.2,372.85,453,368.05,453,362.95z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M306.5,457.55c5,0,9.1-4.1,9.1-9.1v-17.5c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1\\n v-15.7c3.3-3.7,5.1-8.5,5.1-13.6v-25.5c0-17.7-14.4-32-32-32h-5.6c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6v15.7\\n c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5c0-1,0.4-1.9,1.2-2.5\\n c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2v-25.5\\n c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5C297.4,453.45,301.5,457.55,306.5,457.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M131.7,455.95c5,0,9.1-4.1,9.1-9.1v-17.3c0-6.4-2.8-12.4-7.8-16.4c-12.6-10.4-26.1-18.1-33.2-21.9\\n v-15.4c3.2-3.7,5.1-8.4,5.1-13.5v-25.2c0-17.5-14.2-31.8-31.8-31.8h-5.4c-17.5,0-31.8,14.2-31.8,31.8v25.2c0,5,1.8,9.8,5.1,13.5\\n v15.4c-7.1,3.8-20.5,11.5-33.2,21.9c-4.9,4-7.8,10-7.8,16.4v17.3c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.3c0-1,0.4-1.8,1.1-2.4\\n c14.9-12.2,31-20.4,34.1-21.9c3.5-1.7,5.7-5.3,5.7-9.1v-24.3c0-3-1.5-5.9-4-7.5c-0.3-0.2-1-0.8-1-1.9v-25.2\\n c0-7.5,6.1-13.6,13.6-13.6h5.4c7.5,0,13.6,6.1,13.6,13.6v25.2c0,1.1-0.7,1.7-1,1.9c-2.5,1.7-4,4.5-4,7.5v24.3\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.2,9.7,34.1,21.9c0.7,0.6,1.1,1.5,1.1,2.4v17.2C122.6,451.95,126.7,455.95,131.7,455.95z\", 2, \"fill\", \"#2C2F33\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38)(69, \"g\")(70, \"g\");\n i0.ɵɵelement(71, \"path\", 39)(72, \"path\", 40)(73, \"path\", 41)(74, \"path\", 42)(75, \"path\", 43)(76, \"path\", 44)(77, \"path\", 45)(78, \"path\", 46);\n i0.ɵɵelementEnd()()()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%CO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i41MjA3MTgsIDQ0LjA2MjE1NCwgMjQ5LjQzNzg0NjtcclxuXHJcbiAgLS1icy1idG4tZm9udC13ZWlnaHQ6IDYwMDtcclxuICAtLWJzLWJ0bi1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \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AAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA8B;QAA9BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAK,GAAA,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/bd736024bb2ded7fc9313e9f08301905d0c474b34117ad9d2df220d96019da27.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/bd736024bb2ded7fc9313e9f08301905d0c474b34117ad9d2df220d96019da27.json new file mode 100644 index 0000000..272c315 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/bd736024bb2ded7fc9313e9f08301905d0c474b34117ad9d2df220d96019da27.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"pe-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"pe-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 8);\n i0.ɵɵelement(10, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CAC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6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAIxHd,EAAA,CAAAU,cAAA,aAAmC;QAE3BV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAAwB;QACpBV,EAAA,CAAAe,SAAA,iCAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c128eb3f2cebe234eb4d931dec1c7bebc4ae62ef64e37483d20834e6f4059ea2.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c128eb3f2cebe234eb4d931dec1c7bebc4ae62ef64e37483d20834e6f4059ea2.json new file mode 100644 index 0000000..6097b52 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c128eb3f2cebe234eb4d931dec1c7bebc4ae62ef64e37483d20834e6f4059ea2.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.http = http;\n this.baseUrl = baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { DirUser } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL')baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n http: HttpClient;\r\n baseUrl: string;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAAoBC,OAAe;IAC7D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;EACxB;EAKAC,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA8B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC7E;EAAC,QAAAG,CAAA,G;qBAhBUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c145517c2724325a9c65b91121c2865943f8b5eb4e977ea72ac342e1df5ca038.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c145517c2724325a9c65b91121c2865943f8b5eb4e977ea72ac342e1df5ca038.json new file mode 100644 index 0000000..a8fac2f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c145517c2724325a9c65b91121c2865943f8b5eb4e977ea72ac342e1df5ca038.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"1.3em\", \"height\", \"1.7em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 38);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 39);\n i0.ɵɵelement(69, \"circle\", 40)(70, \"path\", 41)(71, \"path\", 42)(72, \"path\", 43)(73, \"path\", 44)(74, \"path\", 45);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjp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dmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,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A8B;QAA9BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAK,GAAA,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c14e4f98c657367fc8f1940b262fdddca8eab6930cb47bce7def81dbf58829bd.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c14e4f98c657367fc8f1940b262fdddca8eab6930cb47bce7def81dbf58829bd.json new file mode 100644 index 0000000..0a23f41 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c14e4f98c657367fc8f1940b262fdddca8eab6930cb47bce7def81dbf58829bd.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 38,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"example-label\"], [1, \"example-button-row\"], [1, \"example-flex-container\"], [1, \"example-button-container\"], [\"mat-mini-fab\", \"\", \"color\", \"primary\", \"aria-label\", \"Example icon button with a menu icon\"], [\"mat-mini-fab\", \"\", \"color\", \"warn\", \"aria-label\", \"Example icon button with a filter list icon\"], [\"mat-mini-fab\", \"\", \"disabled\", \"\", \"aria-label\", \"Example icon button with a home icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"+1\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(10, \"section\")(11, \"div\", 5);\n i0.ɵɵtext(12, \"Mini FAB\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 6)(14, \"div\", 7)(15, \"div\", 8)(16, \"button\", 9)(17, \"mat-icon\");\n i0.ɵɵtext(18, \"menu\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(19, \"div\", 8)(20, \"button\", 4)(21, \"mat-icon\");\n i0.ɵɵtext(22, \"plus_one\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(23, \"div\", 8)(24, \"button\", 10)(25, \"mat-icon\");\n i0.ɵɵtext(26, \"filter_list\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(27, \"div\", 8)(28, \"button\", 11)(29, \"mat-icon\");\n i0.ɵɵtext(30, \"home\");\n i0.ɵɵelementEnd()()()()()()()()();\n i0.ɵɵelementStart(31, \"div\", 12)(32, \"div\", 13);\n i0.ɵɵelement(33, \"app-dir-group-table\", 14, 15);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(35, \"div\", 13);\n i0.ɵɵelement(36, \"app-dir-user-table\", 16, 17);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(33);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n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A,CAAAa,MAAA,SAAE;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAEzBf,EAAA,CAAAU,cAAA,eAAS;QACoBV,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAM;QACzCf,EAAA,CAAAU,cAAA,cAAgC;QAIdV,EAAA,CAAAa,MAAA,YAAI;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAG7Bf,EAAA,CAAAU,cAAA,cAAsC;QAExBV,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGjCf,EAAA,CAAAU,cAAA,cAAsC;QAExBV,EAAA,CAAAa,MAAA,mBAAW;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAGpCf,EAAA,CAAAU,cAAA,cAAsC;QAExBV,EAAA,CAAAa,MAAA,YAAI;QAAAb,EAAA,CAAAe,YAAA,EAAW;QASjDf,EAAA,CAAAU,cAAA,eAA2C;QAEnCV,EAAA,CAAAc,SAAA,mCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,eAA2B;QACvBV,EAAA,CAAAc,SAAA,kCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c36073f37f4979dc6cd965ec8c3a9b7f9a77ff081da770c67288de97a03366dc.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c36073f37f4979dc6cd965ec8c3a9b7f9a77ff081da770c67288de97a03366dc.json new file mode 100644 index 0000000..64e9995 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c36073f37f4979dc6cd965ec8c3a9b7f9a77ff081da770c67288de97a03366dc.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n console.log(rows[rows.length - 1].source);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { MatButtonModule } from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n console.log(rows[rows.length - 1].source)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gB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A,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACI,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAApD,qBAAA,CAAsC,mBAAAoD,GAAA,CAAAZ,sBAAA;QAGxCG,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAArD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c417a44c5e9bfa1dc31b6f6b94595e018e0af587d580b0b6b3bea1db9265df97.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c417a44c5e9bfa1dc31b6f6b94595e018e0af587d580b0b6b3bea1db9265df97.json new file mode 100644 index 0000000..0284a8e --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c417a44c5e9bfa1dc31b6f6b94595e018e0af587d580b0b6b3bea1db9265df97.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"1.3em\", \"height\", \"1.5em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-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IHtcclxuICAtLWJkLXZpb2xldC1iZzogIzcxMmNmOTtcclxuICAtLWJkLXZpb2xldC1yZ2I6IDExMi41MjA3MTgsIDQ0LjA2MjE1NCwgMjQ5LjQzNzg0NjtcclxuXHJcbiAgLS1icy1idG4tZm9udC13ZWlnaHQ6IDYwMDtcclxuICAtLWJzLWJ0bi1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\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AA2B,eAAA,KAAAI,GAAA,EAAuC;QAExC/B,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA8B;QAA9BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAK,GAAA,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c4211b254f3d91df9d3084f0b431d437b9f6a4d948f9525dc1460a1512e9a787.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c4211b254f3d91df9d3084f0b431d437b9f6a4d948f9525dc1460a1512e9a787.json new file mode 100644 index 0000000..5456fbf --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c4211b254f3d91df9d3084f0b431d437b9f6a4d948f9525dc1460a1512e9a787.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","dirService","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(gro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,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAA3D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c816a22ef04bfc744f5fb88aa65d1a27373a27a93ecd2d228942929aad40cc2e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c816a22ef04bfc744f5fb88aa65d1a27373a27a93ecd2d228942929aad40cc2e.json new file mode 100644 index 0000000..79ae26b --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c816a22ef04bfc744f5fb88aa65d1a27373a27a93ecd2d228942929aad40cc2e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 79,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"3em\", \"height\", \"3em\", \"version\", \"1.1\", \"id\", \"Layer_1\", \"xmlns\", \"http://www.w3.org/2000/svg\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"viewBox\", \"0 0 489.5 489.5\", 0, \"xml\", \"space\", \"preserve\"], [\"id\", \"XMLID_324_\", \"d\", \"M480.3,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.7c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#94A4A4\"], [\"id\", \"XMLID_323_\", \"d\", \"M306.5,448.45v-17.5c0-3.7-1.6-7.2-4.5-9.5c-15.8-13-32.8-21.6-36.3-23.3\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.6c3.1-2.1,5.1-5.6,5.1-9.6v-25.5c0-12.7-10.3-23-23-23h-2.7h-2.8c-12.7,0-23,10.3-23,23v25.5\\n c0,4,2,7.5,5.1,9.6v24.6c0,0.4-0.2,0.8-0.6,1c-3.5,1.7-20.5,10.3-36.3,23.3c-2.9,2.3-4.5,5.9-4.5,9.5v17.5\", 2, \"fill\", \"#E64C3D\"], [\"id\", \"XMLID_322_\", \"d\", \"M131.7,446.85v-17.3c0-3.6-1.6-7.1-4.4-9.4c-15.6-12.8-32.4-21.3-35.9-23\\n c-0.4-0.2-0.6-0.6-0.6-1v-24.3c3.1-2,5.1-5.5,5.1-9.5v-25.2c0-12.5-10.2-22.7-22.7-22.7h-2.7h-2.8c-12.5,0-22.7,10.2-22.7,22.7\\n v25.2c0,3.9,2,7.4,5.1,9.5v24.3c0,0.4-0.2,0.8-0.6,1c-3.4,1.7-20.3,10.2-35.9,23c-2.8,2.3-4.4,5.8-4.4,9.4v17.3\", 2, \"fill\", \"#94A4A4\"], [\"d\", \"M315.5,202.55c5,0,9.1-4.1,9.1-9.1v-19.9c0-7-3.1-13.5-8.4-17.9c-14.9-12.2-30.8-21.2-38.7-25.4\\n v-19.1c3.7-4,5.8-9.4,5.8-15v-29c0-19.4-15.8-35.2-35.2-35.2h-6.2c-19.4,0-35.2,15.8-35.2,35.2v29c0,5.6,2.1,10.9,5.8,15v19.1\\n c-7.9,4.1-23.8,13.1-38.7,25.4c-5.3,4.4-8.4,10.9-8.4,17.9v19.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-19.9c0-1.5,0.7-2.9,1.8-3.9\\n c17.2-14.2,35.9-23.6,39.5-25.3c3.5-1.7,5.8-5.4,5.8-9.3v-28c0-3-1.5-5.9-4-7.5c-1.1-0.8-1.8-2-1.8-3.3v-29c0-9.4,7.6-17,17-17\\n h6.2c9.4,0,17,7.6,17,17v29c0,1.3-0.7,2.6-1.8,3.3c-2.5,1.7-4,4.5-4,7.5v28c0,3.9,2.3,7.6,5.8,9.3c3.6,1.7,22.3,11.2,39.5,25.3\\n c1.1,0.9,1.8,2.3,1.8,3.9v19.9C306.5,198.55,310.5,202.55,315.5,202.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M236,282.05c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8h155.1v27.8c0,5,4.1,9.1,9.1,9.1\\n s9.1-4.1,9.1-9.1v-36.9c0-5-4.1-9.1-9.1-9.1H254.1v-27.8c0-5-4.1-9.1-9.1-9.1s-9.1,4.1-9.1,9.1v27.8H71.1c-5,0-9.1,4.1-9.1,9.1\\n v36.9c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-27.8H236V282.05z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M453,362.95v-25.5c0-17.7-14.4-32-32-32h-5.5c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6\\n v15.7c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-1,0.4-1.9,1.2-2.5c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2\\n v-25.5c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5\\n c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1v-15.7C451.2,372.85,453,368.05,453,362.95z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M306.5,457.55c5,0,9.1-4.1,9.1-9.1v-17.5c0-6.4-2.8-12.5-7.8-16.6c-12.8-10.5-26.5-18.4-33.6-22.1\\n v-15.7c3.3-3.7,5.1-8.5,5.1-13.6v-25.5c0-17.7-14.4-32-32-32h-5.6c-17.7,0-32,14.4-32,32v25.5c0,5.1,1.9,9.9,5.1,13.6v15.7\\n c-7.1,3.8-20.8,11.6-33.6,22.1c-5,4.1-7.8,10.1-7.8,16.6v17.5c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.5c0-1,0.4-1.9,1.2-2.5\\n c15.1-12.4,31.4-20.6,34.5-22.1c3.5-1.7,5.7-5.3,5.7-9.2v-24.6c0-3-1.5-5.9-4-7.5c-0.3-0.2-1.1-0.9-1.1-2v-25.5\\n c0-7.7,6.2-13.9,13.9-13.9h5.5c7.7,0,13.9,6.2,13.9,13.9v25.5c0,1.2-0.8,1.8-1.1,2c-2.5,1.7-4,4.5-4,7.5v24.6\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.5,9.8,34.5,22.1c0.8,0.6,1.2,1.5,1.2,2.5v17.5C297.4,453.45,301.5,457.55,306.5,457.55z\", 2, \"fill\", \"#2C2F33\"], [\"d\", \"M131.7,455.95c5,0,9.1-4.1,9.1-9.1v-17.3c0-6.4-2.8-12.4-7.8-16.4c-12.6-10.4-26.1-18.1-33.2-21.9\\n v-15.4c3.2-3.7,5.1-8.4,5.1-13.5v-25.2c0-17.5-14.2-31.8-31.8-31.8h-5.4c-17.5,0-31.8,14.2-31.8,31.8v25.2c0,5,1.8,9.8,5.1,13.5\\n v15.4c-7.1,3.8-20.5,11.5-33.2,21.9c-4.9,4-7.8,10-7.8,16.4v17.3c0,5,4.1,9.1,9.1,9.1s9.1-4.1,9.1-9.1v-17.3c0-1,0.4-1.8,1.1-2.4\\n c14.9-12.2,31-20.4,34.1-21.9c3.5-1.7,5.7-5.3,5.7-9.1v-24.3c0-3-1.5-5.9-4-7.5c-0.3-0.2-1-0.8-1-1.9v-25.2\\n c0-7.5,6.1-13.6,13.6-13.6h5.4c7.5,0,13.6,6.1,13.6,13.6v25.2c0,1.1-0.7,1.7-1,1.9c-2.5,1.7-4,4.5-4,7.5v24.3\\n c0,3.9,2.2,7.5,5.7,9.2c3.1,1.5,19.2,9.7,34.1,21.9c0.7,0.6,1.1,1.5,1.1,2.4v17.2C122.6,451.95,126.7,455.95,131.7,455.95z\", 2, \"fill\", \"#2C2F33\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38)(69, \"g\")(70, \"g\");\n i0.ɵɵelement(71, \"path\", 39)(72, \"path\", 40)(73, \"path\", 41)(74, \"path\", 42)(75, \"path\", 43)(76, \"path\", 44)(77, \"path\", 45)(78, \"path\", 46);\n i0.ɵɵelementEnd()()()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2QixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxrQ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m9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAhBhB,gBAAgB;IAAAiB,SAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC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CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c8d576206ca71e36eb60e79fc052d4e6afd4c4364d7bbb032e8aeef3ee93842a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c8d576206ca71e36eb60e79fc052d4e6afd4c4364d7bbb032e8aeef3ee93842a.json new file mode 100644 index 0000000..83f81ff --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/c8d576206ca71e36eb60e79fc052d4e6afd4c4364d7bbb032e8aeef3ee93842a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAA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AAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAlE,qBAAA,CAAsC,mBAAAkE,GAAA,CAAA3D,sBAAA;QAGxCgD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAnE,eAAA,CAA4B,iBAAAmE,GAAA,CAAA5D,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/caeb7eb383d05c9d85b23fb0af4a056d7bd9e3be700576878705c58aa4cc20a4.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/caeb7eb383d05c9d85b23fb0af4a056d7bd9e3be700576878705c58aa4cc20a4.json new file mode 100644 index 0000000..8cffc77 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/caeb7eb383d05c9d85b23fb0af4a056d7bd9e3be700576878705c58aa4cc20a4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirGroups, this.dirUsers);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirGroups, this.dirUsers)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,Q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EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAArD,qBAAA,CAAsC,mBAAAqD,GAAA,CAAAb,sBAAA;QAGxCI,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAtD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ce9942f2f8b63f81938a86560074fddf22f44a1255b8af975720fc780faa6f28.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ce9942f2f8b63f81938a86560074fddf22f44a1255b8af975720fc780faa6f28.json new file mode 100644 index 0000000..c7d5793 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ce9942f2f8b63f81938a86560074fddf22f44a1255b8af975720fc780faa6f28.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],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AA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d2a591d1cd4e5b67709675425d32b296dfeb5ad85bb6f471e2387d7724c7b352.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d2a591d1cd4e5b67709675425d32b296dfeb5ad85bb6f471e2387d7724c7b352.json new file mode 100644 index 0000000..401f8cd --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d2a591d1cd4e5b67709675425d32b296dfeb5ad85bb6f471e2387d7724c7b352.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.createByDir({\n emailAddress: row?.source.emailAddress,\n givenName: row.source.givenName,\n samAccountName: row.source.samAccountName,\n surname: row.source.surname,\n middleName: row.source.middleName,\n addedWho: 'DEFAULT'\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","emailAddress","givenName","samAccountName","surname","middleName","addedWho","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.createByDir({\r\n emailAddress: row?.source.emailAddress,\r\n givenName:row.source.givenName,\r\n samAccountName:row.source.samAccountName,\r\n surname: row.source.surname,\r\n middleName:row.source.middleName,\r\n addedWho: 'DEFAULT'\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ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AA,aAAyB;QAKLZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAA7C,iBAAA,EAAmB;QAAA,EAAC;QAACkC,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAnB,gBAAA,EAAkB;QAAA,EAAC;QAACQ,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA/D,qBAAA,CAAsC,mBAAA+D,GAAA,CAAAxD,sBAAA;QAGxC6C,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAhE,eAAA,CAA4B,iBAAAgE,GAAA,CAAAzD,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d561430db7b7ecec3b72dd149f8fe25e7884ef61d45a55070f8de4a425964ad6.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d561430db7b7ecec3b72dd149f8fe25e7884ef61d45a55070f8de4a425964ad6.json new file mode 100644 index 0000000..0b6e076 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d561430db7b7ecec3b72dd149f8fe25e7884ef61d45a55070f8de4a425964ad6.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = () => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirGroups, this.dirUsers);\n }\n };\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","ngOnInit","ngAfterViewInit","dirUsers","loading","rows","length","groupName","source","samaccountname","console","log","dirGroups","addSelectedGroups","requests","numAdded","row","selectedRows","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n this.dirGroupOnSelectedRows = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirGroups, this.dirUsers)\r\n }\r\n }\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows : (rows: Array) => void = ()=>{}\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
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AAAU,cAAA,aAAyB;QAKLV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAlC,iBAAA,EAAmB;QAAA,EAAC;QAACyB,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAI5Ef,EAAA,CAAAU,cAAA,aAA2B;QAIXV,EAAA,CAAAW,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAX,gBAAA,EAAkB;QAAA,EAAC;QAACE,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAArD,qBAAA,CAAsC,mBAAAqD,GAAA,CAAA/C,sBAAA;QAGxCsC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAtD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d6b2201264fcfe0258cf3eb6be5483565a937f52440a517f8d2b10313f5efb06.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d6b2201264fcfe0258cf3eb6be5483565a937f52440a517f8d2b10313f5efb06.json new file mode 100644 index 0000000..36fbeb0 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d6b2201264fcfe0258cf3eb6be5483565a937f52440a517f8d2b10313f5efb06.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(rows[rows.length - 1].source.samaccountname);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { MatButtonModule } from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName:string = rows[rows.length - 1].source.samaccountname;\r\n console.log(rows[rows.length - 1].source.samaccountname)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,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,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAI5Ef,EAAA,CAAAU,cAAA,aAA2B;QAIXV,EAAA,CAAAW,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAd,gBAAA,EAAkB;QAAA,EAAC;QAACK,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAArD,qBAAA,CAAsC,mBAAAqD,GAAA,CAAAb,sBAAA;QAGxCI,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAtD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d717cc6a97f2c3ae61241a18181fed76544672a373ab41c32e59fb932de402a5.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d717cc6a97f2c3ae61241a18181fed76544672a373ab41c32e59fb932de402a5.json new file mode 100644 index 0000000..7d3c131 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d717cc6a97f2c3ae61241a18181fed76544672a373ab41c32e59fb932de402a5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = () => {};\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n let users = this.dirService.getUser(groupName);\n console.log(users);\n }\n };\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirGroupOnSelectedRows","ngOnInit","ngAfterViewInit","dirUsers","loading","rows","length","groupName","source","samaccountname","users","getUser","console","log","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private dirService: DirService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n this.dirGroupOnSelectedRows = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n let users = this.dirService.getUser(groupName);\r\n console.log(users)\r\n }\r\n }\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n }\r\n\r\n dirGroupOnSelectedRows : (rows: Array) => void = ()=>{}\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;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,IAAAD,EAAA;;;;;;;;;;;;;;;QCfxCV,EAAA,CAAAY,cAAA,aAAyB;QAKLZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAArC,iBAAA,EAAmB;QAAA,EAAC;QAAC0B,EAAA,CAAAe,MAAA,cAAO;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACE,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAzD,qBAAA,CAAsC,mBAAAyD,GAAA,CAAAnD,sBAAA;QAGxCwC,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA1D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d916c87ee56998f862d0441bfae95b335b9c67d2992d5bc3d144fc7f3b6d3894.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d916c87ee56998f862d0441bfae95b335b9c67d2992d5bc3d144fc7f3b6d3894.json new file mode 100644 index 0000000..ab1a920 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/d916c87ee56998f862d0441bfae95b335b9c67d2992d5bc3d144fc7f3b6d3894.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n console.log(this.dirUsers.selectedRows);\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.uService.createByAd(row?.source).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByAd","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n console.log(this.dirUsers.selectedRows)\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.uService.createByAd(row?.source).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IA2FD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAACE,MAAM,CAACC,cAAc;QACnE,IAAI,CAACC,QAAQ,CAACC,oBAAoB,CAACJ,SAAS,CAAC;;IAEjD,CAAC;EAvHD;EAEAK,QAAQA,CAAA,GACR;EAMAC,eAAeA,CAAA;IACb,IAAI,CAACH,QAAQ,CAACI,OAAO,GAAG,KA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pack/dc4d53793c4bb90f104e723fd751d76547801e77da5c7af5ea45adb328aee38b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/dc4d53793c4bb90f104e723fd751d76547801e77da5c7af5ea45adb328aee38b.json new file mode 100644 index 0000000..de6e4b1 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/dc4d53793c4bb90f104e723fd751d76547801e77da5c7af5ea45adb328aee38b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"1.3em\", \"height\", \"1.3em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ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ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAAC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eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/dc7bf43adca257f891e6872785cfbb3f00aa54672b2672e13a8b58cf76432d19.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/dc7bf43adca257f891e6872785cfbb3f00aa54672b2672e13a8b58cf76432d19.json new file mode 100644 index 0000000..ff6f205 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/dc7bf43adca257f891e6872785cfbb3f00aa54672b2672e13a8b58cf76432d19.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵelement(9, \"app-dir-user-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EA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B,QAAQ,IAAIsB,OAAO,CAACC,MAAM,CAACC,MAAM,IAAIA,MAAM,KAAK,IAAI,CAAC,CAACC,MAAM;MAC9D,CAAC;MACDC,KAAK,EAAGf,GAAG,IAAI;QACb;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAqC;QAE8BV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAGpHd,EAAA,CAAAU,cAAA,aAAmC;QAE3BV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAAmB;QACfV,EAAA,CAAAe,SAAA,+BAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e1d0e87d036cde9bf8797fb46d2b8c6fc15799203505b5c5212998b49070c3e9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e1d0e87d036cde9bf8797fb46d2b8c6fc15799203505b5c5212998b49070c3e9.json new file mode 100644 index 0000000..6935df2 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e1d0e87d036cde9bf8797fb46d2b8c6fc15799203505b5c5212998b49070c3e9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows: (rows: Array) => void = (rows) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAgGD,KAAAE,sBAAsB,GAA2CC,IAAI,IAAI;MACvE,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAIC,SAAS,GAAWF,IAAI,CAACA,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,CAAC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AM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAlE,qBAAA,CAAsC,mBAAAkE,GAAA,CAAA3D,sBAAA;QAGxCgD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAAnE,eAAA,CAA4B,iBAAAmE,GAAA,CAAA5D,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e201ee7dc20dfb436d9b665d952c43de3fe0d095f9faadb328d6e3230c18864a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e201ee7dc20dfb436d9b665d952c43de3fe0d095f9faadb328d6e3230c18864a.json new file mode 100644 index 0000000..93801cd --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e201ee7dc20dfb436d9b665d952c43de3fe0d095f9faadb328d6e3230c18864a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirGroups, this.dirUsers);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirGroups, this.dirUsers)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAiB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OA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CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAtD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e440c5a58270784ba858c70065bb750da7671f1248bf20e5a6e7239ca8da2155.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e440c5a58270784ba858c70065bb750da7671f1248bf20e5a6e7239ca8da2155.json new file mode 100644 index 0000000..481b360 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e440c5a58270784ba858c70065bb750da7671f1248bf20e5a6e7239ca8da2155.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __decorate } from \"tslib\";\nimport { Component, ViewChild } from '@angular/core';\nimport { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nlet UserGroupDirImportComponent = class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n};\n__decorate([ViewChild('dirGroups')], UserGroupDirImportComponent.prototype, \"dirGroups\", void 0);\n__decorate([ViewChild('dirUsers')], UserGroupDirImportComponent.prototype, \"dirUsers\", void 0);\nUserGroupDirImportComponent = __decorate([Component({\n selector: 'app-user-group-dir-import',\n templateUrl: './user-group-dir-import.component.html',\n styleUrl: './user-group-dir-import.component.css'\n})], UserGroupDirImportComponent);\nexport { UserGroupDirImportComponent };","map":{"version":3,"names":["Component","ViewChild","GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","__decorate","selector","templateUrl","styleUrl"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n"],"mappings":";AAAA,SAAwBA,SAAS,EAAkBC,SAAS,QAAQ,eAAe;AACnF,SAA0BC,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;AAS9C,IAAMC,2BAA2B,GAAjC,MAAMA,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IAAI,CAACtB,QAAQ,CAACuB,UAAU,CAAC;QAAEH,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC,CAACI,IAAI,CAC5E5B,UAAU,CAAE6B,GAAG,IAAI;QACjBP,OAAO,CAACC,GAAG,CAACM,GAAG,CAAC;QAChB;QACA,OAAO9B,EAAE,CAAC,IAAI,CAAC;MACjB,CAAC,CAAC,CACH,CACF;;IAGHD,QAAQ,CAACmB,QAAQ,CAAC,CAACW,IAAI;IACrB;IACA3B,QAAQ,CAAC,MAAK;MACZ;MACAJ,IAAI,CAACiC,IAAI,CAAC;QACRC,IAAI,EAAE,SAAS;QACfC,KAAK,EAAE,WAAW;QAClBC,IAAI,EAAE,GAAGf,QAAQ,mBAAmB;QACpCgB,QAAQ,EAAE,QAAQ;QAClBC,iBAAiB,EAAE,KAAK;QACxBC,KAAK,EAAE;OACR,CAAC;MAEF,IAAI,CAAChB,SAAS,CAACiB,iBAAiB,EAAE;IACpC,CAAC,CAAC,CACH,CAACC,SAAS,CAAC;MACVC,IAAI,EAAGC,OAAO,IAAI;QAChB;QACA;QACAtB,QAAQ,IAAIsB,OAAO,CAACC,MAAM,CAACC,MAAM,IAAIA,MAAM,KAAK,IAAI,CAAC,CAACC,MAAM;MAC9D,CAAC;MACDC,KAAK,EAAGf,GAAG,IAAI;QACb;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;CACD;AAvDyBgB,UAAA,EAAvBnD,SAAS,CAAC,WAAW,CAAC,C,6DAAqC;AACrCmD,UAAA,EAAtBnD,SAAS,CAAC,UAAU,CAAC,C,4DAAmC;AAhB9CQ,2BAA2B,GAAA2C,UAAA,EALvCpD,SAAS,CAAC;EACTqD,QAAQ,EAAE,2BAA2B;EACrCC,WAAW,EAAE,wCAAwC;EACrDC,QAAQ,EAAE;CACX,CAAC,C,EACW9C,2BAA2B,CAsEvC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e4e4bc9f8c49d820ce398fe024ffe0e48b8f6adb330b426f5ce46866a637d9f3.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e4e4bc9f8c49d820ce398fe024ffe0e48b8f6adb330b426f5ce46866a637d9f3.json new file mode 100644 index 0000000..9989c34 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e4e4bc9f8c49d820ce398fe024ffe0e48b8f6adb330b426f5ce46866a637d9f3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"pe-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"pe-0\", \"pb-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 8);\n i0.ɵɵelement(10, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc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;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAsB;QAGiDV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAIxHd,EAAA,CAAAU,cAAA,aAAmC;QAE3BV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA6B;QACzBV,EAAA,CAAAe,SAAA,iCAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e51153ce123aaccccf82e00e73900f02b6b51ce1cc64373de7a4f1dff22a47c0.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e51153ce123aaccccf82e00e73900f02b6b51ce1cc64373de7a4f1dff22a47c0.json new file mode 100644 index 0000000..1742383 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e51153ce123aaccccf82e00e73900f02b6b51ce1cc64373de7a4f1dff22a47c0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"3em\", \"height\", \"2.5em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2QixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsVUFBVTtFQUNWLGVBQWU7RUFDZixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxhQUFhO0VBQ2IsaUJBQWlCO0VBQ2pCLG9CQUFvQjtFQUNwQixnQkFBZ0I7RUFDaEIsZ0JBQWdCO0VBQ2hCLGtCQUFrQjtFQUNsQixtQkFBbUI7RUF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1iZC1wcmltYXJ5IHtcclxuICAtLWJkLXZpb2xldC1iZzogIzcxMmNmOTtcclxuICAtLWJkLXZpb2xldC1yZ2I6IDExMi41MjA3MTgsIDQ0LjA2MjE1NCwgMjQ5LjQzNzg0NjtcclxuXHJcbiAgLS1icy1idG4tZm9udC13ZWlnaHQ6IDYwMDtcclxuICAtLWJzLWJ0bi1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \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,eAAAxB,EAAA,CAAA2B,eAAA,KAAAI,GAAA,EAAuC;QAExC/B,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA8B;QAA9BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAK,GAAA,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e54749227d2d652103ed59f2adef73ff32959d83363ce9f53c25cb0758c169cf.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e54749227d2d652103ed59f2adef73ff32959d83363ce9f53c25cb0758c169cf.json new file mode 100644 index 0000000..aea9754 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e54749227d2d652103ed59f2adef73ff32959d83363ce9f53c25cb0758c169cf.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"@angular/material/icon\";\nimport * as i5 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i6 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"+1\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.MatIcon, i5.DirGroupTableComponent, i6.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAj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CAAC;MACDC,KAAK,EAAGf,GAAG,IAAI;QACb;QACAP,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEM,GAAG,CAAC;MACvC;KACD,CAAC;EACJ;EAAC,QAAAgB,CAAA,G;qBArEU3C,2BAA2B,EAAA4C,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAG8CV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QACvHf,EAAA,CAAAU,cAAA,gBAA0F;QAC5EV,EAAA,CAAAa,MAAA,SAAE;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAKvCf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e5f889b62b69ec92d4849d7339d1df403da1bcece08e4e8a968b62455c293c8c.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e5f889b62b69ec92d4849d7339d1df403da1bcece08e4e8a968b62455c293c8c.json new file mode 100644 index 0000000..16d6dfb --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e5f889b62b69ec92d4849d7339d1df403da1bcece08e4e8a968b62455c293c8c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,K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AAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAlD,qBAAA,CAAsC;QAGxCyC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAnD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e6457bda0dceea920032bcb7ce69b7b40ed1661f21023fb6db354da9332a9cbc.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e6457bda0dceea920032bcb7ce69b7b40ed1661f21023fb6db354da9332a9cbc.json new file mode 100644 index 0000000..1495526 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e6457bda0dceea920032bcb7ce69b7b40ed1661f21023fb6db354da9332a9cbc.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/dir.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, dirService) {\n this.gService = gService;\n this.dirService = dirService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n console.log(this.dirService);\n this.dirService.getUser(groupName).subscribe({\n next: res => {\n if (res.isSuccess) {\n console.log(res.data);\n }\n },\n error: err => {}\n });\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.DirService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","dirService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","groupName","getUser","res","isSuccess","data","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","DirService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { DirService } from 'src/app/services/dir.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService, public dirService: DirService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n console.log(this.dirService)\r\n this.dirService.getUser(groupName).subscribe({\r\n next: (res) => {\r\n if(res.isSuccess){\r\n console.log(res.data)\r\n }\r\n },\r\n error: (err) => {\r\n\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB,EAASC,UAAsB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAuB,KAAAC,UAAU,GAAVA,UAAU;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,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AA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAI5EjB,EAAA,CAAAY,cAAA,aAA2B;QAIXZ,EAAA,CAAAa,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAApB,gBAAA,EAAkB;QAAA,EAAC;QAACS,EAAA,CAAAe,MAAA,gBAAQ;QAAAf,EAAA,CAAAgB,SAAA,UAAI;QAAAhB,EAAA,CAAAe,MAAA,uBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAAgF;QACpFhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAA3D,qBAAA,CAAsC,mBAAA2D,GAAA,CAAAnB,sBAAA;QAGxCQ,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAA5D,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e8615500ef41e955c4e4a88fe02d075169587dbc249c1d86b549132c87acd15e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e8615500ef41e955c4e4a88fe02d075169587dbc249c1d86b549132c87acd15e.json new file mode 100644 index 0000000..0c1f768 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e8615500ef41e955c4e4a88fe02d075169587dbc249c1d86b549132c87acd15e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BaseTableComponent } from '../base-table/base-table.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/dir-user.service\";\nimport * as i2 from \"@generic-ui/ngx-grid\";\nexport class DirUserTableComponent extends BaseTableComponent {\n constructor(service, columns) {\n super(service, columns);\n }\n static #_ = this.ɵfac = function DirUserTableComponent_Factory(t) {\n return new (t || DirUserTableComponent)(i0.ɵɵdirectiveInject(i1.DirUserService), i0.ɵɵdirectiveInject('DIR_USER_TABLE_COLUMNS'));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: DirUserTableComponent,\n selectors: [[\"app-dir-user-table\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 14,\n consts: [[3, \"columns\", \"columnMenu\", \"sorting\", \"loading\", \"rowSelection\", \"rowDetail\", \"autoResizeWidth\", \"paging\", \"searching\", \"cellEditing\", \"virtualScroll\", \"infoPanel\", \"titlePanel\", \"theme\", \"selectedRows\"], [\"grid\", \"\"]],\n template: function DirUserTableComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"gui-grid\", 0, 1);\n i0.ɵɵlistener(\"selectedRows\", function DirUserTableComponent_Template_gui_grid_selectedRows_0_listener($event) {\n return ctx.onSelectedRows($event);\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"columns\", ctx.columns)(\"columnMenu\", ctx.columnMenu)(\"sorting\", ctx.sorting)(\"loading\", ctx.loading)(\"rowSelection\", ctx.rowSelection)(\"rowDetail\", ctx.rowDetail)(\"autoResizeWidth\", ctx.autoResizeWidth)(\"paging\", ctx.paging)(\"searching\", ctx.searching)(\"cellEditing\", ctx.cellEditing)(\"virtualScroll\", true)(\"infoPanel\", ctx.infoPanel)(\"titlePanel\", ctx.titlePanel)(\"theme\", ctx.theme);\n }\n },\n dependencies: [i2.GuiGridComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["BaseTableComponent","DirUserTableComponent","constructor","service","columns","_","i0","ɵɵdirectiveInject","i1","DirUserService","_2","selectors","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","DirUserTableComponent_Template","rf","ctx","ɵɵelementStart","ɵɵlistener","DirUserTableComponent_Template_gui_grid_selectedRows_0_listener","$event","onSelectedRows","ɵɵelementEnd","ɵɵproperty","columnMenu","sorting","loading","rowSelection","rowDetail","autoResizeWidth","paging","searching","cellEditing","infoPanel","titlePanel","theme"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\dir-user-table\\dir-user-table.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\base-table\\base-table.component.html"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { DirUser } from 'src/app/models/user-management.api.models';\r\nimport { DirUserService } from 'src/app/services/dir-user.service';\r\nimport { BaseTableComponent } from '../base-table/base-table.component';\r\nimport { GuiColumn } from '@generic-ui/ngx-grid/gui/grid/src/core/api/gui.grid.public-api';\r\n\r\n@Component({\r\n selector: 'app-dir-user-table',\r\n templateUrl: '../base-table/base-table.component.html',\r\n styleUrl: './dir-user-table.component.css'\r\n})\r\nexport class DirUserTableComponent extends BaseTableComponent {\r\n constructor(service: DirUserService, @Inject('DIR_USER_TABLE_COLUMNS') columns: Array) {\r\n super(service, columns)\r\n }\r\n}","\r\n"],"mappings":"AAGA,SAASA,kBAAkB,QAAQ,oCAAoC;;;;AAQvE,OAAM,MAAOC,qBAAsB,SAAQD,kBAA2C;EACpFE,YAAYC,OAAuB,EAAoCC,OAAyB;IAC9F,KAAK,CAACD,OAAO,EAAEC,OAAO,CAAC;EACzB;EAAC,QAAAC,CAAA,G;qBAHUJ,qBAAqB,EAAAK,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,cAAA,GAAAH,EAAA,CAAAC,iBAAA,CACa,wBAAwB;EAAA;EAAA,QAAAG,EAAA,G;UAD1DT,qBAAqB;IAAAU,SAAA;IAAAC,QAAA,GAAAN,EAAA,CAAAO,0BAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC,QAAA,WAAAC,+BAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;QCXlCb,EAAA,CAAAe,cAAA,qBAe6C;QAAxCf,EAAA,CAAAgB,UAAA,0BAAAC,gEAAAC,MAAA;UAAA,OAAgBJ,GAAA,CAAAK,cAAA,CAAAD,MAAA,CAAsB;QAAA,EAAC;QAC5ClB,EAAA,CAAAoB,YAAA,EAAW;;;QAfNpB,EAAA,CAAAqB,UAAA,YAAAP,GAAA,CAAAhB,OAAA,CAAmB,eAAAgB,GAAA,CAAAQ,UAAA,aAAAR,GAAA,CAAAS,OAAA,aAAAT,GAAA,CAAAU,OAAA,kBAAAV,GAAA,CAAAW,YAAA,eAAAX,GAAA,CAAAY,SAAA,qBAAAZ,GAAA,CAAAa,eAAA,YAAAb,GAAA,CAAAc,MAAA,eAAAd,GAAA,CAAAe,SAAA,iBAAAf,GAAA,CAAAgB,WAAA,sCAAAhB,GAAA,CAAAiB,SAAA,gBAAAjB,GAAA,CAAAkB,UAAA,WAAAlB,GAAA,CAAAmB,KAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e90e84e2a88e2f0a60c836fddf5a2f866d2460b597d8830e0355104e4865638e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e90e84e2a88e2f0a60c836fddf5a2f866d2460b597d8830e0355104e4865638e.json new file mode 100644 index 0000000..5a581b6 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/e90e84e2a88e2f0a60c836fddf5a2f866d2460b597d8830e0355104e4865638e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@angular/material/button\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 17,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [\"mat-mini-fab\", \"\", \"color\", \"accent\", \"aria-label\", \"Example icon button with a plus one icon\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"button\", 4)(8, \"mat-icon\");\n i0.ɵɵtext(9, \"plus_one\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(10, \"div\", 5)(11, \"div\", 6);\n i0.ɵɵelement(12, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 6);\n i0.ɵɵelement(15, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.MatMiniFabButton, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ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CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BhD,2BAA2B;IAAAiD,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAG8CV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QACvHf,EAAA,CAAAU,cAAA,gBAA0F;QAC5EV,EAAA,CAAAa,MAAA,eAAQ;QAAAb,EAAA,CAAAe,YAAA,EAAW;QAK7Cf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,iCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ea6f5616f4e5878bb411b5a107aa24d669a565f964ff223662816846e32199a5.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ea6f5616f4e5878bb411b5a107aa24d669a565f964ff223662816846e32199a5.json new file mode 100644 index 0000000..1a77dd1 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ea6f5616f4e5878bb411b5a107aa24d669a565f964ff223662816846e32199a5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"25vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 68,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵelementEnd()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]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A3MTgsIDQ0LjA2MjE1NCwgMjQ5LjQzNzg0NjtcclxuXHJcbiAgLS1icy1idG4tZm9udC13ZWlnaHQ6IDYwMDtcclxuICAtLWJzLWJ0bi1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"25vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,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,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/eae47c9dbe73103961e67f58d873c59679bd12a4473568001afe78b0ba0813ac.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/eae47c9dbe73103961e67f58d873c59679bd12a4473568001afe78b0ba0813ac.json new file mode 100644 index 0000000..ced25b0 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/eae47c9dbe73103961e67f58d873c59679bd12a4473568001afe78b0ba0813ac.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { HttpParams } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class DirService {\n constructor(http, baseUrl) {\n this.baseUrl = baseUrl;\n this.http = http;\n this.baseUrl = baseUrl;\n }\n getUser(groupName) {\n let params = new HttpParams();\n if (groupName) {\n params = params.set('groupName', groupName);\n }\n return this.http.get(this.baseUrl, {\n params\n });\n }\n static #_ = this.ɵfac = function DirService_Factory(t) {\n return new (t || DirService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject('DIR_URL'));\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DirService,\n factory: DirService.ɵfac,\n providedIn: 'root'\n });\n}","map":{"version":3,"names":["HttpParams","DirService","constructor","http","baseUrl","getUser","groupName","params","set","get","_","i0","ɵɵinject","i1","HttpClient","_2","factory","ɵfac","providedIn"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\services\\dir.service.ts"],"sourcesContent":["import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiResponseModel } from '../models/api.response.model';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { DirUser } from '../models/user-management.api.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DirService {\r\n constructor(http: HttpClient, @Inject('DIR_URL') private baseUrl: string) {\r\n this.http = http;\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n http: HttpClient;\r\n\r\n getUser(groupName: string): Observable> {\r\n let params = new HttpParams();\r\n if (groupName) {\r\n params = params.set('groupName', groupName);\r\n }\r\n\r\n return this.http.get>(this.baseUrl, { params });\r\n }\r\n}"],"mappings":"AAAA,SAAqBA,UAAU,QAAQ,sBAAsB;;;AAS7D,OAAM,MAAOC,UAAU;EACrBC,YAAYC,IAAgB,EAA6BC,OAAe;IAAf,KAAAA,OAAO,GAAPA,OAAO;IAC9D,IAAI,CAACD,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;EACxB;EAIAC,OAAOA,CAACC,SAAiB;IACvB,IAAIC,MAAM,GAAG,IAAIP,UAAU,EAAE;IAC7B,IAAIM,SAAS,EAAE;MACbC,MAAM,GAAGA,MAAM,CAACC,GAAG,CAAC,WAAW,EAAEF,SAAS,CAAC;;IAG7C,OAAO,IAAI,CAACH,IAAI,CAACM,GAAG,CAA8B,IAAI,CAACL,OAAO,EAAE;MAAEG;IAAM,CAAE,CAAC;EAC7E;EAAC,QAAAG,CAAA,G;qBAfUT,UAAU,EAAAU,EAAA,CAAAC,QAAA,CAAAC,EAAA,CAAAC,UAAA,GAAAH,EAAA,CAAAC,QAAA,CACiB,SAAS;EAAA;EAAA,QAAAG,EAAA,G;WADpCd,UAAU;IAAAe,OAAA,EAAVf,UAAU,CAAAgB,IAAA;IAAAC,UAAA,EAFT;EAAM"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/eb4b0231efddd09a570e0f0e694062865e8cf70a4af9898f407082f9b5b6691e.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/eb4b0231efddd09a570e0f0e694062865e8cf70a4af9898f407082f9b5b6691e.json new file mode 100644 index 0000000..28cb9cc --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/eb4b0231efddd09a570e0f0e694062865e8cf70a4af9898f407082f9b5b6691e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 11,\n vars: 2,\n consts: [[1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\"], [1, \"col-6\", \"ps-1\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nav\", 0)(1, \"form\", 1)(2, \"button\", 2);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_2_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(3, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"div\", 4);\n i0.ɵɵelement(6, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"div\", 7);\n i0.ɵɵelement(9, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_2_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAt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end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ebcb7748da8ae0c41d59131f0650a6f0e38a02f66979db7763b4d5a7f963d5f9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ebcb7748da8ae0c41d59131f0650a6f0e38a02f66979db7763b4d5a7f963d5f9.json new file mode 100644 index 0000000..3b87545 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ebcb7748da8ae0c41d59131f0650a6f0e38a02f66979db7763b4d5a7f963d5f9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 67,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]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A3MTgsIDQ0LjA2MjE1NCwgMjQ5LjQzNzg0NjtcclxuXHJcbiAgLS1icy1idG4tZm9udC13ZWlnaHQ6IDYwMDtcclxuICAtLWJzLWJ0bi1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport {MatDialog} from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog){\r\n\r\n }\r\n \r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n \r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width:\"50vw\"\r\n \r\n });\r\n\r\n }\r\n}\r\n","
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;;;;;;;;;;;;;;;;;;AAOjH,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU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KAAAQ,GAAA,EAAoB;QAE/BlC,EAAA,CAAAsB,SAAA,GAAiC;QAAjCtB,EAAA,CAAAmC,WAAA,kBAAAvB,GAAA,CAAApB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f0e2d73b99a2c8eb43e0cea9d1455068c402036669e8c71ad87a0aeb1a0a0322.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f0e2d73b99a2c8eb43e0cea9d1455068c402036669e8c71ad87a0aeb1a0a0322.json new file mode 100644 index 0000000..6485ad2 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f0e2d73b99a2c8eb43e0cea9d1455068c402036669e8c71ad87a0aeb1a0a0322.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {}\n dirGroupOnSelectedRows(rows) {\n if (rows.length > 0) {\n console.log(rows[rows.length - 1].source.samaccountname);\n }\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 3,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","addSelectedUsers","dirGroupOnSelectedRows","rows","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { MatButtonModule } from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n\r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n\r\n }\r\n\r\n dirGroupOnSelectedRows(rows: Array) {\r\n if (rows.length > 0) {\r\n console.log(rows[rows.length - 1].source.samaccountname)\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;MAC5D;MACAP,QAAQ,CAACS,IAAI,CACX,IAAI,CAACtB,QAAQ,CAACuB,UAAU,CAAC;QAAEH,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MA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AA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCdxCR,EAAA,CAAAU,cAAA,aAAyB;QAKLV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAA1C,iBAAA,EAAmB;QAAA,EAAC;QAACiC,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAI5Ef,EAAA,CAAAU,cAAA,aAA2B;QAIXV,EAAA,CAAAW,UAAA,mBAAAK,8DAAA;UAAA,OAASP,GAAA,CAAAb,gBAAA,EAAkB;QAAA,EAAC;QAACI,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAApD,qBAAA,CAAsC,mBAAAoD,GAAA,CAAAZ,sBAAA;QAGxCG,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAArD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f1996db0c47cd2670206787190ebe2ff03cb4112f48b2ff7036411ac279336b9.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f1996db0c47cd2670206787190ebe2ff03cb4112f48b2ff7036411ac279336b9.json new file mode 100644 index 0000000..b75adc2 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f1996db0c47cd2670206787190ebe2ff03cb4112f48b2ff7036411ac279336b9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.ROW,\n mode: GuiRowSelectionMode.SINGLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n this.dirGroups.safelyUnselectAll();\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 15,\n vars: 4,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(5, \"Benutzer\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 6);\n i0.ɵɵelement(10, \"app-dir-group-table\", 7, 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"div\", 6);\n i0.ɵɵelement(13, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","ROW","mode","SINGLE","dirUsersRowSelection","CHECKBOX","MULTIPLE","dirGroupOnSelectedRows","rows","length","dirGroups","safelyUnselectAll","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","selectedRows","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.ROW,\r\n mode: GuiRowSelectionMode.SINGLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n this.dirGroups.safelyUnselectAll()\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.d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AAA8D,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA,GAAAH,EAAA,CAAAC,iBAAA,CAAAG,EAAA,CAAAC,WAAA;EAAA;EAAA,QAAAC,EAAA,G;UAA3BpE,2BAA2B;IAAAqE,SAAA;IAAAC,SAAA,WAAAC,kCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;;;;;;;;;;;;;;;QCfxCV,EAAA,CAAAY,cAAA,aAAyB;QAKLZ,EAAA,CAAAa,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAtB,gBAAA,EAAkB;QAAA,EAAC;QAACW,EAAA,CAAAe,MAAA,eAAQ;QAAAf,EAAA,CAAAgB,SAAA,SAAI;QAAAhB,EAAA,CAAAe,MAAA,sBAAU;QAAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,aAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,iCAAsH;QAC1HhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAkB,SAAA,IAAsC;QAAtClB,EAAA,CAAAmB,UAAA,iBAAAR,GAAA,CAAApE,qBAAA,CAAsC,mBAAAoE,GAAA,CAAA3D,sBAAA;QAGxCgD,EAAA,CAAAkB,SAAA,GAA4B;QAA5BlB,EAAA,CAAAmB,UAAA,aAAAR,GAAA,CAAArE,eAAA,CAA4B,iBAAAqE,GAAA,CAAA9D,oBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f65b9f308be27a1fe0d411276e0460d91042b2f7456f20be3f78cd4f316e7aff.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f65b9f308be27a1fe0d411276e0460d91042b2f7456f20be3f78cd4f316e7aff.json new file mode 100644 index 0000000..af48b5b --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f65b9f308be27a1fe0d411276e0460d91042b2f7456f20be3f78cd4f316e7aff.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i4 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"pe-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\"], [1, \"col-6\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [1, \"col-6\", \"pe-0\", \"mb-0\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"nav\", 1)(2, \"form\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5);\n i0.ɵɵelement(7, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(9, \"div\", 8);\n i0.ɵɵelement(10, \"app-dir-user-table\", 9, 10);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent, i4.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EAAEM,MAAM,EAAED;MAAc,CAAE,CAAC;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AGiDV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAc,YAAA,EAAS;QAIxHd,EAAA,CAAAU,cAAA,aAAmC;QAE3BV,EAAA,CAAAe,SAAA,gCAA6F;QACjGf,EAAA,CAAAc,YAAA,EAAM;QACNd,EAAA,CAAAU,cAAA,aAA6B;QACzBV,EAAA,CAAAe,SAAA,iCAAgF;QACpFf,EAAA,CAAAc,YAAA,EAAM;;;QAJ8Bd,EAAA,CAAAgB,SAAA,GAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAgB,SAAA,GAA4B;QAA5BhB,EAAA,CAAAiB,UAAA,aAAAR,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f685350c28d01c1fbaf9d9867437ab2917637ed167230ecc8fd4a82657e6f52b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f685350c28d01c1fbaf9d9867437ab2917637ed167230ecc8fd4a82657e6f52b.json new file mode 100644 index 0000000..23550fc --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f685350c28d01c1fbaf9d9867437ab2917637ed167230ecc8fd4a82657e6f52b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BaseTableComponent } from '../base-table/base-table.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/dir-group.service\";\nimport * as i2 from \"@generic-ui/ngx-grid\";\nexport class DirGroupTableComponent extends BaseTableComponent {\n constructor(service, columns) {\n super(service, columns);\n }\n static #_ = this.ɵfac = function DirGroupTableComponent_Factory(t) {\n return new (t || DirGroupTableComponent)(i0.ɵɵdirectiveInject(i1.DirGroupService), i0.ɵɵdirectiveInject('DIR_GROUP_TABLE_COLUMNS'));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: DirGroupTableComponent,\n selectors: [[\"app-dir-group-table\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 14,\n consts: [[3, \"columns\", \"columnMenu\", \"sorting\", \"loading\", \"rowSelection\", \"rowDetail\", \"autoResizeWidth\", \"paging\", \"searching\", \"cellEditing\", \"virtualScroll\", \"infoPanel\", \"titlePanel\", \"theme\", \"selectedRows\"], [\"grid\", \"\"]],\n template: function DirGroupTableComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"gui-grid\", 0, 1);\n i0.ɵɵlistener(\"selectedRows\", function DirGroupTableComponent_Template_gui_grid_selectedRows_0_listener($event) {\n return ctx.onSelectedRows($event);\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"columns\", ctx.columns)(\"columnMenu\", ctx.columnMenu)(\"sorting\", ctx.sorting)(\"loading\", ctx.loading)(\"rowSelection\", ctx.rowSelection)(\"rowDetail\", ctx.rowDetail)(\"autoResizeWidth\", ctx.autoResizeWidth)(\"paging\", ctx.paging)(\"searching\", ctx.searching)(\"cellEditing\", ctx.cellEditing)(\"virtualScroll\", true)(\"infoPanel\", ctx.infoPanel)(\"titlePanel\", ctx.titlePanel)(\"theme\", ctx.theme);\n }\n },\n dependencies: [i2.GuiGridComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["BaseTableComponent","DirGroupTableComponent","constructor","service","columns","_","i0","ɵɵdirectiveInject","i1","DirGroupService","_2","selectors","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","DirGroupTableComponent_Template","rf","ctx","ɵɵelementStart","ɵɵlistener","DirGroupTableComponent_Template_gui_grid_selectedRows_0_listener","$event","onSelectedRows","ɵɵelementEnd","ɵɵproperty","columnMenu","sorting","loading","rowSelection","rowDetail","autoResizeWidth","paging","searching","cellEditing","infoPanel","titlePanel","theme"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\dir-group-table\\dir-group-table.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\base-table\\base-table.component.html"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { BaseTableComponent } from '../base-table/base-table.component';\r\nimport { DirGroupService } from 'src/app/services/dir-group.service';\r\nimport { DirGroup } from 'src/app/models/user-management.api.models';\r\nimport { GuiColumn } from '@generic-ui/ngx-grid';\r\n\r\n@Component({\r\n selector: 'app-dir-group-table',\r\n templateUrl: '../base-table/base-table.component.html',\r\n styleUrl: './dir-group-table.component.css'\r\n})\r\nexport class DirGroupTableComponent extends BaseTableComponent {\r\n constructor(service: DirGroupService, @Inject('DIR_GROUP_TABLE_COLUMNS') columns: Array) {\r\n super(service, columns)\r\n }\r\n}","\r\n"],"mappings":"AACA,SAASA,kBAAkB,QAAQ,oCAAoC;;;;AAUvE,OAAM,MAAOC,sBAAuB,SAAQD,kBAA6C;EACvFE,YAAYC,OAAwB,EAAqCC,OAAyB;IAChG,KAAK,CAACD,OAAO,EAAEC,OAAO,CAAC;EACzB;EAAC,QAAAC,CAAA,G;qBAHUJ,sBAAsB,EAAAK,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,eAAA,GAAAH,EAAA,CAAAC,iBAAA,CACa,yBAAyB;EAAA;EAAA,QAAAG,EAAA,G;UAD5DT,sBAAsB;IAAAU,SAAA;IAAAC,QAAA,GAAAN,EAAA,CAAAO,0BAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC,QAAA,WAAAC,gCAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;QCXnCb,EAAA,CAAAe,cAAA,qBAe6C;QAAxCf,EAAA,CAAAgB,UAAA,0BAAAC,iEAAAC,MAAA;UAAA,OAAgBJ,GAAA,CAAAK,cAAA,CAAAD,MAAA,CAAsB;QAAA,EAAC;QAC5ClB,EAAA,CAAAoB,YAAA,EAAW;;;QAfNpB,EAAA,CAAAqB,UAAA,YAAAP,GAAA,CAAAhB,OAAA,CAAmB,eAAAgB,GAAA,CAAAQ,UAAA,aAAAR,GAAA,CAAAS,OAAA,aAAAT,GAAA,CAAAU,OAAA,kBAAAV,GAAA,CAAAW,YAAA,eAAAX,GAAA,CAAAY,SAAA,qBAAAZ,GAAA,CAAAa,eAAA,YAAAb,GAAA,CAAAc,MAAA,eAAAd,GAAA,CAAAe,SAAA,iBAAAf,GAAA,CAAAgB,WAAA,sCAAAhB,GAAA,CAAAiB,SAAA,gBAAAjB,GAAA,CAAAkB,UAAA,WAAAlB,GAAA,CAAAmB,KAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f695da5667f681bf2329bfb4a1c824e059f8a3699acc46ba67736526d4fd6a9a.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f695da5667f681bf2329bfb4a1c824e059f8a3699acc46ba67736526d4fd6a9a.json new file mode 100644 index 0000000..fbc32e1 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/f695da5667f681bf2329bfb4a1c824e059f8a3699acc46ba67736526d4fd6a9a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i3 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n console.log(row);\n console.log({\n samaccountname: row?.source?.samaccountname\n });\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByAd({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 20,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\"], [\"dirGroups\", \"\"], [3, \"initData\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_3_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(4, \"Gruppen\");\n i0.ɵɵelement(5, \"br\");\n i0.ɵɵtext(6, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(7, \"div\", 1)(8, \"nav\", 2)(9, \"button\", 3);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_9_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(10, \"Benutzer\");\n i0.ɵɵelement(11, \"br\");\n i0.ɵɵtext(12, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(13, \"div\", 4)(14, \"div\", 1);\n i0.ɵɵelement(15, \"app-dir-group-table\", 5, 6);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(17, \"div\", 1);\n i0.ɵɵelement(18, \"app-dir-user-table\", 7, 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(15);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData);\n }\n },\n dependencies: [i2.DirGroupTableComponent, i3.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","ngOnInit","ngAfterViewInit","dirUsers","loading","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","console","log","samaccountname","source","push","createByAd","pipe","err","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_3_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_9_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => {}\r\n\r\n constructor(public gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers! : DirUserTableComponent;\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n \r\n for (let row of this.dirGroups.selectedRows) {\r\n console.log(row)\r\n console.log({ samaccountname: row?.source?.samaccountname })\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n \r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n \r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;AASrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAmBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF3B,KAAAC,eAAe,GAAG,MAAK,CAAE,CAAC;IAgB1B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EAjBD;EAEAC,QAAQA,CAAA,GACR;EAEAC,eAAeA,CAAA;IACb,IAAI,CAACC,QAAQ,CAACC,OAAO,GAAG,KAAK;EAC/B;EAYAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IAExB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3CC,OAAO,CAACC,GAAG,CAACJ,GAAG,CAAC;MAChBG,OAAO,CAACC,GAAG,CAAC;QAAEC,cAAc,EAAEL,GAAG,EA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CdxCR,EAAA,CAAAU,cAAA,aAAyB;QAITV,EAAA,CAAAW,UAAA,mBAAAC,6DAAA;UAAA,OAASH,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAGxEf,EAAA,CAAAU,cAAA,aAA2B;QAGfV,EAAA,CAAAW,UAAA,mBAAAK,6DAAA;UAAA,OAASP,GAAA,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,gBAAQ;QAAAb,EAAA,CAAAc,SAAA,UAAI;QAAAd,EAAA,CAAAa,MAAA,uBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAI7Ef,EAAA,CAAAU,cAAA,cAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAA6F;QACjGd,EAAA,CAAAe,YAAA,EAAM;QACNf,EAAA,CAAAU,cAAA,cAA2B;QACvBV,EAAA,CAAAc,SAAA,gCAAgF;QACpFd,EAAA,CAAAe,YAAA,EAAM;;;QAJ8Bf,EAAA,CAAAiB,SAAA,IAAsC;QAAtCjB,EAAA,CAAAkB,UAAA,iBAAAT,GAAA,CAAAjD,qBAAA,CAAsC;QAGxCwC,EAAA,CAAAiB,SAAA,GAA4B;QAA5BjB,EAAA,CAAAkB,UAAA,aAAAT,GAAA,CAAAlD,eAAA,CAA4B"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/faefd59f646e41b3e232f66752642344e9914726b43a29eaf46720fdba45aceb.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/faefd59f646e41b3e232f66752642344e9914726b43a29eaf46720fdba45aceb.json new file mode 100644 index 0000000..782adb8 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/faefd59f646e41b3e232f66752642344e9914726b43a29eaf46720fdba45aceb.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"src/app/services/user.service\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"../tables/dir-group-table/dir-group-table.component\";\nimport * as i5 from \"../tables/dir-user-table/dir-user-table.component\";\nconst _c0 = [\"dirGroups\"];\nconst _c1 = [\"dirUsers\"];\nexport class UserGroupDirImportComponent {\n constructor(gService, uService) {\n this.gService = gService;\n this.uService = uService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirGroupOnSelectedRows = rows => {\n if (rows.length > 0) {\n let groupName = rows[rows.length - 1].source.samaccountname;\n this.dirUsers.fetchDataByGroupName(groupName);\n }\n };\n this.useronSelectedRows = rows => {\n if (rows.length > 0) {\n if (this.dirGroups.selectedRows.length > 0) {}\n }\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {\n this.dirUsers.loading = false;\n }\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n addSelectedUsers() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirUsers.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n console.log(row?.source);\n requests.push(this.uService.create({\n email: row?.source.emailAddress,\n prename: row.source.givenName,\n username: row.source.samAccountName,\n name: row.source.surname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new users added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirUsers.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function UserGroupDirImportComponent_Factory(t) {\n return new (t || UserGroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject(i2.UserService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserGroupDirImportComponent,\n selectors: [[\"app-user-group-dir-import\"]],\n viewQuery: function UserGroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirUsers = _t.first);\n }\n },\n decls: 22,\n vars: 5,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"], [3, \"initData\", \"rowSelection\", \"onSelectedRows\"], [\"dirUsers\", \"\"]],\n template: function UserGroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"nav\", 2)(10, \"form\", 3)(11, \"button\", 4);\n i0.ɵɵlistener(\"click\", function UserGroupDirImportComponent_Template_button_click_11_listener() {\n return ctx.addSelectedUsers();\n });\n i0.ɵɵtext(12, \"Benutzer\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵtext(14, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(15, \"div\", 5)(16, \"div\", 1);\n i0.ɵɵelement(17, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"div\", 1);\n i0.ɵɵelement(20, \"app-dir-user-table\", 8, 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(17);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"initData\", ctx.initWithoutData)(\"rowSelection\", ctx.dirUsersRowSelection)(\"onSelectedRows\", ctx.useronSelectedRows);\n }\n },\n dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.DirGroupTableComponent, i5.DirUserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","UserGroupDirImportComponent","constructor","gService","uService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","dirGroupOnSelectedRows","rows","length","groupName","source","samaccountname","dirUsers","fetchDataByGroupName","useronSelectedRows","dirGroups","selectedRows","ngOnInit","ngAfterViewInit","loading","addSelectedGroups","requests","numAdded","row","push","createByDir","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","error","addSelectedUsers","create","email","emailAddress","prename","givenName","username","samAccountName","name","surname","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","UserService","_2","selectors","viewQuery","UserGroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","UserGroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","UserGroupDirImportComponent_Template_button_click_11_listener","ɵɵadvance","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user-group-dir-import\\user-group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\nimport { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component';\r\nimport { UserService } from 'src/app/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-group-dir-import',\r\n templateUrl: './user-group-dir-import.component.html',\r\n styleUrl: './user-group-dir-import.component.css'\r\n})\r\nexport class UserGroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService, private uService: UserService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n @ViewChild('dirUsers') dirUsers!: DirUserTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n this.dirUsers.loading = false;\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n addSelectedUsers() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirUsers.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n console.log(row?.source)\r\n requests.push(\r\n this.uService.create({\r\n email: row?.source.emailAddress,\r\n prename: row.source.givenName,\r\n username: row.source.samAccountName,\r\n name: row.source.surname,\r\n }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new users added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirUsers.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n\r\n dirGroupOnSelectedRows = (rows: Array) => {\r\n if (rows.length > 0) {\r\n let groupName: string = rows[rows.length - 1].source.samaccountname;\r\n this.dirUsers.fetchDataByGroupName(groupName);\r\n }\r\n }\r\n\r\n useronSelectedRows = (rows: Array) => {\r\n if(rows.length > 0){\r\n if(this.dirGroups.selectedRows.length > 0) {\r\n \r\n }\r\n }\r\n };\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAwB,sBAAsB;AAChH,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;;;;AAUrD,OAAM,MAAOC,2BAA2B;EAItCC,YAAoBC,QAAsB,EAAUC,QAAqB;IAArD,KAAAD,QAAQ,GAARA,QAAQ;IAAwB,KAAAC,QAAQ,GAARA,QAAQ;IAF5D,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAgB3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEb,mBAAmB,CAACc,QAAQ;MAClCC,IAAI,EAAEhB,mBAAmB,CAACiB;KAC3B;IAgGD,KAAAE,sBAAsB,GAAIC,IAA2B,IAAI;MACvD,IAAIA,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAI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AAAf,EAAA,CAAAiB,YAAA,EAAS;QAKhFjB,EAAA,CAAAY,cAAA,cAA2C;QAEnCZ,EAAA,CAAAgB,SAAA,iCAAuI;QAC3IhB,EAAA,CAAAiB,YAAA,EAAM;QACNjB,EAAA,CAAAY,cAAA,cAA2B;QACvBZ,EAAA,CAAAgB,SAAA,gCAA4J;QAChKhB,EAAA,CAAAiB,YAAA,EAAM;;;QAJ8BjB,EAAA,CAAAmB,SAAA,IAAsC;QAAtCnB,EAAA,CAAAoB,UAAA,iBAAAT,GAAA,CAAAnE,qBAAA,CAAsC,mBAAAmE,GAAA,CAAA5D,sBAAA;QAGxCiD,EAAA,CAAAmB,SAAA,GAA4B;QAA5BnB,EAAA,CAAAoB,UAAA,aAAAT,GAAA,CAAApE,eAAA,CAA4B,iBAAAoE,GAAA,CAAA7D,oBAAA,oBAAA6D,GAAA,CAAApD,kBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/fd5fae987e8812061544476101ac73c783a578d756f851d55aebe7cd52a7259b.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/fd5fae987e8812061544476101ac73c783a578d756f851d55aebe7cd52a7259b.json new file mode 100644 index 0000000..63b1c42 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/fd5fae987e8812061544476101ac73c783a578d756f851d55aebe7cd52a7259b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 74,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", \"p-0\", 3, \"click\"], [\"width\", \"3em\", \"height\", \"2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"fill\", \"#000000\", \"width\", \"3em\", \"height\", \"2em\", \"version\", \"1.1\", \"id\", \"Capa_1\", \"xmlns\", \"http://www.w3.org/2000/svg\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"viewBox\", \"0 0 488.6 488.6\", 0, \"xml\", \"space\", \"preserve\"], [\"d\", \"M480.9,333.2c-27.2-22.3-56.5-37.1-62.4-40c-0.7-0.3-1.1-1-1.1-1.8v-42.3c5.3-3.5,8.8-9.6,8.8-16.5v-43.9\\n c0-21.8-17.7-39.5-39.5-39.5H382h-4.7c-21.8,0-39.5,17.7-39.5,39.5v43.9c0,6.9,3.5,12.9,8.8,16.5v42.3c0,0.3-0.1,0.5-0.1,0.7\\n c8.3,5.7,17,12.1,25.5,19.1c9.9,8.2,15.6,20.2,15.6,33.2v35.3h101v-30.1C488.6,343.3,485.8,337.2,480.9,333.2z\"], [\"d\", \"M142,291.4v-42.3c5.3-3.5,8.8-9.6,8.8-16.5v-43.9c0-21.8-17.7-39.5-39.5-39.5h-4.7h-4.7c-21.8,0-39.5,17.7-39.5,39.5v43.9\\n c0,6.9,3.5,12.9,8.8,16.5v42.3c0,0.7-0.4,1.4-1.1,1.8c-6,2.9-35.3,17.7-62.4,40c-4.9,4-7.7,10.1-7.7,16.4v30.1h101v-35.3\\n c0-12.9,5.7-25,15.6-33.2c8.5-7,17.2-13.4,25.5-19.1C142.1,291.9,142,291.7,142,291.4z\"], [\"d\", \"M360.5,325.1c-31.9-26.2-66.3-43.6-73.4-47.1c-0.8-0.4-1.3-1.2-1.3-2.1v-49.7c6.2-4.2,10.4-11.3,10.4-19.3v-51.6\\n c0-25.6-20.8-46.4-46.4-46.4h-5.5h-5.5c-25.6,0-46.4,20.8-46.4,46.4v51.5c0,8.1,4.1,15.2,10.4,19.3v49.7c0,0.9-0.5,1.7-1.3,2.1\\n c-7,3.4-41.4,20.8-73.4,47.1c-5.8,4.7-9.1,11.8-9.1,19.3v35.3h108.9l10.8-49.3c-21.7-30.3,1.6-31.8,5.7-31.8l0,0l0,0\\n c4.1,0,27.4,1.5,5.7,31.8l10.8,49.3h108.9v-35.3C369.6,336.9,366.3,329.8,360.5,325.1z\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38)(69, \"g\")(70, \"g\");\n i0.ɵɵelement(71, \"path\", 39)(72, \"path\", 40)(73, \"path\", 41);\n i0.ɵɵelementEnd()()()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hc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4gIC0tYnMtYnRuLWJnOiB2YXIoLS1iZC12aW9sZXQtYmcpO1xyXG4gIC0tYnMtYnRuLWJvcmRlci1jb2xvcjogdmFyKC0tYmQtdmlvbGV0LWJnKTtcclxuICAtLWJzLWJ0bi1ob3Zlci1jb2xvcjogdmFyKC0tYnMtd2hpdGUpO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJnOiAjNjUyOGUwO1xyXG4gIC0tYnMtYnRuLWhvdmVyLWJvcmRlci1jb2xvcjogIzY1MjhlMDtcclxuICAtLWJzLWJ0bi1mb2N1cy1zaGFkb3ctcmdiOiB2YXIoLS1iZC12aW9sZXQtcmdiKTtcclxuICAtLWJzLWJ0bi1hY3RpdmUtY29sb3I6IHZhcigtLWJzLWJ0bi1ob3Zlci1jb2xvcik7XHJcbiAgLS1icy1idG4tYWN0aXZlLWJnOiAjNWEyM2M4O1xyXG4gIC0tYnMtYnRuLWFjdGl2ZS1ib3JkZXItY29sb3I6ICM1YTIzYzg7XHJcbn1cclxuXHJcbi5iZC1tb2RlLXRvZ2dsZSB7XHJcbiAgei1pbmRleDogMTUwMDtcclxufVxyXG5cclxuLmJkLW1vZGUtdG9nZ2xlIC5kcm9wZG93bi1tZW51IC5hY3RpdmUgLmJpIHtcclxuICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;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AA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAK,GAAA,EAA8B;QAE/BhC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAA+B;QAA/BvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAM,GAAA,EAA+B;QAEhCjC,EAAA,CAAAuB,SAAA,GAAoC;QAApCvB,EAAA,CAAAwB,UAAA,qBAAAxB,EAAA,CAAA2B,eAAA,KAAAC,GAAA,EAAoC,4BAAA5B,EAAA,CAAA2B,eAAA,KAAAE,GAAA;QACnC7B,EAAA,CAAAuB,SAAA,EAAgC;QAAhCvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAO,GAAA,EAAgC;QAIdlC,EAAA,CAAAuB,SAAA,GAAoB;QAApBvB,EAAA,CAAAwB,UAAA,eAAAxB,EAAA,CAAA2B,eAAA,KAAAQ,GAAA,EAAoB;QAE/BnC,EAAA,CAAAuB,SAAA,GAAiC;QAAjCvB,EAAA,CAAAoC,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/fe348c78c01e88bad6f75ffcccadf2f8b11df5683908657cc5bcd1e288370494.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/fe348c78c01e88bad6f75ffcccadf2f8b11df5683908657cc5bcd1e288370494.json new file mode 100644 index 0000000..23e617a --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/fe348c78c01e88bad6f75ffcccadf2f8b11df5683908657cc5bcd1e288370494.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/dialog\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/router\";\nconst _c0 = a0 => ({\n show: a0\n});\nconst _c1 = () => [\"link-active\"];\nconst _c2 = () => ({\n exact: true\n});\nconst _c3 = () => [\"/user-assignment\"];\nconst _c4 = () => [\"/user-representation\"];\nconst _c5 = () => [\"/user-table\"];\nconst _c6 = () => [\"/group-table\"];\nconst _c7 = () => [\"/module-table\"];\nconst _c8 = () => [\"/\"];\nexport class NavMenuComponent {\n constructor(dialog) {\n this.dialog = dialog;\n this.isExpanded = false;\n }\n collapse() {\n this.isExpanded = false;\n }\n toggle() {\n this.isExpanded = !this.isExpanded;\n }\n importUser() {\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n importGroup() {\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\n width: \"50vw\"\n });\n }\n static #_ = this.ɵfac = function NavMenuComponent_Factory(t) {\n return new (t || NavMenuComponent)(i0.ɵɵdirectiveInject(i1.MatDialog));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavMenuComponent,\n selectors: [[\"app-nav-menu\"]],\n decls: 75,\n vars: 41,\n consts: [[1, \"nav\", \"nav-tabs\", \"navbar\", \"navbar-expand-sm\", \"navbar-toggleable-sm\", \"navbar-light\", \"border-bottom\", \"box-shadow\", \"py-0\", \"my-3\"], [1, \"container\"], [1, \"navbar-collapse\", \"collapse\", \"d-sm-inline-flex\", \"justify-content-start\", 3, \"ngClass\"], [1, \"navbar-nav\", \"flex-grow\"], [1, \"nav-item\", 3, \"routerLinkActive\", \"routerLinkActiveOptions\"], [1, \"nav-link\", 3, \"routerLink\", \"routerLinkActive\"], [1, \"navbar-brand\", \"justify-content-end\", 3, \"routerLink\"], [\"type\", \"button\", \"data-toggle\", \"collapse\", \"data-target\", \".navbar-collapse\", \"aria-label\", \"Toggle navigation\", 1, \"navbar-toggler\", 3, \"click\"], [1, \"navbar-toggler-icon\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"d-none\"], [\"id\", \"check2\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"], [\"id\", \"circle-half\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"], [\"id\", \"moon-stars-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"], [\"d\", \"M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z\"], [\"id\", \"sun-fill\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"], [1, \"dropdown\", \"justify-content-end\", \"bd-mode-toggle\"], [\"id\", \"bd-theme\", \"type\", \"button\", \"aria-expanded\", \"false\", \"data-bs-toggle\", \"dropdown\", \"aria-label\", \"Toggle theme (auto)\", 1, \"btn\", \"btn-bd-primary\", \"py-2\", \"dropdown-toggle\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"href\", \"#circle-half\"], [\"id\", \"bd-theme-text\", 1, \"visually-hidden\"], [\"aria-labelledby\", \"bd-theme-text\", 1, \"dropdown-menu\", \"dropdown-menu-end\", \"shadow\"], [\"type\", \"button\", \"data-bs-theme-value\", \"light\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"me-2\", \"opacity-50\"], [\"href\", \"#sun-fill\"], [\"width\", \"1em\", \"height\", \"1em\", 1, \"bi\", \"ms-auto\", \"d-none\"], [\"href\", \"#check2\"], [\"type\", \"button\", \"data-bs-theme-value\", \"dark\", \"aria-pressed\", \"false\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\"], [\"href\", \"#moon-stars-fill\"], [\"type\", \"button\", \"data-bs-theme-value\", \"auto\", \"aria-pressed\", \"true\", 1, \"dropdown-item\", \"d-flex\", \"align-items-center\", \"active\"], [\"type\", \"button\", 1, \"btn\", \"btn-bd-primary\", \"d-flex\", \"align-items-center\", \"ms-2\", 3, \"click\"], [\"width\", \"1.2em\", \"height\", \"1.2em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\", 1, \"bi\", \"my-1\", \"theme-icon-active\"], [\"d\", \"M16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6Z\", \"fill\", \"#1C274C\"], [\"opacity\", \"0.5\", \"d\", \"M14.4774 21.9208C13.7513 21.9728 12.9296 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C14.8806 13 17.4056 13.8564 18.8142 15.1412C18.298 15 17.5737 15 16.5 15C14.8501 15 14.0251 15 13.5126 15.5126C13 16.0251 13 16.8501 13 18.5C13 20.1499 13 20.9749 13.5126 21.4874C13.7501 21.725 14.0547 21.8524 14.4774 21.9208Z\", \"fill\", \"#1C274C\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M16.5 22C14.8501 22 14.0251 22 13.5126 21.4874C13 20.9749 13 20.1499 13 18.5C13 16.8501 13 16.0251 13.5126 15.5126C14.0251 15 14.8501 15 16.5 15C18.1499 15 18.9749 15 19.4874 15.5126C20 16.0251 20 16.8501 20 18.5C20 20.1499 20 20.9749 19.4874 21.4874C18.9749 22 18.1499 22 16.5 22ZM17.0833 16.9444C17.0833 16.6223 16.8222 16.3611 16.5 16.3611C16.1778 16.3611 15.9167 16.6223 15.9167 16.9444V17.9167H14.9444C14.6223 17.9167 14.3611 18.1778 14.3611 18.5C14.3611 18.8222 14.6223 19.0833 14.9444 19.0833H15.9167V20.0556C15.9167 20.3777 16.1778 20.6389 16.5 20.6389C16.8222 20.6389 17.0833 20.3777 17.0833 20.0556V19.0833H18.0556C18.3777 19.0833 18.6389 18.8222 18.6389 18.5C18.6389 18.1778 18.3777 17.9167 18.0556 17.9167H17.0833V16.9444Z\", \"fill\", \"#1C274C\"], [\"width\", \"1.3em\", \"height\", \"1.7em\", \"viewBox\", \"0 0 24 24\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"cx\", \"9\", \"cy\", \"9\", \"r\", \"3\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M12.2679 9C12.5332 8.54063 12.97 8.20543 13.4824 8.06815C13.9947 7.93086 14.5406 8.00273 15 8.26795C15.4594 8.53317 15.7946 8.97 15.9319 9.48236C16.0691 9.99472 15.9973 10.5406 15.7321 11C15.4668 11.4594 15.03 11.7946 14.5176 11.9319C14.0053 12.0691 13.4594 11.9973 13 11.7321C12.5406 11.4668 12.2054 11.03 12.0681 10.5176C11.9309 10.0053 12.0027 9.45937 12.2679 9L12.2679 9Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\"], [\"d\", \"M13.8816 19L12.9013 19.1974L13.0629 20H13.8816V19ZM17.7202 17.9042L18.6627 17.5699L17.7202 17.9042ZM11.7808 15.7105L11.176 14.9142L10.0194 15.7927L11.2527 16.5597L11.7808 15.7105ZM16.8672 18H13.8816V20H16.8672V18ZM16.7777 18.2384C16.7707 18.2186 16.7642 18.181 16.7725 18.1354C16.7804 18.0921 16.7982 18.0593 16.8151 18.0383C16.8474 17.9982 16.874 18 16.8672 18V20C18.0132 20 19.1414 18.9194 18.6627 17.5699L16.7777 18.2384ZM14 16C15.6416 16 16.4027 17.1811 16.7777 18.2384L18.6627 17.5699C18.1976 16.2588 16.9485 14 14 14V16ZM12.3857 16.5069C12.7702 16.2148 13.282 16 14 16V14C12.8381 14 11.9028 14.3622 11.176 14.9142L12.3857 16.5069ZM11.2527 16.5597C12.2918 17.206 12.7271 18.3324 12.9013 19.1974L14.8619 18.8026C14.644 17.7204 14.0374 15.9364 12.309 14.8614L11.2527 16.5597Z\", \"fill\", \"#33363F\"], [\"d\", \"M9 15C12.5715 15 13.5919 17.5512 13.8834 19.0089C13.9917 19.5504 13.5523 20 13 20H5C4.44772 20 4.00829 19.5504 4.11659 19.0089C4.4081 17.5512 5.42846 15 9 15Z\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M19 3V7\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"], [\"d\", \"M21 5L17 5\", \"stroke\", \"#33363F\", \"stroke-width\", \"2\", \"stroke-linecap\", \"round\"]],\n template: function NavMenuComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"header\")(1, \"nav\", 0)(2, \"div\", 1)(3, \"div\", 2)(4, \"ul\", 3)(5, \"li\", 4)(6, \"a\", 5);\n i0.ɵɵtext(7, \"Autorisierung\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"li\", 4)(9, \"a\", 5);\n i0.ɵɵtext(10, \"Representation\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(11, \"li\", 4)(12, \"a\", 5);\n i0.ɵɵtext(13, \"Benutzer\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"li\", 4)(15, \"a\", 5);\n i0.ɵɵtext(16, \"Gruppen\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"li\", 4)(18, \"a\", 5);\n i0.ɵɵtext(19, \"Module\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(20, \"a\", 6);\n i0.ɵɵtext(21, \"User Manager Portal\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 7);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_22_listener() {\n return ctx.toggle();\n });\n i0.ɵɵelement(23, \"span\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(24, \"svg\", 9)(25, \"symbol\", 10);\n i0.ɵɵelement(26, \"path\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"symbol\", 12);\n i0.ɵɵelement(28, \"path\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"symbol\", 14);\n i0.ɵɵelement(30, \"path\", 15)(31, \"path\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(32, \"symbol\", 17);\n i0.ɵɵelement(33, \"path\", 18);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(34, \"div\", 19)(35, \"button\", 20);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(36, \"svg\", 21);\n i0.ɵɵelement(37, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(38, \"span\", 23);\n i0.ɵɵtext(39, \"Toggle theme\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(40, \"ul\", 24)(41, \"li\")(42, \"button\", 25);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(43, \"svg\", 26);\n i0.ɵɵelement(44, \"use\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(45, \" Light \");\n i0.ɵɵelementStart(46, \"svg\", 28);\n i0.ɵɵelement(47, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(48, \"li\")(49, \"button\", 30);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(50, \"svg\", 26);\n i0.ɵɵelement(51, \"use\", 31);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(52, \" Dark \");\n i0.ɵɵelementStart(53, \"svg\", 28);\n i0.ɵɵelement(54, \"use\", 29);\n i0.ɵɵelementEnd()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(55, \"li\")(56, \"button\", 32);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(57, \"svg\", 26);\n i0.ɵɵelement(58, \"use\", 22);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(59, \" Auto \");\n i0.ɵɵelementStart(60, \"svg\", 28);\n i0.ɵɵelement(61, \"use\", 29);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(62, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_62_listener() {\n return ctx.importUser();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(63, \"svg\", 34);\n i0.ɵɵelement(64, \"path\", 35)(65, \"path\", 36)(66, \"path\", 37);\n i0.ɵɵelementEnd()();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(67, \"button\", 33);\n i0.ɵɵlistener(\"click\", function NavMenuComponent_Template_button_click_67_listener() {\n return ctx.importGroup();\n });\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(68, \"svg\", 38);\n i0.ɵɵelement(69, \"circle\", 39)(70, \"path\", 40)(71, \"path\", 41)(72, \"path\", 42)(73, \"path\", 43)(74, \"path\", 44);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(23, _c0, ctx.isExpanded));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(25, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(26, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(27, _c3))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(28, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(29, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(30, _c4))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(31, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(32, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(33, _c5))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(34, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(35, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(36, _c6))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLinkActive\", i0.ɵɵpureFunction0(37, _c1))(\"routerLinkActiveOptions\", i0.ɵɵpureFunction0(38, _c2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(39, _c7))(\"routerLinkActive\", \"active\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"routerLink\", i0.ɵɵpureFunction0(40, _c8));\n i0.ɵɵadvance(2);\n i0.ɵɵattribute(\"aria-expanded\", ctx.isExpanded);\n }\n },\n dependencies: [i2.NgClass, i3.RouterLink, i3.RouterLinkActive],\n styles: [\"a.navbar-brand[_ngcontent-%COMP%] {\\n white-space: normal;\\n text-align: center;\\n word-break: break-all;\\n}\\n\\nhtml[_ngcontent-%COMP%] {\\n font-size: 14px;\\n}\\n@media (min-width: 768px) {\\n html[_ngcontent-%COMP%] {\\n font-size: 16px;\\n }\\n}\\n\\n.box-shadow[_ngcontent-%COMP%] {\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\n}\\n\\n.bd-placeholder-img[_ngcontent-%COMP%] {\\n font-size: 1.125rem;\\n text-anchor: middle;\\n -webkit-user-select: none;\\n user-select: none;\\n}\\n\\n@media (min-width: 768px) {\\n .bd-placeholder-img-lg[_ngcontent-%COMP%] {\\n font-size: 3.5rem;\\n }\\n}\\n\\n.b-example-divider[_ngcontent-%COMP%] {\\n width: 100%;\\n height: 3rem;\\n background-color: rgba(0, 0, 0, .1);\\n border: solid rgba(0, 0, 0, .15);\\n border-width: 1px 0;\\n box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);\\n}\\n\\n.b-example-vr[_ngcontent-%COMP%] {\\n flex-shrink: 0;\\n width: 1.5rem;\\n height: 100vh;\\n}\\n\\n.bi[_ngcontent-%COMP%] {\\n vertical-align: -.125em;\\n fill: currentColor;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] {\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.btn-bd-primary[_ngcontent-%COMP%] {\\n --bd-violet-bg: #712cf9;\\n --bd-violet-rgb: 112.520718, 44.062154, 249.437846;\\n\\n --bs-btn-font-weight: 600;\\n --bs-btn-color: var(--bs-white);\\n --bs-btn-bg: var(--bd-violet-bg);\\n --bs-btn-border-color: var(--bd-violet-bg);\\n --bs-btn-hover-color: var(--bs-white);\\n --bs-btn-hover-bg: #6528e0;\\n --bs-btn-hover-border-color: #6528e0;\\n --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);\\n --bs-btn-active-color: var(--bs-btn-hover-color);\\n --bs-btn-active-bg: #5a23c8;\\n --bs-btn-active-border-color: #5a23c8;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] {\\n z-index: 1500;\\n}\\n\\n.bd-mode-toggle[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .bi[_ngcontent-%COMP%] {\\n display: block !important;\\n}\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjtBQUNBO0VBQ0U7SUFDRSxlQUFlO0VBQ2pCO0FBQ0Y7O0FBRUE7RUFDRSw4Q0FBOEM7QUFDaEQ7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUV6QixpQkFBaUI7QUFDbkI7O0FBRUE7RUFDRTtJQUNFLGlCQUFpQjtFQUNuQjtBQUNGOztBQUVBO0VBQ0UsV0FBVztFQUNYLFlBQVk7RUFDWixtQ0FBbUM7RUFDbkMsZ0NBQWdDO0VBQ2hDLG1CQUFtQjtFQUNuQix3RkFBd0Y7QUFDMUY7O0FBRUE7RUFDRSxjQUFjO0VBQ2QsYUFBYTtFQUNiLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2QixrQkFBa0I7QUFDcEI7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsVUFBVTtFQUNWLGVBQWU7R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ICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG59Il0sInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["UserGroupDirImportComponent","GroupDirImportComponent","NavMenuComponent","constructor","dialog","isExpanded","collapse","toggle","importUser","dialogRef","open","width","importGroup","_","i0","ɵɵdirectiveInject","i1","MatDialog","_2","selectors","decls","vars","consts","template","NavMenuComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","NavMenuComponent_Template_button_click_22_listener","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","NavMenuComponent_Template_button_click_62_listener","NavMenuComponent_Template_button_click_67_listener","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","ɵɵattribute"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\nav-menu\\nav-menu.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { UserGroupDirImportComponent } from '../components/user-group-dir-import/user-group-dir-import.component';\r\nimport { GroupDirImportComponent } from '../components/group-dir-import/group-dir-import.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded = false;\r\n\r\n constructor(public dialog: MatDialog) {\r\n\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n importUser() {\r\n const dialogRef = this.dialog.open(UserGroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n importGroup() {\r\n const dialogRef = this.dialog.open(GroupDirImportComponent, {\r\n width: \"50vw\"\r\n });\r\n }\r\n}","
\r\n \r\n
\r\n
\r\n \r\n
\r\n User Manager Portal\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
"],"mappings":"AAEA,SAASA,2BAA2B,QAAQ,qEAAqE;AACjH,SAASC,uBAAuB,QAAQ,2DAA2D;;;;;;;;;;;;;;;;;;AAOnG,OAAM,MAAOC,gBAAgB;EAG3BC,YAAmBC,MAAiB;IAAjB,KAAAA,MAAM,GAANA,MAAM;IAFzB,KAAAC,UAAU,GAAG,KAAK;EAIlB;EAEAC,QAAQA,CAAA;IACN,IAAI,CAACD,UAAU,GAAG,KAAK;EACzB;EAEAE,MAAMA,CAAA;IACJ,IAAI,CAACF,UAAU,GAAG,CAAC,IAAI,CAACA,UAAU;EACpC;EAEAG,UAAUA,CAAA;IACR,MAAMC,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACV,2BAA2B,EAAE;MAC9DW,KAAK,EAAE;KACR,CAAC;EACJ;EACAC,WAAWA,CAAA;IACT,MAAMH,SAAS,GAAG,IAAI,CAACL,MAAM,CAACM,IAAI,CAACT,uBAAuB,EAAE;MAC1DU,KAAK,EAAE;KACR,CAAC;EACJ;EAAC,QAAAE,CAAA,G;qBAxBUX,gBAAgB,EAAAY,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,SAAA;EAAA;EAAA,QAAAC,EAAA,G;UAAhBhB,gBAAgB;IAAAiB,SAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC,QAAA,WAAAC,0BAAAC,EAAA,EAAAC,GAAA;M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C,WAAA,kBAAAxB,GAAA,CAAArB,UAAA,CAAiC"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ff791a5672fa65ac2a4bc35dfb97c25bba90da27326b55f8b787490c095033b1.json b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ff791a5672fa65ac2a4bc35dfb97c25bba90da27326b55f8b787490c095033b1.json new file mode 100644 index 0000000..069d1dc --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/.angular/cache/17.2.0/babel-webpack/ff791a5672fa65ac2a4bc35dfb97c25bba90da27326b55f8b787490c095033b1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\nimport Swal from 'sweetalert2';\nimport { forkJoin, of } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/services/group.service\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../tables/dir-group-table/dir-group-table.component\";\nconst _c0 = [\"dirGroups\"];\nexport class GroupDirImportComponent {\n constructor(gService) {\n this.gService = gService;\n this.initWithoutData = () => {};\n this.dirGroupsRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n this.dirUsersRowSelection = {\n enabled: true,\n type: GuiRowSelectionType.CHECKBOX,\n mode: GuiRowSelectionMode.MULTIPLE\n };\n }\n ngOnInit() {}\n ngAfterViewInit() {}\n addSelectedGroups() {\n let requests = [];\n let numAdded = 0;\n for (let row of this.dirGroups.selectedRows) {\n // Create an Observable for each request and add it to the requests array\n requests.push(this.gService.createByDir({\n samaccountname: row?.source?.samaccountname\n }).pipe(catchError(err => {\n console.log(err);\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\n return of(null);\n })));\n }\n forkJoin(requests).pipe(\n // finalize is executed after all requests are completed or when an error occurs\n finalize(() => {\n // Show Swal notification after all requests are completed\n Swal.fire({\n icon: \"success\",\n title: \"Completed\",\n text: `${numAdded} new groups added`,\n position: \"center\",\n showConfirmButton: false,\n timer: 3000\n });\n this.dirGroups.safelyUnselectAll();\n })).subscribe({\n next: results => {\n // Increment numAdded for each successful request\n // You can increment numAdded for each result that is not null\n numAdded += results.filter(result => result !== null).length;\n },\n error: err => {\n // You may need to handle any potential errors here\n console.log('An error occurred', err);\n }\n });\n }\n static #_ = this.ɵfac = function GroupDirImportComponent_Factory(t) {\n return new (t || GroupDirImportComponent)(i0.ɵɵdirectiveInject(i1.GroupService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupDirImportComponent,\n selectors: [[\"app-group-dir-import\"]],\n viewQuery: function GroupDirImportComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dirGroups = _t.first);\n }\n },\n decls: 12,\n vars: 2,\n consts: [[1, \"row\", \"p-0\", \"m-0\"], [1, \"col-6\", \"p-0\", \"m-0\"], [1, \"navbar\", \"bg-body-tertiary\"], [1, \"container-fluid\", \"justify-content-start\"], [\"type\", \"button\", 1, \"btn\", \"btn-outline-success\", \"me-2\", 3, \"click\"], [1, \"row\", \"align-items-start\", \"p-0\", \"m-0\"], [3, \"rowSelection\", \"onSelectedRows\"], [\"dirGroups\", \"\"]],\n template: function GroupDirImportComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"nav\", 2)(3, \"form\", 3)(4, \"button\", 4);\n i0.ɵɵlistener(\"click\", function GroupDirImportComponent_Template_button_click_4_listener() {\n return ctx.addSelectedGroups();\n });\n i0.ɵɵtext(5, \"Gruppen\");\n i0.ɵɵelement(6, \"br\");\n i0.ɵɵtext(7, \"Hinzuf\\u00FCgen\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(8, \"div\", 5)(9, \"div\", 1);\n i0.ɵɵelement(10, \"app-dir-group-table\", 6, 7);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(10);\n i0.ɵɵproperty(\"rowSelection\", ctx.dirGroupsRowSelection)(\"onSelectedRows\", ctx.dirGroupOnSelectedRows);\n }\n },\n dependencies: [i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.DirGroupTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n });\n}","map":{"version":3,"names":["GuiRowSelectionMode","GuiRowSelectionType","Swal","forkJoin","of","catchError","finalize","GroupDirImportComponent","constructor","gService","initWithoutData","dirGroupsRowSelection","enabled","type","CHECKBOX","mode","MULTIPLE","dirUsersRowSelection","ngOnInit","ngAfterViewInit","addSelectedGroups","requests","numAdded","row","dirGroups","selectedRows","push","createByDir","samaccountname","source","pipe","err","console","log","fire","icon","title","text","position","showConfirmButton","timer","safelyUnselectAll","subscribe","next","results","filter","result","length","error","_","i0","ɵɵdirectiveInject","i1","GroupService","_2","selectors","viewQuery","GroupDirImportComponent_Query","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupDirImportComponent_Template_button_click_4_listener","ɵɵtext","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","dirGroupOnSelectedRows"],"sources":["E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.ts","E:\\TekH\\Visual Studio\\DDWeb\\DigitalData.UserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\group-dir-import\\group-dir-import.component.html"],"sourcesContent":["import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid';\r\nimport Swal from 'sweetalert2';\r\nimport { GroupService } from 'src/app/services/group.service';\r\nimport { forkJoin, of } from 'rxjs';\r\nimport { catchError, finalize } from 'rxjs/operators';\r\nimport { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component';\r\n\r\n@Component({\r\n selector: 'app-group-dir-import',\r\n templateUrl: './group-dir-import.component.html',\r\n styleUrl: './group-dir-import.component.css'\r\n})\r\nexport class GroupDirImportComponent implements OnInit, AfterViewInit {\r\n\r\n initWithoutData = () => { }\r\n\r\n constructor(private gService: GroupService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent;\r\n\r\n ngAfterViewInit(): void {\r\n }\r\n\r\n dirGroupsRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n dirUsersRowSelection: GuiRowSelection = {\r\n enabled: true,\r\n type: GuiRowSelectionType.CHECKBOX,\r\n mode: GuiRowSelectionMode.MULTIPLE\r\n }\r\n\r\n addSelectedGroups() {\r\n let requests = [];\r\n let numAdded: number = 0;\r\n for (let row of this.dirGroups.selectedRows) {\r\n // Create an Observable for each request and add it to the requests array\r\n requests.push(\r\n this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe(\r\n catchError((err) => {\r\n console.log(err);\r\n // In case of error, return a 'null' observable for this request, so it doesn't affect other requests\r\n return of(null);\r\n })\r\n )\r\n );\r\n }\r\n\r\n forkJoin(requests).pipe(\r\n // finalize is executed after all requests are completed or when an error occurs\r\n finalize(() => {\r\n // Show Swal notification after all requests are completed\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Completed\",\r\n text: `${numAdded} new groups added`,\r\n position: \"center\",\r\n showConfirmButton: false,\r\n timer: 3000\r\n });\r\n\r\n this.dirGroups.safelyUnselectAll();\r\n })\r\n ).subscribe({\r\n next: (results) => {\r\n // Increment numAdded for each successful request\r\n // You can increment numAdded for each result that is not null\r\n numAdded += results.filter(result => result !== null).length;\r\n },\r\n error: (err) => {\r\n // You may need to handle any potential errors here\r\n console.log('An error occurred', err);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
"],"mappings":"AACA,SAA0BA,mBAAmB,EAAEC,mBAAmB,QAAQ,sBAAsB;AAChG,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,QAAQ,EAAEC,EAAE,QAAQ,MAAM;AACnC,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;;;;;;AAQrD,OAAM,MAAOC,uBAAuB;EAIlCC,YAAoBC,QAAsB;IAAtB,KAAAA,QAAQ,GAARA,QAAQ;IAF5B,KAAAC,eAAe,GAAG,MAAK,CAAG,CAAC;IAc3B,KAAAC,qBAAqB,GAAoB;MACvCC,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;IAED,KAAAC,oBAAoB,GAAoB;MACtCL,OAAO,EAAE,IAAI;MACbC,IAAI,EAAEZ,mBAAmB,CAACa,QAAQ;MAClCC,IAAI,EAAEf,mBAAmB,CAACgB;KAC3B;EArBD;EAEAE,QAAQA,CAAA,GACR;EAKAC,eAAeA,CAAA,GACf;EAcAC,iBAAiBA,CAAA;IACf,IAAIC,QAAQ,GAAG,EAAE;IACjB,IAAIC,QAAQ,GAAW,CAAC;IACxB,KAAK,IAAIC,GAAG,IAAI,IAAI,CAACC,SAAS,CAACC,YAAY,EAAE;MAC3C;MACAJ,QAAQ,CAACK,IAAI,CACX,IAAI,CAACjB,QAAQ,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,CAAAvC,iBAAA,EAAmB;QAAA,EAAC;QAAC8B,EAAA,CAAAa,MAAA,cAAO;QAAAb,EAAA,CAAAc,SAAA,SAAI;QAAAd,EAAA,CAAAa,MAAA,sBAAU;QAAAb,EAAA,CAAAe,YAAA,EAAS;QAKhFf,EAAA,CAAAU,cAAA,aAA2C;QAEnCV,EAAA,CAAAc,SAAA,iCAAuI;QAC3Id,EAAA,CAAAe,YAAA,EAAM;;;QAD8Bf,EAAA,CAAAgB,SAAA,IAAsC;QAAtChB,EAAA,CAAAiB,UAAA,iBAAAR,GAAA,CAAAhD,qBAAA,CAAsC,mBAAAgD,GAAA,CAAAS,sBAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/app.module.ts b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/app.module.ts index 24bee77..6ea2f13 100644 --- a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/app.module.ts +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/app.module.ts @@ -8,16 +8,16 @@ import { AppComponent } from './app.component'; import { NavMenuComponent } from './nav-menu/nav-menu.component'; import { HomeComponent } from './home/home.component'; import { GuiGridModule } from '@generic-ui/ngx-grid'; -import { BaseTableComponent} from './components/tables/base-table/base-table.component'; +import { BaseTableComponent } from './components/tables/base-table/base-table.component'; import { UserTableComponent } from './components/tables/user-table/user-table.component'; import { GroupTableComponent } from './components/tables/group-table/group-table.component'; import { ModuleTableComponent } from './components/tables/module-table/module-table.component'; import { UserAssignmentComponent } from './components/user-assignment/user-assignment.component'; import { CardComponent } from './components/common/card/card.component'; import { TabCardComponent } from './components/common/tab-card/tab-card.component'; -import {MatTabsModule, MatTabGroup } from '@angular/material/tabs'; -import {MatCommonModule} from '@angular/material/core'; -import {DragDropModule} from '@angular/cdk/drag-drop'; +import { MatTabsModule, MatTabGroup } from '@angular/material/tabs'; +import { MatCommonModule } from '@angular/material/core'; +import { DragDropModule } from '@angular/cdk/drag-drop'; import { MatTableComponent } from './components/common/mat-table/mat-table.component'; import { UserRepresentationComponent } from './components/user-representation/user-representation.component'; import { GroupUserTableComponent } from "./components/tables/group-user-table/group-user-table.component"; @@ -25,7 +25,10 @@ import { UserRepTableComponent } from './components/tables/user-rep-table/user-r import { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2'; import { DirGroupTableComponent } from './components/tables/dir-group-table/dir-group-table.component'; import { UserGroupDirImportComponent } from './components/user-group-dir-import/user-group-dir-import.component'; +import { GroupDirImportComponent } from './components/group-dir-import/group-dir-import.component'; import { DirUserTableComponent } from "./components/tables/dir-user-table/dir-user-table.component"; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; @NgModule({ declarations: [ @@ -42,7 +45,8 @@ import { DirUserTableComponent } from "./components/tables/dir-user-table/dir-us UserAssignmentComponent, UserRepresentationComponent, UserGroupDirImportComponent, - DirUserTableComponent + DirUserTableComponent, + GroupDirImportComponent ], providers: [], bootstrap: [AppComponent], @@ -60,6 +64,8 @@ import { DirUserTableComponent } from "./components/tables/dir-user-table/dir-us MatCommonModule, DragDropModule, SweetAlert2Module, + MatButtonModule, + MatIconModule, RouterModule.forRoot([ { path: '', component: HomeComponent, pathMatch: 'full' }, { path: 'user-table', component: UserTableComponent }, diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.css b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.css new file mode 100644 index 0000000..e69de29 diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.html b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.html new file mode 100644 index 0000000..208973f --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.html @@ -0,0 +1,15 @@ +
+
+ +
+
+
+
+ +
+
\ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.spec.ts b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.spec.ts new file mode 100644 index 0000000..0c53e7a --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { GroupDirImportComponent } from './group-dir-import.component'; + +describe('GroupDirImportComponent', () => { + let component: GroupDirImportComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [GroupDirImportComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(GroupDirImportComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.ts b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.ts new file mode 100644 index 0000000..cadfa18 --- /dev/null +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/group-dir-import/group-dir-import.component.ts @@ -0,0 +1,85 @@ +import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core'; +import { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid'; +import Swal from 'sweetalert2'; +import { GroupService } from 'src/app/services/group.service'; +import { forkJoin, of } from 'rxjs'; +import { catchError, finalize } from 'rxjs/operators'; +import { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component'; + +@Component({ + selector: 'app-group-dir-import', + templateUrl: './group-dir-import.component.html', + styleUrl: './group-dir-import.component.css' +}) +export class GroupDirImportComponent implements OnInit, AfterViewInit { + + initWithoutData = () => { } + + constructor(private gService: GroupService) { + } + + ngOnInit(): void { + } + + + @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent; + + ngAfterViewInit(): void { + } + + dirGroupsRowSelection: GuiRowSelection = { + enabled: true, + type: GuiRowSelectionType.CHECKBOX, + mode: GuiRowSelectionMode.MULTIPLE + } + + dirUsersRowSelection: GuiRowSelection = { + enabled: true, + type: GuiRowSelectionType.CHECKBOX, + mode: GuiRowSelectionMode.MULTIPLE + } + + addSelectedGroups() { + let requests = []; + let numAdded: number = 0; + for (let row of this.dirGroups.selectedRows) { + // Create an Observable for each request and add it to the requests array + requests.push( + this.gService.createByDir({ samaccountname: row?.source?.samaccountname }).pipe( + catchError((err) => { + console.log(err); + // In case of error, return a 'null' observable for this request, so it doesn't affect other requests + return of(null); + }) + ) + ); + } + + forkJoin(requests).pipe( + // finalize is executed after all requests are completed or when an error occurs + finalize(() => { + // Show Swal notification after all requests are completed + Swal.fire({ + icon: "success", + title: "Completed", + text: `${numAdded} new groups added`, + position: "center", + showConfirmButton: false, + timer: 3000 + }); + + this.dirGroups.safelyUnselectAll(); + }) + ).subscribe({ + next: (results) => { + // Increment numAdded for each successful request + // You can increment numAdded for each result that is not null + numAdded += results.filter(result => result !== null).length; + }, + error: (err) => { + // You may need to handle any potential errors here + console.log('An error occurred', err); + } + }); + } +} diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-group-table/dir-group-table.component.ts b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-group-table/dir-group-table.component.ts index cc754ef..6ea3f42 100644 --- a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-group-table/dir-group-table.component.ts +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-group-table/dir-group-table.component.ts @@ -3,7 +3,6 @@ import { BaseTableComponent } from '../base-table/base-table.component'; import { DirGroupService } from 'src/app/services/dir-group.service'; import { DirGroup } from 'src/app/models/user-management.api.models'; import { GuiColumn } from '@generic-ui/ngx-grid'; -import { GroupService } from 'src/app/services/group.service'; @Component({ selector: 'app-dir-group-table', diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-user-table/dir-user-table.component.ts b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-user-table/dir-user-table.component.ts index f13bd2f..d45efa3 100644 --- a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-user-table/dir-user-table.component.ts +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/tables/dir-user-table/dir-user-table.component.ts @@ -13,4 +13,19 @@ export class DirUserTableComponent extends BaseTableComponent) { super(service, columns) } -} + + fetchDataByGroupName(groupName: string): void { + this.service.getAll(groupName).subscribe({ + next: (response) => { + if (response.isSuccess && response.data) { + this.source = response.data; + this.loading = false; + } else { + // Handle response failure + console.error('Failed to fetch users'); + } + }, + error: (error) => console.error('Error fetching users:', error) + }) + } +} \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.html b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.html index 59feb12..eb81574 100644 --- a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.html +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.html @@ -1,13 +1,18 @@ - -
-
- +
+
+
-
- +
+
+
+ +
+
+
\ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.ts b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.ts index ce78b72..3308c21 100644 --- a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.ts +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/components/user-group-dir-import/user-group-dir-import.component.ts @@ -1,11 +1,12 @@ import { AfterViewInit, Component, Inject, OnInit, ViewChild } from '@angular/core'; -import { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType } from '@generic-ui/ngx-grid'; +import { GuiRowSelection, GuiRowSelectionMode, GuiRowSelectionType, GuiSelectedRow } from '@generic-ui/ngx-grid'; import Swal from 'sweetalert2'; import { GroupService } from 'src/app/services/group.service'; import { forkJoin, of } from 'rxjs'; import { catchError, finalize } from 'rxjs/operators'; import { DirGroupTableComponent } from '../tables/dir-group-table/dir-group-table.component'; import { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.component'; +import { UserService } from 'src/app/services/user.service'; @Component({ selector: 'app-user-group-dir-import', @@ -14,47 +15,55 @@ import { DirUserTableComponent } from '../tables/dir-user-table/dir-user-table.c }) export class UserGroupDirImportComponent implements OnInit, AfterViewInit { - initWithoutData = () => {} + initWithoutData = () => { } - constructor(public gService: GroupService) { + constructor(private gService: GroupService, private uService: UserService) { } ngOnInit(): void { } + + @ViewChild('dirGroups') dirGroups!: DirGroupTableComponent; + @ViewChild('dirUsers') dirUsers!: DirUserTableComponent; + ngAfterViewInit(): void { this.dirUsers.loading = false; } - - @ViewChild('dirGroups') dirGroups! : DirGroupTableComponent; - @ViewChild('dirUsers') dirUsers! : DirUserTableComponent; - dirGroupsRowSelection: GuiRowSelection = { + enabled: true, + type: GuiRowSelectionType.ROW, + mode: GuiRowSelectionMode.SINGLE + } + + dirUsersRowSelection: GuiRowSelection = { enabled: true, type: GuiRowSelectionType.CHECKBOX, mode: GuiRowSelectionMode.MULTIPLE } - addSelectedGroups() { + addSelectedUsers() { let requests = []; let numAdded: number = 0; - - for (let row of this.dirGroups.selectedRows) { - console.log(row) - console.log({ samaccountname: row?.source?.samaccountname }) + for (let row of this.dirUsers.selectedRows) { // Create an Observable for each request and add it to the requests array requests.push( - this.gService.createByAd({ samaccountname: row?.source?.samaccountname }).pipe( + this.uService.create({ + email: row?.source.emailAddress, + prename: row.source.givenName, + username: row.source.samAccountName, + name: row.source.surname, + }).pipe( catchError((err) => { - console.log(err); + console.log('An error occurred', err); // In case of error, return a 'null' observable for this request, so it doesn't affect other requests return of(null); }) ) ); } - + forkJoin(requests).pipe( // finalize is executed after all requests are completed or when an error occurs finalize(() => { @@ -62,13 +71,13 @@ export class UserGroupDirImportComponent implements OnInit, AfterViewInit { Swal.fire({ icon: "success", title: "Completed", - text: `${numAdded} new groups added`, + text: `${numAdded} new users added`, position: "center", showConfirmButton: false, timer: 3000 }); - - this.dirGroups.safelyUnselectAll(); + + this.dirUsers.safelyUnselectAll(); }) ).subscribe({ next: (results) => { @@ -82,4 +91,12 @@ export class UserGroupDirImportComponent implements OnInit, AfterViewInit { } }); } + + dirGroupOnSelectedRows = (rows: Array) => { + if (rows.length > 0) { + this.dirGroups.safelyUnselectAll() + let groupName: string = rows[rows.length - 1].source.samaccountname; + this.dirUsers.fetchDataByGroupName(groupName); + } + } } diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/models/user-management.api.models.ts b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/models/user-management.api.models.ts index e355991..c52b879 100644 --- a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/models/user-management.api.models.ts +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/models/user-management.api.models.ts @@ -5,13 +5,13 @@ export interface User { username: string; shortname?: string; email?: string; - language: string; + language?: string; comment?: string; deleted?: boolean; - dateFormat: string; + dateFormat?: string; addedWho?: string; changedWho?: string; - active: boolean; + active?: boolean; } @@ -71,12 +71,10 @@ export interface DirGroup { } export interface DirUser { - guid: string; - sId: string; - employeeId: string; samAccountName: string; givenName: string; - middleName: string; + middleName?: string; surname: string; emailAddress: string; + addedWho?: string; } \ No newline at end of file diff --git a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/nav-menu/nav-menu.component.html b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/nav-menu/nav-menu.component.html index a0d01c9..3da4085 100644 --- a/DigitalData.UserManager.NgWebUI/ClientApp/src/app/nav-menu/nav-menu.component.html +++ b/DigitalData.UserManager.NgWebUI/ClientApp/src/app/nav-menu/nav-menu.component.html @@ -1,5 +1,6 @@
-