@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
@@ -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.3";
57
- this.publishDate = "13/08/2024, 09:50:34";
56
+ this.symVer = "255.1.5";
57
+ this.publishDate = "28/08/2024, 13:58:34";
58
58
  }
59
59
  }
60
60
 
@@ -2088,6 +2088,8 @@ class CatalogService {
2088
2088
  this.searchTextChanged = new Subject();
2089
2089
  this.showPageChanged = new Subject();
2090
2090
  this.onResetFilters = new Subject();
2091
+ this.activeStockViewSubject = new BehaviorSubject(undefined);
2092
+ this.activeStockView = this.activeStockViewSubject.asObservable();
2091
2093
  this._currentPage = 1;
2092
2094
  this._filterText = [];
2093
2095
  this.minMillisBetweenArticleSearches = 400;
@@ -2212,6 +2214,9 @@ class CatalogService {
2212
2214
  this.showCatOrTurnoverGroupArticles = false;
2213
2215
  this.showExternalSource = false;
2214
2216
  }
2217
+ setActiveStockView(value) {
2218
+ this.activeStockViewSubject.next(value);
2219
+ }
2215
2220
  }
2216
2221
  CatalogService.decorators = [
2217
2222
  { type: Injectable }
@@ -2224,7 +2229,14 @@ CatalogService.ctorParameters = () => [
2224
2229
  { type: CatalogImageService },
2225
2230
  { type: CatalogFilterService },
2226
2231
  { type: CatalogSearchService }
2227
- ];
2232
+ ];
2233
+ var StockView;
2234
+ (function (StockView) {
2235
+ StockView["PriceCards"] = "PriceCards";
2236
+ StockView["StockOverview"] = "StockOverview";
2237
+ StockView["WarehouseTransfers"] = "WarehouseTransfers";
2238
+ StockView["StockComparison"] = "StockComparison";
2239
+ })(StockView || (StockView = {}));
2228
2240
 
