@abp/ng.core 4.4.0 → 4.4.4

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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@angular/common'), require('rxjs'), require('rxjs/operators'), require('@angular/common/http'), require('@ngxs/store'), require('just-compare'), require('snq'), require('@angular/forms'), require('angular-oauth2-oidc'), require('just-clone')) :
3
- typeof define === 'function' && define.amd ? define('@abp/ng.core', ['exports', '@angular/core', '@angular/router', '@angular/common', 'rxjs', 'rxjs/operators', '@angular/common/http', '@ngxs/store', 'just-compare', 'snq', '@angular/forms', 'angular-oauth2-oidc', 'just-clone'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.core = {}), global.ng.core, global.ng.router, global.ng.common, global.rxjs, global.rxjs.operators, global.ng.common.http, global.i4, global.compare, global.snq, global.ng.forms, global.i1$1, global.clone));
5
- }(this, (function (exports, i0, i1, common, rxjs, operators, i2, i4, compare, snq, forms, i1$1, clone) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@angular/common'), require('rxjs'), require('rxjs/operators'), require('snq'), require('just-compare'), require('@angular/common/http'), require('@ngxs/store'), require('@angular/forms'), require('angular-oauth2-oidc'), require('just-clone')) :
3
+ typeof define === 'function' && define.amd ? define('@abp/ng.core', ['exports', '@angular/core', '@angular/router', '@angular/common', 'rxjs', 'rxjs/operators', 'snq', 'just-compare', '@angular/common/http', '@ngxs/store', '@angular/forms', 'angular-oauth2-oidc', 'just-clone'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.core = {}), global.ng.core, global.ng.router, global.ng.common, global.rxjs, global.rxjs.operators, global.snq, global.compare, global.ng.common.http, global.i4, global.ng.forms, global.i1$1, global.clone));
5
+ }(this, (function (exports, i0, i1, common, rxjs, operators, snq, compare, i2, i4, forms, i1$1, clone) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -28,10 +28,10 @@
28
28
 
29
29
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
30
30
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
31
+ var snq__default = /*#__PURE__*/_interopDefaultLegacy(snq);
32
+ var compare__default = /*#__PURE__*/_interopDefaultLegacy(compare);
31
33
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
32
34
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
33
- var compare__default = /*#__PURE__*/_interopDefaultLegacy(compare);
34
- var snq__default = /*#__PURE__*/_interopDefaultLegacy(snq);
35
35
  var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
36
36
  var clone__default = /*#__PURE__*/_interopDefaultLegacy(clone);
37
37
 
@@ -499,6 +499,76 @@
499
499
  return Object.assign({}, options);
500
500
  }
501
501
 
502
+ // This will not be necessary when only Angukar 9.1+ is supported
503
+ function getLocaleDirection(locale) {
504
+ return /^(ar(-[A-Z]{2})?|ckb(-IR)?|fa(-AF)?|he|ks|lrc(-IQ)?|mzn|pa-Arab|ps(-PK)?|sd|ug|ur(-IN)?|uz-Arab|yi)$/.test(locale)
505
+ ? 'rtl'
506
+ : 'ltr';
507
+ }
508
+ function createLocalizer(localization) {
509
+ return function (resourceName, key, defaultValue) {
510
+ if (resourceName === '_')
511
+ return key;
512
+ var resource = snq__default['default'](function () { return localization.values[resourceName]; });
513
+ if (!resource)
514
+ return defaultValue;
515
+ return resource[key] || defaultValue;
516
+ };
517
+ }
518
+ function createLocalizerWithFallback(localization) {
519
+ var findLocalization = createLocalizationFinder(localization);
520
+ return function (resourceNames, keys, defaultValue) {
521
+ var localized = findLocalization(resourceNames, keys).localized;
522
+ return localized || defaultValue;
523
+ };
524
+ }
525
+ function createLocalizationPipeKeyGenerator(localization) {
526
+ var findLocalization = createLocalizationFinder(localization);
527
+ return function (resourceNames, keys, defaultKey) {
528
+ var _a = findLocalization(resourceNames, keys), resourceName = _a.resourceName, key = _a.key;
529
+ return !resourceName ? defaultKey : resourceName === '_' ? key : resourceName + "::" + key;
530
+ };
531
+ }
532
+ function createLocalizationFinder(localization) {
533
+ var localize = createLocalizer(localization);
534
+ return function (resourceNames, keys) {
535
+ resourceNames = resourceNames.concat(localization.defaultResourceName).filter(Boolean);
536
+ var resourceCount = resourceNames.length;
537
+ var keyCount = keys.length;
538
+ for (var i = 0; i < resourceCount; i++) {
539
+ var resourceName = resourceNames[i];
540
+ for (var j = 0; j < keyCount; j++) {
541
+ var key = keys[j];
542
+ var localized = localize(resourceName, key, null);
543
+ if (localized)
544
+ return { resourceName: resourceName, key: key, localized: localized };
545
+ }
546
+ }
547
+ return { resourceName: undefined, key: undefined, localized: undefined };
548
+ };
549
+ }
550
+
551
+ function createTokenParser(format) {
552
+ return function (str) {
553
+ var tokens = [];
554
+ var regex = format.replace(/\./g, '\\.').replace(/\{\s?([0-9a-zA-Z]+)\s?\}/g, function (_, token) {
555
+ tokens.push(token);
556
+ return '(.+)';
557
+ });
558
+ var matches = (str.match(regex) || []).slice(1);
559
+ return matches.reduce(function (acc, v, i) {
560
+ var key = tokens[i];
561
+ acc[key] = __spread((acc[key] || []), [v]).filter(Boolean);
562
+ return acc;
563
+ }, {});
564
+ };
565
+ }
566
+ function interpolate(text, params) {
567
+ return text
568
+ .replace(/(['"]?\{\s*(\d+)\s*\}['"]?)/g, function (_, match, digit) { var _a; return (_a = params[digit]) !== null && _a !== void 0 ? _a : match; })
569
+ .replace(/\s+/g, ' ');
570
+ }
571
+
502
572
  function noop() {
503
573
  // tslint:disable-next-line: only-arrow-functions
504
574
  var fn = function () { };
@@ -717,80 +787,12 @@
717
787
  { type: RestService }
718
788
  ]; };
719
789
 
720
- // This will not be necessary when only Angukar 9.1+ is supported
721
- function getLocaleDirection(locale) {
722
- return /^(ar(-[A-Z]{2})?|ckb(-IR)?|fa(-AF)?|he|ks|lrc(-IQ)?|mzn|pa-Arab|ps(-PK)?|sd|ug|ur(-IN)?|uz-Arab|yi)$/.test(locale)
723
- ? 'rtl'
724
- : 'ltr';
725
- }
726
- function createLocalizer(localization) {
727
- return function (resourceName, key, defaultValue) {
728
- if (resourceName === '_')
729
- return key;
730
- var resource = snq__default['default'](function () { return localization.values[resourceName]; });
731
- if (!resource)
732
- return defaultValue;
733
- return resource[key] || defaultValue;
734
- };
735
- }
736
- function createLocalizerWithFallback(localization) {
737
- var findLocalization = createLocalizationFinder(localization);
738
- return function (resourceNames, keys, defaultValue) {
739
- var localized = findLocalization(resourceNames, keys).localized;
740
- return localized || defaultValue;
741
- };
742
- }
743
- function createLocalizationPipeKeyGenerator(localization) {
744
- var findLocalization = createLocalizationFinder(localization);
745
- return function (resourceNames, keys, defaultKey) {
746
- var _a = findLocalization(resourceNames, keys), resourceName = _a.resourceName, key = _a.key;
747
- return !resourceName ? defaultKey : resourceName === '_' ? key : resourceName + "::" + key;
748
- };
749
- }
750
- function createLocalizationFinder(localization) {
751
- var localize = createLocalizer(localization);
752
- return function (resourceNames, keys) {
753
- resourceNames = resourceNames.concat(localization.defaultResourceName).filter(Boolean);
754
- var resourceCount = resourceNames.length;
755
- var keyCount = keys.length;
756
- for (var i = 0; i < resourceCount; i++) {
757
- var resourceName = resourceNames[i];
758
- for (var j = 0; j < keyCount; j++) {
759
- var key = keys[j];
760
- var localized = localize(resourceName, key, null);
761
- if (localized)
762
- return { resourceName: resourceName, key: key, localized: localized };
763
- }
764
- }
765
- return { resourceName: undefined, key: undefined, localized: undefined };
766
- };
767
- }
768
-
769
- function createTokenParser(format) {
770
- return function (str) {
771
- var tokens = [];
772
- var regex = format.replace(/\./g, '\\.').replace(/\{\s?([0-9a-zA-Z]+)\s?\}/g, function (_, token) {
773
- tokens.push(token);
774
- return '(.+)';
775
- });
776
- var matches = (str.match(regex) || []).slice(1);
777
- return matches.reduce(function (acc, v, i) {
778
- var key = tokens[i];
779
- acc[key] = __spread((acc[key] || []), [v]).filter(Boolean);
780
- return acc;
781
- }, {});
782
- };
783
- }
784
- function interpolate(text, params) {
785
- return text
786
- .replace(/(['"]?\{\s*(\d+)\s*\}['"]?)/g, function (_, match, digit) { var _a; return (_a = params[digit]) !== null && _a !== void 0 ? _a : match; })
787
- .replace(/\s+/g, ' ');
788
- }
789
-
790
790
  var ConfigStateService = /** @class */ (function () {
791
791
  function ConfigStateService(abpConfigService) {
792
792
  this.abpConfigService = abpConfigService;
793
793
  this.store = new InternalStore({});
794
+ this.updateSubject = new rxjs.Subject();
795
+ this.initUpdateStream();
794
796
  }
795
797
  Object.defineProperty(ConfigStateService.prototype, "createOnUpdateStream", {
796
798
  get: function () {
@@ -799,12 +801,22 @@
799
801
  enumerable: false,
800
802
  configurable: true
801
803
  });
804
+ ConfigStateService.prototype.initUpdateStream = function () {
805
+ var _this = this;
806
+ this.updateSubject
807
+ .pipe(operators.switchMap(function () { return _this.abpConfigService.get(); }))
808
+ .subscribe(function (res) { return _this.setState(res); });
809
+ };
810
+ /**
811
+ * @deprecated do not use this method directly, instead call refreshAppState
812
+ * This method will be private in v5.0
813
+ */
802
814
  ConfigStateService.prototype.setState = function (state) {
803
815
  this.store.set(state);
804
816
  };
805
817
  ConfigStateService.prototype.refreshAppState = function () {
806
- var _this = this;
807
- return this.abpConfigService.get().pipe(operators.tap(function (res) { return _this.setState(res); }));
818
+ this.updateSubject.next();
819
+ return this.createOnUpdateStream(function (state) { return state; }).pipe(operators.take(1));
808
820
  };
809
821
  ConfigStateService.prototype.getOne$ = function (key) {
810
822
  return this.store.sliceState(function (state) { return state[key]; });
@@ -994,11 +1006,10 @@
994
1006
  ]; };
995
1007
 
996
1008
  var LocalizationService = /** @class */ (function () {
997
- function LocalizationService(sessionState, injector, otherInstance, configState, appConfigService) {
1009
+ function LocalizationService(sessionState, injector, otherInstance, configState) {
998
1010
  this.sessionState = sessionState;
999
1011
  this.injector = injector;
1000
1012
  this.configState = configState;
1001
- this.appConfigService = appConfigService;
1002
1013
  this.latestLang = this.sessionState.getLanguage();
1003
1014
  this._languageChange$ = new rxjs.Subject();
1004
1015
  if (otherInstance)
@@ -1026,10 +1037,7 @@
1026
1037
  var _this = this;
1027
1038
  this.sessionState
1028
1039
  .onLanguageChange$()
1029
- .pipe(operators.filter(function (lang) { return _this.configState.getDeep('localization.currentCulture.cultureName') !== lang; }), operators.switchMap(function (lang) { return _this.appConfigService
1030
- .get()
1031
- .pipe(operators.tap(function (res) { return _this.configState.setState(res); }))
1032
- .pipe(operators.mapTo(lang)); }), operators.switchMap(function (lang) { return rxjs.from(_this.registerLocale(lang).then(function () { return lang; })); }))
1040
+ .pipe(operators.filter(function (lang) { return _this.configState.getDeep('localization.currentCulture.cultureName') !== lang; }), operators.switchMap(function (lang) { return _this.configState.refreshAppState().pipe(operators.mapTo(lang)); }), operators.switchMap(function (lang) { return rxjs.from(_this.registerLocale(lang).then(function () { return lang; })); }))
1033
1041
  .subscribe(function (lang) { return _this._languageChange$.next(lang); });
1034
1042
  };
1035
1043
  LocalizationService.prototype.registerLocale = function (locale) {
@@ -1089,7 +1097,7 @@
1089
1097
  };
1090
1098
  return LocalizationService;
1091
1099
  }());
1092
- LocalizationService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(i0__namespace.ɵɵinject(SessionStateService), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(LocalizationService, 12), i0__namespace.ɵɵinject(ConfigStateService), i0__namespace.ɵɵinject(AbpApplicationConfigurationService)); }, token: LocalizationService, providedIn: "root" });
1100
+ LocalizationService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(i0__namespace.ɵɵinject(SessionStateService), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(LocalizationService, 12), i0__namespace.ɵɵinject(ConfigStateService)); }, token: LocalizationService, providedIn: "root" });
1093
1101
  LocalizationService.decorators = [
1094
1102
  { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1095
1103
  ];
@@ -1097,8 +1105,7 @@
1097
1105
  { type: SessionStateService },
1098
1106
  { type: i0.Injector },
1099
1107
  { type: LocalizationService, decorators: [{ type: i0.Optional }, { type: i0.SkipSelf }] },
1100
- { type: ConfigStateService },
1101
- { type: AbpApplicationConfigurationService }
1108
+ { type: ConfigStateService }
1102
1109
  ]; };
1103
1110
  function getLocalization(state, key) {
1104
1111
  var interpolateParams = [];
@@ -1676,7 +1683,6 @@
1676
1683
  this.route = injector.get(i1.ActivatedRoute);
1677
1684
  this.router = injector.get(i1.Router);
1678
1685
  this.routes = injector.get(RoutesService);
1679
- this.getLayout();
1680
1686
  this.checkLayoutOnNavigationEnd();
1681
1687
  this.listenToLanguageChange();
1682
1688
  }
@@ -3112,10 +3118,8 @@
3112
3118
  var storageKey = 'passwordFlow';
3113
3119
  function pipeToLogin(params, injector) {
3114
3120
  var configState = injector.get(ConfigStateService);
3115
- var appConfigService = injector.get(AbpApplicationConfigurationService);
3116
3121
  var router = injector.get(i1.Router);
3117
- return rxjs.pipe(operators.switchMap(function () { return appConfigService.get(); }), operators.tap(function (res) {
3118
- configState.setState(res);
3122
+ return rxjs.pipe(operators.switchMap(function () { return configState.refreshAppState(); }), operators.tap(function () {
3119
3123
  setRememberMe(params.rememberMe);
3120
3124
  if (params.redirectUrl)
3121
3125
  router.navigate([params.redirectUrl]);
@@ -3157,7 +3161,6 @@
3157
3161
  this.environment = injector.get(EnvironmentService);
3158
3162
  this.configState = injector.get(ConfigStateService);
3159
3163
  this.oAuthService = injector.get(i1$1.OAuthService);
3160
- this.appConfigService = injector.get(AbpApplicationConfigurationService);
3161
3164
  this.sessionState = injector.get(SessionStateService);
3162
3165
  this.oAuthConfig = this.environment.getEnvironment().oAuthConfig;
3163
3166
  this.tenantKey = injector.get(TENANT_KEY);
@@ -3172,6 +3175,9 @@
3172
3175
  if (shouldClear)
3173
3176
  clearOAuthStorage(oAuthStorage);
3174
3177
  this.oAuthService.configure(this.oAuthConfig);
3178
+ this.oAuthService.events
3179
+ .pipe(operators.filter(function (event) { return event.type === 'token_refresh_error'; }))
3180
+ .subscribe(function () { return _this.navigateToLogin(); });
3175
3181
  return [2 /*return*/, this.oAuthService
3176
3182
  .loadDiscoveryDocument()
3177
3183
  .then(function () {
@@ -3190,10 +3196,8 @@
3190
3196
  AuthFlowStrategy.prototype.listenToOauthErrors = function () {
3191
3197
  var _this = this;
3192
3198
  this.oAuthService.events
3193
- .pipe(operators.filter(function (event) { return event instanceof i1$1.OAuthErrorEvent; }), operators.tap(function () { return clearOAuthStorage(); }), operators.switchMap(function () { return _this.appConfigService.get(); }))
3194
- .subscribe(function (res) {
3195
- _this.configState.setState(res);
3196
- });
3199
+ .pipe(operators.filter(function (event) { return event instanceof i1$1.OAuthErrorEvent; }), operators.tap(function () { return clearOAuthStorage(); }), operators.switchMap(function () { return _this.configState.refreshAppState(); }))
3200
+ .subscribe();
3197
3201
  };
3198
3202
  return AuthFlowStrategy;
3199
3203
  }());
@@ -3260,9 +3264,7 @@
3260
3264
  else {
3261
3265
  _this.oAuthService.logOut();
3262
3266
  removeRememberMe();
3263
- _this.appConfigService.get().subscribe(function (res) {
3264
- _this.configState.setState(res);
3265
- });
3267
+ _this.configState.refreshAppState().subscribe();
3266
3268
  }
3267
3269
  });
3268
3270
  };
@@ -3295,8 +3297,7 @@
3295
3297
  AuthPasswordFlowStrategy.prototype.pipeToLogin = function (params) {
3296
3298
  var _this = this;
3297
3299
  var router = this.injector.get(i1.Router);
3298
- return rxjs.pipe(operators.switchMap(function () { return _this.appConfigService.get(); }), operators.tap(function (res) {
3299
- _this.configState.setState(res);
3300
+ return rxjs.pipe(operators.switchMap(function () { return _this.configState.refreshAppState(); }), operators.tap(function () {
3300
3301
  setRememberMe(params.rememberMe);
3301
3302
  if (params.redirectUrl)
3302
3303
  router.navigate([params.redirectUrl]);
@@ -3305,8 +3306,7 @@
3305
3306
  AuthPasswordFlowStrategy.prototype.logout = function (queryParams) {
3306
3307
  var _this = this;
3307
3308
  var router = this.injector.get(i1.Router);
3308
- return rxjs.from(this.oAuthService.revokeTokenAndLogout(queryParams)).pipe(operators.switchMap(function () { return _this.appConfigService.get(); }), operators.tap(function (res) {
3309
- _this.configState.setState(res);
3309
+ return rxjs.from(this.oAuthService.revokeTokenAndLogout(queryParams)).pipe(operators.switchMap(function () { return _this.configState.refreshAppState(); }), operators.tap(function () {
3310
3310
  router.navigateByUrl('/');
3311
3311
  removeRememberMe();
3312
3312
  }));
@@ -3572,9 +3572,14 @@
3572
3572
  setEnvironmentWithDomainTenant = function (tenant) {
3573
3573
  hideTenantBox();
3574
3574
  setDomainTenant(tenant);
3575
- replaceTenantNameWithinEnvironment(injector, tenant.name);
3576
3575
  };
3577
3576
  if (tenancyName) {
3577
+ /**
3578
+ * We have to replace tenant name within the urls from environment,
3579
+ * because the code below will make a http request to find information about the domain tenant.
3580
+ * Before this request takes place, we need to replace placeholders aka "{0}".
3581
+ */
3582
+ replaceTenantNameWithinEnvironment(injector, tenancyName);
3578
3583
  return [2 /*return*/, multiTenancyService
3579
3584
  .setTenantByName(tenancyName)
3580
3585
  .pipe(operators.tap(setEnvironmentWithDomainTenant))
@@ -3616,13 +3621,12 @@
3616
3621
  function getInitialData(injector) {
3617
3622
  var _this = this;
3618
3623
  var fn = function () { return __awaiter(_this, void 0, void 0, function () {
3619
- var environmentService, configState, appConfigService, options;
3624
+ var environmentService, configState, options;
3620
3625
  return __generator(this, function (_a) {
3621
3626
  switch (_a.label) {
3622
3627
  case 0:
3623
3628
  environmentService = injector.get(EnvironmentService);
3624
3629
  configState = injector.get(ConfigStateService);
3625
- appConfigService = injector.get(AbpApplicationConfigurationService);
3626
3630
  options = injector.get(CORE_OPTIONS);
3627
3631
  environmentService.setState(options.environment);
3628
3632
  return [4 /*yield*/, getRemoteEnv(injector, options.environment)];
@@ -3636,9 +3640,9 @@
3636
3640
  _a.sent();
3637
3641
  if (options.skipGetAppConfiguration)
3638
3642
  return [2 /*return*/];
3639
- return [2 /*return*/, appConfigService
3640
- .get()
3641
- .pipe(operators.tap(function (res) { return configState.setState(res); }), operators.tap(function () { return checkAccessToken(injector); }), operators.tap(function () {
3643
+ return [2 /*return*/, configState
3644
+ .refreshAppState()
3645
+ .pipe(operators.tap(function () { return checkAccessToken(injector); }), operators.tap(function () {
3642
3646
  var currentTenant = configState.getOne('currentTenant');
3643
3647
  injector.get(SessionStateService).setTenant(currentTenant);
3644
3648
  }), operators.catchError(function (error) {
@@ -4605,10 +4609,8 @@
4605
4609
  * @deprecated Use ConfigStateService instead. To be deleted in v5.0.
4606
4610
  */
4607
4611
  exports.ConfigState = ConfigState_1 = /** @class */ (function () {
4608
- function ConfigState(http, store, sessionState, environmentService, configState) {
4609
- this.http = http;
4612
+ function ConfigState(store, environmentService, configState) {
4610
4613
  this.store = store;
4611
- this.sessionState = sessionState;
4612
4614
  this.environmentService = environmentService;
4613
4615
  this.configState = configState;
4614
4616
  this.syncConfigState();
@@ -4778,13 +4780,10 @@
4778
4780
  .subscribe(function (env) { return _this.store.dispatch(new PatchConfigState({ environment: env })); });
4779
4781
  };
4780
4782
  ConfigState.prototype.addData = function (_a) {
4781
- var _this = this;
4782
4783
  var patchState = _a.patchState, dispatch = _a.dispatch;
4783
4784
  var apiName = 'default';
4784
4785
  var api = this.store.selectSnapshot(ConfigState_1.getApiUrl(apiName));
4785
- return this.http
4786
- .get(api + "/api/abp/application-configuration")
4787
- .pipe(operators.tap(function (configuration) { return _this.configState.setState(configuration); }), operators.catchError(function (err) {
4786
+ return this.configState.refreshAppState().pipe(operators.catchError(function (err) {
4788
4787
  dispatch(new RestOccurError(err));
4789
4788
  return rxjs.throwError(err);
4790
4789
  }));
@@ -4804,9 +4803,7 @@
4804
4803
  { type: i0.Injectable }
4805
4804
  ];
4806
4805
  exports.ConfigState.ctorParameters = function () { return [
4807
- { type: i2.HttpClient },
4808
4806
  { type: i4.Store },
4809
- { type: SessionStateService },
4810
4807
  { type: EnvironmentService },
4811
4808
  { type: ConfigStateService }
4812
4809
  ]; };