wt-front-shared 1.0.29 → 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.
@@ -2389,7 +2389,7 @@ class UsersService extends BaseAPIService {
2389
2389
  this.httpClient = httpClient;
2390
2390
  this.requestsFacade = requestsFacade;
2391
2391
  this.formsFacade = formsFacade;
2392
- this.api = new UsersApi('http://localhost:3000'); //this.config.apiUrl);
2392
+ this.api = new UsersApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
2393
2393
  }
2394
2394
  loginSend(config) {
2395
2395
  return this.doRequest(config, AuthEndpointTypes.LOGIN_SEND);
@@ -2587,7 +2587,7 @@ class ActionsService extends BaseAPIService {
2587
2587
  this.httpClient = httpClient;
2588
2588
  this.requestsFacade = requestsFacade;
2589
2589
  this.formsFacade = formsFacade;
2590
- this.api = new ActionsApi('http://localhost:3000'); //this.config.apiUrl);
2590
+ this.api = new ActionsApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
2591
2591
  }
2592
2592
  sendAction(config) {
2593
2593
  return this.doRequest(config, ActionsEndpointTypes.SEND_ACTION);
@@ -3294,7 +3294,7 @@ class FilesService extends BaseAPIService {
3294
3294
  this.httpClient = httpClient;
3295
3295
  this.requestsFacade = requestsFacade;
3296
3296
  this.formsFacade = formsFacade;
3297
- this.api = new FilesApi('http://localhost:3000'); //this.config.apiUrl);
3297
+ this.api = new FilesApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
3298
3298
  }
3299
3299
  filesLoad(config) {
3300
3300
  return this.doRequest(config, FilesEndpointTypes.LOAD);
@@ -3655,7 +3655,7 @@ class TagsService extends BaseAPIService {
3655
3655
  this.httpClient = httpClient;
3656
3656
  this.requestsFacade = requestsFacade;
3657
3657
  this.formsFacade = formsFacade;
3658
- this.api = new TagsApi('http://localhost:3000'); //this.config.apiUrl);
3658
+ this.api = new TagsApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
3659
3659
  }
3660
3660
  tagsLoad(config) {
3661
3661
  return this.doRequest(config, TagsEndpointTypes.LOAD);
@@ -3964,7 +3964,7 @@ class FormValidationService extends BaseAPIService {
3964
3964
  this.httpClient = httpClient;
3965
3965
  this.requestsFacade = requestsFacade;
3966
3966
  this.formsFacade = formsFacade;
3967
- this.api = new FormValidationApi('http://localhost:3000'); //this.config.apiUrl);
3967
+ this.api = new FormValidationApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
3968
3968
  }
3969
3969
  formValidationCheck(config) {
3970
3970
  return this.doRequest(config, FormValidationEndpointTypes.CHECK);
@@ -4287,7 +4287,7 @@ class FormDeleteFileService extends BaseAPIService {
4287
4287
  this.httpClient = httpClient;
4288
4288
  this.requestsFacade = requestsFacade;
4289
4289
  this.formsFacade = formsFacade;
4290
- this.api = new FormDeleteFileApi('http://localhost:3000'); //this.config.apiUrl);
4290
+ this.api = new FormDeleteFileApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
4291
4291
  }
4292
4292
  formDeleteFile(config) {
4293
4293
  return this.doRequest(config, FormDeleteFileBaseEndpointTypes.DELETE);
@@ -4498,7 +4498,7 @@ class PublishService extends BaseAPIService {
4498
4498
  this.httpClient = httpClient;
4499
4499
  this.requestsFacade = requestsFacade;
4500
4500
  this.formsFacade = formsFacade;
4501
- this.api = new PublishApi('http://localhost:3000'); //this.config.apiUrl);
4501
+ this.api = new PublishApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
4502
4502
  }
4503
4503
  publishPost(config) {
4504
4504
  return this.doRequest(config, PublishEndpointTypes.POST);
@@ -5152,7 +5152,7 @@ class CacheDataService extends BaseAPIService {
5152
5152
  this.httpClient = httpClient;
5153
5153
  this.requestsFacade = requestsFacade;
5154
5154
  this.formsFacade = formsFacade;
5155
- this.api = new CacheDataApi(/*this.config.apiUrl*/ 'http://localhost:3000');
5155
+ this.api = new CacheDataApi(/*this.config.apiUrl*/ 'https://world-travel.uz:3001/');
5156
5156
  }
5157
5157
  getCacheData(config) {
5158
5158
  return this.doRequest(config, CacheDataEndpointTypes.GET_CACHE_DATA);
@@ -5309,7 +5309,7 @@ class ReportsService extends BaseAPIService {
5309
5309
  this.httpClient = httpClient;
5310
5310
  this.requestsFacade = requestsFacade;
5311
5311
  this.formsFacade = formsFacade;
5312
- this.api = new ReportsApi('http://localhost:3000'); //this.config.apiUrl);
5312
+ this.api = new ReportsApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
5313
5313
  }
5314
5314
  getEntitiesReports(config) {
5315
5315
  return this.doRequest(config, ReportsEndpointTypes.ENTITIES_REPORT);
@@ -5445,7 +5445,7 @@ class StaticDataService extends BaseAPIService {
5445
5445
  this.httpClient = httpClient;
5446
5446
  this.requestsFacade = requestsFacade;
5447
5447
  this.formsFacade = formsFacade;
5448
- this.api = new StaticDataApi('http://localhost:3000'); //this.config.apiUrl);
5448
+ this.api = new StaticDataApi('https://world-travel.uz:3001/'); //this.config.apiUrl);
5449
5449
  }
5450
5450
  getList(config) {
5451
5451
  return this.doRequest(config, StaticDataEndpointTypes.GET_LIST);
@@ -8072,7 +8072,7 @@ class TableFilesUploadingComponent {
8072
8072
  }
8073
8073
  initUploader() {
8074
8074
  this.publicUrl = 'http://localhost:4000'; // this.config.publicUrl;
8075
- const apiUrl = 'http://localhost:3000'; // this.config.apiUrl;
8075
+ const apiUrl = 'https://world-travel.uz:3001/'; // this.config.apiUrl;
8076
8076
  const { token } = this.authenticationService.loadAuthDataFromLocalStore();
8077
8077
  const uploadUrl = `${apiUrl}/api/files/${this.section}/${this.itemId}`;
8078
8078
  this.url = `${this.publicUrl}/${this.section}/${this.itemId}`;
@@ -8484,7 +8484,7 @@ class FormFieldComponent {
8484
8484
  const entityId = this.form.get('id')?.value;
8485
8485
  const { token } = this.authenticationService.loadAuthDataFromLocalStore();
8486
8486
  const newConfig = {
8487
- apiUrl: 'http://localhost:3000',
8487
+ apiUrl: 'https://world-travel.uz:3001/',
8488
8488
  panelUrl: 'http://localhost:4200',
8489
8489
  };
8490
8490
  this.ckeConfig = {