@colijnit/catalog 255.1.3 → 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.
Files changed (20) hide show
  1. package/bundles/colijnit-catalog.umd.js +65 -30
  2. package/bundles/colijnit-catalog.umd.js.map +1 -1
  3. package/colijnit-catalog.metadata.json +1 -1
  4. package/esm2015/lib/catalog-version.js +3 -3
  5. package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +29 -15
  6. package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.js +178 -27
  7. package/esm2015/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.component.js +6 -6
  8. package/esm2015/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.component.js +4 -4
  9. package/esm2015/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.component.js +2 -2
  10. package/esm2015/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.component.js +4 -4
  11. package/esm2015/lib/service/catalog-stock-comparison.service.js +4 -4
  12. package/esm2015/lib/service/catalog-stock-transfer.service.js +4 -4
  13. package/esm2015/lib/service/catalog-stock.service.js +4 -4
  14. package/esm2015/lib/service/catalog.service.js +13 -1
  15. package/fesm2015/colijnit-catalog.js +240 -65
  16. package/fesm2015/colijnit-catalog.js.map +1 -1
  17. package/lib/component/catalog-filter/catalog-filter.component.d.ts +10 -6
  18. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.d.ts +9 -2
  19. package/lib/service/catalog.service.d.ts +10 -1
  20. package/package.json +1 -1
@@ -30,8 +30,8 @@
30
30
  function Version() {
31
31
  this.name = "@colijnit/catalog";
32
32
  this.description = "iOne Catalog module based on Angular 12";
33
- this.symVer = "255.1.3";
34
- this.publishDate = "13/08/2024, 09:50:34";
33
+ this.symVer = "255.1.5";
34
+ this.publishDate = "28/08/2024, 13:58:34";
35
35
  }
36
36
  return Version;
37
37
  }());
@@ -3319,6 +3319,8 @@
3319
3319
  this.searchTextChanged = new rxjs.Subject();
3320
3320
  this.showPageChanged = new rxjs.Subject();
3321
3321
  this.onResetFilters = new rxjs.Subject();
3322
+ this.activeStockViewSubject = new rxjs.BehaviorSubject(undefined);
3323
+ this.activeStockView = this.activeStockViewSubject.asObservable();
3322
3324
  this._currentPage = 1;
3323
3325
  this._filterText = [];
3324
3326
  this.minMillisBetweenArticleSearches = 400;
@@ -3494,6 +3496,9 @@
3494
3496
  this.showCatOrTurnoverGroupArticles = false;
3495
3497
  this.showExternalSource = false;
3496
3498
  };
3499
+ CatalogService.prototype.setActiveStockView = function (value) {
3500
+ this.activeStockViewSubject.next(value);
3501
+ };
3497
3502
  return CatalogService;
3498
3503
  }());
3499
3504
  CatalogService.decorators = [
@@ -3507,7 +3512,14 @@
3507
3512
  { type: CatalogImageService },
3508
3513
  { type: CatalogFilterService },
3509
3514
  { type: CatalogSearchService }
3510
- ]; };
3515
+ ]; };
3516
+ exports.StockView = void 0;
3517
+ (function (StockView) {
3518
+ StockView["PriceCards"] = "PriceCards";
3519
+ StockView["StockOverview"] = "StockOverview";
3520
+ StockView["WarehouseTransfers"] = "WarehouseTransfers";
3521
+ StockView["StockComparison"] = "StockComparison";
3522
+ })(exports.StockView || (exports.StockView = {}));
3511
3523
 
3512
3524
  var CatalogCategoriesComponent = /** @class */ (function () {
3513
3525
  function CatalogCategoriesComponent(_catalogService, _adapterService) {
@@ -3687,14 +3699,15 @@
3687
3699
  ]; };
3688
3700
 
3689
3701
  var CatalogFilterComponent = /** @class */ (function () {
3690
- function CatalogFilterComponent(iconCache, _settingsService, changeDetector, _catalogConnectorService, _adapterService, searchService) {
3702
+ function CatalogFilterComponent(iconCache, catalogService, searchService, _settingsService, changeDetector, _catalogConnectorService, _adapterService) {
3691
3703
  var _this = this;
3692
3704
  this.iconCache = iconCache;
3705
+ this.catalogService = catalogService;
3706
+ this.searchService = searchService;
3693
3707
  this._settingsService = _settingsService;
3694
3708
  this.changeDetector = changeDetector;
3695
3709
  this._catalogConnectorService = _catalogConnectorService;
3696
3710
  this._adapterService = _adapterService;
3697
- this.searchService = searchService;
3698
3711
  this.icons = IconEnum;
3699
3712
  this.updatePreset = false;
3700
3713
  this.showResetFilter = true;
@@ -3709,6 +3722,9 @@
3709
3722
  if (initialized) {
3710
3723
  _this.getUserGroups();
3711
3724
  }
3725
+ }), this.catalogService.activeStockView.subscribe(function (value) {
3726
+ _this.activeStockView = value;
3727
+ _this._showActiveCategory();
3712
3728
  }));
3713
3729
  }
3714
3730
  CatalogFilterComponent.prototype.showClass = function () {
@@ -3725,12 +3741,6 @@
3725
3741
  x.unsubscribe();
3726
3742
  });