2229
2241
  class CatalogCategoriesComponent {
2230
2242
  constructor(_catalogService, _adapterService) {
@@ -2421,13 +2433,14 @@ IconCacheService.ctorParameters = () => [
2421
2433
  ];
2422
2434
 
2423
2435
  class CatalogFilterComponent {
2424
- constructor(iconCache, _settingsService, changeDetector, _catalogConnectorService, _adapterService, searchService) {
2436
+ constructor(iconCache, catalogService, searchService, _settingsService, changeDetector, _catalogConnectorService, _adapterService) {
2425
2437
  this.iconCache = iconCache;
2438
+ this.catalogService = catalogService;
2439
+ this.searchService = searchService;
2426
2440
  this._settingsService = _settingsService;
2427
2441
  this.changeDetector = changeDetector;
2428
2442
  this._catalogConnectorService = _catalogConnectorService;
2429
2443
  this._adapterService = _adapterService;
2430
- this.searchService = searchService;
2431
2444
  this.icons = IconEnum;
2432
2445
  this.updatePreset = false;
2433
2446
  this.showResetFilter = true;
@@ -2442,6 +2455,9 @@ class CatalogFilterComponent {
2442
2455
  if (initialized) {
2443
2456
  this.getUserGroups();
2444
2457
  }
2458
+ }), this.catalogService.activeStockView.subscribe(value => {
2459
+ this.activeStockView = value;
2460
+ this._showActiveCategory();
2445
2461
  }));
2446
2462
  }
2447
2463
  showClass() {
@@ -2458,11 +2474,6 @@ class CatalogFilterComponent {
2458
2474
  x.unsubscribe();
2459
2475
  });
2460
2476
  }
2461
- getUserGroups() {
2462
- this._catalogConnectorService.getUserGroups().then((userGroups) => {
2463
- this.userGroupCollection = userGroups;
2464
- });
2465
- }
2466
2477
  handleCategoryClick(cat) {
2467
2478
  if (cat === 'Algemeen') {
2468
2479
  this.filterItems.nativeElement.scrollLeft = this.generalFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
@@ -2474,6 +2485,16 @@ class CatalogFilterComponent {
2474
2485
  this.filterItems.nativeElement.scrollLeft = this.logisticsFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
2475
2486
  }
2476
2487
  }
2488
+ getUserGroups() {
2489
+ this._catalogConnectorService.getUserGroups().then((userGroups) => {
2490
+ this.userGroupCollection = userGroups;
2491
+ });
2492
+ }
2493
+ _showActiveCategory() {
2494
+ if (this.filterItems && this.activeStockView !== undefined) {
2495
+ this.filterItems.nativeElement.scrollLeft = this.logisticsFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
2496
+ }
2497
+ }
2477
2498
  detectChanges() {
2478
2499
  if (!this._destroyed) {
2479
2500
  this.changeDetector.detectChanges();
@@ -2493,9 +2514,12 @@ CatalogFilterComponent.decorators = [
2493
2514
  </co-button>
2494
2515
  </div>-->
2495
2516
  <div class="catalog-filter-categories">
2496
- <co-catalog-filter-categories [categories]="filterCategories"
2497
- (categoryClick)="handleCategoryClick($event)"></co-catalog-filter-categories>
2517
+ <co-catalog-filter-categories
2518
+ [categories]="filterCategories"
2519
+ (categoryClick)="handleCategoryClick($event)">
2520
+ </co-catalog-filter-categories>
2498
2521
  </div>
2522
+
2499
2523
  <div #filterItems class="catalog-category-filter-wrapper" data-ride="carousel">
2500
2524
  <div #generalFilter class="catalog-filter-category-content">
2501
2525
  <co-catalog-filter-content-general></co-catalog-filter-content-general>
@@ -2506,8 +2530,8 @@ CatalogFilterComponent.decorators = [
2506
2530
  <div #logisticsFilter class="catalog-filter-category-content">
2507
2531
  <co-catalog-filter-content-logistics></co-catalog-filter-content-logistics>
2508
2532
  </div>
2509
- </div>
2510
-
2533
+ </div>
2534
+
2511
2535
  <!--<co-dialog *ngIf="showSavePopup" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate" (closeClick)="cancelClicked()">
2512
2536
  <ng-template #headerTemplate>
2513
2537
  <span class="header" [textContent]="'SAVE_PRESET' | localize"></span>
@@ -2542,7 +2566,7 @@ CatalogFilterComponent.decorators = [
2542
2566
  </ng-container>
2543
2567
  </div>
2544
2568
  </ng-template>
2545
- </co-dialog> -->
2569
+ </co-dialog> -->
2546
2570
  `,
2547
2571
  animations: [
2548
2572
  trigger('showFilterItem', [
@@ -2556,11 +2580,12 @@ CatalogFilterComponent.decorators = [
2556
2580
  ];
2557
2581
  CatalogFilterComponent.ctorParameters = () => [
2558
2582
  { type: IconCacheService },
2583
+ { type: CatalogService },
2584
+ { type: CatalogSearchService },
2559
2585
  { type: CatalogSettingsService },
2560
2586
  { type: ChangeDetectorRef },
2561
2587
  { type: CatalogConnectorService },
2562
- { type: CatalogConnectorAdapterService },
2563
- { type: CatalogSearchService }
2588
+ { type: CatalogConnectorAdapterService }
2564
2589
  ];
2565
2590
  CatalogFilterComponent.propDecorators = {
2566
2591
  filterItems: [{ type: ViewChild, args: ['filterItems', { read: ElementRef },] }],
@@ -3250,54 +3275,204 @@ CatalogFilterContentPurchaseModule.decorators = [
3250
3275
  ];
3251
3276
 
3252
3277
  class CatalogFilterContentLogisticsComponent {
3253
- constructor(catalogSearchService, iconCache) {
3278
+ constructor(catalogSearchService, iconCache, catalogService) {
3254
3279
  this.catalogSearchService = catalogSearchService;
3255
3280
  this.iconCache = iconCache;
3281
+ this.catalogService = catalogService;
3256
3282
  this.modes = FilterItemMode$1;
3257
3283
  this.icons = IconEnum;
3284
+ this.StockView = StockView;
3285
+ this._subs = [];
3258
3286
  }
3259
3287
  showClass() {
3260
3288
  return true;
3261
3289
  }
3262
3290
  ngOnInit() {
3291
+ this._subs.push(this.catalogService.activeStockView.subscribe((value) => {
3292
+ this.activeStockView = value;
3293
+ }));
3294
+ }
3295
+ ngOnDestroy() {
3296
+ this._subs.forEach((x) => {
3297
+ x.unsubscribe();
3298
+ });
3263
3299
  }
3264
3300
  }
3265
3301
  CatalogFilterContentLogisticsComponent.decorators = [
3266
3302
  { type: Component, args: [{
3267
3303
  selector: 'co-catalog-filter-content-logistics',
3268
3304
  template: `
3269
- <div class="catalog-filter-content-logistics-wrapper catalog-filter-content-wrapper">
3305
+ <div class="catalog-filter-content-logistics-wrapper catalog-filter-content-wrapper">
3270
3306
 
3271
- <div class="catalog-filter-wrapper">
3272
- <div class="filter-items-wrapper co-small-scrollbar">
3273
-
3274
- <div class="filter-item-wrapper">
3275
- <co-catalog-filter-item [placeholder]="'SERIALNUMBER'"
3276
- [mode]="modes.TextField"
3277
- [(model)]="catalogSearchService.searchRequest.serialNumber">
3278
- </co-catalog-filter-item>
3279
- </div>
3280
- <div class="filter-item-wrapper">
3281
- <co-catalog-filter-item [placeholder]="'BATCH_NUMBER'"
3282
- [mode]="modes.TextField"
3283
- [(model)]="catalogSearchService.searchRequest.batchNumber">
3284
- </co-catalog-filter-item>
3307
+ <div class="catalog-filter-wrapper">
3308
+ <div class="filter-items-wrapper co-small-scrollbar">
3309
+
3310
+ <div class="filter-item-wrapper">
3311
+ <co-catalog-filter-item
3312
+ [placeholder]="'SERIALNUMBER'"
3313
+ [mode]="modes.TextField"
3314
+ [(model)]="catalogSearchService.searchRequest.serialNumber">
3315
+ </co-catalog-filter-item>
3316
+ </div>
3317
+ <div class="filter-item-wrapper">
3318
+ <co-catalog-filter-item
3319
+ [placeholder]="'BATCH_NUMBER'"
3320
+ [mode]="modes.TextField"
3321
+ [(model)]="catalogSearchService.searchRequest.batchNumber">
3322
+ </co-catalog-filter-item>
3323
+ </div>
3324
+ <div class="filter-item-wrapper">
3325
+ <co-catalog-filter-item
3326
+ [placeholder]="'MUTATION_DATE'"
3327
+ [mode]="modes.DateField"
3328
+ [(model)]="catalogSearchService.searchRequest.dateModified">
3329
+ </co-catalog-filter-item>
3330
+ </div>
3331
+
3332
+ <ng-container *ngIf="activeStockView === StockView.PriceCards">
3333
+ <div class="filter-item-wrapper">
3334
+ <co-catalog-filter-item
3335
+ [placeholder]="'UPDATE_DATE'"
3336
+ [mode]="modes.DateRangeField">
3337
+ </co-catalog-filter-item>
3338
+ </div>
3339
+ <div class="filter-item-wrapper">
3340
+ <co-catalog-filter-item
3341
+ [placeholder]="'STOCK_MUTATION_DATE'"
3342
+ [mode]="modes.DateRangeField">
3343
+ </co-catalog-filter-item>
3344
+ </div>
3345
+ </ng-container>
3346
+ <ng-container *ngIf="activeStockView === StockView.StockOverview">
3347
+ <div class="filter-item-wrapper">
3348
+ <co-catalog-filter-item
3349
+ [placeholder]="'UPDATE_DATE'"
3350
+ [mode]="modes.DateRangeField">
3351
+ </co-catalog-filter-item>
3352
+ </div>
3353
+ <div class="filter-item-wrapper">
3354
+ <co-catalog-filter-item
3355
+ [placeholder]="'STOCK_MUTATION_DATE'"
3356
+ [mode]="modes.DateRangeField">
3357
+ </co-catalog-filter-item>
3358
+ </div>
3359
+ <div class="filter-item-wrapper">
3360
+ <co-catalog-filter-item
3361
+ [placeholder]="'WAREHOUSE'"
3362
+ [mode]="modes.Filterlist">
3363
+ </co-catalog-filter-item>
3364
+ </div>
3365
+ <div class="filter-item-wrapper">
3366
+ <co-catalog-filter-item
3367
+ [placeholder]="'STOCK_STATUS'"
3368
+ [mode]="modes.Filterlist">
3369
+ </co-catalog-filter-item>
3370
+ </div>
3371
+ <div class="filter-item-wrapper">
3372
+ <co-catalog-filter-item
3373
+ [placeholder]="'SERIAL_NUMBER'"
3374
+ [mode]="modes.TextField">
3375
+ </co-catalog-filter-item>
3376
+ </div>
3377
+ <div class="filter-item-wrapper">
3378
+ <co-catalog-filter-item
3379
+ [placeholder]="'BATCH_NO'"
3380
+ [mode]="modes.TextField">
3381
+ </co-catalog-filter-item>
3382
+ </div>
3383
+ </ng-container>
3384
+ <ng-container *ngIf="activeStockView === StockView.WarehouseTransfers">
3385
+ <div class="filter-item-wrapper">
3386
+ <co-catalog-filter-item
3387
+ [placeholder]="'UPDATE_DATE'"
3388
+ [mode]="modes.DateRangeField">
3389
+ </co-catalog-filter-item>
3390
+ </div>
3391
+ <div class="filter-item-wrapper">
3392
+ <co-catalog-filter-item
3393
+ [placeholder]="'STOCK_MUTATION_DATE'"
3394
+ [mode]="modes.DateRangeField">
3395
+ </co-catalog-filter-item>
3396
+ </div>
3397
+ <div class="filter-item-wrapper">
3398
+ <co-catalog-filter-item
3399
+ [placeholder]="'STOCK_STATUS'"
3400
+ [mode]="modes.Filterlist">
3401
+ </co-catalog-filter-item>
3402
+ </div>
3403
+ <div class="filter-item-wrapper">
3404
+ <co-catalog-filter-item
3405
+ [placeholder]="'SERIAL_NUMBER'"
3406
+ [mode]="modes.TextField">
3407
+ </co-catalog-filter-item>
3408
+ </div>
3409
+ <div class="filter-item-wrapper">
3410
+ <co-catalog-filter-item
3411
+ [placeholder]="'BATCH_NO'"
3412
+ [mode]="modes.TextField">
3413
+ </co-catalog-filter-item>
3414
+ </div>
3415
+ <div class="filter-item-wrapper">
3416
+ <co-catalog-filter-item
3417
+ [placeholder]="'SOURCE_WAREHOUSE'"
3418
+ [mode]="modes.Filterlist">
3419
+ </co-catalog-filter-item>
3420
+ </div>
3421
+ <div class="filter-item-wrapper">
3422
+ <co-catalog-filter-item
3423
+ [placeholder]="'TARGET_WAREHOUSE'"
3424
+ [mode]="modes.Filterlist">
3425
+ </co-catalog-filter-item>
3426
+ </div>
3427
+ </ng-container>
3428
+ <ng-container *ngIf="activeStockView === StockView.StockComparison">
3429
+ <div class="filter-item-wrapper">
3430
+ <co-catalog-filter-item
3431
+ [placeholder]="'UPDATE_DATE'"
3432
+ [mode]="modes.DateRangeField">
3433
+ </co-catalog-filter-item>
3434
+ </div>
3435
+ <div class="filter-item-wrapper">
3436
+ <co-catalog-filter-item
3437
+ [placeholder]="'STOCK_STATUS'"
3438
+ [mode]="modes.Filterlist">
3439
+ </co-catalog-filter-item>
3440
+ </div>
3441
+ <div class="filter-item-wrapper">
3442
+ <co-catalog-filter-item
3443
+ [placeholder]="'SERIAL_NUMBER'"
3444
+ [mode]="modes.TextField">
3445
+ </co-catalog-filter-item>
3446
+ </div>
3447
+ <div class="filter-item-wrapper">
3448
+ <co-catalog-filter-item
3449
+ [placeholder]="'BATCH_NO'"
3450
+ [mode]="modes.TextField">
3451
+ </co-catalog-filter-item>
3452
+ </div>
3453
+ <div class="filter-item-wrapper">
3454
+ <co-catalog-filter-item
3455
+ [placeholder]="'SOURCE_WAREHOUSE'"
3456
+ [mode]="modes.Filterlist">
3457
+ </co-catalog-filter-item>
3458
+ </div>
3459
+ <div class="filter-item-wrapper">
3460
+ <co-catalog-filter-item
3461
+ [placeholder]="'TARGET_WAREHOUSE'"
3462
+ [mode]="modes.Filterlist">
3463
+ </co-catalog-filter-item>
3464
+ </div>
3465
+ </ng-container>
3466
+ </div>
3285
3467
  </div>
3286
- <div class="filter-item-wrapper">
3287
- <co-catalog-filter-item [placeholder]="'MUTATION_DATE'"
3288
- [mode]="modes.DateField"
3289
- [(model)]="catalogSearchService.searchRequest.dateModified">
3290
- </co-catalog-filter-item>
3291
- </div>
3292
- </div>
3293
- </div>
3294
- </div>
3468
+ </div>
3295
3469
  `
3296
3470
  },] }
3297
3471
  ];
3298
3472
  CatalogFilterContentLogisticsComponent.ctorParameters = () => [
3299
3473
  { type: CatalogSearchService },
3300
- { type: IconCacheService }
3474
+ { type: IconCacheService },
3475
+ { type: CatalogService }
3301
3476
  ];
3302
3477
  CatalogFilterContentLogisticsComponent.propDecorators = {
3303
3478
  showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }],
@@ -3801,7 +3976,7 @@ class CatalogStockService {
3801
3976
  lowerBound = 1;
3802
3977
  }
3803
3978
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
3804
- 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 });
3805
3980
  this._catalogConnectorService.getArticlesForStockSearchTile(this.stockSearchRequest).then((result) => {
3806
3981
  this.tileArticles = result && result.articles ? result.articles : [];
3807
3982
  this.resultCount = result && result.count ? result.count : 0;
@@ -3818,7 +3993,7 @@ class CatalogStockService {
3818
3993
  lowerBound = 1;
3819
3994
  }
3820
3995
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
3821
- 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 });
3822
3997
  this._catalogConnectorService.getArticlesForStockSearchGrid(this.stockSearchRequest).then((result) => {
3823
3998
  this.gridArticles = result && result.articles ? result.articles : [];
3824
3999
  this.resultCount = result && result.count ? result.count : 0;
@@ -3826,7 +4001,7 @@ class CatalogStockService {
3826
4001
  });
3827
4002
  }
3828
4003
  getArticleGridViewExcelFile() {
3829
- 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 });
3830
4005
  this._catalogConnectorService.getArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
3831
4006
  console.log('export: ', result);
3832
4007
  });
@@ -3883,7 +4058,7 @@ class CatalogStockTransferService {
3883
4058
  lowerBound = 1;
3884
4059
  }
3885
4060
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
3886
- 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 });
3887
4062
  this._catalogConnectorService.getArticlesForStockTransferSearchTile(this.stockSearchRequest).then((result) => {
3888
4063
  this.transferTileArticles = result && result.articles ? result.articles : [];
3889
4064
  this.resultCount = result && result.count ? result.count : 0;
@@ -3900,7 +4075,7 @@ class CatalogStockTransferService {
3900
4075
  lowerBound = 1;
3901
4076
  }
3902
4077
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
3903
- 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 });
3904
4079
  this._catalogConnectorService.getArticlesForStockTransferSearchGrid(this.stockSearchRequest).then((result) => {
3905
4080
  this.transferGridArticles = result && result.articles ? result.articles : [];
3906
4081
  this.resultCount = result && result.count ? result.count : 0;
@@ -3908,7 +4083,7 @@ class CatalogStockTransferService {
3908
4083
  });
3909
4084
  }
3910
4085
  getArticleGridViewExcelFile() {
3911
- 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 });
3912
4087
  this._catalogConnectorService.getTransferArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
3913
4088
  console.log('export: ', result);
3914
4089
  });
@@ -4042,7 +4217,7 @@ class CatalogStockComparisonService {
4042
4217
  lowerBound = 1;
4043
4218
  }
4044
4219
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4045
- 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 });
4046
4221
  this._catalogConnectorService.getArticlesForStockComparisonSearchTile(this.stockSearchRequest).then((result) => {
4047
4222
  this.comparisonTileArticles = result && result.articles ? result.articles : [];
4048
4223
  this.resultCount = result && result.count ? result.count : 0;
@@ -4059,7 +4234,7 @@ class CatalogStockComparisonService {
4059
4234
  lowerBound = 1;
4060
4235
  }
4061
4236
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
4062
- 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 });
4063
4238
  this._catalogConnectorService.getArticlesForStockComparisonSearchGrid(this.stockSearchRequest).then((result) => {
4064
4239
  this.comparisonGridArticles = result && result.articles ? result.articles : [];
4065
4240
  this.resultCount = result && result.count ? result.count : 0;
@@ -4067,7 +4242,7 @@ class CatalogStockComparisonService {
4067
4242
  });
4068
4243
  }
4069
4244
  getArticleGridViewExcelFile() {
4070
- 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 });
4071
4246
  this._catalogConnectorService.getComparisonArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
4072
4247
  console.log('export: ', result);
4073
4248
  });
@@ -5093,8 +5268,8 @@ CatalogStockOverviewTileComponent.decorators = [
5093
5268
  <div class="image">
5094
5269
  <co-image class="co-image" [source]="article.imageData"></co-image>
5095
5270
  </div>
5096
- <div class="brand" [innerText]="article.buyerDescription"></div>
5097
- <div class="product" [innerText]="article.name"></div>
5271
+ <div class="brand" [innerText]="article.brandDescription"></div>
5272
+ <div class="product" [innerText]="article.superArticleDescr"></div>
5098
5273
  <div class="description" [innerText]="article.description"></div>
5099
5274
  <div class="price">
5100
5275
  <span [innerText]="'FROM' | localize"></span>&nbsp;
@@ -5103,7 +5278,7 @@ CatalogStockOverviewTileComponent.decorators = [
5103
5278
  <div class="article-info">
5104
5279
  <div class="product-num">
5105
5280
  <co-icon [iconData]="iconCache.getIcon(icons.BarsFilter)"></co-icon>
5106
- <span [innerText]="article.goodId"></span>
5281
+ <span [innerText]="article.articleNumber"></span>
5107
5282
  </div>
5108
5283
  <div class="turnover-group">
5109
5284
  <span [innerText]="'GROUP' | localize"></span>:
@@ -5202,7 +5377,7 @@ CatalogStockOverviewListComponent.decorators = [
5202
5377
  </co-simple-grid-column>
5203
5378
  <co-simple-grid-column
5204
5379
  [headerText]="'SUPER_ARTICLE' | localize"
5205
- [field]="'name'">
5380
+ [field]="'superArticleDescr'">
5206
5381
  </co-simple-grid-column>
5207
5382
  <co-simple-grid-column
5208
5383
  [headerText]="'TURNOVER_GROUP' | localize"
@@ -5210,19 +5385,19 @@ CatalogStockOverviewListComponent.decorators = [
5210
5385
  </co-simple-grid-column>
5211
5386
  <co-simple-grid-column
5212
5387
  [headerText]="'SUPPLIER' | localize"
5213
- [field]="'standardSupplier'">
5388
+ [field]="'supplierNumber'">
5214
5389
  </co-simple-grid-column>
5215
5390
  <co-simple-grid-column
5216
5391
  [headerText]="'STOREROOM' | localize"
5217
- [field]="'warehouseDescription'">
5392
+ [field]="'warehouseNumber'">
5218
5393
  </co-simple-grid-column>
5219
5394
  <co-simple-grid-column
5220
5395
  [headerText]="'LOCATION' | localize"
5221
- [field]="'stockLocationDescription'">
5396
+ [field]="'stockLocationNumber'">
5222
5397
  </co-simple-grid-column>
5223
5398
  <co-simple-grid-column
5224
5399
  [headerText]="'STOCK' | localize"
5225
- [field]="'amount'">
5400
+ [field]="'quantity'">
5226
5401
  </co-simple-grid-column>
5227
5402
  <co-simple-grid-column
5228
5403
  [headerText]="'TOTAL_ARTICLES_IN_ORDER' | localize"
@@ -5531,8 +5706,8 @@ CatalogWarehouseTransfersTileComponent.decorators = [
5531
5706
  <div class="image">
5532
5707
  <co-image class="co-image" [source]="article.imageData"></co-image>
5533
5708
  </div>
5534
- <div class="brand" [innerText]="article.buyerDescription"></div>
5535
- <div class="product" [innerText]="article.name"></div>
5709
+ <div class="brand" [innerText]="article.brandDescription"></div>
5710
+ <div class="product" [innerText]="article.superArticleDescr"></div>
5536
5711
  <div class="description" [innerText]="article.description"></div>
5537
5712
  <div class="price">
5538
5713
  <span [innerText]="'FROM' | localize"></span>&nbsp;
@@ -5541,7 +5716,7 @@ CatalogWarehouseTransfersTileComponent.decorators = [
5541
5716
  <div class="one-liner">
5542
5717
  <div class="product-num">
5543
5718
  <co-icon [iconData]="iconCache.getIcon(icons.BarsFilter)"></co-icon>
5544
- <span [innerText]="article.goodId"></span>
5719
+ <span [innerText]="article.articleNumber"></span>
5545
5720
  </div>
5546
5721
  <div class="turnover-group">
5547
5722
  <span [innerText]="'GROUP' | localize"></span>:
@@ -5646,7 +5821,7 @@ CatalogWarehouseTransfersListComponent.decorators = [
5646
5821
  </co-simple-grid-column>
5647
5822
  <co-simple-grid-column
5648
5823
  [headerText]="'SUPER_ARTICLE' | localize"
5649
- [field]="'name'">
5824
+ [field]="'superArticleDescr'">
5650
5825
  </co-simple-grid-column>
5651
5826
  <co-simple-grid-column
5652
5827
  [headerText]="'TURNOVER_GROUP' | localize"
@@ -5979,5 +6154,5 @@ CatalogExternalSourceModule.decorators = [
5979
6154
  * Generated bundle index. Do not edit.
5980
6155
  */
5981
6156
 
5982
- export { BusinessObjectCacheManagerService, CatalogArticleListModule, CatalogArticleTileModule, CatalogCategoriesModule, CatalogConnectorAdapterService, CatalogConnectorService, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule, CatalogFilterService, CatalogImageService, CatalogNavigationModule, CatalogNavigationService, CatalogOptionsService, CatalogSearchHeaderModule, CatalogSearchModule, CatalogSearchResultListModule, CatalogSearchResultTileModule, CatalogSearchService, CatalogService, CatalogSettingsService, CatalogStockComparisonListModule, CatalogStockComparisonService, CatalogStockComparisonTileModule, CatalogStockOverviewListModule, CatalogStockOverviewTileModule, CatalogStockService, CatalogStockTransferService, CatalogWarehouseTransfersListModule, CatalogWarehouseTransfersTileModule, SelectMultipleCacheService, SelectMultipleParameterizedCacheService, SelectSingleCacheService, SelectSingleParameterizedCacheService, Version, CatalogFilterCategoriesModule as ɵa, PipeModule as ɵb, VisibilityObserverDirective as ɵba, CatalogSearchResultTileComponent as ɵbb, CatalogSearchBaseComponent as ɵbc, CatalogArticleListComponent as ɵbd, CatalogSearchResultListComponent as ɵbe, CatalogStockOverviewTileComponent as ɵbf, CatalogStockOverviewListComponent as ɵbg, CatalogStockComparisonTileComponent as ɵbh, CatalogStockComparisonListComponent as ɵbi, CatalogWarehouseTransfersTileComponent as ɵbj, CatalogWarehouseTransfersListComponent as ɵbk, CatalogSearchComponent as ɵbl, CatalogExternalSourceComponent as ɵbm, LocalizePipe as ɵc, DictionaryService as ɵd, CatalogFilterCategoriesComponent as ɵe, CatalogFilterContentGeneralModule as ɵf, CatalogFilterItemModule as ɵg, CatalogFilterItemComponent as ɵh, CacheField as ɵi, CatalogFilterContentGeneralComponent as ɵj, IconCacheService as ɵk, CatalogFilterContentPurchaseModule as ɵl, CatalogFilterContentPurchaseComponent as ɵm, CatalogFilterContentLogisticsModule as ɵn, CatalogFilterContentLogisticsComponent as ɵo, CatalogFilterComponent as ɵp, ResponsiveTextModule as ɵq, ResponsiveTextComponent as ɵr, CatalogCategoriesComponent as ɵs, CatalogExternalSourcesComponent as ɵt, CatalogNavigationComponent as ɵu, CatalogSearchHeaderComponent as ɵv, CatalogArticleTileComponent as ɵw, ArticleBaseComponent as ɵx, VisibilityObserverModule as ɵy, VisibilityObserverMasterDirective as ɵz };
6157
+ export { BusinessObjectCacheManagerService, CatalogArticleListModule, CatalogArticleTileModule, CatalogCategoriesModule, CatalogConnectorAdapterService, CatalogConnectorService, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule, CatalogFilterService, CatalogImageService, CatalogNavigationModule, CatalogNavigationService, CatalogOptionsService, CatalogSearchHeaderModule, CatalogSearchModule, CatalogSearchResultListModule, CatalogSearchResultTileModule, CatalogSearchService, CatalogService, CatalogSettingsService, CatalogStockComparisonListModule, CatalogStockComparisonService, CatalogStockComparisonTileModule, CatalogStockOverviewListModule, CatalogStockOverviewTileModule, CatalogStockService, CatalogStockTransferService, CatalogWarehouseTransfersListModule, CatalogWarehouseTransfersTileModule, SelectMultipleCacheService, SelectMultipleParameterizedCacheService, SelectSingleCacheService, SelectSingleParameterizedCacheService, StockView, Version, CatalogFilterCategoriesModule as ɵa, PipeModule as ɵb, VisibilityObserverDirective as ɵba, CatalogSearchResultTileComponent as ɵbb, CatalogSearchBaseComponent as ɵbc, CatalogArticleListComponent as ɵbd, CatalogSearchResultListComponent as ɵbe, CatalogStockOverviewTileComponent as ɵbf, CatalogStockOverviewListComponent as ɵbg, CatalogStockComparisonTileComponent as ɵbh, CatalogStockComparisonListComponent as ɵbi, CatalogWarehouseTransfersTileComponent as ɵbj, CatalogWarehouseTransfersListComponent as ɵbk, CatalogSearchComponent as ɵbl, CatalogExternalSourceComponent as ɵbm, LocalizePipe as ɵc, DictionaryService as ɵd, CatalogFilterCategoriesComponent as ɵe, CatalogFilterContentGeneralModule as ɵf, CatalogFilterItemModule as ɵg, CatalogFilterItemComponent as ɵh, CacheField as ɵi, CatalogFilterContentGeneralComponent as ɵj, IconCacheService as ɵk, CatalogFilterContentPurchaseModule as ɵl, CatalogFilterContentPurchaseComponent as ɵm, CatalogFilterContentLogisticsModule as ɵn, CatalogFilterContentLogisticsComponent as ɵo, CatalogFilterComponent as ɵp, ResponsiveTextModule as ɵq, ResponsiveTextComponent as ɵr, CatalogCategoriesComponent as ɵs, CatalogExternalSourcesComponent as ɵt, CatalogNavigationComponent as ɵu, CatalogSearchHeaderComponent as ɵv, CatalogArticleTileComponent as ɵw, ArticleBaseComponent as ɵx, VisibilityObserverModule as ɵy, VisibilityObserverMasterDirective as ɵz };
5983
6158
  //# sourceMappingURL=colijnit-catalog.js.map