@colijnit/catalog 255.1.4 → 255.1.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.
@@ -53,8 +53,8 @@ class Version {
53
53
  constructor() {
54
54
  this.name = "@colijnit/catalog";
55
55
  this.description = "iOne Catalog module based on Angular 12";
56
- this.symVer = "255.1.4";
57
- this.publishDate = "23/08/2024, 12:48:49";
56
+ this.symVer = "255.1.5";
57
+ this.publishDate = "28/08/2024, 13:58:34";
58
58
  }
59
59
  }
60
60
 
@@ -3976,7 +3976,7 @@ class CatalogStockService {
3976
3976
  lowerBound = 1;
3977
3977
  }
3978
3978
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
3979
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
3979
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeWarehouse: null, rangeStockStatus: null });
3980
3980
  this._catalogConnectorService.getArticlesForStockSearchTile(this.stockSearchRequest).then((result) => {
3981
3981
  this.tileArticles = result && result.articles ? result.articles : [];
3982
3982
  this.resultCount = result && result.count ? result.count : 0;
@@ -3993,7 +3993,7 @@ class CatalogStockService {
3993
3993
  lowerBound = 1;
3994
3994
  }
3995
3995
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
3996
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
3996
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeWarehouse: null, rangeStockStatus: null });
3997
3997
  this._catalogConnectorService.getArticlesForStockSearchGrid(this.stockSearchRequest).then((result) => {
3998
3998
  this.gridArticles = result && result.articles ? result.articles : [];
3999
3999
  this.resultCount = result && result.count ? result.count : 0;
@@ -4001,7 +4001,7 @@ class CatalogStockService {
4001
4001
  });
4002
4002
  }
4003
4003
  getArticleGridViewExcelFile() {
4004
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
4004
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeWarehouse: null, rangeStockStatus: null });
4005
4005
  this._catalogConnectorService.getArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
4006
4006
  console.log('export: ', result);
4007
4007
  });
@@ -4058,7 +4058,7 @@ class CatalogStockTransferService {
4058
4058
  lowerBound = 1;
4059
4059
  }
4060
4060
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4061
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
4061
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeStockStatus: null, rangeSourceWarehouse: null, rangeTargetWarehouse: null });
4062
4062
  this._catalogConnectorService.getArticlesForStockTransferSearchTile(this.stockSearchRequest).then((result) => {
4063
4063
  this.transferTileArticles = result && result.articles ? result.articles : [];
4064
4064
  this.resultCount = result && result.count ? result.count : 0;
@@ -4075,7 +4075,7 @@ class CatalogStockTransferService {
4075
4075
  lowerBound = 1;
4076
4076
  }
4077
4077
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4078
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
4078
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeStockStatus: null, rangeSourceWarehouse: null, rangeTargetWarehouse: null });
4079
4079
  this._catalogConnectorService.getArticlesForStockTransferSearchGrid(this.stockSearchRequest).then((result) => {
4080
4080
  this.transferGridArticles = result && result.articles ? result.articles : [];
4081
4081
  this.resultCount = result && result.count ? result.count : 0;
@@ -4083,7 +4083,7 @@ class CatalogStockTransferService {
4083
4083
  });
4084
4084
  }
4085
4085
  getArticleGridViewExcelFile() {
4086
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
4086
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeStockStatus: null, rangeSourceWarehouse: null, rangeTargetWarehouse: null });
4087
4087
  this._catalogConnectorService.getTransferArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
4088
4088
  console.log('export: ', result);
4089
4089
  });
@@ -4217,7 +4217,7 @@ class CatalogStockComparisonService {
4217
4217
  lowerBound = 1;
4218
4218
  }
4219
4219
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4220
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
4220
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 1 });
4221
4221
  this._catalogConnectorService.getArticlesForStockComparisonSearchTile(this.stockSearchRequest).then((result) => {
4222
4222
  this.comparisonTileArticles = result && result.articles ? result.articles : [];
4223
4223
  this.resultCount = result && result.count ? result.count : 0;
@@ -4234,7 +4234,7 @@ class CatalogStockComparisonService {
4234
4234
  lowerBound = 1;
4235
4235
  }
4236
4236
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4237
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
4237
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 1 });
4238
4238
  this._catalogConnectorService.getArticlesForStockComparisonSearchGrid(this.stockSearchRequest).then((result) => {
4239
4239
  this.comparisonGridArticles = result && result.articles ? result.articles : [];
4240
4240
  this.resultCount = result && result.count ? result.count : 0;
@@ -4242,7 +4242,7 @@ class CatalogStockComparisonService {
4242
4242
  });
4243
4243
  }
4244
4244
  getArticleGridViewExcelFile() {
4245
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
4245
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 1 });
4246
4246
  this._catalogConnectorService.getComparisonArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
4247
4247
  console.log('export: ', result);
4248
4248
  });