3727
3743
  };
3728
- CatalogFilterComponent.prototype.getUserGroups = function () {
3729
- var _this = this;
3730
- this._catalogConnectorService.getUserGroups().then(function (userGroups) {
3731
- _this.userGroupCollection = userGroups;
3732
- });
3733
- };
3734
3744
  CatalogFilterComponent.prototype.handleCategoryClick = function (cat) {
3735
3745
  if (cat === 'Algemeen') {
3736
3746
  this.filterItems.nativeElement.scrollLeft = this.generalFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
@@ -3742,6 +3752,17 @@
3742
3752
  this.filterItems.nativeElement.scrollLeft = this.logisticsFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
3743
3753
  }
3744
3754
  };
3755
+ CatalogFilterComponent.prototype.getUserGroups = function () {
3756
+ var _this = this;
3757
+ this._catalogConnectorService.getUserGroups().then(function (userGroups) {
3758
+ _this.userGroupCollection = userGroups;
3759
+ });
3760
+ };
3761
+ CatalogFilterComponent.prototype._showActiveCategory = function () {
3762
+ if (this.filterItems && this.activeStockView !== undefined) {
3763
+ this.filterItems.nativeElement.scrollLeft = this.logisticsFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
3764
+ }
3765
+ };
3745
3766
  CatalogFilterComponent.prototype.detectChanges = function () {
3746
3767
  if (!this._destroyed) {
3747
3768
  this.changeDetector.detectChanges();
@@ -3752,7 +3773,7 @@
3752
3773
  CatalogFilterComponent.decorators = [
3753
3774
  { type: i0.Component, args: [{
3754
3775
  selector: 'co-catalog-filter',
3755
- template: "\n <!--<div class=\"preset-button\">\n <co-button [iconData]=\"iconCache.getIcon(icons.MagicWand)\"\n (onClick)=\"loadSelectedPreset()\">\n </co-button>\n <co-button [iconData]=\"iconCache.getIcon(icons.Check)\"\n (onClick)=\"showSavePresetPopup()\">\n </co-button>\n </div>-->\n <div class=\"catalog-filter-categories\">\n <co-catalog-filter-categories [categories]=\"filterCategories\"\n (categoryClick)=\"handleCategoryClick($event)\"></co-catalog-filter-categories>\n </div>\n <div #filterItems class=\"catalog-category-filter-wrapper\" data-ride=\"carousel\">\n <div #generalFilter class=\"catalog-filter-category-content\">\n <co-catalog-filter-content-general></co-catalog-filter-content-general>\n </div>\n <div #purchaseFilter class=\"catalog-filter-category-content\">\n <co-catalog-filter-content-purchase></co-catalog-filter-content-purchase>\n </div>\n <div #logisticsFilter class=\"catalog-filter-category-content\">\n <co-catalog-filter-content-logistics></co-catalog-filter-content-logistics>\n </div>\n </div> \n \n <!--<co-dialog *ngIf=\"showSavePopup\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\" (closeClick)=\"cancelClicked()\">\n <ng-template #headerTemplate>\n <span class=\"header\" [textContent]=\"'SAVE_PRESET' | localize\"></span>\n </ng-template>\n \n <div class=\"save-dialog-contents\">\n <co-input-text \n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [(model)]=\"searchService.currentPreset.name\"\n [label]=\"'PRESET_NAME' | localize\"\n [placeholder]=\"'PRESET_NAME' | localize\"\n ></co-input-text>\n <co-list-of-values [collection]=\"userGroupCollection\" \n [displayField]=\"'description'\"\n [label]=\"'USERGROUPS'| localize\"\n [(model)]=\"userGroupsChosen\"\n (modelChange)=\"userGroupsChanged()\"\n [multiselect]=\"true\"\n ></co-list-of-values>\n &lt;!&ndash;<co-input-checkbox *ngIf=\"updatePreset\"\n [(model)]=\"searchService.currentPreset.default\"\n [label]=\"'SAVE_AS_NEW' | localize\"\n ></co-input-checkbox> &ndash;&gt;\n </div>\n \n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <ng-container >\n <co-button [label]=\"'SAVE' | localize\" (click)=\"saveClicked()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"cancelClicked()\"></co-button>\n </ng-container>\n </div>\n </ng-template>\n </co-dialog> --> \n ",
3776
+ template: "\n <!--<div class=\"preset-button\">\n <co-button [iconData]=\"iconCache.getIcon(icons.MagicWand)\"\n (onClick)=\"loadSelectedPreset()\">\n </co-button>\n <co-button [iconData]=\"iconCache.getIcon(icons.Check)\"\n (onClick)=\"showSavePresetPopup()\">\n </co-button>\n </div>-->\n <div class=\"catalog-filter-categories\">\n <co-catalog-filter-categories\n [categories]=\"filterCategories\"\n (categoryClick)=\"handleCategoryClick($event)\">\n </co-catalog-filter-categories>\n </div>\n \n <div #filterItems class=\"catalog-category-filter-wrapper\" data-ride=\"carousel\">\n <div #generalFilter class=\"catalog-filter-category-content\">\n <co-catalog-filter-content-general></co-catalog-filter-content-general>\n </div>\n <div #purchaseFilter class=\"catalog-filter-category-content\">\n <co-catalog-filter-content-purchase></co-catalog-filter-content-purchase>\n </div>\n <div #logisticsFilter class=\"catalog-filter-category-content\">\n <co-catalog-filter-content-logistics></co-catalog-filter-content-logistics>\n </div>\n </div>\n\n <!--<co-dialog *ngIf=\"showSavePopup\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\" (closeClick)=\"cancelClicked()\">\n <ng-template #headerTemplate>\n <span class=\"header\" [textContent]=\"'SAVE_PRESET' | localize\"></span>\n </ng-template>\n \n <div class=\"save-dialog-contents\">\n <co-input-text \n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [(model)]=\"searchService.currentPreset.name\"\n [label]=\"'PRESET_NAME' | localize\"\n [placeholder]=\"'PRESET_NAME' | localize\"\n ></co-input-text>\n <co-list-of-values [collection]=\"userGroupCollection\" \n [displayField]=\"'description'\"\n [label]=\"'USERGROUPS'| localize\"\n [(model)]=\"userGroupsChosen\"\n (modelChange)=\"userGroupsChanged()\"\n [multiselect]=\"true\"\n ></co-list-of-values>\n &lt;!&ndash;<co-input-checkbox *ngIf=\"updatePreset\"\n [(model)]=\"searchService.currentPreset.default\"\n [label]=\"'SAVE_AS_NEW' | localize\"\n ></co-input-checkbox> &ndash;&gt;\n </div>\n \n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <ng-container >\n <co-button [label]=\"'SAVE' | localize\" (click)=\"saveClicked()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"cancelClicked()\"></co-button>\n </ng-container>\n </div>\n </ng-template>\n </co-dialog> -->\n ",
3756
3777
  animations: [
3757
3778
  animations.trigger('showFilterItem', [
3758
3779
  animations.state('closed', animations.style({ height: '80px' })),
@@ -3765,11 +3786,12 @@
3765
3786
  ];
3766
3787
  CatalogFilterComponent.ctorParameters = function () { return [
3767
3788
  { type: IconCacheService },
3789
+ { type: CatalogService },
3790
+ { type: CatalogSearchService },
3768
3791
  { type: CatalogSettingsService },
3769
3792
  { type: i0.ChangeDetectorRef },
3770
3793
  { type: CatalogConnectorService },
3771
- { type: CatalogConnectorAdapterService },
3772
- { type: CatalogSearchService }
3794
+ { type: CatalogConnectorAdapterService }
3773
3795
  ]; };
3774
3796
  CatalogFilterComponent.propDecorators = {
3775
3797
  filterItems: [{ type: i0.ViewChild, args: ['filterItems', { read: i0.ElementRef },] }],
@@ -4212,28 +4234,41 @@
4212
4234
  ];
4213
4235
 
4214
4236
  var CatalogFilterContentLogisticsComponent = /** @class */ (function () {
4215
- function CatalogFilterContentLogisticsComponent(catalogSearchService, iconCache) {
4237
+ function CatalogFilterContentLogisticsComponent(catalogSearchService, iconCache, catalogService) {
4216
4238
  this.catalogSearchService = catalogSearchService;
4217
4239
  this.iconCache = iconCache;
4240
+ this.catalogService = catalogService;
4218
4241
  this.modes = corecomponents_v12.FilterItemMode;
4219
4242
  this.icons = IconEnum;
4243
+ this.StockView = exports.StockView;
4244
+ this._subs = [];
4220
4245
  }
4221
4246
  CatalogFilterContentLogisticsComponent.prototype.showClass = function () {
4222
4247
  return true;
4223
4248
  };
4224
4249
  CatalogFilterContentLogisticsComponent.prototype.ngOnInit = function () {
4250
+ var _this = this;
4251
+ this._subs.push(this.catalogService.activeStockView.subscribe(function (value) {
4252
+ _this.activeStockView = value;
4253
+ }));
4254
+ };
4255
+ CatalogFilterContentLogisticsComponent.prototype.ngOnDestroy = function () {
4256
+ this._subs.forEach(function (x) {
4257
+ x.unsubscribe();
4258
+ });
4225
4259
  };
4226
4260
  return CatalogFilterContentLogisticsComponent;
4227
4261
  }());
4228
4262
  CatalogFilterContentLogisticsComponent.decorators = [
4229
4263
  { type: i0.Component, args: [{
4230
4264
  selector: 'co-catalog-filter-content-logistics',
4231
- template: "\n <div class=\"catalog-filter-content-logistics-wrapper catalog-filter-content-wrapper\">\n\n <div class=\"catalog-filter-wrapper\">\n <div class=\"filter-items-wrapper co-small-scrollbar\">\n \n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'SERIALNUMBER'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.serialNumber\">\n </co-catalog-filter-item> \n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'BATCH_NUMBER'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.batchNumber\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'MUTATION_DATE'\"\n [mode]=\"modes.DateField\"\n [(model)]=\"catalogSearchService.searchRequest.dateModified\">\n </co-catalog-filter-item>\n </div> \n </div>\n </div> \n </div>\n "
4265
+ template: "\n <div class=\"catalog-filter-content-logistics-wrapper catalog-filter-content-wrapper\">\n\n <div class=\"catalog-filter-wrapper\">\n <div class=\"filter-items-wrapper co-small-scrollbar\">\n\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'SERIALNUMBER'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.serialNumber\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'BATCH_NUMBER'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.batchNumber\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'MUTATION_DATE'\"\n [mode]=\"modes.DateField\"\n [(model)]=\"catalogSearchService.searchRequest.dateModified\">\n </co-catalog-filter-item>\n </div>\n\n <ng-container *ngIf=\"activeStockView === StockView.PriceCards\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'UPDATE_DATE'\"\n [mode]=\"modes.DateRangeField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'STOCK_MUTATION_DATE'\"\n [mode]=\"modes.DateRangeField\">\n </co-catalog-filter-item>\n </div>\n </ng-container>\n <ng-container *ngIf=\"activeStockView === StockView.StockOverview\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'UPDATE_DATE'\"\n [mode]=\"modes.DateRangeField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'STOCK_MUTATION_DATE'\"\n [mode]=\"modes.DateRangeField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'WAREHOUSE'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'STOCK_STATUS'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'SERIAL_NUMBER'\"\n [mode]=\"modes.TextField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'BATCH_NO'\"\n [mode]=\"modes.TextField\">\n </co-catalog-filter-item>\n </div>\n </ng-container>\n <ng-container *ngIf=\"activeStockView === StockView.WarehouseTransfers\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'UPDATE_DATE'\"\n [mode]=\"modes.DateRangeField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'STOCK_MUTATION_DATE'\"\n [mode]=\"modes.DateRangeField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'STOCK_STATUS'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'SERIAL_NUMBER'\"\n [mode]=\"modes.TextField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'BATCH_NO'\"\n [mode]=\"modes.TextField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'SOURCE_WAREHOUSE'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'TARGET_WAREHOUSE'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n </ng-container>\n <ng-container *ngIf=\"activeStockView === StockView.StockComparison\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'UPDATE_DATE'\"\n [mode]=\"modes.DateRangeField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'STOCK_STATUS'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'SERIAL_NUMBER'\"\n [mode]=\"modes.TextField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'BATCH_NO'\"\n [mode]=\"modes.TextField\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'SOURCE_WAREHOUSE'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'TARGET_WAREHOUSE'\"\n [mode]=\"modes.Filterlist\">\n </co-catalog-filter-item>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n "
4232
4266
  },] }
4233
4267
  ];
4234
4268
  CatalogFilterContentLogisticsComponent.ctorParameters = function () { return [
4235
4269
  { type: CatalogSearchService },
4236
- { type: IconCacheService }
4270
+ { type: IconCacheService },
4271
+ { type: CatalogService }
4237
4272
  ]; };
4238
4273
  CatalogFilterContentLogisticsComponent.propDecorators = {
4239
4274
  showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-filter',] }],
@@ -4757,7 +4792,7 @@
4757
4792
  lowerBound = 1;
4758
4793
  }
4759
4794
  this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4760
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
4795
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeWarehouse: null, rangeStockStatus: null });
4761
4796
  this._catalogConnectorService.getArticlesForStockSearchTile(this.stockSearchRequest).then(function (result) {
4762
4797
  _this.tileArticles = result && result.articles ? result.articles : [];
4763
4798
  _this.resultCount = result && result.count ? result.count : 0;
@@ -4777,7 +4812,7 @@
4777
4812
  lowerBound = 1;
4778
4813
  }
4779
4814
  this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4780
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
4815
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeWarehouse: null, rangeStockStatus: null });
4781
4816
  this._catalogConnectorService.getArticlesForStockSearchGrid(this.stockSearchRequest).then(function (result) {
4782
4817
  _this.gridArticles = result && result.articles ? result.articles : [];
4783
4818
  _this.resultCount = result && result.count ? result.count : 0;
@@ -4785,7 +4820,7 @@
4785
4820
  });
4786
4821
  };
4787
4822
  CatalogStockService.prototype.getArticleGridViewExcelFile = function () {
4788
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
4823
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeWarehouse: null, rangeStockStatus: null });
4789
4824
  this._catalogConnectorService.getArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
4790
4825
  console.log('export: ', result);
4791
4826
  });
@@ -4851,7 +4886,7 @@
4851
4886
  lowerBound = 1;
4852
4887
  }
4853
4888
  this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4854
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
4889
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeStockStatus: null, rangeSourceWarehouse: null, rangeTargetWarehouse: null });
4855
4890
  this._catalogConnectorService.getArticlesForStockTransferSearchTile(this.stockSearchRequest).then(function (result) {
4856
4891
  _this.transferTileArticles = result && result.articles ? result.articles : [];
4857
4892
  _this.resultCount = result && result.count ? result.count : 0;
@@ -4871,7 +4906,7 @@
4871
4906
  lowerBound = 1;
4872
4907
  }
4873
4908
  this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4874
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
4909
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeStockStatus: null, rangeSourceWarehouse: null, rangeTargetWarehouse: null });
4875
4910
  this._catalogConnectorService.getArticlesForStockTransferSearchGrid(this.stockSearchRequest).then(function (result) {
4876
4911
  _this.transferGridArticles = result && result.articles ? result.articles : [];
4877
4912
  _this.resultCount = result && result.count ? result.count : 0;
@@ -4879,7 +4914,7 @@
4879
4914
  });
