@bnsights/bbsf-admin-portal 1.2.10 → 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,11 +7,11 @@ import { HttpParams, HttpHeaders, HttpClientModule, HTTP_INTERCEPTORS, HttpError
7
7
  import * as i1 from '@angular/router';
8
8
  import { NavigationEnd, NavigationCancel, ResolveEnd, RouterModule, Router } from '@angular/router';
9
9
  import * as i1$1 from '@bnsights/bbsf-utilities';
10
- import { RequestOptionsModel, AuthService as AuthService$1, EnvironmentService, UtilityService, BBSFTranslateService, BBSFUtilitiesModule, RequestHandlerService, TranslationResolverService, AuthenticationModes, StylesBundleService as StylesBundleService$1, MasterLayoutService, AppearanceConfigurationService, ConfigurationService } from '@bnsights/bbsf-utilities';
10
+ import { RequestOptionsModel, AuthService, EnvironmentService, UtilityService, BBSFTranslateService, BBSFUtilitiesModule, RequestHandlerService, TranslationResolverService, AuthenticationModes, StylesBundleService as StylesBundleService$1, MasterLayoutService, AppearanceConfigurationService, ConfigurationService } from '@bnsights/bbsf-utilities';
11
11
  import { __decorate } from 'tslib';
12
12
  import * as i1$2 from 'ng-block-ui';
13
13
  import { BlockUI, BlockUIModule } from 'ng-block-ui';
14
- import { BehaviorSubject, throwError, Subject, of } from 'rxjs';
14
+ import { BehaviorSubject, Observable, throwError, of } from 'rxjs';
15
15
  import * as objectPath from 'object-path';
16
16
  import { createPopper } from '@popperjs/core';
17
17
  import * as i11 from 'ng-inline-svg-2';
@@ -28,7 +28,6 @@ import * as i3 from 'ngx-clipboard';
28
28
  import { ClipboardModule } from 'ngx-clipboard';
29
29
  import * as i10 from '@angular/material/menu';
30
30
  import { MatMenuModule } from '@angular/material/menu';
31
- import { UserManager } from 'oidc-client';
32
31
  import * as i11$1 from '@angular/material/checkbox';
33
32
  import { MatCheckboxModule } from '@angular/material/checkbox';
34
33
  import { FlatTreeControl } from '@angular/cdk/tree';
@@ -3410,8 +3409,36 @@ class AuthGuard {
3410
3409
  this.homeURL = "";
3411
3410
  }
3412
3411
  canActivate(route, state) {
3413
- if (this.authService.isAuthenticated()) {
3414
- let currentSelectedPermissionSetID = Number.parseInt(AuthService$1.user.profile["selectedpermissionsetid"]);
3412
+ // Check if refresh is in progress
3413
+ const refreshLockKey = 'auth_refreshing_lock';
3414
+ const lockValue = localStorage.getItem(refreshLockKey);
3415
+ const isRefreshing = !!lockValue && Date.now() - parseInt(lockValue) < 5000;
3416
+ if (isRefreshing) {
3417
+ // Wait for refresh to complete by polling the lock
3418
+ return new Observable(observer => {
3419
+ const checkInterval = setInterval(() => {
3420
+ const currentLock = localStorage.getItem(refreshLockKey);
3421
+ const stillRefreshing = currentLock && Date.now() - parseInt(currentLock) < 5000;
3422
+ if (!stillRefreshing) {
3423
+ clearInterval(checkInterval);
3424
+ observer.next(this.evaluateAuth(route, state));
3425
+ observer.complete();
3426
+ }
3427
+ }, 100); // Check every 100ms
3428
+ // Timeout after 10 seconds
3429
+ setTimeout(() => {
3430
+ clearInterval(checkInterval);
3431
+ observer.next(this.evaluateAuth(route, state));
3432
+ observer.complete();
3433
+ }, 10000);
3434
+ });
3435
+ }
3436
+ return this.evaluateAuth(route, state);
3437
+ }
3438
+ evaluateAuth(route, state) {
3439
+ const isAuth = this.authService.isAuthenticated();
3440
+ if (isAuth) {
3441
+ let currentSelectedPermissionSetID = Number.parseInt(AuthService.user.profile["selectedpermissionsetid"]);
3415
3442
  let excludedUrls = ['Admin/Home'];
3416
3443
  let isExcludedUrl = excludedUrls.some(url => state.url.toLocaleLowerCase().includes(url.toLocaleLowerCase()));
3417
3444
  let adminPermissionSetsIds = [1, 2];
@@ -3663,7 +3690,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
3663
3690
  }]
3664
3691
  }] });
3665
3692
 
3666
- const routes$l = [
3693
+ const routes$k = [
3667
3694
  {
3668
3695
  path: '', component: HomeComponent
3669
3696
  }
@@ -3677,7 +3704,7 @@ class HomeModule {
3677
3704
  BBSFControlsModule] }); }
3678
3705
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HomeModule, imports: [CommonModule,
3679
3706
  InlineSVGModule,
3680
- RouterModule.forChild(routes$l),
3707
+ RouterModule.forChild(routes$k),
3681
3708
  ToolbarModule,
3682
3709
  FormsModule,
3683
3710
  ReactiveFormsModule,
@@ -3690,7 +3717,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
3690
3717
  imports: [
3691
3718
  CommonModule,
3692
3719
  InlineSVGModule,
3693
- RouterModule.forChild(routes$l),
3720
+ RouterModule.forChild(routes$k),
3694
3721
  ToolbarModule,
3695
3722
  FormsModule,
3696
3723
  ReactiveFormsModule,
@@ -4537,7 +4564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
4537
4564
  args: ['localizationPagingViewElement', { static: false }]
4538
4565
  }] } });
4539
4566
 
