@bnsights/bbsf-utilities 1.0.30 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +8 -1
  2. package/bnsights-bbsf-utilities-1.0.32.tgz +0 -0
  3. package/bnsights-bbsf-utilities.d.ts +1 -0
  4. package/{esm2015/bnsights-bbsf-utilities.js → esm2020/bnsights-bbsf-utilities.mjs} +0 -0
  5. package/esm2020/lib/bbsf-utilities.module.mjs +74 -0
  6. package/esm2020/lib/shared/authentication/auth.service.mjs +217 -0
  7. package/{esm2015/lib/shared/config/environment.js → esm2020/lib/shared/config/environment.mjs} +0 -0
  8. package/{esm2015/lib/shared/models/AreaModel.js → esm2020/lib/shared/models/AreaModel.mjs} +0 -0
  9. package/{esm2015/lib/shared/models/ErrorModel.js → esm2020/lib/shared/models/ErrorModel.mjs} +0 -0
  10. package/{esm2015/lib/shared/models/RequestOptionsModel.js → esm2020/lib/shared/models/RequestOptionsModel.mjs} +0 -0
  11. package/esm2020/lib/shared/services/AppearanceConfiguration.service.mjs +35 -0
  12. package/esm2020/lib/shared/services/configuration.service.mjs +24 -0
  13. package/esm2020/lib/shared/services/controlvalidation.service.mjs +166 -0
  14. package/esm2020/lib/shared/services/environment.service.mjs +50 -0
  15. package/esm2020/lib/shared/services/masterlayout.service.mjs +84 -0
  16. package/esm2020/lib/shared/services/requesthandler.service.mjs +202 -0
  17. package/esm2020/lib/shared/services/stylesbundle.service.mjs +55 -0
  18. package/esm2020/lib/shared/services/translate.service.mjs +14 -0
  19. package/esm2020/lib/shared/services/translationresolver.service.mjs +18 -0
  20. package/esm2020/lib/shared/services/utility.service.mjs +90 -0
  21. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  22. package/fesm2015/{bnsights-bbsf-utilities.js → bnsights-bbsf-utilities.mjs} +162 -158
  23. package/fesm2015/bnsights-bbsf-utilities.mjs.map +1 -0
  24. package/fesm2020/bnsights-bbsf-utilities.mjs +997 -0
  25. package/fesm2020/bnsights-bbsf-utilities.mjs.map +1 -0
  26. package/lib/bbsf-utilities.module.d.ts +9 -0
  27. package/lib/shared/authentication/auth.service.d.ts +3 -0
  28. package/lib/shared/services/AppearanceConfiguration.service.d.ts +3 -0
  29. package/lib/shared/services/configuration.service.d.ts +3 -0
  30. package/lib/shared/services/controlvalidation.service.d.ts +3 -0
  31. package/lib/shared/services/environment.service.d.ts +3 -0
  32. package/lib/shared/services/masterlayout.service.d.ts +3 -0
  33. package/lib/shared/services/requesthandler.service.d.ts +3 -0
  34. package/lib/shared/services/stylesbundle.service.d.ts +3 -0
  35. package/lib/shared/services/translate.service.d.ts +3 -0
  36. package/lib/shared/services/translationresolver.service.d.ts +3 -0
  37. package/lib/shared/services/utility.service.d.ts +3 -0
  38. package/package.json +19 -7
  39. package/bnsights-bbsf-utilities-1.0.30.tgz +0 -0
  40. package/bnsights-bbsf-utilities.metadata.json +0 -1
  41. package/bundles/bnsights-bbsf-utilities.umd.js +0 -1484
  42. package/bundles/bnsights-bbsf-utilities.umd.js.map +0 -1
  43. package/esm2015/lib/bbsf-utilities.module.js +0 -52
  44. package/esm2015/lib/shared/authentication/auth.service.js +0 -236
  45. package/esm2015/lib/shared/services/AppearanceConfiguration.service.js +0 -37
  46. package/esm2015/lib/shared/services/configuration.service.js +0 -26
  47. package/esm2015/lib/shared/services/controlvalidation.service.js +0 -168
  48. package/esm2015/lib/shared/services/environment.service.js +0 -48
  49. package/esm2015/lib/shared/services/masterlayout.service.js +0 -95
  50. package/esm2015/lib/shared/services/requesthandler.service.js +0 -206
  51. package/esm2015/lib/shared/services/stylesbundle.service.js +0 -56
  52. package/esm2015/lib/shared/services/translate.service.js +0 -13
  53. package/esm2015/lib/shared/services/translationresolver.service.js +0 -20
  54. package/esm2015/lib/shared/services/utility.service.js +0 -96
  55. package/fesm2015/bnsights-bbsf-utilities.js.map +0 -1