@@ -5268,8 +5268,8 @@ CatalogStockOverviewTileComponent.decorators = [
5268
5268
  <div class="image">
5269
5269
  <co-image class="co-image" [source]="article.imageData"></co-image>
5270
5270
  </div>
5271
- <div class="brand" [innerText]="article.buyerDescription"></div>
5272
- <div class="product" [innerText]="article.name"></div>
5271
+ <div class="brand" [innerText]="article.brandDescription"></div>
5272
+ <div class="product" [innerText]="article.superArticleDescr"></div>
5273
5273
  <div class="description" [innerText]="article.description"></div>
5274
5274
  <div class="price">
5275
5275
  <span [innerText]="'FROM' | localize"></span>&nbsp;
@@ -5278,7 +5278,7 @@ CatalogStockOverviewTileComponent.decorators = [
5278
5278
  <div class="article-info">
5279
5279
  <div class="product-num">
5280
5280
  <co-icon [iconData]="iconCache.getIcon(icons.BarsFilter)"></co-icon>
5281
- <span [innerText]="article.goodId"></span>
5281
+ <span [innerText]="article.articleNumber"></span>
5282
5282
  </div>
5283
5283
  <div class="turnover-group">
5284
5284
  <span [innerText]="'GROUP' | localize"></span>:
@@ -5377,7 +5377,7 @@ CatalogStockOverviewListComponent.decorators = [
5377
5377
  </co-simple-grid-column>
5378
5378
  <co-simple-grid-column
5379
5379
  [headerText]="'SUPER_ARTICLE' | localize"
5380
- [field]="'name'">
5380
+ [field]="'superArticleDescr'">
5381
5381
  </co-simple-grid-column>
5382
5382
  <co-simple-grid-column
5383
5383
  [headerText]="'TURNOVER_GROUP' | localize"
@@ -5385,19 +5385,19 @@ CatalogStockOverviewListComponent.decorators = [
5385
5385
  </co-simple-grid-column>
5386
5386
  <co-simple-grid-column
5387
5387
  [headerText]="'SUPPLIER' | localize"
5388
- [field]="'standardSupplier'">
5388
+ [field]="'supplierNumber'">
5389
5389
  </co-simple-grid-column>
5390
5390
  <co-simple-grid-column
5391
5391
  [headerText]="'STOREROOM' | localize"
5392
- [field]="'warehouseDescription'">
5392
+ [field]="'warehouseNumber'">
5393
5393
  </co-simple-grid-column>
5394
5394
  <co-simple-grid-column
5395
5395
  [headerText]="'LOCATION' | localize"
5396
- [field]="'stockLocationDescription'">
5396
+ [field]="'stockLocationNumber'">
5397
5397
  </co-simple-grid-column>
5398
5398
  <co-simple-grid-column
5399
5399
  [headerText]="'STOCK' | localize"
5400
- [field]="'amount'">
5400
+ [field]="'quantity'">
5401
5401
  </co-simple-grid-column>
5402
5402
  <co-simple-grid-column
5403
5403
  [headerText]="'TOTAL_ARTICLES_IN_ORDER' | localize"
@@ -5706,8 +5706,8 @@ CatalogWarehouseTransfersTileComponent.decorators = [
5706
5706
  <div class="image">
5707
5707
  <co-image class="co-image" [source]="article.imageData"></co-image>
5708
5708
  </div>
5709
- <div class="brand" [innerText]="article.buyerDescription"></div>
5710
- <div class="product" [innerText]="article.name"></div>
5709
+ <div class="brand" [innerText]="article.brandDescription"></div>
5710
+ <div class="product" [innerText]="article.superArticleDescr"></div>
5711
5711
  <div class="description" [innerText]="article.description"></div>
5712
5712
  <div class="price">
5713
5713
  <span [innerText]="'FROM' | localize"></span>&nbsp;
@@ -5716,7 +5716,7 @@ CatalogWarehouseTransfersTileComponent.decorators = [
5716
5716
  <div class="one-liner">
5717
5717
  <div class="product-num">
5718
5718
  <co-icon [iconData]="iconCache.getIcon(icons.BarsFilter)"></co-icon>
5719
- <span [innerText]="article.goodId"></span>
5719
+ <span [innerText]="article.articleNumber"></span>
5720
5720
  </div>
5721
5721
  <div class="turnover-group">
5722
5722
  <span [innerText]="'GROUP' | localize"></span>:
@@ -5821,7 +5821,7 @@ CatalogWarehouseTransfersListComponent.decorators = [
5821
5821
  </co-simple-grid-column>
5822
5822
  <co-simple-grid-column
5823
5823
  [headerText]="'SUPER_ARTICLE' | localize"
5824
- [field]="'name'">
5824
+ [field]="'superArticleDescr'">
5825
5825
  </co-simple-grid-column>
5826
5826
  <co-simple-grid-column
5827
5827
  [headerText]="'TURNOVER_GROUP' | localize"