4540
- const routes$k = [
4567
+ const routes$j = [
4541
4568
  { path: '', component: LocalizationsComponent, },
4542
4569
  { path: "ReplaceText", component: LocalizationsReplaceTextComponent }
4543
4570
  ];
@@ -4554,14 +4581,14 @@ class LocalizationsModule {
4554
4581
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LocalizationsModule, providers: [
4555
4582
  EnvironmentService,
4556
4583
  UtilityService,
4557
- AuthService$1,
4584
+ AuthService,
4558
4585
  BBSFTranslateService,
4559
4586
  DatePipe,
4560
4587
  localizationsService
4561
4588
  ], imports: [CommonModule,
4562
4589
  ClipboardModule,
4563
4590
  BlockUIModule.forRoot(),
4564
- RouterModule.forChild(routes$k),
4591
+ RouterModule.forChild(routes$j),
4565
4592
  ReactiveFormsModule,
4566
4593
  FormsModule,
4567
4594
  BBSFControlsModule,
@@ -4578,7 +4605,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
4578
4605
  CommonModule,
4579
4606
  ClipboardModule,
4580
4607
  BlockUIModule.forRoot(),
4581
- RouterModule.forChild(routes$k),
4608
+ RouterModule.forChild(routes$j),
4582
4609
  ReactiveFormsModule,
4583
4610
  FormsModule,
4584
4611
  BBSFControlsModule,
@@ -4590,7 +4617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
4590
4617
  providers: [
4591
4618
  EnvironmentService,
4592
4619
  UtilityService,
4593
- AuthService$1,
4620
+ AuthService,
4594
4621
  BBSFTranslateService,
4595
4622
  DatePipe,
4596
4623
  localizationsService
@@ -4631,40 +4658,6 @@ class PermissionListModel {
4631
4658
  }
4632
4659
  }
4633
4660
 
4634
- class BaseService {
4635
- constructor() { }
4636
- handleError(error) {
4637
- var applicationError = error.headers.get('Application-Error');
4638
- // either application-error in header or model error in body
4639
- if (applicationError) {
4640
- return throwError(applicationError);
4641
- }
4642
- var modelStateErrors = '';
4643
- // for now just concatenate the error descriptions, alternative we could simply pass the entire error response upstream
4644
- for (var key in error.error) {
4645
- if (error.error[key])
4646
- modelStateErrors += error.error[key].description + '\n';
4647
- }
4648
- modelStateErrors = modelStateErrors = '' ? null : modelStateErrors;
4649
- return throwError(modelStateErrors || 'Server error');
4650
- }
4651
- }
4652
-
4653
- class ConfigService {
4654
- constructor() { }
4655
- authApiURI() {
4656
- return 'https://localhost:44335/api';
4657
- }
4658
- resourceApiURI() {
4659
- return 'http://localhost:5050/api';
4660
- }
4661
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4662
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigService }); }
4663
- }
4664
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigService, decorators: [{
4665
- type: Injectable
4666
- }], ctorParameters: () => [] });
4667
-
4668
4661
  class ProvidersType {
4669
4662
  static { this.Files = "97f0e6b9-f34d-44b9-be84-259af792a84a"; }
4670
4663
  static { this.Emails = "de340fe0-3368-42bc-b232-22e567c543db"; }
@@ -4796,146 +4789,6 @@ class Constants {
4796
4789
  static { this.NotAssignedToOrganization = "20BB2FB3-0CC8-484A-B073-B979BD9F8B5F"; }
4797
4790
  }
4798
4791
 
4799
- // import { environmentService } from '../../shared/Services/environmentsService.Service';
4800
- class AuthService extends BaseService {
4801
- static { this.user = null; }
4802
- constructor(http) {
4803
- super();
4804
- this.http = http;
4805
- // Observable navItem source
4806
- this._authNavStatusSource = new BehaviorSubject(false);
4807
- // Observable navItem stream
4808
- this.authNavStatus$ = this._authNavStatusSource.asObservable();
4809
- // Observable navItem source
4810
- this._userSource = new Subject();
4811
- this.UserStatus$ = this._userSource.asObservable();
4812
- this.manager = new UserManager(getClientSettings());
4813
- this.redirectUrl = "";
4814
- ;
4815
- this.manager.getUser().then(async (user) => {
4816
- ;
4817
- this.manager.storeUser(user);
4818
- AuthService.user = user;
4819
- this.user = user;
4820
- this._authNavStatusSource.next(await this.isAuthenticated());
4821
- });
4822
- this.manager.events.addAccessTokenExpired(_ => {
4823
- this._authNavStatusSource.next(false);
4824
- //AuthService.user = null;
4825
- });
4826
- }
4827
- login() {
4828
- return this.manager.signinRedirect();
4829
- }
4830
- getUser() {
4831
- this.manager.getUser().then(async (user) => {
4832
- ;
4833
- AuthService.user = user;
4834
- this.user = user;
4835
- this._authNavStatusSource.next(await this.isAuthenticated());
4836
- });
4837
- }
4838
- storUser(User) {
4839
- this.manager.storeUser(User);
4840
- }
4841
- revokeAccessToken() {
4842
- this.manager.revokeAccessToken();
4843
- }
4844
- signinSilent() {
4845
- let x = this.manager.signinSilentCallback();
4846
- x.then(s => {
4847
- //console.log(s)
4848
- });
4849
- }
4850
- async completeAuthentication() {
4851
- ;
4852
- this.user = await this.manager.signinRedirectCallback();
4853
- AuthService.user = this.user;
4854
- this._userSource.next(AuthService.user);
4855
- this._authNavStatusSource.next(await this.isAuthenticated());
4856
- }
4857
- register(userRegistration) {
4858
- return this.http.post('https://localhost:44335/api' + '/account', userRegistration);
4859
- }
4860
- async refreshToken(token) {
4861
- const httpOptions = {
4862
- headers: new HttpHeaders({
4863
- 'Content-Type': 'application/json',
4864
- 'Authorization': token
4865
- })
4866
- };
4867
- this.manager.revokeAccessToken;
4868
- return await this.http.post(`$users/refresh-token`, httpOptions, { withCredentials: true }).subscribe((user) => {
4869
- this._userSource.next(user);
4870
- AuthService.user = user;
4871
- this.user = user;
4872
- });
4873
- }
4874
- async isAuthenticated(allowedPermission) {
4875
- let user = await this.manager.getUser().then(user => {
4876
- return user;
4877
- });
4878
- if (allowedPermission != null && allowedPermission != undefined) {
4879
- if (allowedPermission.length == 0) {
4880
- return this.user != null && !this.user.expired;
4881
- }
4882
- else {
4883
- ;
4884
- let isUserInRole = this.isUserInRole(allowedPermission);
4885
- return this.user != null && !this.user.expired && isUserInRole;
4886
- }
4887
- }
4888
- else
4889
- return this.user != null && !this.user.expired;
4890
- }
4891
- isUserInRole(allowedPermission) {
4892
- let permissionSetSID = this.user.profile["permissionSetSID"].split `,`.map(x => +x);
4893
- return allowedPermission.every(i => permissionSetSID.includes(i));
4894
- }
4895
- authorizationHeaderValue() {
4896
- return `${AuthService.user.token_type} ${AuthService.user.access_token}`;
4897
- }
4898
- name() {
4899
- return AuthService.user != null ? AuthService.user.profile.given_name : '';
4900
- }
4901
- setUrl(url) {
4902
- localStorage.setItem("redirectUrl", url);
4903
- }
4904
- getUrl() {
4905
- return localStorage.getItem("redirectUrl");
4906
- }
4907
- signinSilentCallback() {
4908
- this.manager.signinSilentCallback();
4909
- }
4910
- async signout() {
4911
- localStorage.clear();
4912
- await this.manager.signoutRedirect();
4913
- }
4914
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4915
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthService, providedIn: 'root' }); }
4916
- }
4917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthService, decorators: [{
4918
- type: Injectable,
4919
- args: [{
4920
- providedIn: 'root'
4921
- }]
4922
- }], ctorParameters: () => [{ type: i1$3.HttpClient }] });
4923
- function getClientSettings() {
4924
- return {
4925
- // authority: environmentService.getIdentityServerUrl(),
4926
- // client_id: 'angular_spa',
4927
- // redirect_uri: environmentService.getIdentityServerUrl() +'/Admin/authentication/auth-callback',
4928
- // post_logout_redirect_uri: environmentService.getBaseUrl() ,
4929
- // response_type: "id_token token",
4930
- // scope: "openid profile email IdentityServerApi",
4931
- // filterProtocolClaims: true,
4932
- // loadUserInfo: true,
4933
- // automaticSilentRenew:true,
4934
- // silent_redirect_uri: environmentService.getIdentityServerUrl()+'/assets/silent-callback.html',
4935
- // userStore: new WebStorageStateStore({ store: window.localStorage })
4936
- };
4937
- }
4938
-
4939
4792
  // include directives/components commonly used in features modules in this shared modules
4940
4793
  // and import me into the feature module
4941
4794
  // importing them individually results in: Type xxx is part of the declarations of 2 modules: ... Please consider moving to a higher module...
@@ -4945,19 +4798,14 @@ function getClientSettings() {
4945
4798
  class SharedModule {
4946
4799
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4947
4800
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: SharedModule, imports: [CommonModule, InlineSVGModule], exports: [InlineSVGModule] }); }
4948
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SharedModule, providers: [
4949
- AuthService
4950
- ], imports: [CommonModule, InlineSVGModule, InlineSVGModule] }); }
4801
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SharedModule, imports: [CommonModule, InlineSVGModule, InlineSVGModule] }); }
4951
4802
  }
4952
4803
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SharedModule, decorators: [{
4953
4804
  type: NgModule,
4954
4805
  args: [{
4955
4806
  imports: [CommonModule, InlineSVGModule],
4956
- // declarations: [AutofocusDirective],
4957
4807
  exports: [InlineSVGModule],
4958
- providers: [
4959
- AuthService
4960
- ],
4808
+ providers: [],
4961
4809
  declarations: []
4962
4810
  }]
4963
4811
  }] });
@@ -5003,15 +4851,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
5003
4851
  args: [DOCUMENT]
5004
4852
  }] }] });
5005
4853
 
5006
- // export * from './components';
5007
- // export * from './config';
5008
- // export * from './Enums';
5009
- // export * from './filter';
5010
- // export * from './models';
5011
- // export * from './modules';
5012
- // export * from './Pipes';
5013
- // export * from './Services';
5014
-
5015
4854
  class PermissionsService {
5016
4855
  constructor(http) {
5017
4856
  this.http = http;
@@ -5687,7 +5526,7 @@ class AuthModule {
5687
5526
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: AuthModule, imports: [CommonModule,
5688
5527
  BBSFUtilitiesModule] }); }
5689
5528
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthModule, providers: [
5690
- AuthService$1,
5529
+ AuthService,
5691
5530
  AuthGuard
5692
5531
  ], imports: [CommonModule,
5693
5532
  BBSFUtilitiesModule] }); }
@@ -5701,7 +5540,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
5701
5540
  BBSFUtilitiesModule
5702
5541
  ],
5703
5542
  providers: [
5704
- AuthService$1,
5543
+ AuthService,
5705
5544
  AuthGuard
5706
5545
  ]
5707
5546
  }]
@@ -5882,7 +5721,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
5882
5721
  args: ['ConfirmationModalControl', { static: false }]
5883
5722
  }] } });
5884
5723
 
5885
- const routes$j = [
5724
+ const routes$i = [
5886
5725
  {
5887
5726
  path: "",
5888
5727
  component: RolesComponent,
@@ -5910,12 +5749,12 @@ const routes$j = [
5910
5749
  class RolesRoutingModule {
5911
5750
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RolesRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5912
5751
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: RolesRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
5913
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RolesRoutingModule, imports: [RouterModule.forChild(routes$j), RouterModule] }); }
5752
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RolesRoutingModule, imports: [RouterModule.forChild(routes$i), RouterModule] }); }
5914
5753
  }
5915
5754
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RolesRoutingModule, decorators: [{
5916
5755
  type: NgModule,
5917
5756
  args: [{
5918
- imports: [RouterModule.forChild(routes$j)],
5757
+ imports: [RouterModule.forChild(routes$i)],
5919
5758
  exports: [RouterModule]
5920
5759
  }]
5921
5760
  }] });
@@ -6017,7 +5856,7 @@ class RolesModule {
6017
5856
  EnvironmentService,
6018
5857
  DataSecretService,
6019
5858
  UtilityService,
6020
- AuthService$1,
5859
+ AuthService,
6021
5860
  BBSFTranslateService,
6022
5861
  DatePipe,
6023
5862
  PermissionSetService,
@@ -6067,7 +5906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
6067
5906
  EnvironmentService,
6068
5907
  DataSecretService,
6069
5908
  UtilityService,
6070
- AuthService$1,
5909
+ AuthService,
6071
5910
  BBSFTranslateService,
6072
5911
  DatePipe,
6073
5912
  PermissionSetService,
@@ -7857,7 +7696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
7857
7696
  args: [{ selector: 'lib-edit-sms', standalone: false, template: "<block-ui></block-ui>\r\n\r\n <div class=\"container-fluid\">\r\n <div class=\"card card-custom-h\">\r\n <div class=\"card-header border-0 pt-5\">\r\n <div class=\"card-title align-items-start flex-column\">\r\n <!--{{TemplateInfo.templateName}}(SMS)-->\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <a class=\"btn btn-light-primary btn-sm\" (click)=\"changeCurrentLanguage('ar')\" *ngIf=\"Lang=='en'\">\r\n {{utilityService.getResourceValue(\"Arabic\")}}\r\n </a>\r\n <a class=\"btn btn-light-primary btn-sm\" (click)=\"changeCurrentLanguage('en')\" *ngIf=\"Lang=='ar'\">\r\n {{utilityService.getResourceValue(\"English\")}}\r\n </a>\r\n </div>\r\n </div>\r\n <div class=\"card-body\">\r\n <BBSF-Form [options]=\"EditSMSFormOptions\" *ngIf=\"IsFormLoaded\">\r\n <div class=\"kt-form row\">\r\n <div *ngIf=\"Lang=='ar'\">\r\n <div class=\"row\">\r\n <div class=\"form-group col-md-6\">\r\n <BBSF-TextArea class=\"text-right\" [options]=\"SMSInArabic\" [group]=\"EditSMSForm\">\r\n </BBSF-TextArea>\r\n </div>\r\n <div class=\"col-md-6 d-flex align-items-center justify-content-center\">\r\n <div class=\"iphone\">\r\n <span class=\"position-absolute mobile-txt\">{{TemplateInfo.smsTemplateInfo.sms.arabic}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"Lang=='en'\">\r\n <div class=\"row\">\r\n <div class=\"form-group col-md-6\">\r\n <BBSF-TextArea [options]=\"SMSInEnglish\" [group]=\"EditSMSForm\">\r\n </BBSF-TextArea>\r\n </div>\r\n <div class=\"col-md-6 d-flex align-items-center justify-content-center\">\r\n <div class=\"iphone\">\r\n <span class=\"position-absolute mobile-txt\">{{TemplateInfo.smsTemplateInfo.sms.english}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <div class=\"d-flex justify-content-end\">\r\n <button type=\"button\" class=\"btn btn-light-primary btn-sm me-3\" (click)=\"cancelEdit()\">{{utilityService.getResourceValue(\"CancelLabel\")}}</button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"SaveLabel\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n" }]
7858
7697
  }], ctorParameters: () => [{ type: i1$1.UtilityService }, { type: i1$1.BBSFTranslateService }, { type: TemplateService }, { type: i1.ActivatedRoute }, { type: i1.Router }, { type: PageInfoService }, { type: i1$1.RequestHandlerService }] });