4880
4915
  };
4881
4916
  CatalogStockTransferService.prototype.getArticleGridViewExcelFile = function () {
4882
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
4917
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeStockStatus: null, rangeSourceWarehouse: null, rangeTargetWarehouse: null });
4883
4918
  this._catalogConnectorService.getTransferArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
4884
4919
  console.log('export: ', result);
4885
4920
  });
@@ -5016,7 +5051,7 @@
5016
5051
  lowerBound = 1;
5017
5052
  }
5018
5053
  this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
5019
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
5054
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 1 });
5020
5055
  this._catalogConnectorService.getArticlesForStockComparisonSearchTile(this.stockSearchRequest).then(function (result) {
5021
5056
  _this.comparisonTileArticles = result && result.articles ? result.articles : [];
5022
5057
  _this.resultCount = result && result.count ? result.count : 0;
@@ -5036,7 +5071,7 @@
5036
5071
  lowerBound = 1;
5037
5072
  }
5038
5073
  this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
5039
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
5074
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 1 });
5040
5075
  this._catalogConnectorService.getArticlesForStockComparisonSearchGrid(this.stockSearchRequest).then(function (result) {
5041
5076
  _this.comparisonGridArticles = result && result.articles ? result.articles : [];
5042
5077
  _this.resultCount = result && result.count ? result.count : 0;
@@ -5044,7 +5079,7 @@
5044
5079
  });