@@ -1,22 +1,45 @@
1
- import * as i1$1 from '@angular/common';
2
1
  import { DOCUMENT, CommonModule } from '@angular/common';
3
2
  import * as i0 from '@angular/core';
4
- import { Injectable, Inject, Injector, NgModule } from '@angular/core';
5
- import * as i1$2 from '@angular/router';
6
- import { Router, RouterModule } from '@angular/router';
7
- import * as i1 from '@ngx-translate/core';
3
+ import { Injectable, Inject, NgModule } from '@angular/core';
4
+ import * as i6 from '@angular/router';
5
+ import { RouterModule } from '@angular/router';
6
+ import * as i5 from '@ngx-translate/core';
8
7
  import { TranslateService } from '@ngx-translate/core';
8
+ import * as i1$1 from 'ng-block-ui';
9
9
  import { BlockUI, BlockUIModule } from 'ng-block-ui';
10
+ import * as i2 from 'ngx-toastr';
10
11
  import { ToastrService, ToastrModule } from 'ngx-toastr';
11
12
  import { HttpModule } from '@angular/http';
12
13
  import { __awaiter, __decorate } from 'tslib';
13
- import * as i1$3 from '@angular/common/http';
14
- import { HttpHeaders, HttpClient, HttpParams } from '@angular/common/http';
14
+ import * as i1 from '@angular/common/http';
15
+ import { HttpHeaders, HttpParams } from '@angular/common/http';
15
16
  import { UserManager, WebStorageStateStore } from 'oidc-client';
16
17
  import { Subject, Observable, throwError, BehaviorSubject } from 'rxjs';
17
18
  import { takeUntil, tap, map } from 'rxjs/operators';
18
19
  import { plainToClass } from 'class-transformer';
19
20
 
21
+ class BBSFTranslateService extends TranslateService {
22
+ }
23
+ BBSFTranslateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BBSFTranslateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
24
+ BBSFTranslateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BBSFTranslateService, providedIn: 'root' });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BBSFTranslateService, decorators: [{
26
+ type: Injectable,
27
+ args: [{
28
+ providedIn: 'root'
29
+ }]
30
+ }] });
31
+
32
+ class RequestOptionsModel {
33
+ constructor() {
34
+ this.disableSuccessNotification = false;
35
+ this.disableBlockUI = false;
36
+ this.disableErrorHandler = false;
37
+ this.responseType = "";
38
+ this.formGroup = null;
39
+ this.castResponsetoClass = true;
40
+ }
41
+ }
42
+
20
43
  // This file can be replaced during build by using the `fileReplacements` array.
21
44
  // `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
22
45
  // The list of file replacements can be found in `angular.json`.
@@ -67,32 +90,14 @@ class EnvironmentService {
67
90
  }
68
91
  }
69
92
  EnvironmentService.AreaList = [];