7859
7698
 
7860
- const routes$i = [
7699
+ const routes$h = [
7861
7700
  {
7862
7701
  path: "",
7863
7702
  component: NotificationsComponent,
@@ -7901,12 +7740,12 @@ const routes$i = [
7901
7740
  class NotificationsRoutingModule {
7902
7741
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NotificationsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7903
7742
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: NotificationsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
7904
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NotificationsRoutingModule, imports: [RouterModule.forChild(routes$i), RouterModule] }); }
7743
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NotificationsRoutingModule, imports: [RouterModule.forChild(routes$h), RouterModule] }); }
7905
7744
  }
7906
7745
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NotificationsRoutingModule, decorators: [{
7907
7746
  type: NgModule,
7908
7747
  args: [{
7909
- imports: [RouterModule.forChild(routes$i)],
7748
+ imports: [RouterModule.forChild(routes$h)],
7910
7749
  exports: [RouterModule]
7911
7750
  }]
7912
7751
  }] });
@@ -7931,7 +7770,7 @@ class NotificationsModule {
7931
7770
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NotificationsModule, providers: [
7932
7771
  EnvironmentService,
7933
7772
  UtilityService,
7934
- AuthService$1,
7773
+ AuthService,
7935
7774
  BBSFTranslateService,
7936
7775
  TemplateService
7937
7776
  ], imports: [NotificationsRoutingModule,
@@ -7978,7 +7817,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
7978
7817
  providers: [
7979
7818
  EnvironmentService,
7980
7819
  UtilityService,
7981
- AuthService$1,
7820
+ AuthService,
7982
7821
  BBSFTranslateService,
7983
7822
  TemplateService
7984
7823
  ]
@@ -8914,7 +8753,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
8914
8753
  args: ['ConfirmationModalControl', { static: false }]
8915
8754
  }] } });
8916
8755
 
8917
- const routes$h = [
8756
+ const routes$g = [
8918
8757
  { path: "", component: LookupsComponent, children: [
8919
8758
  { path: "Lookups", component: LookupComponent },
8920
8759
  { path: "LookupGroups", component: LookupGroupComponent },
@@ -8925,12 +8764,12 @@ const routes$h = [
8925
8764
  class LookupsRoutingModule {
8926
8765
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LookupsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8927
8766
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: LookupsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
8928
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LookupsRoutingModule, imports: [RouterModule.forChild(routes$h), RouterModule] }); }
8767
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LookupsRoutingModule, imports: [RouterModule.forChild(routes$g), RouterModule] }); }
8929
8768
  }
8930
8769
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LookupsRoutingModule, decorators: [{
8931
8770
  type: NgModule,
8932
8771
  args: [{
8933
- imports: [RouterModule.forChild(routes$h)],
8772
+ imports: [RouterModule.forChild(routes$g)],
8934
8773
  exports: [RouterModule]
8935
8774
  }]
8936
8775
  }] });
@@ -8956,7 +8795,7 @@ class LookupsModule {
8956
8795
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LookupsModule, providers: [
8957
8796
  EnvironmentService,
8958
8797
  UtilityService,
8959
- AuthService$1,
8798
+ AuthService,
8960
8799
  BBSFTranslateService,
8961
8800
  LookupService
8962
8801
  ], imports: [CommonModule,
@@ -9005,7 +8844,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
9005
8844
  providers: [
9006
8845
  EnvironmentService,
9007
8846
  UtilityService,
9008
- AuthService$1,
8847
+ AuthService,
9009
8848
  BBSFTranslateService,
9010
8849
  LookupService
9011
8850
  ]
@@ -9550,7 +9389,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
9550
9389
  args: ['ConfirmationModalControl', { static: false }]
9551
9390
  }] } });
9552
9391
 
9553
- const routes$g = [
9392
+ const routes$f = [
9554
9393
  { path: "", component: DepartmentsComponent, children: [
9555
9394
  { path: "Departments", component: DepartmentComponent },
9556
9395
  { path: "DepartmentInfo/:id", component: DepartmentInfoComponent },
@@ -9560,12 +9399,12 @@ const routes$g = [
9560
9399
  class DepartmentsRoutingModule {
9561
9400
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DepartmentsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9562
9401
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: DepartmentsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
9563
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DepartmentsRoutingModule, imports: [RouterModule.forChild(routes$g), RouterModule] }); }
9402
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DepartmentsRoutingModule, imports: [RouterModule.forChild(routes$f), RouterModule] }); }
9564
9403
  }
9565
9404
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DepartmentsRoutingModule, decorators: [{
9566
9405
  type: NgModule,
9567
9406
  args: [{
9568
- imports: [RouterModule.forChild(routes$g)],
9407
+ imports: [RouterModule.forChild(routes$f)],
9569
9408
  exports: [RouterModule],
9570
9409
  }]
9571
9410
  }] });
@@ -9589,7 +9428,7 @@ class DepartmentsModule {
9589
9428
  EnvironmentService,
9590
9429
  DataSecretService,
9591
9430
  UtilityService,
9592
- AuthService$1,
9431
+ AuthService,
9593
9432
  BBSFTranslateService,
9594
9433
  DepartmentService,
9595
9434
  RequestHandlerService
@@ -9634,7 +9473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
9634
9473
  EnvironmentService,
9635
9474
  DataSecretService,
9636
9475
  UtilityService,
9637
- AuthService$1,
9476
+ AuthService,
9638
9477
  BBSFTranslateService,
9639
9478
  DepartmentService,
9640
9479
  RequestHandlerService
@@ -10284,7 +10123,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
10284
10123
  args: [{ selector: 'lib-sectors', standalone: false, template: "<router-outlet></router-outlet>\r\n" }]
10285
10124
  }], ctorParameters: () => [] });
10286
10125
 
10287
- const routes$f = [
10126
+ const routes$e = [
10288
10127
  { path: "", component: SectorsComponent, children: [
10289
10128
  { path: "Sector", component: SectorComponent },
10290
10129
  { path: "SectorInfo/:id", component: SectorInfoComponent },
@@ -10295,12 +10134,12 @@ const routes$f = [
10295
10134
  class SectorsRoutingModule {
10296
10135
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SectorsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10297
10136
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: SectorsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
10298
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SectorsRoutingModule, imports: [RouterModule.forChild(routes$f), RouterModule] }); }
10137
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SectorsRoutingModule, imports: [RouterModule.forChild(routes$e), RouterModule] }); }
10299
10138
  }
10300
10139
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SectorsRoutingModule, decorators: [{
10301
10140
  type: NgModule,
10302
10141
  args: [{
10303
- imports: [RouterModule.forChild(routes$f)],
10142
+ imports: [RouterModule.forChild(routes$e)],
10304
10143
  exports: [RouterModule]
10305
10144
  }]
10306
10145
  }] });
@@ -10325,7 +10164,7 @@ class SectorsModule {
10325
10164
  EnvironmentService,
10326
10165
  DataSecretService,
10327
10166
  UtilityService,
10328
- AuthService$1,
10167
+ AuthService,
10329
10168
  BBSFTranslateService,
10330
10169
  SectorService,
10331
10170
  ], imports: [SectorsRoutingModule,
@@ -10371,7 +10210,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
10371
10210
  EnvironmentService,
10372
10211
  DataSecretService,
10373
10212
  UtilityService,
10374
- AuthService$1,
10213
+ AuthService,
10375
10214
  BBSFTranslateService,
10376
10215
  SectorService,
10377
10216
  ]
@@ -11882,7 +11721,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
11882
11721
  args: [{ selector: 'lib-configurations', standalone: false, template: "<router-outlet></router-outlet>\r\n" }]
11883
11722
  }], ctorParameters: () => [] });
11884
11723
 
11885
- const routes$e = [
11724
+ const routes$d = [
11886
11725
  {
11887
11726
  path: "",
11888
11727
  component: ConfigurationsComponent,
@@ -11906,12 +11745,12 @@ const routes$e = [
11906
11745
  class ConfigurationsRoutingModule {
11907
11746
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigurationsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
11908
11747
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: ConfigurationsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
11909
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigurationsRoutingModule, imports: [RouterModule.forChild(routes$e), RouterModule] }); }
11748
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigurationsRoutingModule, imports: [RouterModule.forChild(routes$d), RouterModule] }); }
11910
11749
  }
11911
11750
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigurationsRoutingModule, decorators: [{
11912
11751
  type: NgModule,
11913
11752
  args: [{
11914
- imports: [RouterModule.forChild(routes$e)],
11753
+ imports: [RouterModule.forChild(routes$d)],
11915
11754
  exports: [RouterModule]
11916
11755
  }]
11917
11756
  }] });
