@colijnit/catalog 255.1.2 → 255.1.4
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.
- package/bundles/colijnit-catalog.umd.js +124 -24
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +29 -15
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.js +178 -27
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +1 -1
- package/esm2015/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.component.js +1 -1
- package/esm2015/lib/service/catalog-connector-adapter.service.js +25 -5
- package/esm2015/lib/service/catalog-connector.service.js +13 -3
- package/esm2015/lib/service/catalog-stock-comparison.service.js +7 -1
- package/esm2015/lib/service/catalog-stock-transfer.service.js +7 -1
- package/esm2015/lib/service/catalog-stock.service.js +1 -2
- package/esm2015/lib/service/catalog.service.js +13 -1
- package/fesm2015/colijnit-catalog.js +267 -51
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-filter/catalog-filter.component.d.ts +10 -6
- package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.d.ts +9 -2
- package/lib/service/catalog-connector-adapter.service.d.ts +3 -1
- package/lib/service/catalog-connector.service.d.ts +3 -1
- package/lib/service/catalog-stock-comparison.service.d.ts +1 -0
- package/lib/service/catalog-stock-transfer.service.d.ts +1 -0
- package/lib/service/catalog-stock.service.d.ts +0 -2
- package/lib/service/catalog.service.d.ts +10 -1
- package/package.json +2 -2
|
@@ -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.
|
|
57
|
-
this.publishDate = "
|
|
56
|
+
this.symVer = "255.1.4";
|
|
57
|
+
this.publishDate = "23/08/2024, 12:48:49";
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -405,7 +405,6 @@ class CatalogConnectorAdapterService {
|
|
|
405
405
|
result.count = response.pagingParameters.resultCount;
|
|
406
406
|
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockSearchTileSelection, response.resultObjects);
|
|
407
407
|
return result;
|
|
408
|
-
// return <unknown>this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockSearchTileSelection, response.resultObjects) as ArticleStockSearchTileSelection[];
|
|
409
408
|
}
|
|
410
409
|
else {
|
|
411
410
|
console.error(response.validationMessagesAsString);
|
|
@@ -420,7 +419,17 @@ class CatalogConnectorAdapterService {
|
|
|
420
419
|
result.count = response.pagingParameters.resultCount;
|
|
421
420
|
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockSearchGridSelection, response.resultObjects);
|
|
422
421
|
return result;
|
|
423
|
-
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
console.error(response.validationMessagesAsString);
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
getArticleGridViewExcelFile(params, showLoader = true) {
|
|
429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
430
|
+
const response = yield this.connector.getArticleGridViewExcelFile(params, showLoader);
|
|
431
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
432
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray([], response.resultObjects);
|
|
424
433
|
}
|
|
425
434
|
else {
|
|
426
435
|
console.error(response.validationMessagesAsString);
|
|
@@ -455,6 +464,17 @@ class CatalogConnectorAdapterService {
|
|
|
455
464
|
}
|
|
456
465
|
});
|
|
457
466
|
}
|
|
467
|
+
getTransferArticleGridViewExcelFile(params, showLoader = true) {
|
|
468
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
469
|
+
const response = yield this.connector.getTransferArticleGridViewExcelFile(params, showLoader);
|
|
470
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
471
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray([], response.resultObjects);
|
|
472
|
+
}
|
|
473
|
+
else {
|
|
474
|
+
console.error(response.validationMessagesAsString);
|
|
475
|
+
}
|
|
476
|
+
});
|
|
477
|
+
}
|
|
458
478
|
getArticlesForStockComparisonSearchTile(params, showLoader = true) {
|
|
459
479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
460
480
|
const response = yield this.connector.searchComparisonArticlesForTileView(params, showLoader);
|
|
@@ -483,9 +503,9 @@ class CatalogConnectorAdapterService {
|
|
|
483
503
|
}
|
|
484
504
|
});
|
|
485
505
|
}
|
|
486
|
-
|
|
506
|
+
getComparisonArticleGridViewExcelFile(params, showLoader = true) {
|
|
487
507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
488
|
-
const response = yield this.connector.
|
|
508
|
+
const response = yield this.connector.getComparisonArticleGridViewExcelFile(params, showLoader);
|
|
489
509
|
if (response && response.validationResult && response.validationResult.success) {
|
|
490
510
|
return this._boFactory.makeBOArrayFromRawBackendDataArray([], response.resultObjects);
|
|
491
511
|
}
|
|
@@ -1354,6 +1374,11 @@ class CatalogConnectorService {
|
|
|
1354
1374
|
return this._adapterService.getArticlesForStockSearchGrid(params, showLoader);
|
|
1355
1375
|
});
|
|
1356
1376
|
}
|
|
1377
|
+
getArticleGridViewExcelFile(params, showLoader = true) {
|
|
1378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1379
|
+
return this._adapterService.getArticleGridViewExcelFile(params, showLoader);
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1357
1382
|
getArticlesForStockTransferSearchTile(params, showLoader = true) {
|
|
1358
1383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1359
1384
|
return this._adapterService.getArticlesForStockTransferSearchTile(params, showLoader);
|
|
@@ -1364,6 +1389,11 @@ class CatalogConnectorService {
|
|
|
1364
1389
|
return this._adapterService.getArticlesForStockTransferSearchGrid(params, showLoader);
|
|
1365
1390
|
});
|
|
1366
1391
|
}
|
|
1392
|
+
getTransferArticleGridViewExcelFile(params, showLoader = true) {
|
|
1393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1394
|
+
return this._adapterService.getTransferArticleGridViewExcelFile(params, showLoader);
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1367
1397
|
getArticlesForStockComparisonSearchTile(params, showLoader = true) {
|
|
1368
1398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1369
1399
|
return this._adapterService.getArticlesForStockComparisonSearchTile(params, showLoader);
|
|
@@ -1374,9 +1404,9 @@ class CatalogConnectorService {
|
|
|
1374
1404
|
return this._adapterService.getArticlesForStockComparisonSearchGrid(params, showLoader);
|
|
1375
1405
|
});
|
|
1376
1406
|
}
|
|
1377
|
-
|
|
1407
|
+
getComparisonArticleGridViewExcelFile(params, showLoader = true) {
|
|
1378
1408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1379
|
-
return this._adapterService.
|
|
1409
|
+
return this._adapterService.getComparisonArticleGridViewExcelFile(params, showLoader);
|
|
1380
1410
|
});
|
|
1381
1411
|
}
|
|
1382
1412
|
getCatalogDefinitions(showLoader = true) {
|
|
@@ -2058,6 +2088,8 @@ class CatalogService {
|
|
|
2058
2088
|
this.searchTextChanged = new Subject();
|
|
2059
2089
|
this.showPageChanged = new Subject();
|
|
2060
2090
|
this.onResetFilters = new Subject();
|
|
2091
|
+
this.activeStockViewSubject = new BehaviorSubject(undefined);
|
|
2092
|
+
this.activeStockView = this.activeStockViewSubject.asObservable();
|
|
2061
2093
|
this._currentPage = 1;
|
|
2062
2094
|
this._filterText = [];
|
|
2063
2095
|
this.minMillisBetweenArticleSearches = 400;
|
|
@@ -2182,6 +2214,9 @@ class CatalogService {
|
|
|
2182
2214
|
this.showCatOrTurnoverGroupArticles = false;
|
|
2183
2215
|
this.showExternalSource = false;
|
|
2184
2216
|
}
|
|
2217
|
+
setActiveStockView(value) {
|
|
2218
|
+
this.activeStockViewSubject.next(value);
|
|
2219
|
+
}
|
|
2185
2220
|
}
|
|
2186
2221
|
CatalogService.decorators = [
|
|
2187
2222
|
{ type: Injectable }
|
|
@@ -2194,7 +2229,14 @@ CatalogService.ctorParameters = () => [
|
|
|
2194
2229
|
{ type: CatalogImageService },
|
|
2195
2230
|
{ type: CatalogFilterService },
|
|
2196
2231
|
{ type: CatalogSearchService }
|
|
2197
|
-
];
|
|
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 = {}));
|
|
2198
2240
|
|
|
2199
2241
|
class CatalogCategoriesComponent {
|
|
2200
2242
|
constructor(_catalogService, _adapterService) {
|
|
@@ -2391,13 +2433,14 @@ IconCacheService.ctorParameters = () => [
|
|
|
2391
2433
|
];
|
|
2392
2434
|
|
|
2393
2435
|
class CatalogFilterComponent {
|
|
2394
|
-
constructor(iconCache, _settingsService, changeDetector, _catalogConnectorService, _adapterService
|
|
2436
|
+
constructor(iconCache, catalogService, searchService, _settingsService, changeDetector, _catalogConnectorService, _adapterService) {
|
|
2395
2437
|
this.iconCache = iconCache;
|
|
2438
|
+
this.catalogService = catalogService;
|
|
2439
|
+
this.searchService = searchService;
|
|
2396
2440
|
this._settingsService = _settingsService;
|
|
2397
2441
|
this.changeDetector = changeDetector;
|
|
2398
2442
|
this._catalogConnectorService = _catalogConnectorService;
|
|
2399
2443
|
this._adapterService = _adapterService;
|
|
2400
|
-
this.searchService = searchService;
|
|
2401
2444
|
this.icons = IconEnum;
|
|
2402
2445
|
this.updatePreset = false;
|
|
2403
2446
|
this.showResetFilter = true;
|
|
@@ -2412,6 +2455,9 @@ class CatalogFilterComponent {
|
|
|
2412
2455
|
if (initialized) {
|
|
2413
2456
|
this.getUserGroups();
|
|
2414
2457
|
}
|
|
2458
|
+
}), this.catalogService.activeStockView.subscribe(value => {
|
|
2459
|
+
this.activeStockView = value;
|
|
2460
|
+
this._showActiveCategory();
|
|
2415
2461
|
}));
|
|
2416
2462
|
}
|
|
2417
2463
|
showClass() {
|
|
@@ -2428,11 +2474,6 @@ class CatalogFilterComponent {
|
|
|
2428
2474
|
x.unsubscribe();
|
|
2429
2475
|
});
|
|
2430
2476
|
}
|
|
2431
|
-
getUserGroups() {
|
|
2432
|
-
this._catalogConnectorService.getUserGroups().then((userGroups) => {
|
|
2433
|
-
this.userGroupCollection = userGroups;
|
|
2434
|
-
});
|
|
2435
|
-
}
|
|
2436
2477
|
handleCategoryClick(cat) {
|
|
2437
2478
|
if (cat === 'Algemeen') {
|
|
2438
2479
|
this.filterItems.nativeElement.scrollLeft = this.generalFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
|
|
@@ -2444,6 +2485,16 @@ class CatalogFilterComponent {
|
|
|
2444
2485
|
this.filterItems.nativeElement.scrollLeft = this.logisticsFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
|
|
2445
2486
|
}
|
|
2446
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
|
+
}
|
|
2447
2498
|
detectChanges() {
|
|
2448
2499
|
if (!this._destroyed) {
|
|
2449
2500
|
this.changeDetector.detectChanges();
|
|
@@ -2463,9 +2514,12 @@ CatalogFilterComponent.decorators = [
|
|
|
2463
2514
|
</co-button>
|
|
2464
2515
|
</div>-->
|
|
2465
2516
|
<div class="catalog-filter-categories">
|
|
2466
|
-
<co-catalog-filter-categories
|
|
2467
|
-
|
|
2517
|
+
<co-catalog-filter-categories
|
|
2518
|
+
[categories]="filterCategories"
|
|
2519
|
+
(categoryClick)="handleCategoryClick($event)">
|
|
2520
|
+
</co-catalog-filter-categories>
|
|
2468
2521
|
</div>
|
|
2522
|
+
|
|
2469
2523
|
<div #filterItems class="catalog-category-filter-wrapper" data-ride="carousel">
|
|
2470
2524
|
<div #generalFilter class="catalog-filter-category-content">
|
|
2471
2525
|
<co-catalog-filter-content-general></co-catalog-filter-content-general>
|
|
@@ -2476,8 +2530,8 @@ CatalogFilterComponent.decorators = [
|
|
|
2476
2530
|
<div #logisticsFilter class="catalog-filter-category-content">
|
|
2477
2531
|
<co-catalog-filter-content-logistics></co-catalog-filter-content-logistics>
|
|
2478
2532
|
</div>
|
|
2479
|
-
</div>
|
|
2480
|
-
|
|
2533
|
+
</div>
|
|
2534
|
+
|
|
2481
2535
|
<!--<co-dialog *ngIf="showSavePopup" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate" (closeClick)="cancelClicked()">
|
|
2482
2536
|
<ng-template #headerTemplate>
|
|
2483
2537
|
<span class="header" [textContent]="'SAVE_PRESET' | localize"></span>
|
|
@@ -2512,7 +2566,7 @@ CatalogFilterComponent.decorators = [
|
|
|
2512
2566
|
</ng-container>
|
|
2513
2567
|
</div>
|
|
2514
2568
|
</ng-template>
|
|
2515
|
-
</co-dialog> -->
|
|
2569
|
+
</co-dialog> -->
|
|
2516
2570
|
`,
|
|
2517
2571
|
animations: [
|
|
2518
2572
|
trigger('showFilterItem', [
|
|
@@ -2526,11 +2580,12 @@ CatalogFilterComponent.decorators = [
|
|
|
2526
2580
|
];
|
|
2527
2581
|
CatalogFilterComponent.ctorParameters = () => [
|
|
2528
2582
|
{ type: IconCacheService },
|
|
2583
|
+
{ type: CatalogService },
|
|
2584
|
+
{ type: CatalogSearchService },
|
|
2529
2585
|
{ type: CatalogSettingsService },
|
|
2530
2586
|
{ type: ChangeDetectorRef },
|
|
2531
2587
|
{ type: CatalogConnectorService },
|
|
2532
|
-
{ type: CatalogConnectorAdapterService }
|
|
2533
|
-
{ type: CatalogSearchService }
|
|
2588
|
+
{ type: CatalogConnectorAdapterService }
|
|
2534
2589
|
];
|
|
2535
2590
|
CatalogFilterComponent.propDecorators = {
|
|
2536
2591
|
filterItems: [{ type: ViewChild, args: ['filterItems', { read: ElementRef },] }],
|
|
@@ -3220,54 +3275,204 @@ CatalogFilterContentPurchaseModule.decorators = [
|
|
|
3220
3275
|
];
|
|
3221
3276
|
|
|
3222
3277
|
class CatalogFilterContentLogisticsComponent {
|
|
3223
|
-
constructor(catalogSearchService, iconCache) {
|
|
3278
|
+
constructor(catalogSearchService, iconCache, catalogService) {
|
|
3224
3279
|
this.catalogSearchService = catalogSearchService;
|
|
3225
3280
|
this.iconCache = iconCache;
|
|
3281
|
+
this.catalogService = catalogService;
|
|
3226
3282
|
this.modes = FilterItemMode$1;
|
|
3227
3283
|
this.icons = IconEnum;
|
|
3284
|
+
this.StockView = StockView;
|
|
3285
|
+
this._subs = [];
|
|
3228
3286
|
}
|
|
3229
3287
|
showClass() {
|
|
3230
3288
|
return true;
|
|
3231
3289
|
}
|
|
3232
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
|
+
});
|
|
3233
3299
|
}
|
|
3234
3300
|
}
|
|
3235
3301
|
CatalogFilterContentLogisticsComponent.decorators = [
|
|
3236
3302
|
{ type: Component, args: [{
|
|
3237
3303
|
selector: 'co-catalog-filter-content-logistics',
|
|
3238
3304
|
template: `
|
|
3239
|
-
|
|
3305
|
+
<div class="catalog-filter-content-logistics-wrapper catalog-filter-content-wrapper">
|
|
3240
3306
|
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
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>
|
|
3255
3467
|
</div>
|
|
3256
|
-
|
|
3257
|
-
<co-catalog-filter-item [placeholder]="'MUTATION_DATE'"
|
|
3258
|
-
[mode]="modes.DateField"
|
|
3259
|
-
[(model)]="catalogSearchService.searchRequest.dateModified">
|
|
3260
|
-
</co-catalog-filter-item>
|
|
3261
|
-
</div>
|
|
3262
|
-
</div>
|
|
3263
|
-
</div>
|
|
3264
|
-
</div>
|
|
3468
|
+
</div>
|
|
3265
3469
|
`
|
|
3266
3470
|
},] }
|
|
3267
3471
|
];
|
|
3268
3472
|
CatalogFilterContentLogisticsComponent.ctorParameters = () => [
|
|
3269
3473
|
{ type: CatalogSearchService },
|
|
3270
|
-
{ type: IconCacheService }
|
|
3474
|
+
{ type: IconCacheService },
|
|
3475
|
+
{ type: CatalogService }
|
|
3271
3476
|
];
|
|
3272
3477
|
CatalogFilterContentLogisticsComponent.propDecorators = {
|
|
3273
3478
|
showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }],
|
|
@@ -3741,7 +3946,6 @@ class CatalogStockService {
|
|
|
3741
3946
|
this.articlesPerPage = 20;
|
|
3742
3947
|
this.tileArticles = [];
|
|
3743
3948
|
this.gridArticles = [];
|
|
3744
|
-
this.transferTileArticles = [];
|
|
3745
3949
|
this._currentPage = 1;
|
|
3746
3950
|
this._subs = [];
|
|
3747
3951
|
this._subs.push(this._optionService.parametersSet.subscribe((isSet) => {
|
|
@@ -3878,6 +4082,12 @@ class CatalogStockTransferService {
|
|
|
3878
4082
|
this._filterService.getFilters(this.searchRequest);
|
|
3879
4083
|
});
|
|
3880
4084
|
}
|
|
4085
|
+
getArticleGridViewExcelFile() {
|
|
4086
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
|
|
4087
|
+
this._catalogConnectorService.getTransferArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
|
|
4088
|
+
console.log('export: ', result);
|
|
4089
|
+
});
|
|
4090
|
+
}
|
|
3881
4091
|
}
|
|
3882
4092
|
CatalogStockTransferService.decorators = [
|
|
3883
4093
|
{ type: Injectable }
|
|
@@ -4031,6 +4241,12 @@ class CatalogStockComparisonService {
|
|
|
4031
4241
|
this._filterService.getFilters(this.searchRequest);
|
|
4032
4242
|
});
|
|
4033
4243
|
}
|
|
4244
|
+
getArticleGridViewExcelFile() {
|
|
4245
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
|
|
4246
|
+
this._catalogConnectorService.getComparisonArticleGridViewExcelFile(this.stockSearchRequest).then((result) => {
|
|
4247
|
+
console.log('export: ', result);
|
|
4248
|
+
});
|
|
4249
|
+
}
|
|
4034
4250
|
}
|
|
4035
4251
|
CatalogStockComparisonService.decorators = [
|
|
4036
4252
|
{ type: Injectable }
|
|
@@ -5938,5 +6154,5 @@ CatalogExternalSourceModule.decorators = [
|
|
|
5938
6154
|
* Generated bundle index. Do not edit.
|
|
5939
6155
|
*/
|
|
5940
6156
|
|
|
5941
|
-
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 };
|
|
5942
6158
|
//# sourceMappingURL=colijnit-catalog.js.map
|