5045
5080
  };
5046
5081
  CatalogStockComparisonService.prototype.getArticleGridViewExcelFile = function () {
5047
- this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
5082
+ this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 1 });
5048
5083
  this._catalogConnectorService.getComparisonArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
5049
5084
  console.log('export: ', result);
5050
5085
  });
@@ -5873,7 +5908,7 @@
5873
5908
  CatalogStockOverviewTileComponent.decorators = [
5874
5909
  { type: i0.Component, args: [{
5875
5910
  selector: 'co-catalog-stock-overview-tile',
5876
- template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockService.tileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.buyerDescription\"></div>\n <div class=\"product\" [innerText]=\"article.name\"></div>\n <div class=\"description\" [innerText]=\"article.description\"></div>\n <div class=\"price\">\n <span [innerText]=\"'FROM' | localize\"></span>&nbsp;\n <span [innerText]=\"article.price | priceDisplay:valutaSymbol\"></span>\n </div>\n <div class=\"article-info\">\n <div class=\"product-num\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.BarsFilter)\"></co-icon>\n <span [innerText]=\"article.goodId\"></span>\n </div>\n <div class=\"turnover-group\">\n <span [innerText]=\"'GROUP' | localize\"></span>:\n <span [innerText]=\"article.turnoverGroupDescr\"></span>\n </div>\n <div class=\"stock-quantity\">\n <span [innerText]=\"'AMOUNT_IN_STOCK' | localize\"></span>:\n <span [innerText]=\"article.quantity\"></span>\n </div>\n <div class=\"direct-available\">\n Direct available:\n <span [innerText]=\"article.nowAvailable\"></span>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockService.tileArticles?.length > 0\"\n [currentPage]=\"catalogStockService.currentPage\"\n [itemsPerPage]=\"catalogStockService.articlesPerPage\"\n [totalItems]=\"catalogStockService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
5911
+ template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockService.tileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.brandDescription\"></div>\n <div class=\"product\" [innerText]=\"article.superArticleDescr\"></div>\n <div class=\"description\" [innerText]=\"article.description\"></div>\n <div class=\"price\">\n <span [innerText]=\"'FROM' | localize\"></span>&nbsp;\n <span [innerText]=\"article.price | priceDisplay:valutaSymbol\"></span>\n </div>\n <div class=\"article-info\">\n <div class=\"product-num\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.BarsFilter)\"></co-icon>\n <span [innerText]=\"article.articleNumber\"></span>\n </div>\n <div class=\"turnover-group\">\n <span [innerText]=\"'GROUP' | localize\"></span>:\n <span [innerText]=\"article.turnoverGroupDescr\"></span>\n </div>\n <div class=\"stock-quantity\">\n <span [innerText]=\"'AMOUNT_IN_STOCK' | localize\"></span>:\n <span [innerText]=\"article.quantity\"></span>\n </div>\n <div class=\"direct-available\">\n Direct available:\n <span [innerText]=\"article.nowAvailable\"></span>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockService.tileArticles?.length > 0\"\n [currentPage]=\"catalogStockService.currentPage\"\n [itemsPerPage]=\"catalogStockService.articlesPerPage\"\n [totalItems]=\"catalogStockService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
5877
5912
  encapsulation: i0.ViewEncapsulation.None,
5878
5913
  styles: [".article-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,.5fr));grid-gap:20px;gap:20px;padding:40px 0;z-index:1}.article-tile{padding:10px;border:1px solid #DCE4EA}.article-tile .image{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:150px}.article-tile .image .co-image{height:100%;width:-moz-fit-content;width:fit-content}.article-tile .image .no-image-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:.2;width:150px;height:150px}.article-tile .image .no-image-wrapper .no-image{height:50%;width:50%}.article-tile .image .no-image-wrapper .no-image span{font-size:14px}.article-tile .brand,.article-tile .description{margin-bottom:10px}.article-tile .product,.article-tile .price{margin-bottom:10px;font-weight:bold}.article-tile .article-info{display:grid;grid-template-columns:repeat(2,1fr);grid-row-gap:10px;row-gap:10px}.article-tile .product-num{display:flex;align-items:center}.article-tile .product-num co-icon{width:10px;height:10px;margin-right:5px}.article-tile .details{font-weight:bold;color:#1a73e8;cursor:pointer}.article-tile .details:hover{text-decoration:underline}\n"]
5879
5914
  },] }
@@ -5932,7 +5967,7 @@
5932
5967
  CatalogStockOverviewListComponent.decorators = [
5933
5968
  { type: i0.Component, args: [{
5934
5969
  selector: 'co-catalog-stock-overview-list',
5935
- template: "\n <co-simple-grid [data]=\"this.catalogStockService.gridArticles\">\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_NUMBER' | localize\"\n [field]=\"'articleNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_DESCRIPTION' | localize\"\n [field]=\"'articleDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPER_ARTICLE' | localize\"\n [field]=\"'name'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TURNOVER_GROUP' | localize\"\n [field]=\"'turnoverGroupDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPPLIER' | localize\"\n [field]=\"'standardSupplier'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOREROOM' | localize\"\n [field]=\"'warehouseDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'LOCATION' | localize\"\n [field]=\"'stockLocationDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOCK' | localize\"\n [field]=\"'amount'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TOTAL_ARTICLES_IN_ORDER' | localize\"\n [field]=\"'quantityInOrders'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'PURCHASEORDERS' | localize\"\n [field]=\"'quantityInPurchaseOrders'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'BATCH_NO' | localize\"\n [field]=\"'batchNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SERIAL_NO' | localize\"\n [field]=\"'serialNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'DIRECTLY_AVAILABLE' | localize\"\n [field]=\"'nowAvailable'\">\n </co-simple-grid-column>\n </co-simple-grid>\n <co-pagination-bar\n *ngIf=\"catalogStockService.gridArticles?.length > 0\"\n [currentPage]=\"catalogStockService.currentPage\"\n [itemsPerPage]=\"catalogStockService.articlesPerPage\"\n [totalItems]=\"catalogStockService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
5970
+ template: "\n <co-simple-grid [data]=\"this.catalogStockService.gridArticles\">\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_NUMBER' | localize\"\n [field]=\"'articleNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_DESCRIPTION' | localize\"\n [field]=\"'articleDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPER_ARTICLE' | localize\"\n [field]=\"'superArticleDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TURNOVER_GROUP' | localize\"\n [field]=\"'turnoverGroupDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPPLIER' | localize\"\n [field]=\"'supplierNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOREROOM' | localize\"\n [field]=\"'warehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'LOCATION' | localize\"\n [field]=\"'stockLocationNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOCK' | localize\"\n [field]=\"'quantity'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TOTAL_ARTICLES_IN_ORDER' | localize\"\n [field]=\"'quantityInOrders'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'PURCHASEORDERS' | localize\"\n [field]=\"'quantityInPurchaseOrders'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'BATCH_NO' | localize\"\n [field]=\"'batchNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SERIAL_NO' | localize\"\n [field]=\"'serialNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'DIRECTLY_AVAILABLE' | localize\"\n [field]=\"'nowAvailable'\">\n </co-simple-grid-column>\n </co-simple-grid>\n <co-pagination-bar\n *ngIf=\"catalogStockService.gridArticles?.length > 0\"\n [currentPage]=\"catalogStockService.currentPage\"\n [itemsPerPage]=\"catalogStockService.articlesPerPage\"\n [totalItems]=\"catalogStockService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
5936
5971
  encapsulation: i0.ViewEncapsulation.None,
5937
5972
  styles: [""]
5938
5973
  },] }
@@ -6109,7 +6144,7 @@
6109
6144
  CatalogWarehouseTransfersTileComponent.decorators = [
6110
6145
  { type: i0.Component, args: [{
6111
6146
  selector: 'co-catalog-warehouse-transfers-tile',
6112
- template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockTransferService.transferTileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.buyerDescription\"></div>\n <div class=\"product\" [innerText]=\"article.name\"></div>\n <div class=\"description\" [innerText]=\"article.description\"></div>\n <div class=\"price\">\n <span [innerText]=\"'FROM' | localize\"></span>&nbsp;\n <span [innerText]=\"article.price | priceDisplay:valutaSymbol\"></span>\n </div>\n <div class=\"one-liner\">\n <div class=\"product-num\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.BarsFilter)\"></co-icon>\n <span [innerText]=\"article.goodId\"></span>\n </div>\n <div class=\"turnover-group\">\n <span [innerText]=\"'GROUP' | localize\"></span>:\n <span [innerText]=\"article.turnoverGroupDescr\"></span>\n </div>\n </div>\n <div class=\"tile-item\">\n <span [innerText]=\"'SOURCE_WAREHOUSE' | localize\"></span>:\n <strong [innerText]=\"article.sourceWarehouseNumber\"></strong>\n </div>\n <div class=\"tile-item\">\n <span [innerText]=\"'TARGET_WAREHOUSE' | localize\"></span>:\n <strong [innerText]=\"article.targetWarehouseNumber\"></strong>\n </div>\n <div class=\"one-liner\">\n <div>\n <span>Number overbooked</span>:\n <strong [innerText]=\"article.quantityOverbooked\"></strong>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockTransferService.transferTileArticles?.length > 0\"\n [currentPage]=\"catalogStockTransferService.currentPage\"\n [itemsPerPage]=\"catalogStockTransferService.articlesPerPage\"\n [totalItems]=\"catalogStockTransferService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
6147
+ template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockTransferService.transferTileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.brandDescription\"></div>\n <div class=\"product\" [innerText]=\"article.superArticleDescr\"></div>\n <div class=\"description\" [innerText]=\"article.description\"></div>\n <div class=\"price\">\n <span [innerText]=\"'FROM' | localize\"></span>&nbsp;\n <span [innerText]=\"article.price | priceDisplay:valutaSymbol\"></span>\n </div>\n <div class=\"one-liner\">\n <div class=\"product-num\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.BarsFilter)\"></co-icon>\n <span [innerText]=\"article.articleNumber\"></span>\n </div>\n <div class=\"turnover-group\">\n <span [innerText]=\"'GROUP' | localize\"></span>:\n <span [innerText]=\"article.turnoverGroupDescr\"></span>\n </div>\n </div>\n <div class=\"tile-item\">\n <span [innerText]=\"'SOURCE_WAREHOUSE' | localize\"></span>:\n <strong [innerText]=\"article.sourceWarehouseNumber\"></strong>\n </div>\n <div class=\"tile-item\">\n <span [innerText]=\"'TARGET_WAREHOUSE' | localize\"></span>:\n <strong [innerText]=\"article.targetWarehouseNumber\"></strong>\n </div>\n <div class=\"one-liner\">\n <div>\n <span>Number overbooked</span>:\n <strong [innerText]=\"article.quantityOverbooked\"></strong>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockTransferService.transferTileArticles?.length > 0\"\n [currentPage]=\"catalogStockTransferService.currentPage\"\n [itemsPerPage]=\"catalogStockTransferService.articlesPerPage\"\n [totalItems]=\"catalogStockTransferService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
6113
6148
  encapsulation: i0.ViewEncapsulation.None,
6114
6149
  styles: [".article-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,.5fr));grid-gap:20px;gap:20px;padding:40px 0;z-index:1}.article-tile{padding:10px;border:1px solid #DCE4EA}.article-tile .image{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:150px}.article-tile .image .co-image{height:100%;width:-moz-fit-content;width:fit-content}.article-tile .image .no-image-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:.2;width:150px;height:150px}.article-tile .image .no-image-wrapper .no-image{height:50%;width:50%}.article-tile .image .no-image-wrapper .no-image span{font-size:14px}.article-tile .brand,.article-tile .description,.article-tile .tile-item{margin-bottom:10px}.article-tile .product,.article-tile .price{margin-bottom:10px;font-weight:bold}.article-tile .one-liner{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.article-tile .one-liner:last-of-type{margin:0}.article-tile .product-num{display:flex;align-items:center}.article-tile .product-num co-icon{width:10px;height:10px;margin-right:5px}.article-tile .details{font-weight:bold;color:#1a73e8;cursor:pointer}.article-tile .details:hover{text-decoration:underline}\n"]
6115
6150
  },] }
@@ -6168,7 +6203,7 @@
6168
6203
  CatalogWarehouseTransfersListComponent.decorators = [
6169
6204
  { type: i0.Component, args: [{
6170
6205
  selector: 'co-catalog-warehouse-transfers-list',
6171
- template: "\n <co-simple-grid [data]=\"this.catalogStockTransferService.transferGridArticles\">\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_NUMBER' | localize\"\n [field]=\"'articleNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_DESCRIPTION' | localize\"\n [field]=\"'description'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPER_ARTICLE' | localize\"\n [field]=\"'name'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TURNOVER_GROUP' | localize\"\n [field]=\"'turnoverGroupDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPPLIER' | localize\"\n [field]=\"'supplierNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SOURCE_WAREHOUSE' | localize\"\n [field]=\"'sourceWarehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SOURCE_LOCATION' | localize\"\n [field]=\"'sourceLocation'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TARGET_WAREHOUSE' | localize\"\n [field]=\"'targetWarehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TARGET_LOCATION' | localize\"\n [field]=\"'targetLocation'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SERIAL_NO' | localize\"\n [field]=\"'serialNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'BATCH_NO' | localize\"\n [field]=\"'batchNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'QUANTITY' | localize\"\n [field]=\"'quantity'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'CREATION_DATE' | localize\"\n [field]=\"'creationDate'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'USER' | localize\"\n [field]=\"'user'\">\n </co-simple-grid-column>\n </co-simple-grid>\n <co-pagination-bar\n *ngIf=\"catalogStockTransferService.transferGridArticles?.length > 0\"\n [currentPage]=\"catalogStockTransferService.currentPage\"\n [itemsPerPage]=\"catalogStockTransferService.articlesPerPage\"\n [totalItems]=\"catalogStockTransferService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
6206
+ template: "\n <co-simple-grid [data]=\"this.catalogStockTransferService.transferGridArticles\">\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_NUMBER' | localize\"\n [field]=\"'articleNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_DESCRIPTION' | localize\"\n [field]=\"'description'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPER_ARTICLE' | localize\"\n [field]=\"'superArticleDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TURNOVER_GROUP' | localize\"\n [field]=\"'turnoverGroupDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPPLIER' | localize\"\n [field]=\"'supplierNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SOURCE_WAREHOUSE' | localize\"\n [field]=\"'sourceWarehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SOURCE_LOCATION' | localize\"\n [field]=\"'sourceLocation'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TARGET_WAREHOUSE' | localize\"\n [field]=\"'targetWarehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TARGET_LOCATION' | localize\"\n [field]=\"'targetLocation'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SERIAL_NO' | localize\"\n [field]=\"'serialNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'BATCH_NO' | localize\"\n [field]=\"'batchNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'QUANTITY' | localize\"\n [field]=\"'quantity'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'CREATION_DATE' | localize\"\n [field]=\"'creationDate'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'USER' | localize\"\n [field]=\"'user'\">\n </co-simple-grid-column>\n </co-simple-grid>\n <co-pagination-bar\n *ngIf=\"catalogStockTransferService.transferGridArticles?.length > 0\"\n [currentPage]=\"catalogStockTransferService.currentPage\"\n [itemsPerPage]=\"catalogStockTransferService.articlesPerPage\"\n [totalItems]=\"catalogStockTransferService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
6172
6207
  encapsulation: i0.ViewEncapsulation.None,
6173
6208
  styles: [""]
6174
6209
  },] }