@@ -11941,7 +11780,7 @@ class ConfigurationsModule {
11941
11780
  UserService,
11942
11781
  EnvironmentService,
11943
11782
  UtilityService,
11944
- AuthService$1,
11783
+ AuthService,
11945
11784
  BBSFTranslateService,
11946
11785
  ConfigurationsService
11947
11786
  ], imports: [BlockUIModule.forRoot(),
@@ -11994,7 +11833,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
11994
11833
  UserService,
11995
11834
  EnvironmentService,
11996
11835
  UtilityService,
11997
- AuthService$1,
11836
+ AuthService,
11998
11837
  BBSFTranslateService,
11999
11838
  ConfigurationsService
12000
11839
  ]
@@ -12491,7 +12330,7 @@ class ImpersonationRulesModule {
12491
12330
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ImpersonationRulesModule, providers: [
12492
12331
  EnvironmentService,
12493
12332
  UtilityService,
12494
- AuthService$1,
12333
+ AuthService,
12495
12334
  BBSFTranslateService,
12496
12335
  ImpersonationRuleService
12497
12336
  ], imports: [RouterModule.forChild([
@@ -12542,7 +12381,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
12542
12381
  providers: [
12543
12382
  EnvironmentService,
12544
12383
  UtilityService,
12545
- AuthService$1,
12384
+ AuthService,
12546
12385
  BBSFTranslateService,
12547
12386
  ImpersonationRuleService
12548
12387
  ]
@@ -12795,7 +12634,7 @@ class JobsModule {
12795
12634
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: JobsModule, providers: [
12796
12635
  EnvironmentService,
12797
12636
  UtilityService,
12798
- AuthService$1,
12637
+ AuthService,
12799
12638
  BBSFTranslateService,
12800
12639
  JobsService
12801
12640
  ], imports: [RouterModule.forChild([
@@ -12842,7 +12681,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
12842
12681
  providers: [
12843
12682
  EnvironmentService,
12844
12683
  UtilityService,
12845
- AuthService$1,
12684
+ AuthService,
12846
12685
  BBSFTranslateService,
12847
12686
  JobsService
12848
12687
  ]
@@ -13031,7 +12870,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
13031
12870
  args: [{ selector: 'lib-license', standalone: false, template: "<block-ui></block-ui>\r\n\r\n<!--Begin::Section-->\r\n<div class=\"container-fluid\">\r\n <div class=\"card card-custom-h\">\r\n <div class=\"card-header border-0\">\r\n <div class=\"card-title\">\r\n <h3 *ngIf=\"!noLicenseFound\" class=\"\">{{name}}</h3>\r\n <span *ngIf=\"!noLicenseFound\" class=\"badge badge-light-success m-3 badge-lg\">\r\n {{utilityService.getResourceValue(\"LicenseActivatedSuccessfully\")}}\r\n </span>\r\n </div>\r\n\r\n <div class=\"card-toolbar\">\r\n <!-- begin::Menu -->\r\n <button type=\"button\" class=\"btn btn-sm btn-primary\" (click)=\"showUploadModal(uploadFileModal)\">\r\n {{utilityService.getResourceValue(\"Activate\")}}\r\n </button>\r\n <!-- end::Menu -->\r\n </div>\r\n </div>\r\n <div class=\"card-body d-flex align-items-center justify-content-center\" *ngIf=\"!noLicenseFound\">\r\n <ng-container *ngIf=\"showTimer\">\r\n <div class=\"main_Timer\">\r\n <div class=\"clock\">\r\n <div class=\"time row\">\r\n <div class=\"col-lg-2 col-md-4 mb-4 d-flex justify-content-center\">\r\n <div class=\"counter-item border bg-light-primary border-primary notice text-center min-w-150px rounded\">\r\n <div class=\"counter-title fs-3 fw-bold text-primary d-block\">\r\n {{utilityService.getResourceValue(\"Years\")}}</div>\r\n <span class=\"years fs-2hx fw-bolder text-gray-900\">{{years}}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-2 col-md-4 mb-4 d-flex justify-content-center\">\r\n <div class=\"counter-item border bg-light-primary border-primary notice text-center min-w-150px rounded\">\r\n <div class=\"counter-title fs-3 fw-bold text-primary d-block\">\r\n {{utilityService.getResourceValue(\"Months\")}}</div>\r\n <span class=\"months fs-2hx fw-bolder text-gray-900\">{{months}}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-2 col-md-4 mb-4 d-flex justify-content-center\">\r\n <div class=\"counter-item border bg-light-primary border-primary notice text-center min-w-150px rounded\">\r\n <div class=\"counter-title fs-3 fw-bold text-primary d-block\">\r\n {{utilityService.getResourceValue(\"Days\")}}</div>\r\n <span class=\"days fs-2hx fw-bolder text-gray-900\">{{days}}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-2 col-md-4 mb-4 d-flex justify-content-center\">\r\n <div\r\n class=\"counter-item border bg-light-primary border-primary notice text-center min-w-150px rounded d-none d-md-block\">\r\n <div class=\"counter-title fs-3 fw-bold text-primary d-block\">\r\n {{utilityService.getResourceValue(\"Hours\")}}</div>\r\n <span class=\"hours fs-2hx fw-bolder text-gray-900\">{{hours}}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-2 col-md-4 mb-4 d-flex justify-content-center\">\r\n <div\r\n class=\"counter-item border bg-light-primary border-primary notice text-center min-w-150px rounded d-none d-md-block\">\r\n <div class=\"counter-title fs-3 fw-bold text-primary d-block\">\r\n {{utilityService.getResourceValue(\"Minutes\")}}</div>\r\n <span class=\"min fs-2hx fw-bolder text-gray-900\">{{minutes}}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-2 col-md-4 mb-4 d-flex justify-content-center\">\r\n <div\r\n class=\"counter-item border bg-light-primary border-primary notice text-center min-w-150px rounded d-none d-md-block\">\r\n <div class=\"counter-title fs-3 fw-bold text-primary d-block\">\r\n {{utilityService.getResourceValue(\"Seconds\")}}</div>\r\n <span class=\"sec fs-2hx fw-bolder text-gray-900\">{{seconds}}</span>\r\n </div>\r\n </div>\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"card-body d-flex align-items-center justify-content-center\" *ngIf=\"noLicenseFound\">\r\n <div class=\"text-center\">\r\n <h3 class=\"text-danger mb-0\">\r\n {{utilityService.getResourceValue(\"NoLicenseFound\")}}\r\n </h3>\r\n </div>\r\n </div>\r\n <div *ngIf=\"!noLicenseFound\" class=\"card-footer border-0 d-flex justify-content-between\">\r\n <div class=\"mb-4\">\r\n <p class=\"badge badge-light-primary fs-7 fw-bolder me-2 min-w-150px\">\r\n {{utilityService.getResourceValue(\"LicenseStartDate\")}}:</p>\r\n <p class=\"font-weight-500\">{{licenseStartDate | date:'dd-MM-y'}}</p>\r\n </div>\r\n <div class=\"mb-4\">\r\n <p class=\"badge badge-light-info fs-7 fw-bolder me-2 min-w-150px\">\r\n {{utilityService.getResourceValue(\"LicensedUsers\")}}:</p>\r\n <p class=\"font-weight-500\">{{licensedUsersCount}} / {{usersCount}}</p>\r\n </div>\r\n <div>\r\n <p class=\"badge badge-light-danger fs-7 fw-bolder me-2 min-w-150px\">\r\n {{utilityService.getResourceValue(\"LicenseExpiryDate\")}}:</p>\r\n <p class=\"font-weight-500\">{{licenseEndDate | date:'dd-MM-y'}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n\r\n\r\n<!-- activate-->\r\n<ng-template #uploadFileModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" (click)=\"modal.dismiss()\"\r\n class=\"btn btn-sm btn-icon btn-active-color-primary\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'.././src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\"> {{utilityService.getResourceValue(\"UploadLicense\")}}</h1>\r\n </div>\r\n <BBSF-Form [options]=\"uploadFileFormOptions\">\r\n <BBSF-FileUpload [options]=\"licenseFileInput\" [group]=\"uploadFileForm\">\r\n </BBSF-FileUpload>\r\n <div class=\"text-center pt-7\">\r\n <button #CloseLicenseFileModal id=\"CloseLicenseFileModal\" type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" (click)=\"isAppendExisting(false)\"\r\n class=\"btn btn-light-primary me-3 btn-sm\">{{utilityService.getResourceValue(\"Replace\")}}</button>\r\n <button type=\"submit\" (click)=\"isAppendExisting(true)\"\r\n class=\"btn btn-primary me-3 btn-sm\">{{utilityService.getResourceValue(\"Append\")}}</button>\r\n\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>", styles: [".counter-item{padding:50px 5px;margin:0 10px}\n"] }]
13032
12871
  }], ctorParameters: () => [{ type: PageInfoService }, { type: i1$1.UtilityService }, { type: i1$1.EnvironmentService }, { type: LicenseService }, { type: i5$1.NgbModal }, { type: i1$1.RequestHandlerService }] });
13033
12872
 
13034
- const routes$d = [
12873
+ const routes$c = [
13035
12874
  {
13036
12875
  path: '', component: LicenseComponent
13037
12876
  }
@@ -13047,14 +12886,14 @@ class LicenseModule {
13047
12886
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LicenseModule, providers: [
13048
12887
  EnvironmentService,
13049
12888
  UtilityService,
13050
- AuthService$1,
12889
+ AuthService,
13051
12890
  BBSFTranslateService,
13052
12891
  DatePipe,
13053
12892
  LicenseService
13054
12893
  ], imports: [CommonModule,
13055
12894
  ClipboardModule,
13056
12895
  BlockUIModule.forRoot(),
13057
- RouterModule.forChild(routes$d),
12896
+ RouterModule.forChild(routes$c),
13058
12897
  ReactiveFormsModule,
13059
12898
  FormsModule,
13060
12899
  BBSFControlsModule,
@@ -13069,7 +12908,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
13069
12908
  CommonModule,
13070
12909
  ClipboardModule,
13071
12910
  BlockUIModule.forRoot(),
13072
- RouterModule.forChild(routes$d),
12911
+ RouterModule.forChild(routes$c),
13073
12912
  ReactiveFormsModule,
13074
12913
  FormsModule,
13075
12914
  BBSFControlsModule,
@@ -13079,7 +12918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
13079
12918
  providers: [
13080
12919
  EnvironmentService,
13081
12920
  UtilityService,
13082
- AuthService$1,
12921
+ AuthService,
13083
12922
  BBSFTranslateService,
13084
12923
  DatePipe,
13085
12924
  LicenseService
@@ -16033,7 +15872,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
16033
15872
  args: [{ selector: 'lib-workflows', standalone: false, template: "<router-outlet></router-outlet>\r\n" }]
16034
15873
  }], ctorParameters: () => [] });
16035
15874
 
16036
- const routes$c = [
15875
+ const routes$b = [
16037
15876
  { path: "", component: WorkflowsComponent, children: [
16038
15877
  { path: "workflow", component: WorkflowComponent },
16039
15878
  { path: "tabs/:id/:vid", component: TabsComponent },
@@ -16047,12 +15886,12 @@ const routes$c = [
16047
15886
  class WorkflowsRoutingModule {
16048
15887
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: WorkflowsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16049
15888
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: WorkflowsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
16050
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: WorkflowsRoutingModule, imports: [RouterModule.forChild(routes$c), RouterModule] }); }
15889
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: WorkflowsRoutingModule, imports: [RouterModule.forChild(routes$b), RouterModule] }); }
16051
15890
  }
16052
15891
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: WorkflowsRoutingModule, decorators: [{
16053
15892
  type: NgModule,
16054
15893
  args: [{
16055
- imports: [RouterModule.forChild(routes$c)],
15894
+ imports: [RouterModule.forChild(routes$b)],
16056
15895
  exports: [RouterModule]
16057
15896
  }]
16058
15897
  }] });
@@ -16078,7 +15917,7 @@ class WorkflowsModule {
16078
15917
  EnvironmentService,
16079
15918
  DataSecretService,
16080
15919
  UtilityService,
16081
- AuthService$1,
15920
+ AuthService,
16082
15921
  BBSFTranslateService,
16083
15922
  WorkflowService
16084
15923
  ], imports: [WorkflowsRoutingModule,
@@ -16126,7 +15965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
16126
15965
  EnvironmentService,
16127
15966
  DataSecretService,
16128
15967
  UtilityService,
16129
- AuthService$1,
15968
+ AuthService,
16130
15969
  BBSFTranslateService,
16131
15970
  WorkflowService
16132
15971
  ]
@@ -16504,7 +16343,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
16504
16343
  args: [{ selector: 'lib-public-holidays', standalone: false, template: "<router-outlet></router-outlet>\r\n" }]
16505
16344
  }], ctorParameters: () => [] });