70
- EnvironmentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EnvironmentService_Factory() { return new EnvironmentService(); }, token: EnvironmentService, providedIn: "root" });
71
- EnvironmentService.decorators = [
72
- { type: Injectable, args: [{
73
- providedIn: 'root'
74
- },] }
75
- ];
76
-
77
- class BBSFTranslateService extends TranslateService {
78
- }
79
- BBSFTranslateService.ɵprov = i0.ɵɵdefineInjectable({ factory: function BBSFTranslateService_Factory() { return new BBSFTranslateService(i0.ɵɵinject(i1.TranslateStore), i0.ɵɵinject(i1.TranslateLoader), i0.ɵɵinject(i1.TranslateCompiler), i0.ɵɵinject(i1.TranslateParser), i0.ɵɵinject(i1.MissingTranslationHandler), i0.ɵɵinject(i1.USE_DEFAULT_LANG), i0.ɵɵinject(i1.USE_STORE), i0.ɵɵinject(i1.USE_EXTEND), i0.ɵɵinject(i1.DEFAULT_LANGUAGE)); }, token: BBSFTranslateService, providedIn: "root" });
80
- BBSFTranslateService.decorators = [
81
- { type: Injectable, args: [{
82
- providedIn: 'root'
83
- },] }
84
- ];
85
-
86
- class RequestOptionsModel {
87
- constructor() {
88
- this.disableSuccessNotification = false;
89
- this.disableBlockUI = false;
90
- this.disableErrorHandler = false;
91
- this.responseType = "";
92
- this.formGroup = null;
93
- this.castResponsetoClass = true;
94
- }
95
- }
93
+ EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
94
+ EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnvironmentService, decorators: [{
96
+ type: Injectable,
97
+ args: [{
98
+ providedIn: 'root'
99
+ }]
100
+ }] });
96
101
 
97
102
  class RequestHandlerService {
98
103
  constructor(http, authService, environmentService, utilityService, bbsfTranslateService, router) {
@@ -277,17 +282,11 @@ class RequestHandlerService {
277
282
  });
278
283
  }
279
284
  }
280
- RequestHandlerService.decorators = [
281
- { type: Injectable }
282
- ];
283
- RequestHandlerService.ctorParameters = () => [
284
- { type: HttpClient },
285
- { type: AuthService },
286
- { type: EnvironmentService },
287
- { type: UtilityService },
288
- { type: BBSFTranslateService },
289
- { type: Router }
290
- ];
285
+ RequestHandlerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RequestHandlerService, deps: [{ token: i1.HttpClient }, { token: AuthService }, { token: EnvironmentService }, { token: UtilityService }, { token: BBSFTranslateService }, { token: i6.Router }], target: i0.ɵɵFactoryTarget.Injectable });
286
+ RequestHandlerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RequestHandlerService });
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RequestHandlerService, decorators: [{
288
+ type: Injectable
289
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: AuthService }, { type: EnvironmentService }, { type: UtilityService }, { type: BBSFTranslateService }, { type: i6.Router }]; } });
291
290
 
292
291
  class StylesBundleService {
293
292
  constructor(document, translateService) {
@@ -328,16 +327,19 @@ class StylesBundleService {
328
327
  head.appendChild(style);
329
328
  }
330
329
  }
331
- StylesBundleService.ɵprov = i0.ɵɵdefineInjectable({ factory: function StylesBundleService_Factory() { return new StylesBundleService(i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(BBSFTranslateService)); }, token: StylesBundleService, providedIn: "root" });
332
- StylesBundleService.decorators = [
333
- { type: Injectable, args: [{
334
- providedIn: 'root'
335
- },] }
336
- ];
337
- StylesBundleService.ctorParameters = () => [
338
- { type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
339
- { type: BBSFTranslateService }
340
- ];
330
+ StylesBundleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StylesBundleService, deps: [{ token: DOCUMENT }, { token: BBSFTranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
331
+ StylesBundleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StylesBundleService, providedIn: 'root' });
332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StylesBundleService, decorators: [{
333
+ type: Injectable,
334
+ args: [{
335
+ providedIn: 'root'
336
+ }]
337
+ }], ctorParameters: function () {
338
+ return [{ type: Document, decorators: [{
339
+ type: Inject,
340
+ args: [DOCUMENT]
341
+ }] }, { type: BBSFTranslateService }];
342
+ } });
341
343
 
