client-core-services 1.0.4 → 1.0.5

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.
@@ -119,7 +119,7 @@ class DataShareService {
119
119
  this.saveFromDataRsponce = '';
120
120
  this.deleteGridRowDataRsponce = '';
121
121
  this.saveResponceData = new BehaviorSubject(null);
122
- this.deleteGridRowResponse = new BehaviorSubject(null);
122
+ this.deleteGridRowResponceData = new BehaviorSubject(null);
123
123
  this.gridFilterData = new BehaviorSubject(null);
124
124
  this.typeAheadData = new BehaviorSubject(null);
125
125
  this.form = new BehaviorSubject(null);
@@ -169,7 +169,7 @@ class DataShareService {
169
169
  this.pModuleIndex = -1;
170
170
  this.menuOrSubmenuIndex = {};
171
171
  this.headerMenu = new Subject();
172
- this.reqResponse = new BehaviorSubject(false);
172
+ this.requestResponce = new Subject();
173
173
  this.mongoDbChartList = new Subject();
174
174
  this.MongoDbChartList = [];
175
175
  this.mongoDashbordList = new Subject();
@@ -254,7 +254,7 @@ class DataShareService {
254
254
  return this.saveFromDataRsponce;
255
255
  }
256
256
  setDeleteGridRowResponse(response) {
257
- this.deleteGridRowResponse.next(response);
257
+ this.deleteGridRowResponceData.next(response);
258
258
  this.deleteGridRowDataRsponce = response;
259
259
  }
260
260
  getDeleteRowDataResponce() {
@@ -428,16 +428,7 @@ class DataShareService {
428
428
  return this.menuOrSubmenuIndex;
429
429
  }
430
430
  setReqResponse(reqResponse) {
431
- this.reqResponse.next(reqResponse);
432
- }
433
- getReqResponse() {
434
- return this.reqResponse;
435
- }
436
- /**
437
- * @deprecated Use setReqResponse instead
438
- */
439
- setReqResponce(reqResponse) {
440
- this.setReqResponse(reqResponse);
431
+ this.requestResponce.next(reqResponse);
441
432
  }
442
433
  resetHeaderMenu(responce) {
443
434
  this.headerMenu.next(responce);
@@ -5441,10 +5432,10 @@ class AuthService {
5441
5432
  }
5442
5433
  }
5443
5434
  resetData() {
5444
- // this.storageService.RemoveIdToken();
5445
- // this.storageService.RemoveExpiresIn();
5446
- this.authDataShareService.setAuthentication(false);
5447
- this.router.navigate(['/auth/login']);
5435
+ this.storageService.removeDataFormStorage();
5436
+ this.apiService.resetMenuData();
5437
+ this.apiService.resetTempData();
5438
+ this.apiService.resetGridData();
5448
5439
  this.envService.setRequestType('PUBLIC');
5449
5440
  this.apiCallService.getApplicationAllSettings();
5450
5441
  }