16506
16345
 
16507
- const routes$b = [
16346
+ const routes$a = [
16508
16347
  { path: "", component: PublicHolidaysComponent, children: [
16509
16348
  { path: "PublicHolidays", component: PublicHolidayComponent },
16510
16349
  { path: "", redirectTo: 'PublicHolidays', pathMatch: 'full' },
@@ -16513,12 +16352,12 @@ const routes$b = [
16513
16352
  class PublicHolidaysRoutingModule {
16514
16353
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: PublicHolidaysRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16515
16354
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: PublicHolidaysRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
16516
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: PublicHolidaysRoutingModule, imports: [RouterModule.forChild(routes$b), RouterModule] }); }
16355
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: PublicHolidaysRoutingModule, imports: [RouterModule.forChild(routes$a), RouterModule] }); }
16517
16356
  }
16518
16357
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: PublicHolidaysRoutingModule, decorators: [{
16519
16358
  type: NgModule,
16520
16359
  args: [{
16521
- imports: [RouterModule.forChild(routes$b)],
16360
+ imports: [RouterModule.forChild(routes$a)],
16522
16361
  exports: [RouterModule]
16523
16362
  }]
16524
16363
  }] });
@@ -16543,7 +16382,7 @@ class PublicHolidaysModule {
16543
16382
  EnvironmentService,
16544
16383
  DataSecretService,
16545
16384
  UtilityService,
16546
- AuthService$1,
16385
+ AuthService,
16547
16386
  BBSFTranslateService,
16548
16387
  PublicHolidayService
16549
16388
  ], imports: [PublicHolidaysRoutingModule,
@@ -16589,7 +16428,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
16589
16428
  EnvironmentService,
16590
16429
  DataSecretService,
16591
16430
  UtilityService,
16592
- AuthService$1,
16431
+ AuthService,
16593
16432
  BBSFTranslateService,
16594
16433
  PublicHolidayService
16595
16434
  ]
@@ -17507,7 +17346,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
17507
17346
  args: [{ selector: 'lib-help-center-preview', standalone: false, template: "<block-ui></block-ui>\r\n<div class=\"container-fluid\">\r\n <div class=\"card card-custom-h\">\r\n <div class=\"card-body accordion-custom\">\r\n <div ngbAccordion activeIds=\"ngb-panel-0\" *ngFor=\"let Item of HelpCenterItems;let itemIndex=index;\">\r\n <div ngbAccordionItem>\r\n <ng-template ngbAccordionHeader>\r\n <h4 id=\"parentTitle\" *ngIf=\"language=='en'\">{{Item.title.english}}</h4>\r\n <h4 id=\"parentTitle\" *ngIf=\"language=='ar'\">{{Item.title.arabic}}</h4>\r\n <div id=\"parentdesc\" *ngIf=\"language=='en'\" class=\"text-muted\">{{Item.description.english}}</div>\r\n <div id=\"parentdesc\" *ngIf=\"language=='ar'\" class=\"text-muted\">{{Item.description.arabic}}</div>\r\n </ng-template>\r\n <ng-template ngbAccordionBody>\r\n <ul id=\"{{'Lvl1-'+Item.id}}\">\r\n <li *ngFor=\"let child of Item.children;let i=index;\">\r\n <a href=\"{{'#Content-'+i+'-'+itemIndex}}\" [ngClass]=\"{'active helpcenterlink': i === 0}\"\r\n data-toggle=\"tab\" role=\"tab\" aria-selected=\"true\">\r\n <span class=\"kt-nav__link-text text-to-truncate1\"\r\n *ngIf=\"language=='en'\">{{child.title.english}}</span>\r\n <span class=\"kt-nav__link-text text-to-truncate1\" *ngIf=\"language=='ar'\">{{child.title.arabic}}</span>\r\n </a>\r\n </li>\r\n </ul>\r\n <div *ngFor=\"let child of Item.children;let i=index;\"\r\n class=\"d-flex align-items-center bg-light-dark rounded p-5 mb-7\">\r\n <div id=\"{{'#Content-'+i+'-'+itemIndex}}\">\r\n <div *ngFor=\"let lastChild of child.children;let j=index;\">\r\n <span *ngIf=\"language=='en'\" class=\"fw-bolder text-light fs-4 mb-2\">{{lastChild.title.english}}</span>\r\n <span *ngIf=\"language=='ar'\" class=\"fw-bolder text-light fs-4 mb-2\">{{lastChild.title.arabic}}</span>\r\n <div>\r\n <div>\r\n <span *ngIf=\"language=='en'\" class=\"text-primary fw-bold d-block\"\r\n innerHtml=\"{{lastChild.html.english}}\">\r\n </span>\r\n <span *ngIf=\"language=='ar'\" class=\"text-primary fw-bold d-block\"\r\n innerHtml=\"{{lastChild.html.arabic}}\">\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>" }]
17508
17347
  }], ctorParameters: () => [{ type: i1$1.AuthService }, { type: PageInfoService }, { type: i1$1.UtilityService }, { type: i1$1.BBSFTranslateService }, { type: i1$1.EnvironmentService }, { type: HelpCenterService }] });
17509
17348
 
17510
- const routes$a = [
17349
+ const routes$9 = [
17511
17350
  { path: "", component: HelpCentersComponent, children: [
17512
17351
  { path: "HelpCenter", component: HelpCenterComponent },
17513
17352
  { path: "SecondLevel/:parentID", component: HelpCenterSecondlevelComponent },
@@ -17519,12 +17358,12 @@ const routes$a = [
17519
17358
  class HelpCenterRoutingModule {
17520
17359
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HelpCenterRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17521
17360
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: HelpCenterRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
17522
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HelpCenterRoutingModule, imports: [RouterModule.forChild(routes$a), RouterModule] }); }
17361
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HelpCenterRoutingModule, imports: [RouterModule.forChild(routes$9), RouterModule] }); }
17523
17362
  }
17524
17363
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HelpCenterRoutingModule, decorators: [{
17525
17364
  type: NgModule,
17526
17365
  args: [{
17527
- imports: [RouterModule.forChild(routes$a)],
17366
+ imports: [RouterModule.forChild(routes$9)],
17528
17367
  exports: [RouterModule]
17529
17368
  }]
17530
17369
  }] });
@@ -17549,7 +17388,7 @@ class HelpCenterModule {
17549
17388
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HelpCenterModule, providers: [
17550
17389
  EnvironmentService,
17551
17390
  UtilityService,
17552
- AuthService$1,
17391
+ AuthService,
17553
17392
  BBSFTranslateService,
17554
17393
  HelpCenterService
17555
17394
  ], imports: [HelpCenterRoutingModule,
@@ -17596,7 +17435,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
17596
17435
  providers: [
17597
17436
  EnvironmentService,
17598
17437
  UtilityService,
17599
- AuthService$1,
17438
+ AuthService,
17600
17439
  BBSFTranslateService,
17601
17440
  HelpCenterService
17602
17441
  ],
@@ -17714,7 +17553,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
17714
17553
  args: ['LogsPagingViewElement', { static: false }]
17715
17554
  }] } });