342
344
  class MasterLayoutService {
343
345
  constructor(router, http, authService, stylesBundleService, translate, environmentService) {
@@ -383,7 +385,8 @@ class MasterLayoutService {
383
385
  return this.http.post(this.ApiUrl + 'LogError', null, null, params);
384
386
  }
385
387
  updateUserInfo() {
386
- if (this.environmentService.getIsIdentityServerExternal())
388
+ let isExternal = this.environmentService.getIsIdentityServerExternal().toLowerCase() == 'true';
389
+ if (isExternal)
387
390
  return this.getUserClaims();
388
391
  return this.http.get('/connect/userinfo');
389
392
  }
@@ -404,20 +407,14 @@ class MasterLayoutService {
404
407
  return this.http.post(this.ApiUrl + 'SwitchRole', null, null, params);
405
408
  }
406
409
  }
407
- MasterLayoutService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MasterLayoutService_Factory() { return new MasterLayoutService(i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(RequestHandlerService), i0.ɵɵinject(AuthService), i0.ɵɵinject(StylesBundleService), i0.ɵɵinject(i1.TranslateService), i0.ɵɵinject(EnvironmentService)); }, token: MasterLayoutService, providedIn: "root" });
408
- MasterLayoutService.decorators = [
409
- { type: Injectable, args: [{
410
- providedIn: 'root',
411
- },] }
412
- ];
413
- MasterLayoutService.ctorParameters = () => [
414
- { type: Router },
415
- { type: RequestHandlerService },
416
- { type: AuthService },
417
- { type: StylesBundleService },
418
- { type: TranslateService },
419
- { type: EnvironmentService }
420
- ];
410
+ MasterLayoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MasterLayoutService, deps: [{ token: i6.Router }, { token: RequestHandlerService }, { token: AuthService }, { token: StylesBundleService }, { token: i5.TranslateService }, { token: EnvironmentService }], target: i0.ɵɵFactoryTarget.Injectable });
411
+ MasterLayoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MasterLayoutService, providedIn: 'root' });
412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MasterLayoutService, decorators: [{
413
+ type: Injectable,
414
+ args: [{
415
+ providedIn: 'root',
416
+ }]
417
+ }], ctorParameters: function () { return [{ type: i6.Router }, { type: RequestHandlerService }, { type: AuthService }, { type: StylesBundleService }, { type: i5.TranslateService }, { type: EnvironmentService }]; } });
421
418
 
422
419
  class AuthService {
423
420
  constructor(injector, http, environmentService, translateService, router) {
@@ -627,19 +624,14 @@ class AuthService {
627
624
  }
628
625
  AuthService.user = null;
629
626
  AuthService.UserClaims = null;
630
- AuthService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AuthService_Factory() { return new AuthService(i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(i1$3.HttpClient), i0.ɵɵinject(EnvironmentService), i0.ɵɵinject(BBSFTranslateService), i0.ɵɵinject(i1$2.Router)); }, token: AuthService, providedIn: "root" });
631
- AuthService.decorators = [
632
- { type: Injectable, args: [{
633
- providedIn: 'root',
634
- },] }
635
- ];
636
- AuthService.ctorParameters = () => [
637
- { type: Injector },
638
- { type: HttpClient },
639
- { type: EnvironmentService },
640
- { type: BBSFTranslateService },
641
- { type: Router }
642
- ];
627
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: BBSFTranslateService }, { token: i6.Router }], target: i0.ɵɵFactoryTarget.Injectable });
628
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AuthService, providedIn: 'root' });
629
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AuthService, decorators: [{
630
+ type: Injectable,
631
+ args: [{
632
+ providedIn: 'root',
633
+ }]
634
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.HttpClient }, { type: EnvironmentService }, { type: BBSFTranslateService }, { type: i6.Router }]; } });
643
635
 
644
636
  class UtilityService {
645
637
  constructor(translator, authService, environmentService) {
@@ -710,20 +702,17 @@ class UtilityService {
710
702
  this.blockUI.stop();
711
703
  }
712
704
  }
713
- UtilityService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(i0.ɵɵinject(BBSFTranslateService), i0.ɵɵinject(AuthService), i0.ɵɵinject(EnvironmentService)); }, token: UtilityService, providedIn: "root" });
714
- UtilityService.decorators = [
715
- { type: Injectable, args: [{
716
- providedIn: 'root'
717
- },] }
718
- ];
719
- UtilityService.ctorParameters = () => [
720
- { type: BBSFTranslateService },
721
- { type: AuthService },
722
- { type: EnvironmentService }
723
- ];
705
+ UtilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UtilityService, deps: [{ token: BBSFTranslateService }, { token: AuthService }, { token: EnvironmentService }], target: i0.ɵɵFactoryTarget.Injectable });
706
+ UtilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UtilityService, providedIn: 'root' });
724
707
  __decorate([
725
708
  BlockUI()
726
- ], UtilityService.prototype, "blockUI", void 0);
709
+ ], UtilityService.prototype, "blockUI", void 0);
710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UtilityService, decorators: [{
711
+ type: Injectable,
712
+ args: [{
713
+ providedIn: 'root'
714
+ }]
715
+ }], ctorParameters: function () { return [{ type: BBSFTranslateService }, { type: AuthService }, { type: EnvironmentService }]; }, propDecorators: { blockUI: [] } });
727
716
 