17716
17555
 
17717
- const routes$9 = [
17556
+ const routes$8 = [
17718
17557
  {
17719
17558
  path: "", component: LogsComponent, children: [
17720
17559
  { path: "Logs", component: LogComponent },
@@ -17725,12 +17564,12 @@ const routes$9 = [
17725
17564
  class LogsRoutingModule {
17726
17565
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17727
17566
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: LogsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
17728
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogsRoutingModule, imports: [RouterModule.forChild(routes$9), RouterModule] }); }
17567
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogsRoutingModule, imports: [RouterModule.forChild(routes$8), RouterModule] }); }
17729
17568
  }
17730
17569
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogsRoutingModule, decorators: [{
17731
17570
  type: NgModule,
17732
17571
  args: [{
17733
- imports: [RouterModule.forChild(routes$9)],
17572
+ imports: [RouterModule.forChild(routes$8)],
17734
17573
  exports: [RouterModule]
17735
17574
  }]
17736
17575
  }] });
@@ -17753,7 +17592,7 @@ class LogsModule {
17753
17592
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogsModule, providers: [
17754
17593
  EnvironmentService,
17755
17594
  UtilityService,
17756
- AuthService$1,
17595
+ AuthService,
17757
17596
  BBSFTranslateService,
17758
17597
  LogsService
17759
17598
  ], imports: [LogsRoutingModule,
@@ -17796,7 +17635,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
17796
17635
  providers: [
17797
17636
  EnvironmentService,
17798
17637
  UtilityService,
17799
- AuthService$1,
17638
+ AuthService,
17800
17639
  BBSFTranslateService,
17801
17640
  LogsService
17802
17641
  ]
@@ -18541,7 +18380,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
18541
18380
  args: [{ selector: 'lib-providers', standalone: false, template: "<router-outlet></router-outlet>\r\n\r\n" }]
18542
18381
  }], ctorParameters: () => [] });
18543
18382
 
18544
- const routes$8 = [
18383
+ const routes$7 = [
18545
18384
  {
18546
18385
  path: "", component: ProvidersComponent, children: [
18547
18386
  { path: "Providers", component: ProviderComponent },
@@ -18552,12 +18391,12 @@ const routes$8 = [
18552
18391
  class ProvidersRoutingModule {
18553
18392
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ProvidersRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
18554
18393
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: ProvidersRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
18555
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ProvidersRoutingModule, imports: [RouterModule.forChild(routes$8), RouterModule] }); }
18394
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ProvidersRoutingModule, imports: [RouterModule.forChild(routes$7), RouterModule] }); }
18556
18395
  }
18557
18396
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ProvidersRoutingModule, decorators: [{
18558
18397
  type: NgModule,
18559
18398
  args: [{
18560
- imports: [RouterModule.forChild(routes$8)],
18399
+ imports: [RouterModule.forChild(routes$7)],
18561
18400
  exports: [RouterModule]
18562
18401
  }]
18563
18402
  }] });
@@ -18581,7 +18420,7 @@ class ProvidersModule {
18581
18420
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ProvidersModule, providers: [
18582
18421
  EnvironmentService,
18583
18422
  UtilityService,
18584
- AuthService$1,
18423
+ AuthService,
18585
18424
  BBSFTranslateService,
18586
18425
  ProviderService
18587
18426
  ], imports: [ProvidersRoutingModule,
@@ -18626,7 +18465,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
18626
18465
  providers: [
18627
18466
  EnvironmentService,
18628
18467
  UtilityService,
18629
- AuthService$1,
18468
+ AuthService,
18630
18469
  BBSFTranslateService,
18631
18470
  ProviderService
18632
18471
  ]
@@ -18778,7 +18617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
18778
18617
  args: [{ selector: 'app-authentication', standalone: false, template: "<div class=\"d-flex flex-column flex-root h-100\">\r\n <!--begin::Authentication - Sign-in -->\r\n <div class=\"d-flex flex-column flex-lg-row flex-column-fluid h-100\">\r\n <!--begin::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-auto w-xl-600px positon-xl-relative bg-custom\">\r\n <div class=\"d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y\">\r\n <div class=\"d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20\">\r\n <!--begin::Logo-->\r\n <img alt=\"Logo\" [src]=\"loadLogo()\" class=\"h-60px mt-10\">\r\n </div>\r\n </div>\r\n </div>\r\n <!--end::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-fluid py-10\">\r\n <div class=\"d-flex flex-center flex-column flex-column-fluid\">\r\n <div class=\"w-lg-500px p-10 p-lg-15 mx-auto w-100\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</div>" }]
18779
18618
  }], ctorParameters: () => [{ type: i1$1.AppearanceConfigurationService }] });
18780
18619
 
18781
- const routes$7 = [
18620
+ const routes$6 = [
18782
18621
  {
18783
18622
  path: "authentication",
18784
18623
  component: AuthenticationComponent,
@@ -18793,12 +18632,12 @@ const routes$7 = [
18793
18632
  class AuthenticationRoutingModule {
18794
18633
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
18795
18634
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
18796
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationRoutingModule, imports: [RouterModule.forChild(routes$7), RouterModule] }); }
18635
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationRoutingModule, imports: [RouterModule.forChild(routes$6), RouterModule] }); }
18797
18636
  }
18798
18637
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationRoutingModule, decorators: [{
18799
18638
  type: NgModule,
18800
18639
  args: [{
18801
- imports: [RouterModule.forChild(routes$7)],
18640
+ imports: [RouterModule.forChild(routes$6)],
18802
18641
  exports: [RouterModule]
18803
18642
  }]
18804
18643
  }] });
@@ -18811,7 +18650,7 @@ class AuthenticationModule {
18811
18650
  AuthenticationRoutingModule,
18812
18651
  BBSFUtilitiesModule] }); }
18813
18652
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationModule, providers: [
18814
- AuthService$1
18653
+ AuthService
18815
18654
  ], imports: [CommonModule,
18816
18655
  RouterModule,
18817
18656
  AuthenticationRoutingModule,
@@ -18831,7 +18670,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
18831
18670
  BBSFUtilitiesModule
18832
18671
  ],
18833
18672
  providers: [
18834
- AuthService$1
18673
+ AuthService
18835
18674
  ]
18836
18675
  }]
18837
18676
  }] });
@@ -19789,7 +19628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
19789
19628
  args: ['organizationDDL', { static: false }]
19790
19629
  }] } });
19791
19630
 
19792
- const routes$6 = [
19631
+ const routes$5 = [
19793
19632
  {
19794
19633
  path: '', component: UsersComponent
19795
19634
  }
@@ -19811,11 +19650,11 @@ class UsersModule {
19811
19650
  EnvironmentService,
19812
19651
  DataSecretService,
19813
19652
  UtilityService,
19814
- AuthService$1,
19653
+ AuthService,
19815
19654
  BBSFTranslateService,
19816
19655
  ], imports: [BlockUIModule.forRoot(),
19817
19656
  CommonModule,
19818
- RouterModule.forChild(routes$6),
19657
+ RouterModule.forChild(routes$5),
19819
19658
  ReactiveFormsModule,
19820
19659
  FormsModule,
19821
19660
  BBSFControlsModule,
@@ -19833,7 +19672,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
19833
19672
  imports: [
19834
19673
  BlockUIModule.forRoot(),
19835
19674
  CommonModule,
19836
- RouterModule.forChild(routes$6),
19675
+ RouterModule.forChild(routes$5),
19837
19676
  ReactiveFormsModule,
19838
19677
  FormsModule,
19839
19678
  BBSFControlsModule,
@@ -19850,7 +19689,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
19850
19689
  EnvironmentService,
19851
19690
  DataSecretService,
19852
19691
  UtilityService,
19853
- AuthService$1,
19692
+ AuthService,
19854
19693
  BBSFTranslateService,
19855
19694
  ]
19856
19695
  }]
@@ -20841,7 +20680,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
20841
20680
  args: ['clientSecretControl', { static: false }]
20842
20681
  }] } });
20843
20682
 
20844
- const routes$5 = [
20683
+ const routes$4 = [
20845
20684
  {
20846
20685
  path: "", component: ActiveDirectoriesComponent, children: [
20847
20686
  { path: "ADConnection", component: ActiveDirectoryComponent },
@@ -20853,12 +20692,12 @@ const routes$5 = [
20853
20692
  class ActiveDirectoryRoutingModule {
20854
20693
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ActiveDirectoryRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
20855
20694
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: ActiveDirectoryRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
20856
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ActiveDirectoryRoutingModule, imports: [RouterModule.forChild(routes$5), RouterModule] }); }
20695
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ActiveDirectoryRoutingModule, imports: [RouterModule.forChild(routes$4), RouterModule] }); }
20857
20696
  }
20858
20697
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ActiveDirectoryRoutingModule, decorators: [{
20859
20698
  type: NgModule,
20860
20699
  args: [{
20861
- imports: [RouterModule.forChild(routes$5)],
20700
+ imports: [RouterModule.forChild(routes$4)],
20862
20701
  exports: [RouterModule]
20863
20702
  }]
20864
20703
  }] });
@@ -20886,7 +20725,7 @@ class ActiveDirectoryModule {
20886
20725
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ActiveDirectoryModule, providers: [
20887
20726
  EnvironmentService,
20888
20727
  UtilityService,
20889
- AuthService$1,
20728
+ AuthService,
20890
20729
  BBSFTranslateService,
20891
20730
  ActiveDirectoryService
20892
20731
  ], imports: [ActiveDirectoryRoutingModule,
@@ -20939,7 +20778,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
20939
20778
  providers: [
20940
20779
  EnvironmentService,
20941
20780
  UtilityService,
20942
- AuthService$1,
20781
+ AuthService,
20943
20782
  BBSFTranslateService,
20944
20783
  ActiveDirectoryService
20945
20784
  ]
@@ -22353,7 +22192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
22353
22192
  args: [{ selector: 'lib-edit-document', standalone: false, template: "\r\n<div class=\"container-fluid\">\r\n <div class=\"card card-custom-h\" *ngIf=\"showPageContent\">\r\n <div class=\"card-body\">\r\n <BBSF-Form [options]=\"editFormOptions\">\r\n <div class=\" row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"multiLingualName\"\r\n [group]=\"editForm\"></BBSF-MultiLingualTextBox>\r\n\r\n </div>\r\n </div>\r\n\r\n <div class=\" row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualHtmlEditor [options]=\"multiLingualHeader\"\r\n [group]=\"editForm\"></BBSF-MultiLingualHtmlEditor>\r\n </div>\r\n </div>\r\n\r\n <div class=\" row\">\r\n <div class=\"col-md-12 table-dark-skin\">\r\n <BBSF-MultiLingualHtmlEditor [options]=\"multiLingualFooter\"\r\n [group]=\"editForm\"></BBSF-MultiLingualHtmlEditor>\r\n </div>\r\n </div>\r\n\r\n <div class=\" row\">\r\n <div class=\"col-md-12 table-dark-skin\">\r\n <BBSF-MultiLingualHtmlEditor [options]=\"multiLingualHeadContent\"\r\n [group]=\"editForm\"></BBSF-MultiLingualHtmlEditor>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <h2> {{utilityService.getResourceValue(\"Options\")}}</h2>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-TextBox [options]=\"EditTop\" [group]=\"editForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-TextBox [options]=\"EditBottom\" [group]=\"editForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-TextBox [options]=\"EditLeft\" [group]=\"editForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-TextBox [options]=\"EditRight\" [group]=\"editForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-TextBox [options]=\"EditPageHeight\" [group]=\"editForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-TextBox [options]=\"EditPageWidth\" [group]=\"editForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-CheckBox [options]=\"EditIsLandscape\" [group]=\"editForm\">\r\n </BBSF-CheckBox>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-CheckBox [options]=\"EditShowPaging\" [group]=\"editForm\">\r\n </BBSF-CheckBox>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-center pt-7\">\r\n <button type=\"button\" class=\"btn btn-light-primary btn-sm me-3\"\r\n (click)=\"cancelEdit()\">{{utilityService.getResourceValue(\"CancelLabel\")}}</button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm \">{{utilityService.getResourceValue(\"SaveLabel\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n" }]
22354
22193
  }], ctorParameters: () => [{ type: i1$1.UtilityService }, { type: i1$1.BBSFTranslateService }, { type: DocumentHeaderAndFooterTemplateService }, { type: i1.ActivatedRoute }, { type: i1.Router }, { type: i1$1.RequestHandlerService }] });
22355
22194
 
22356
- const routes$4 = [
22195
+ const routes$3 = [
22357
22196
  {
22358
22197
  path: "", component: DocumentsComponent, children: [
22359
22198
  { path: "Add", component: AddDocumentComponent },
@@ -22369,12 +22208,12 @@ const routes$4 = [
22369
22208
  class DocumentsRoutingModule {
22370
22209
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DocumentsRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
22371
22210
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: DocumentsRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
22372
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DocumentsRoutingModule, imports: [RouterModule.forChild(routes$4), RouterModule] }); }
22211
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DocumentsRoutingModule, imports: [RouterModule.forChild(routes$3), RouterModule] }); }
22373
22212
  }
22374
22213
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DocumentsRoutingModule, decorators: [{
22375
22214
  type: NgModule,
22376
22215
  args: [{
22377
- imports: [RouterModule.forChild(routes$4)],
22216
+ imports: [RouterModule.forChild(routes$3)],
22378
22217
  exports: [RouterModule]
22379
22218
  }]
22380
22219
  }] });
@@ -22405,7 +22244,7 @@ class DocumentsModule {
22405
22244
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DocumentsModule, providers: [
22406
22245
  EnvironmentService,
22407
22246
  UtilityService,
22408
- AuthService$1,
22247
+ AuthService,
22409
22248
  BBSFTranslateService,
22410
22249
  TemplateService,
22411
22250
  ], imports: [DocumentsRoutingModule,
@@ -22460,7 +22299,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
22460
22299
  providers: [
22461
22300
  EnvironmentService,
22462
22301
  UtilityService,
22463
- AuthService$1,
22302
+ AuthService,
22464
22303
  BBSFTranslateService,
22465
22304
  TemplateService,
22466
22305
  ],
@@ -22888,7 +22727,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
22888
22727
  args: ['activateConfirmationModalControl', { static: false }]
22889
22728
  }] } });
22890
22729
 
22891
- const routes$3 = [
22730
+ const routes$2 = [
22892
22731
  {
22893
22732
  path: "",
22894
22733
  component: OrganizationComponent,
@@ -22908,12 +22747,12 @@ const routes$3 = [
22908
22747
  class OrganizationRoutingModule {
22909
22748
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OrganizationRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
22910
22749
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: OrganizationRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
22911
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OrganizationRoutingModule, imports: [RouterModule.forChild(routes$3), RouterModule] }); }
22750
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OrganizationRoutingModule, imports: [RouterModule.forChild(routes$2), RouterModule] }); }
22912
22751
  }
22913
22752
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OrganizationRoutingModule, decorators: [{
22914
22753
  type: NgModule,
22915
22754
  args: [{
22916
- imports: [RouterModule.forChild(routes$3)],
22755
+ imports: [RouterModule.forChild(routes$2)],
22917
22756
  exports: [RouterModule]
22918
22757
  }]
22919
22758
  }] });
@@ -22936,7 +22775,7 @@ class OrganizationModule {
22936
22775
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: OrganizationModule, providers: [
22937
22776
  EnvironmentService,
22938
22777
  UtilityService,
22939
- AuthService$1,
22778
+ AuthService,
22940
22779
  BBSFTranslateService,
22941
22780
  OrganizationService
22942
22781
  ], imports: [OrganizationRoutingModule,
@@ -22979,7 +22818,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
22979
22818
  providers: [
22980
22819
  EnvironmentService,
22981
22820
  UtilityService,
22982
- AuthService$1,
22821
+ AuthService,
22983
22822
  BBSFTranslateService,
22984
22823
  OrganizationService
22985
22824
  ],
@@ -23246,6 +23085,12 @@ class LoginComponent {
23246
23085
  };
23247
23086
  }
23248
23087
  ngOnInit() {
23088
+ // Check if user is already authenticated BEFORE doing anything
23089
+ // This prevents login form initialization from conflicting with post-refresh navigation
23090
+ if (this.authService.isAuthenticated()) {
23091
+ this.router.navigate([this.authService.getUrl()]);
23092
+ return; // Don't initialize login form
23093
+ }
23249
23094
  let body = document.getElementsByTagName("body")[0];
23250
23095
  if (body) {
23251
23096
  body.removeAttribute("class");
@@ -23871,7 +23716,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
23871
23716
  args: [{ selector: 'lib-verify-two-fa', standalone: false, template: "<block-ui></block-ui>\r\n<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"Verify2FA\")}}</h1>\r\n </div>\r\n <BBSF-Form [options]=\"verify2FAFormOptions\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"otpCode\" [group]=\"verify2FAForm\"></BBSF-TextBox>\r\n </div>\r\n <div>\r\n <div>\r\n <div *ngIf=\"timeLeft > 0\" style=\"text-align: center; padding-bottom: 5px;\" >\r\n <span id=\"timer\">{{ minutes }}:{{ seconds }}</span>\r\n </div>\r\n <a id=\"resendOTPBtn\" (click)=\"resendOTP()\" class=\"btn btn-link btn-sm fs-6 fw-bolder mt-2\" [class.disabled]=\"timeLeft > 0\">{{utilityService.getResourceValue(\"ResendOTP\")}}</a>\r\n </div>\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\"\r\n class=\"btn btn-primary btn-sm\">\r\n {{utilityService.getResourceValue(\"Submit\")}}\r\n </button>\r\n </div>\r\n </BBSF-Form>\r\n</div>\r\n<!--end::Form-->\r\n" }]
23872
23717
  }], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: AccountService }, { type: i1$1.UtilityService }, { type: i1.Router }, { type: i1$1.AuthService }] });
23873
23718
 
23874
- const routes$2 = [
23719
+ const routes$1 = [
23875
23720
  {
23876
23721
  path: "account", component: anonymouslayoutComponent, resolve: [TranslationResolverService], children: [
23877
23722
  { path: "login", component: LoginComponent },
@@ -23888,12 +23733,12 @@ const routes$2 = [
23888
23733
  class AnonymouslayoutRoutingModule {
23889
23734
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnonymouslayoutRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
23890
23735
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: AnonymouslayoutRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
23891
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnonymouslayoutRoutingModule, imports: [RouterModule.forChild(routes$2), RouterModule] }); }
23736
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnonymouslayoutRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] }); }
23892
23737
  }
23893
23738
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AnonymouslayoutRoutingModule, decorators: [{
23894
23739
  type: NgModule,
23895
23740
  args: [{
23896
- imports: [RouterModule.forChild(routes$2)],
23741
+ imports: [RouterModule.forChild(routes$1)],
23897
23742
  exports: [RouterModule]
23898
23743
  }]
23899
23744
  }] });