728
717
  class ControlValidationService {
729
718
  constructor(utilityService) {
@@ -873,18 +862,17 @@ class ControlValidationService {
873
862
  }
874
863
  }
875
864
  }
876
- ControlValidationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ControlValidationService_Factory() { return new ControlValidationService(i0.ɵɵinject(UtilityService)); }, token: ControlValidationService, providedIn: "root" });
877
- ControlValidationService.decorators = [
878
- { type: Injectable, args: [{
879
- providedIn: 'root'
880
- },] }
881
- ];
882
- ControlValidationService.ctorParameters = () => [
883
- { type: UtilityService }
884
- ];
865
+ ControlValidationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ControlValidationService, deps: [{ token: UtilityService }], target: i0.ɵɵFactoryTarget.Injectable });
866
+ ControlValidationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ControlValidationService, providedIn: 'root' });
885
867
  __decorate([
886
868
  BlockUI()
887
- ], ControlValidationService.prototype, "blockUI", void 0);
869
+ ], ControlValidationService.prototype, "blockUI", void 0);
870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ControlValidationService, decorators: [{
871
+ type: Injectable,
872
+ args: [{
873
+ providedIn: 'root'
874
+ }]
875
+ }], ctorParameters: function () { return [{ type: UtilityService }]; }, propDecorators: { blockUI: [] } });
888
876
 
889
877
  class ConfigurationService {
890
878
  constructor(httpClient) {
@@ -898,15 +886,14 @@ class ConfigurationService {
898
886
  }
899
887
  }
900
888
  ConfigurationService.JsonData = [];
901
- ConfigurationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigurationService_Factory() { return new ConfigurationService(i0.ɵɵinject(i1$3.HttpClient)); }, token: ConfigurationService, providedIn: "root" });
902
- ConfigurationService.decorators = [
903
- { type: Injectable, args: [{
904
- providedIn: 'root'
905
- },] }
906
- ];
907
- ConfigurationService.ctorParameters = () => [
908
- { type: HttpClient }
909
- ];
889
+ ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ConfigurationService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
890
+ ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ConfigurationService, providedIn: 'root' });
891
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ConfigurationService, decorators: [{
892
+ type: Injectable,
893
+ args: [{
894
+ providedIn: 'root'
895
+ }]
896
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
910
897
 
911
898
  let AppInjector;
912
899
  class BBSFUtilitiesModule {
@@ -915,34 +902,53 @@ class BBSFUtilitiesModule {
915
902
  AppInjector = this.injector;
916
903
  }
917
904
  }
918
- BBSFUtilitiesModule.decorators = [
919
- { type: NgModule, args: [{
920
- declarations: [],
921
- imports: [
922
- CommonModule,
923
- BlockUIModule.forRoot(),
924
- HttpModule,
925
- RouterModule,
926
- ToastrModule.forRoot(),
927
- ],
928
- exports: [],
929
- providers: [
930
- UtilityService,
931
- EnvironmentService,
932
- AuthService,
933
- RequestHandlerService,
934
- StylesBundleService,
935
- TranslateService,
936
- BBSFTranslateService,
937
- ControlValidationService,
938
- MasterLayoutService,
939
- ConfigurationService
940
- ]
941
- },] }
942
- ];
943
- BBSFUtilitiesModule.ctorParameters = () => [
944
- { type: Injector }
945
- ];
905
+ BBSFUtilitiesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BBSFUtilitiesModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
906
+ BBSFUtilitiesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BBSFUtilitiesModule, imports: [CommonModule, i1$1.BlockUIModule, HttpModule,
907
+ RouterModule, i2.ToastrModule] });
908
+ BBSFUtilitiesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BBSFUtilitiesModule, providers: [
909
+ UtilityService,
910
+ EnvironmentService,
911
+ AuthService,
912
+ RequestHandlerService,
913
+ StylesBundleService,
914
+ TranslateService,
915
+ BBSFTranslateService,
916
+ ControlValidationService,
917
+ MasterLayoutService,
918
+ ConfigurationService
919
+ ], imports: [[
920
+ CommonModule,
921
+ BlockUIModule.forRoot(),
922
+ HttpModule,
923
+ RouterModule,
924
+ ToastrModule.forRoot(),
925
+ ]] });
926
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BBSFUtilitiesModule, decorators: [{
927
+ type: NgModule,
928
+ args: [{
929
+ declarations: [],
930
+ imports: [
931
+ CommonModule,
932
+ BlockUIModule.forRoot(),
933
+ HttpModule,
934
+ RouterModule,
935
+ ToastrModule.forRoot(),
936
+ ],
937
+ exports: [],
938
+ providers: [
939
+ UtilityService,
940
+ EnvironmentService,
941
+ AuthService,
942
+ RequestHandlerService,
943
+ StylesBundleService,
944
+ TranslateService,
945
+ BBSFTranslateService,
946
+ ControlValidationService,
947
+ MasterLayoutService,
948
+ ConfigurationService
949
+ ]
950
+ }]
951
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
946
952
 
947
953
  class TranslationResolverService {
948
954
  constructor(translateService) {
@@ -952,13 +958,12 @@ class TranslationResolverService {
952
958
  return this.translateService.getTranslation(this.translateService.currentLang);
953
959
  }
954
960
  }
955
- TranslationResolverService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TranslationResolverService_Factory() { return new TranslationResolverService(i0.ɵɵinject(BBSFTranslateService)); }, token: TranslationResolverService, providedIn: "root" });
956
- TranslationResolverService.decorators = [
957
- { type: Injectable, args: [{ providedIn: 'root' },] }
958
- ];
959
- TranslationResolverService.ctorParameters = () => [
960
- { type: BBSFTranslateService }
961
- ];
961
+ TranslationResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TranslationResolverService, deps: [{ token: BBSFTranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
962
+ TranslationResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TranslationResolverService, providedIn: 'root' });
963
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TranslationResolverService, decorators: [{
964
+ type: Injectable,
965
+ args: [{ providedIn: 'root' }]
966
+ }], ctorParameters: function () { return [{ type: BBSFTranslateService }]; } });
962
967
 