@@ -23920,12 +23765,10 @@ class HttpErrorInterceptor {
23920
23765
  // server-side error
23921
23766
  errorMessage = `Error Code: ${error.status}\nMessage: ${error.message}`;
23922
23767
  if (error.status == 401) {
23923
- // window.sessionStorage.clear()
23924
- //auth.logout();
23925
- //window.location.href = '/login'
23926
- // //console.log(error.message);
23768
+ // Clear auth state before redirect
23769
+ const authService = this.injector.get(AuthService);
23770
+ authService.clearLocalAuthState({ keepRedirectUrl: true });
23927
23771
  this.zone.run(() => router.navigate(["/Admin/account/login"]));
23928
- //return notificationService.error(`${error.statusText}`, false, null, 5000);
23929
23772
  }
23930
23773
  else if (error.status == 516) {
23931
23774
  this.zone.run(() => router.navigate([`/Admin/account/error/${error.status}/${error.error}`]));
@@ -23959,7 +23802,7 @@ class AnonymouslayoutModule {
23959
23802
  LayoutInitService,
23960
23803
  StylesBundleService$1,
23961
23804
  EnvironmentService,
23962
- AuthService$1,
23805
+ AuthService,
23963
23806
  UtilityService,
23964
23807
  AuthGuard,
23965
23808
  BBSFTranslateService,
@@ -24003,7 +23846,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
24003
23846
  LayoutInitService,
24004
23847
  StylesBundleService$1,
24005
23848
  EnvironmentService,
24006
- AuthService$1,
23849
+ AuthService,
24007
23850
  UtilityService,
24008
23851
  AuthGuard,
24009
23852
  BBSFTranslateService,
@@ -24086,7 +23929,7 @@ class MasterlayoutModule {
24086
23929
  LayoutInitService,
24087
23930
  StylesBundleService$1,
24088
23931
  EnvironmentService,
24089
- AuthService$1,
23932
+ AuthService,
24090
23933
  UtilityService,
24091
23934
  AuthGuard,
24092
23935
  AdminGuard,
@@ -24155,7 +23998,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
24155
23998
  LayoutInitService,
24156
23999
  StylesBundleService$1,
24157
24000
  EnvironmentService,
24158
- AuthService$1,
24001
+ AuthService,
24159
24002
  UtilityService,
24160
24003
  AuthGuard,
24161
24004
  AdminGuard,
@@ -24174,67 +24017,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
24174
24017
  }]
24175
24018
  }] });
24176
24019
 
24177
- class IndexComponent {
24178
- constructor(authService) {
24179
- this.authService = authService;
24180
- }
24181
- ngOnInit() {
24182
- this.subscription = this.authService.authNavStatus$.subscribe(status => this.isAuthenticated = status);
24183
- //console.log(this.isAuthenticated)
24184
- this.name = this.authService.name();
24185
- }
24186
- async signout() {
24187
- await this.authService.signout();
24188
- }
24189
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: IndexComponent, deps: [{ token: AuthService }], target: i0.ɵɵFactoryTarget.Component }); }
24190
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: IndexComponent, isStandalone: false, selector: "app-index", ngImport: i0, template: "<div *ngIf=\"isAuthenticated\">\r\n <a class=\"p-2 text-light\" (click)=\"signout()\" href=\"javascript:void(0)\">Signout {{name}}</a> \r\n\r\n</div>\r\n<div class=\"container\">\r\n <div class=\"jumbotron mt-3\">\r\n <h1>Test Index Page</h1>\r\n <a class=\"btn btn-lg btn-primary\" routerLink=\"/account/register\" role=\"button\">Signup Page &raquo;</a>\r\n <a class=\"btn btn-lg btn-primary ml-4\" routerLink=\"/account/login\" role=\"button\">Login Page &raquo;</a>\r\n <a class=\"btn btn-lg btn-primary ml-4\" routerLink=\"/securePage/data\" role=\"button\">Secure Page &raquo;</a>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
24191
- }
24192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: IndexComponent, decorators: [{
24193
- type: Component,
24194
- args: [{ selector: 'app-index', standalone: false, template: "<div *ngIf=\"isAuthenticated\">\r\n <a class=\"p-2 text-light\" (click)=\"signout()\" href=\"javascript:void(0)\">Signout {{name}}</a> \r\n\r\n</div>\r\n<div class=\"container\">\r\n <div class=\"jumbotron mt-3\">\r\n <h1>Test Index Page</h1>\r\n <a class=\"btn btn-lg btn-primary\" routerLink=\"/account/register\" role=\"button\">Signup Page &raquo;</a>\r\n <a class=\"btn btn-lg btn-primary ml-4\" routerLink=\"/account/login\" role=\"button\">Login Page &raquo;</a>\r\n <a class=\"btn btn-lg btn-primary ml-4\" routerLink=\"/securePage/data\" role=\"button\">Secure Page &raquo;</a>\r\n </div>\r\n</div>\r\n" }]
24195
- }], ctorParameters: () => [{ type: AuthService }] });
24196
-
24197
- const routes$1 = [
24198
- { path: "index", component: IndexComponent },
24199
- { path: "", redirectTo: "index", pathMatch: 'full' }
24200
- ];
24201
- class StartRoutingModule {
24202
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: StartRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
24203
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: StartRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
24204
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: StartRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] }); }
24205
- }
24206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: StartRoutingModule, decorators: [{
24207
- type: NgModule,
24208
- args: [{
24209
- imports: [RouterModule.forChild(routes$1)],
24210
- exports: [RouterModule]
24211
- }]
24212
- }] });
24213
-
24214
- class StartModule {
24215
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: StartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
24216
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: StartModule, declarations: [IndexComponent], imports: [CommonModule,
24217
- StartRoutingModule,
24218
- RouterModule,
24219
- SharedModule] }); }
24220
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: StartModule, imports: [CommonModule,
24221
- StartRoutingModule,
24222
- RouterModule,
24223
- SharedModule] }); }
24224
- }
24225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: StartModule, decorators: [{
24226
- type: NgModule,
24227
- args: [{
24228
- declarations: [IndexComponent],
24229
- imports: [
24230
- CommonModule,
24231
- StartRoutingModule,
24232
- RouterModule,
24233
- SharedModule,
24234
- ]
24235
- }]
24236
- }] });
24237
-
24238
24020
  class SurveyFormOptions {
24239
24021
  constructor() {
24240
24022
  this.QuestionList = [];
@@ -28697,7 +28479,7 @@ class ExternalUrlComponent extends AppBaseComponent {
28697
28479
  this.pageTitle = this.surveyInfo.title.current_FailOver;
28698
28480
  this.updatePageTitle(this.surveyInfo.title.current_FailOver);
28699
28481
  this.isDateLoaded = true;
28700
- if (AuthService$1.user != null)
28482
+ if (AuthService.user != null)
28701
28483
  this.showInternalErrorMessage = true;
28702
28484
  });
28703
28485
  }
@@ -28743,7 +28525,7 @@ class PublicSurveyModule {
28743
28525
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: PublicSurveyModule, providers: [
28744
28526
  AnonymousLayoutService,
28745
28527
  MasterLayoutService,
28746
- AuthService$1,
28528
+ AuthService,
28747
28529
  ConfigurationService,
28748
28530
  SurveyService,
28749
28531
  SurveyQuestionService
@@ -28775,7 +28557,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
28775
28557
  providers: [
28776
28558
  AnonymousLayoutService,
28777
28559
  MasterLayoutService,
28778
- AuthService$1,
28560
+ AuthService,
28779
28561
  ConfigurationService,
28780
28562
  SurveyService,
28781
28563
  SurveyQuestionService
@@ -28824,7 +28606,7 @@ class SurveyModule {
28824
28606
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SurveyModule, providers: [
28825
28607
  AnonymousLayoutService,
28826
28608
  MasterLayoutService,
28827
- AuthService$1,
28609
+ AuthService,
28828
28610
  EnvironmentService,
28829
28611
  ConfigurationService,
28830
28612
  ], imports: [PublicSurveyModule,
@@ -28876,7 +28658,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
28876
28658
  providers: [
28877
28659
  AnonymousLayoutService,
28878
28660
  MasterLayoutService,
28879
- AuthService$1,
28661
+ AuthService,
28880
28662
  EnvironmentService,
28881
28663
  ConfigurationService,
28882
28664
  ],
@@ -28939,5 +28721,5 @@ class UserRegistration {
28939
28721
  * Generated bundle index. Do not edit.
28940
28722
  */
28941
28723
 
28942
- export { AnonymousLayoutService, AnonymouslayoutModule, AudienceType, AuthCallbackComponent, AuthGuard, AuthModule, AuthService, AuthenticationModule, BaseService, DataSecretService, DefaultLayoutConfig, DepartmentModel, DocumentTemplateService, EmptyGuid, ExternalUrlComponent, GlobalErrorHandler, HomeComponent, HomeModule, IndexComponent, InjectedModule, LanguageType, LayoutInitService, LayoutService, LocalizationsComponent, LocalizationsModule, LoginComponent, MasterlayoutComponent, MasterlayoutModule, PageInfo, PageInfoService, PublicSurveyModule, SharedModule, SortingOptions, SortingType, StartModule, StylesBundleService, SubheaderComponent, SubheaderModule, SurveyFormComponent, SurveyMode, SurveyModule, SurveyOptionType, SurveyStatusEnum, UserRegistration, UsersComponent, UsersModule, anonymouslayoutComponent, getClientSettings, getEmptyCSSVariables, getEmptyCssClasses, getEmptyHTMLAttributes, injectionModuleService, localizationsService };
28724
+ export { AnonymousLayoutService, AnonymouslayoutModule, AudienceType, AuthCallbackComponent, AuthGuard, AuthModule, AuthenticationModule, DataSecretService, DefaultLayoutConfig, DepartmentModel, DocumentTemplateService, EmptyGuid, ExternalUrlComponent, GlobalErrorHandler, HomeComponent, HomeModule, InjectedModule, LanguageType, LayoutInitService, LayoutService, LocalizationsComponent, LocalizationsModule, LoginComponent, MasterlayoutComponent, MasterlayoutModule, PageInfo, PageInfoService, PublicSurveyModule, SharedModule, SortingOptions, SortingType, StylesBundleService, SubheaderComponent, SubheaderModule, SurveyFormComponent, SurveyMode, SurveyModule, SurveyOptionType, SurveyStatusEnum, UserRegistration, UsersComponent, UsersModule, anonymouslayoutComponent, getEmptyCSSVariables, getEmptyCssClasses, getEmptyHTMLAttributes, injectionModuleService, localizationsService };
28943
28725
  //# sourceMappingURL=bnsights-bbsf-admin-portal.mjs.map