963
968
  class AppearanceConfigurationService {
964
969
  constructor(configService) {
@@ -983,15 +988,14 @@ class AppearanceConfigurationService {
983
988
  return this.configService.getConfigurationValue('AnonymousLayout_Logo');
984
989
  }
985
990
  }
986
- AppearanceConfigurationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AppearanceConfigurationService_Factory() { return new AppearanceConfigurationService(i0.ɵɵinject(ConfigurationService)); }, token: AppearanceConfigurationService, providedIn: "root" });
987
- AppearanceConfigurationService.decorators = [
988
- { type: Injectable, args: [{
989
- providedIn: 'root'
990
- },] }
991
- ];
992
- AppearanceConfigurationService.ctorParameters = () => [
993
- { type: ConfigurationService }
994
- ];
991
+ AppearanceConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AppearanceConfigurationService, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
992
+ AppearanceConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AppearanceConfigurationService, providedIn: 'root' });
993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AppearanceConfigurationService, decorators: [{
994
+ type: Injectable,
995
+ args: [{
996
+ providedIn: 'root'
997
+ }]
998
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
995
999
 
996
1000
  /*
997
1001
  * Public API Surface of @bnsights/bbsf-utilities
@@ -1002,4 +1006,4 @@ AppearanceConfigurationService.ctorParameters = () => [
1002
1006
  */
1003
1007
 
1004
1008
  export { AppInjector, AppearanceConfigurationService, AuthService, BBSFTranslateService, BBSFUtilitiesModule, ConfigurationService, ControlValidationService, EnvironmentService, MasterLayoutService, RequestHandlerService, RequestOptionsModel, StylesBundleService, TranslationResolverService, UtilityService, environment };
1005
- //# sourceMappingURL=bnsights-bbsf-utilities.js.map
1009
+ //# sourceMappingURL=bnsights-bbsf-utilities.mjs.map