@colijnit/catalog 12.1.30 → 12.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/bundles/colijnit-catalog.umd.js +814 -147
  2. package/bundles/colijnit-catalog.umd.js.map +1 -1
  3. package/colijnit-catalog.d.ts +42 -33
  4. package/colijnit-catalog.metadata.json +1 -1
  5. package/esm2015/colijnit-catalog.js +43 -34
  6. package/esm2015/lib/catalog-version.js +3 -3
  7. package/esm2015/lib/component/catalog-article-list/catalog-article-list.module.js +4 -2
  8. package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.module.js +4 -2
  9. package/esm2015/lib/component/catalog-categories/catalog-categories.module.js +4 -2
  10. package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +44 -112
  11. package/esm2015/lib/component/catalog-filter/catalog-filter.module.js +16 -8
  12. package/esm2015/lib/component/catalog-filter-categories/catalog-filter-categories.component.js +42 -0
  13. package/esm2015/lib/component/catalog-filter-categories/catalog-filter-categories.module.js +21 -0
  14. package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.js +375 -0
  15. package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.js +26 -0
  16. package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.js +175 -0
  17. package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.module.js +28 -0
  18. package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.js +102 -0
  19. package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.module.js +27 -0
  20. package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.module.js +4 -2
  21. package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.js +4 -2
  22. package/esm2015/lib/model/catalog-filter-viewmodel.js +4 -0
  23. package/esm2015/lib/pipe/pipe.module.js +19 -0
  24. package/esm2015/lib/service/catalog-connector-adapter.service.js +91 -2
  25. package/esm2015/lib/service/catalog-connector.service.js +37 -2
  26. package/esm2015/lib/service/catalog-filter.service.js +33 -3
  27. package/esm2015/lib/service/catalog-search.service.js +51 -18
  28. package/fesm2015/colijnit-catalog.js +1048 -167
  29. package/fesm2015/colijnit-catalog.js.map +1 -1
  30. package/lib/component/catalog-filter/catalog-filter.component.d.ts +8 -23
  31. package/lib/component/catalog-filter/style/_layout.scss +13 -0
  32. package/lib/component/catalog-filter/style/material.scss +4 -0
  33. package/lib/component/catalog-filter-categories/catalog-filter-categories.component.d.ts +10 -0
  34. package/lib/component/catalog-filter-categories/catalog-filter-categories.module.d.ts +2 -0
  35. package/lib/component/catalog-filter-categories/style/_layout.scss +23 -0
  36. package/lib/component/catalog-filter-categories/style/_material-definition.scss +22 -0
  37. package/lib/component/catalog-filter-categories/style/_theme.scss +12 -0
  38. package/lib/component/catalog-filter-categories/style/material.scss +4 -0
  39. package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.d.ts +47 -0
  40. package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.d.ts +2 -0
  41. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/_layout.scss +2 -0
  42. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/_material-definition.scss +1 -0
  43. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/_theme.scss +4 -0
  44. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/material.scss +4 -0
  45. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.d.ts +16 -0
  46. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.module.d.ts +2 -0
  47. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/_layout.scss +2 -0
  48. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/_material-definition.scss +1 -0
  49. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/_theme.scss +4 -0
  50. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/material.scss +4 -0
  51. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.d.ts +24 -0
  52. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.module.d.ts +2 -0
  53. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/_layout.scss +2 -0
  54. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/_material-definition.scss +1 -0
  55. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/_theme.scss +4 -0
  56. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/material.scss +4 -0
  57. package/lib/model/catalog-filter-viewmodel.d.ts +4 -0
  58. package/lib/pipe/pipe.module.d.ts +2 -0
  59. package/lib/service/catalog-connector-adapter.service.d.ts +18 -0
  60. package/lib/service/catalog-connector.service.d.ts +14 -0
  61. package/lib/service/catalog-filter.service.d.ts +15 -3
  62. package/lib/service/catalog-search.service.d.ts +6 -2
  63. package/package.json +6 -18
  64. package/esm2015/lib/model/filter-item.viewmodel.js +0 -10
  65. package/esm2015/lib/model/filter-viewmodel.js +0 -12
  66. package/lib/model/filter-item.viewmodel.d.ts +0 -9
  67. package/lib/model/filter-viewmodel.d.ts +0 -8
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, EventEmitter, Component, ViewEncapsulation, Input, Output, HostBinding, ChangeDetectorRef, ViewChild, Pipe, NgModule, Directive, HostListener, ElementRef, Renderer2 } from '@angular/core';
2
+ import { Injectable, EventEmitter, Component, ViewEncapsulation, Input, Output, HostBinding, ChangeDetectorRef, ViewChild, ElementRef, Pipe, NgModule, Directive, HostListener, Renderer2 } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import { __awaiter } from 'tslib';
5
5
  import { Subject, BehaviorSubject } from 'rxjs';
@@ -7,30 +7,39 @@ import { StringUtils } from '@colijnit/ioneconnector/build/utils/string-utils';
7
7
  import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
8
8
  import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
9
9
  import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
10
- import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/factory/business-object-factory';
11
10
  import { Articles } from '@colijnit/articleapi/build/articles';
12
11
  import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
13
12
  import { ArticleSearchFilterSelections } from '@colijnit/articleapi/build/model/article-search-filter-selections';
14
13
  import { ArticleSearchFilterMaxAndMinPrice } from '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price';
15
14
  import { ArticlePrice } from '@colijnit/articleapi/build/model/article-price';
16
15
  import { GetArticlePriceRequest } from '@colijnit/articleapi/build/model/get-article-price-request';
16
+ import { RelationApi } from '@colijnit/relationapi';
17
+ import { MainApi } from '@colijnit/mainapi';
18
+ import { StoreGroup } from '@colijnit/mainapi/build/model/store-group.bo';
19
+ import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
20
+ import { RelationRequest } from '@colijnit/relationapi/build/model/relation-request';
21
+ import { RelationKind } from '@colijnit/relationapi/build/enum/relation-kind.enum';
22
+ import { CoRVDomainValue } from '@colijnit/mainapi/build/model/co-rv-domain-value.bo';
23
+ import { Category } from '@colijnit/mainapi/build/model/category.bo';
24
+ import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/service/business-object-factory';
17
25
  import { ObjectUtils } from '@colijnit/ioneconnector/build/utils/object-utils';
18
26
  import { FileUtils } from '@colijnit/ioneconnector/build/utils/file-utils';
27
+ import { FilterViewmodel, FilterItemViewmodel, FilterItemModule, InputTextModule, ButtonModule, IconModule, InputDatePickerModule, IconCollapseHandleModule, ImageModule, OverlayModule, InputSearchModule, PaginationBarModule } from '@colijnit/corecomponents_v12';
19
28
  import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
20
29
  import { PagingParameters } from '@colijnit/ioneconnector/build/model/paging-parameters';
21
- import { InputTextModule, FilterItemModule, InputDatePickerModule, IconCollapseHandleModule, ImageModule, IconModule as IconModule$1, OverlayModule, InputSearchModule, PaginationBarModule } from '@colijnit/corecomponents_v12';
22
30
  import { trigger, state, style, transition, animate } from '@angular/animations';
23
- import { SliderComponent, IconModule, PriceDisplayPipeModule, ButtonModule, ImageModule as ImageModule$1 } from '@colijnit/corecomponents';
24
31
  import * as i1 from '@angular/platform-browser';
25
32
  import { DomSanitizer } from '@angular/platform-browser';
33
+ import { SliderComponent, InputCheckboxModule, IconModule as IconModule$1, PriceDisplayPipeModule, ButtonModule as ButtonModule$1, ImageModule as ImageModule$1 } from '@colijnit/corecomponents';
34
+ import { DomainName } from '@colijnit/mainapi/build/enum/domain-name.enum';
26
35
 
27
36
  // this file is dynamically created, do not change this
28
37
  class Version {
29
38
  constructor() {
30
39
  this.name = "@colijnit/catalog";
31
40
  this.description = "iOne Catalog module based on Angular 12";
32
- this.symVer = "12.1.30";
33
- this.publishDate = "29-4-2023 10:53:53";
41
+ this.symVer = "12.1.32";
42
+ this.publishDate = "23-6-2023 17:07:37";
34
43
  }
35
44
  }
36
45
 
@@ -318,6 +327,8 @@ class CatalogConnectorAdapterService {
318
327
  this.assetPath = settings.assetPath;
319
328
  this.connector = new Articles(this.connectorOptions);
320
329
  this.connectorOptions.session = this.connector.session;
330
+ this.relationConnector = new RelationApi(this.connectorOptions);
331
+ this.mainConnector = new MainApi(this.connectorOptions);
321
332
  this.connector.showLoader.subscribe(showLoader => this.onShowLoaderChange(showLoader));
322
333
  this.controllerInitialized.next(true);
323
334
  this._initialized = true;
@@ -496,6 +507,85 @@ class CatalogConnectorAdapterService {
496
507
  }
497
508
  });
498
509
  }
510
+ getBrandFilter(params) {
511
+ return __awaiter(this, void 0, void 0, function* () {
512
+ const response = yield this.connector.getTurnoverGroupFilter(params);
513
+ if (response && response.validationResult && response.validationResult.success) {
514
+ return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
515
+ }
516
+ else {
517
+ console.error(response.validationMessagesAsString);
518
+ }
519
+ });
520
+ }
521
+ getStoreGroups(settings) {
522
+ return __awaiter(this, void 0, void 0, function* () {
523
+ const response = yield this.mainConnector.getStoreGroups();
524
+ if (response && response.validationResult && response.validationResult.success) {
525
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(StoreGroup, response.resultObjects);
526
+ }
527
+ else {
528
+ console.error(response.validationMessagesAsString);
529
+ }
530
+ });
531
+ }
532
+ getCategories(settings) {
533
+ return __awaiter(this, void 0, void 0, function* () {
534
+ const response = yield this.mainConnector.getCategories();
535
+ if (response && response.validationResult && response.validationResult.success) {
536
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(Category, response.resultObjects);
537
+ }
538
+ else {
539
+ console.error(response.validationMessagesAsString);
540
+ }
541
+ });
542
+ }
543
+ getDomainCollection(domainName) {
544
+ return __awaiter(this, void 0, void 0, function* () {
545
+ const response = yield this.mainConnector.getDomainCollection(this.connectorOptions.languageCode, domainName);
546
+ if (response && response.validationResult && response.validationResult.success) {
547
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(CoDomainValue, response.resultObjects);
548
+ }
549
+ else {
550
+ console.error(response.validationMessagesAsString);
551
+ }
552
+ });
553
+ }
554
+ getRVDomainCollection(domainName) {
555
+ return __awaiter(this, void 0, void 0, function* () {
556
+ const response = yield this.mainConnector.getRVDomainCollection(this.connectorOptions.languageCode, domainName);
557
+ if (response && response.validationResult && response.validationResult.success) {
558
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(CoRVDomainValue, response.resultObjects);
559
+ }
560
+ else {
561
+ console.error(response.validationMessagesAsString);
562
+ }
563
+ });
564
+ }
565
+ getPriceLists() {
566
+ return __awaiter(this, void 0, void 0, function* () {
567
+ const response = yield this.mainConnector.getPriceLists();
568
+ if (response && response.validationResult && response.validationResult.success) {
569
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(CoDomainValue, response.resultObjects);
570
+ }
571
+ else {
572
+ console.error(response.validationMessagesAsString);
573
+ }
574
+ });
575
+ }
576
+ getSuppliers() {
577
+ return __awaiter(this, void 0, void 0, function* () {
578
+ let request = new RelationRequest;
579
+ request.relationType = RelationKind.Supplier;
580
+ const response = yield this.relationConnector.getRelationListObjects(request);
581
+ if (response && response.validationResult && response.validationResult.success) {
582
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(CoDomainValue, response.resultObjects);
583
+ }
584
+ else {
585
+ console.error(response.validationMessagesAsString);
586
+ }
587
+ });
588
+ }
499
589
  // will be called in future
500
590
  // public getArticleGroupImages(): Promise<ArticleGroupImage[]> {
501
591
  // return this.connector.getArticleGroupImages();
@@ -1105,11 +1195,46 @@ class CatalogConnectorService {
1105
1195
  return this._adapterService.getTurnoverGroupFilter(params);
1106
1196
  });
1107
1197
  }
1198
+ getBrandFilter(params) {
1199
+ return __awaiter(this, void 0, void 0, function* () {
1200
+ return this._adapterService.getTurnoverGroupFilter(params);
1201
+ });
1202
+ }
1108
1203
  getArticlePrice(goodId, type) {
1109
1204
  return __awaiter(this, void 0, void 0, function* () {
1110
1205
  return this._adapterService.getArticlePrice(goodId, type);
1111
1206
  });
1112
1207
  }
1208
+ getStoreGroups() {
1209
+ return __awaiter(this, void 0, void 0, function* () {
1210
+ return this._adapterService.getStoreGroups();
1211
+ });
1212
+ }
1213
+ getCategories() {
1214
+ return __awaiter(this, void 0, void 0, function* () {
1215
+ return this._adapterService.getCategories();
1216
+ });
1217
+ }
1218
+ getDomainCollection(domainName) {
1219
+ return __awaiter(this, void 0, void 0, function* () {
1220
+ return this._adapterService.getDomainCollection(domainName);
1221
+ });
1222
+ }
1223
+ getRVDomainCollection(domainName) {
1224
+ return __awaiter(this, void 0, void 0, function* () {
1225
+ return this._adapterService.getRVDomainCollection(domainName);
1226
+ });
1227
+ }
1228
+ getPriceLists() {
1229
+ return __awaiter(this, void 0, void 0, function* () {
1230
+ return this._adapterService.getPriceLists();
1231
+ });
1232
+ }
1233
+ getSuppliers() {
1234
+ return __awaiter(this, void 0, void 0, function* () {
1235
+ return this._adapterService.getSuppliers();
1236
+ });
1237
+ }
1113
1238
  getDocumentContent(docId, thumbnail = true) {
1114
1239
  return __awaiter(this, void 0, void 0, function* () {
1115
1240
  return this._selectSingleParameterizedCacheService.requestCache(String, (docId, thumbnail) => {
@@ -1339,25 +1464,7 @@ CatalogImageService.ctorParameters = () => [
1339
1464
  { type: CatalogConnectorService }
1340
1465
  ];
1341
1466
 
1342
- class FilterItemViewmodel {
1343
- constructor(code, description, count, filter) {
1344
- this.checked = false;
1345
- this.code = code;
1346
- this.description = description;
1347
- this.count = count;
1348
- this.filter = filter;
1349
- }
1350
- }
1351
-
1352
- class FilterViewmodel {
1353
- constructor(filter) {
1354
- this.expanded = false;
1355
- this.filterItems = [];
1356
- this.filterName = filter.filterName;
1357
- filter.selectionDTOS.forEach((s) => {
1358
- this.filterItems.push(new FilterItemViewmodel(s.code, s.description, s.count, filter));
1359
- });
1360
- }
1467
+ class CatalogFilterViewmodel extends FilterViewmodel {
1361
1468
  }
1362
1469
 
1363
1470
  class CatalogFilterService {
@@ -1365,6 +1472,14 @@ class CatalogFilterService {
1365
1472
  this._iOneController = _iOneController;
1366
1473
  this.priceMinFilter = 0;
1367
1474
  this.priceMaxFilter = 100000;
1475
+ this.lengthMinFilter = 0;
1476
+ this.lengthMaxFilter = 100000;
1477
+ this.widthMinFilter = 0;
1478
+ this.widthMaxFilter = 100000;
1479
+ this.heightMinFilter = 0;
1480
+ this.heightMaxFilter = 100000;
1481
+ this.depthMinFilter = 0;
1482
+ this.depthMaxFilter = 100000;
1368
1483
  this.filters = [];
1369
1484
  this.filterItemMap = new Map([
1370
1485
  ['Catalog', 'rangeCatalog'],
@@ -1426,6 +1541,10 @@ class CatalogFilterService {
1426
1541
  if (filter.selectionDTOS && filter.selectionDTOS.length > 0) {
1427
1542
  newFilters.push(this.createNewFiltersAndCopySelections(filter, 'Turnover group'));
1428
1543
  }
1544
+ }), this._iOneController.getBrandFilter(filters).then((filter) => {
1545
+ if (filter.selectionDTOS && filter.selectionDTOS.length > 0) {
1546
+ newFilters.push(this.createNewFiltersAndCopySelections(filter, 'Brands'));
1547
+ }
1429
1548
  }));
1430
1549
  Promise.all(filterProms).then(() => {
1431
1550
  this.filters.length = 0;
@@ -1433,7 +1552,8 @@ class CatalogFilterService {
1433
1552
  });
1434
1553
  }
1435
1554
  createNewFiltersAndCopySelections(filter, key) {
1436
- let newModel = new FilterViewmodel(filter);
1555
+ let newModel = new CatalogFilterViewmodel(filter.selectionDTOS, { text: 'description', value: 'code' });
1556
+ newModel.filterName = filter.filterName;
1437
1557
  let oldModel = this.filters.find(element => element.filterName === key);
1438
1558
  if (oldModel) {
1439
1559
  for (const oldFilter of oldModel.filterItems) {
@@ -1448,6 +1568,22 @@ class CatalogFilterService {
1448
1568
  getFilterItemMap(key) {
1449
1569
  return this.filterItemMap.get(key);
1450
1570
  }
1571
+ createFilterSelectionsCollection(collection, id, description) {
1572
+ let returnCollection = [];
1573
+ collection.forEach((collectionObject) => {
1574
+ let model = new FilterItemViewmodel(collectionObject[id], collectionObject[description], false);
1575
+ returnCollection.push(model);
1576
+ });
1577
+ return returnCollection;
1578
+ }
1579
+ createFilterSelectionsSupplierCollection(collection) {
1580
+ let returnCollection = [];
1581
+ collection.forEach((collectionObject) => {
1582
+ let model = new FilterItemViewmodel(collectionObject.relationNr, collectionObject.displayName, false);
1583
+ returnCollection.push(model);
1584
+ });
1585
+ return returnCollection;
1586
+ }
1451
1587
  }
1452
1588
  CatalogFilterService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogFilterService_Factory() { return new CatalogFilterService(i0.ɵɵinject(CatalogConnectorService)); }, token: CatalogFilterService, providedIn: "root" });
1453
1589
  CatalogFilterService.decorators = [
@@ -1519,27 +1655,60 @@ class CatalogSearchService {
1519
1655
  ngOnDestroy() {
1520
1656
  this._subs.forEach(s => s.unsubscribe());
1521
1657
  }
1522
- filterOnCollection(collection) {
1658
+ filterOnCollection(filterName, collection) {
1523
1659
  if (!collection || collection.length === 0) {
1524
1660
  return;
1525
1661
  }
1526
- let cleared = false;
1527
- let filterRange = [];
1528
- const searchFilterProp = this._filterService.getFilterItemMap(collection[0].filter.filterName);
1662
+ const searchFilterProp = this._filterService.getFilterItemMap(filterName);
1529
1663
  if (searchFilterProp) {
1530
- collection.forEach((viewModel) => {
1531
- if (!cleared) {
1532
- this.searchRequest[searchFilterProp] = '';
1533
- cleared = true;
1534
- }
1535
- if (viewModel.checked) {
1536
- filterRange.push(`?='${viewModel.code}'`);
1537
- }
1538
- });
1539
- this.searchRequest[searchFilterProp] = filterRange.join(',');
1664
+ this.searchRequest[searchFilterProp] = this.createFilterString(collection, searchFilterProp);
1540
1665
  this.searchArticles();
1541
1666
  }
1542
1667
  }
1668
+ createFilterString(collection, searchFilterProp) {
1669
+ let cleared = false;
1670
+ let filterRange = [];
1671
+ collection.forEach((viewModel) => {
1672
+ if (!cleared) {
1673
+ this.searchRequest[searchFilterProp] = '';
1674
+ cleared = true;
1675
+ }
1676
+ if (viewModel.checked) {
1677
+ filterRange.push(`?='${viewModel.code}'`);
1678
+ }
1679
+ });
1680
+ return filterRange.join(',');
1681
+ }
1682
+ createFilterStringCollection(collection) {
1683
+ let filterRange = [];
1684
+ collection.forEach((viewModel) => {
1685
+ if (viewModel.checked) {
1686
+ filterRange.push(viewModel.code.toString());
1687
+ }
1688
+ });
1689
+ return filterRange;
1690
+ }
1691
+ createSingleSelectString(collection) {
1692
+ let filterString = "";
1693
+ collection.forEach((viewModel) => {
1694
+ if (viewModel.checked) {
1695
+ filterString = viewModel.code.toString();
1696
+ }
1697
+ });
1698
+ return filterString;
1699
+ }
1700
+ createFilterNumber(collection) {
1701
+ let filterNumber = null;
1702
+ collection.forEach((viewModel) => {
1703
+ if (viewModel.checked) {
1704
+ if (filterNumber == null) {
1705
+ filterNumber = 0;
1706
+ }
1707
+ filterNumber += Number(viewModel.code);
1708
+ }
1709
+ });
1710
+ return filterNumber;
1711
+ }
1543
1712
  searchArticles(getFilters = true) {
1544
1713
  const lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
1545
1714
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
@@ -1547,9 +1716,9 @@ class CatalogSearchService {
1547
1716
  var _a, _b;
1548
1717
  this.articles = (_a = result.articles) !== null && _a !== void 0 ? _a : [];
1549
1718
  this.resultCount = (_b = result.count) !== null && _b !== void 0 ? _b : undefined;
1550
- if (this._settingsService.settings.options.showFilter && getFilters) {
1551
- this._filterService.getFilters(this.searchRequest);
1552
- }
1719
+ //if (this._settingsService.settings.options.showFilter && getFilters) {
1720
+ this._filterService.getFilters(this.searchRequest);
1721
+ //}
1553
1722
  });
1554
1723
  }
1555
1724
  resetFilters(search = true) {
@@ -1941,18 +2110,19 @@ IconCacheService.ctorParameters = () => [
1941
2110
  ];
1942
2111
 
1943
2112
  class CatalogFilterComponent {
1944
- constructor(catalogSearchService, filterService, iconCache, optionsService, changeDetector) {
1945
- this.catalogSearchService = catalogSearchService;
1946
- this.filterService = filterService;
2113
+ constructor(iconCache, optionsService, changeDetector) {
1947
2114
  this.iconCache = iconCache;
1948
2115
  this.optionsService = optionsService;
1949
2116
  this.changeDetector = changeDetector;
1950
2117
  this.icons = IconEnum;
1951
2118
  this.showResetFilter = true;
2119
+ this.filterCategories = [
2120
+ 'Algemeen',
2121
+ 'Inkoop',
2122
+ 'Logistiek'
2123
+ ];
1952
2124
  this.collapsed = false;
1953
2125
  this._subs = [];
1954
- this._min = 0;
1955
- this._max = 100000;
1956
2126
  // this._subs = [
1957
2127
  // this.catalog.onPrepareFilters.subscribe(() => {
1958
2128
  // this.setupFilters();
@@ -1969,59 +2139,26 @@ class CatalogFilterComponent {
1969
2139
  if (window.innerWidth <= 950) {
1970
2140
  this.collapsed = true;
1971
2141
  }
1972
- this.initializePriceFilterMinMax();
2142
+ //this.initializePriceFilterMinMax();
1973
2143
  this.detectChanges();
1974
2144
  }
2145
+ handleCategoryClick(cat) {
2146
+ if (cat === 'Algemeen') {
2147
+ this.filterItems.nativeElement.scrollLeft = this.generalFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
2148
+ }
2149
+ else if (cat === 'Inkoop') {
2150
+ this.filterItems.nativeElement.scrollLeft = this.purchaseFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
2151
+ }
2152
+ else {
2153
+ this.filterItems.nativeElement.scrollLeft = this.logisticsFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
2154
+ }
2155
+ }
1975
2156
  ngOnDestroy() {
1976
2157
  this._destroyed = true;
1977
2158
  this._subs.forEach((x) => {
1978
2159
  x.unsubscribe();
1979
2160
  });
1980
2161
  }
1981
- initializePriceFilterMinMax() {
1982
- this._min = this.filterService.priceMinFilter;
1983
- this._max = this.filterService.priceMaxFilter;
1984
- }
1985
- resetFilters(event) {
1986
- this.catalogSearchService.resetFilters();
1987
- }
1988
- onHandleClick(event) {
1989
- this.collapsed = !this.collapsed;
1990
- }
1991
- updatePriceInputs(range) {
1992
- this.filterService.priceMinFilter = range.lowerBound;
1993
- this.filterService.priceMaxFilter = range.upperBound;
1994
- }
1995
- updateSliderRange() {
1996
- if (this.priceSlider) {
1997
- this.priceSlider.setLowerBound(this.filterService.priceMinFilter, false);
1998
- this.priceSlider.setUpperBound(this.filterService.priceMaxFilter, false);
1999
- }
2000
- }
2001
- updatePriceFrom() {
2002
- this.updateSliderRange();
2003
- }
2004
- updatePriceTo() {
2005
- this.updateSliderRange();
2006
- }
2007
- setPriceMinToDefault() {
2008
- this.filterService.priceMinFilter = this._min;
2009
- }
2010
- setPriceMaxToDefault() {
2011
- this.filterService.priceMaxFilter = this._max;
2012
- }
2013
- filterOnPrice() {
2014
- this.filterService.priceMinFilter = !!this.filterService.priceMinFilter ? this.filterService.priceMinFilter : this._min;
2015
- this.filterService.priceMaxFilter = !!this.filterService.priceMaxFilter ? this.filterService.priceMaxFilter : this._max;
2016
- // some user error protection
2017
- let trueLowerBound = Math.min(this.filterService.priceMinFilter, this.filterService.priceMaxFilter);
2018
- let trueUpperBound = Math.max(this.filterService.priceMinFilter, this.filterService.priceMaxFilter);
2019
- this.catalogSearchService.searchRequest.rangePrice = `${trueLowerBound} - ${trueUpperBound}`;
2020
- this.catalogSearchService.searchArticles();
2021
- }
2022
- handleCollectionChange(collection) {
2023
- this.catalogSearchService.filterOnCollection(collection);
2024
- }
2025
2162
  detectChanges() {
2026
2163
  if (!this._destroyed) {
2027
2164
  this.changeDetector.detectChanges();
@@ -2032,7 +2169,24 @@ CatalogFilterComponent.decorators = [
2032
2169
  { type: Component, args: [{
2033
2170
  selector: 'co-catalog-filter',
2034
2171
  template: `
2035
- <div class="catalog-filter-wrapper">
2172
+ <div class="catalog-filter-categories">
2173
+ <co-catalog-filter-categories [categories]="filterCategories"
2174
+ (categoryClick)="handleCategoryClick($event)"></co-catalog-filter-categories>
2175
+ </div>
2176
+ <div #filterItems class="catalog-category-filter-wrapper" data-ride="carousel">
2177
+ <div #generalFilter class="catalog-filter-category-content">
2178
+ <co-catalog-filter-content-general></co-catalog-filter-content-general>
2179
+ </div>
2180
+ <div #purchaseFilter class="catalog-filter-category-content">
2181
+ <co-catalog-filter-content-purchase></co-catalog-filter-content-purchase>
2182
+ </div>
2183
+ <div #logisticsFilter class="catalog-filter-category-content">
2184
+ <co-catalog-filter-content-logistics></co-catalog-filter-content-logistics>
2185
+ </div>
2186
+ </div>
2187
+
2188
+
2189
+ <!--<div class="catalog-filter-wrapper">
2036
2190
  <div *ngIf="showResetFilter" class="reset-filter-wrapper">
2037
2191
  <div class="reset-title-wrapper">
2038
2192
  <div class="reset-title">
@@ -2043,60 +2197,9 @@ CatalogFilterComponent.decorators = [
2043
2197
  </div>
2044
2198
  <div class="filter-reset" [textContent]="'RESET_FILTER' | localize" (click)="resetFilters($event)"></div>
2045
2199
  </div>
2046
- <div class="filter-items-wrapper co-small-scrollbar">
2047
- <div class="filter-item-wrapper">
2048
- <label class="temp">Price</label>
2049
- <div class="price-inputs">
2050
- <co-input-text
2051
- class="price-from"
2052
- [type]="'number'"
2053
- [digitsOnly]="true"
2054
- [hideArrowButtons]="true"
2055
- [excludePlusMinus]="true"
2056
- [label]="'BASELINE_PRICE' | localize"
2057
- [(model)]="filterService.priceMinFilter"
2058
- (modelChange)="updatePriceFrom()"
2059
- customWidth
2060
- ></co-input-text>
2061
- <co-input-text
2062
- class="price-to"
2063
- [type]="'number'"
2064
- [digitsOnly]="true"
2065
- [hideArrowButtons]="true"
2066
- [excludePlusMinus]="true"
2067
- [label]="'PRICE_TO' | localize"
2068
- [(model)]="filterService.priceMaxFilter"
2069
- (modelChange)="updatePriceTo()"
2070
- customWidth
2071
- ></co-input-text>
2072
- <co-icon [iconData]="iconCache.getIcon(icons.Check)" (click)="filterOnPrice()"></co-icon>
2073
- </div>
2074
- </div>
2075
- <div class="filter-item-wrapper">
2076
- <co-filter-item [placeholder]="'MODIFIED_DATE' | localize"
2077
- [expanded]="true"
2078
- [customContent]="true"
2079
- >
2080
- <co-input-date
2081
- [(model)]="catalogSearchService.searchRequest.dateModified"
2082
- (modelChange)="catalogSearchService.searchArticles()"
2083
- ></co-input-date>
2084
- </co-filter-item>
2085
- </div>
2086
- <div class="filter-item-wrapper" *ngFor="let filter of filterService.filters">
2087
- <co-filter-item
2088
- [placeholder]="filter.filterName"
2089
- [collection]="filter.filterItems"
2090
- [showLessLabel]="'Bekijk minder...'"
2091
- [showMoreLabel]="'Bekijk meer...'"
2092
- [searchPlaceholder]="'Zoeken...'"
2093
- [expanded]=true
2094
- [initialLimit]=5
2095
- (collectionChange)="handleCollectionChange($event)"
2096
- ></co-filter-item>
2097
- </div>
2200
+ <div class="filter-items-wrapper co-small-scrollbar">
2098
2201
  </div>
2099
- </div>
2202
+ </div>-->
2100
2203
  `,
2101
2204
  animations: [
2102
2205
  trigger('showFilterItem', [
@@ -2109,19 +2212,61 @@ CatalogFilterComponent.decorators = [
2109
2212
  },] }
2110
2213
  ];
2111
2214
  CatalogFilterComponent.ctorParameters = () => [
2112
- { type: CatalogSearchService },
2113
- { type: CatalogFilterService },
2114
2215
  { type: IconCacheService },
2115
2216
  { type: CatalogOptionsService },
2116
2217
  { type: ChangeDetectorRef }
2117
2218
  ];
2118
2219
  CatalogFilterComponent.propDecorators = {
2119
- priceSlider: [{ type: ViewChild, args: [SliderComponent, { static: true },] }],
2220
+ filterItems: [{ type: ViewChild, args: ['filterItems', { read: ElementRef },] }],
2221
+ generalFilter: [{ type: ViewChild, args: ['generalFilter', { read: ElementRef },] }],
2222
+ purchaseFilter: [{ type: ViewChild, args: ['purchaseFilter', { read: ElementRef },] }],
2223
+ logisticsFilter: [{ type: ViewChild, args: ['logisticsFilter', { read: ElementRef },] }],
2120
2224
  showResetFilter: [{ type: Input }],
2121
2225
  showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }],
2122
2226
  collapsed: [{ type: HostBinding, args: ['class.collapsed',] }]
2123
2227
  };
2124
2228
 
2229
+ class CatalogFilterCategoriesComponent {
2230
+ constructor() {
2231
+ this.categoryClick = new EventEmitter();
2232
+ this._categories = [];
2233
+ }
2234
+ set categories(value) {
2235
+ if (value && value.length > 0) {
2236
+ this._categories = value;
2237
+ this.activeCategory = this._categories[0];
2238
+ }
2239
+ }
2240
+ get categories() {
2241
+ return this._categories;
2242
+ }
2243
+ showClass() {
2244
+ return true;
2245
+ }
2246
+ handleCategoryClick(category) {
2247
+ this.activeCategory = category;
2248
+ this.categoryClick.emit(category);
2249
+ }
2250
+ }
2251
+ CatalogFilterCategoriesComponent.decorators = [
2252
+ { type: Component, args: [{
2253
+ selector: 'co-catalog-filter-categories',
2254
+ template: `
2255
+ <div class="catalog-filter-categories-wrapper">
2256
+ <div class="catalog-filter-category" *ngFor="let category of categories" [class.active]="category === activeCategory"
2257
+ [textContent]="category"
2258
+ (click)="handleCategoryClick(category)"
2259
+ ></div>
2260
+ </div>
2261
+ `
2262
+ },] }
2263
+ ];
2264
+ CatalogFilterCategoriesComponent.propDecorators = {
2265
+ categories: [{ type: Input }],
2266
+ categoryClick: [{ type: Output }],
2267
+ showClass: [{ type: HostBinding, args: ["class.co-catalog-filter-categories",] }]
2268
+ };
2269
+
2125
2270
  // A pipe for localizing string values in view templates.
2126
2271
  class LocalizePipe {
2127
2272
  constructor(_dictionaryService) {
@@ -2147,25 +2292,756 @@ LocalizePipe.ctorParameters = () => [
2147
2292
  { type: DictionaryService }
2148
2293
  ];
2149
2294
 
2295
+ class PipeModule {
2296
+ }
2297
+ PipeModule.decorators = [
2298
+ { type: NgModule, args: [{
2299
+ imports: [
2300
+ CommonModule
2301
+ ],
2302
+ declarations: [
2303
+ LocalizePipe
2304
+ ],
2305
+ exports: [
2306
+ LocalizePipe
2307
+ ]
2308
+ },] }
2309
+ ];
2310
+
2311
+ class CatalogFilterCategoriesModule {
2312
+ }
2313
+ CatalogFilterCategoriesModule.decorators = [
2314
+ { type: NgModule, args: [{
2315
+ imports: [
2316
+ CommonModule,
2317
+ PipeModule
2318
+ ],
2319
+ declarations: [
2320
+ CatalogFilterCategoriesComponent
2321
+ ],
2322
+ exports: [
2323
+ CatalogFilterCategoriesComponent
2324
+ ]
2325
+ },] }
2326
+ ];
2327
+
2328
+ class CatalogFilterContentGeneralComponent {
2329
+ constructor(catalogSearchService, filterService, iconCache, _catalogConnectorService) {
2330
+ this.catalogSearchService = catalogSearchService;
2331
+ this.filterService = filterService;
2332
+ this.iconCache = iconCache;
2333
+ this._catalogConnectorService = _catalogConnectorService;
2334
+ this.icons = IconEnum;
2335
+ this._min = 0;
2336
+ this._max = 100000;
2337
+ this.supplierDropdownFields = { text: "description", value: "storeGroupId" };
2338
+ this.getRetail = (barcodeFilter) => __awaiter(this, void 0, void 0, function* () {
2339
+ const request = new ArticleExtendedRequest();
2340
+ request.barcode = barcodeFilter;
2341
+ return this._catalogConnectorService.getArticlesForCatalog(request).then((articleResult) => {
2342
+ return new FilterViewmodel(articleResult.articles, { text: 'barcode', value: 'barcode' }).filterItems;
2343
+ });
2344
+ });
2345
+ }
2346
+ showClass() {
2347
+ return true;
2348
+ }
2349
+ ngOnInit() {
2350
+ this._setStoreGroups();
2351
+ this._setInOutCollection();
2352
+ this._setArticleTypes();
2353
+ this._setPublicationCodes();
2354
+ this._setPublicationCodesSales();
2355
+ this._setPriceList();
2356
+ this._setCategories();
2357
+ }
2358
+ _setStoreGroups() {
2359
+ this._catalogConnectorService.getStoreGroups().then((storeGroups) => {
2360
+ this.storeGroupCollection = this.filterService.createFilterSelectionsCollection(storeGroups, "storeGroupId", "description");
2361
+ });
2362
+ }
2363
+ _setInOutCollection() {
2364
+ this._catalogConnectorService.getDomainCollection(DomainName.InOutCollection).then((inOutCollections) => {
2365
+ this.inOutCollectionCollection = this.filterService.createFilterSelectionsCollection(inOutCollections, "code", "description");
2366
+ });
2367
+ }
2368
+ _setArticleTypes() {
2369
+ this._catalogConnectorService.getDomainCollection(DomainName.ArticleType).then((articleTypes) => {
2370
+ this.articleTypeCollection = this.filterService.createFilterSelectionsCollection(articleTypes, "code", "description");
2371
+ });
2372
+ }
2373
+ _setCategories() {
2374
+ this._catalogConnectorService.getCategories().then((categories) => {
2375
+ this.categoryCollection = this.filterService.createFilterSelectionsCollection(categories, "categoryCode", "description");
2376
+ });
2377
+ }
2378
+ _setPublicationCodes() {
2379
+ this._catalogConnectorService.getRVDomainCollection(DomainName.ArtPublication).then((publicationCodes) => {
2380
+ this.artPublicationCollection = this.filterService.createFilterSelectionsCollection(publicationCodes, "code", "description");
2381
+ });
2382
+ }
2383
+ _setPublicationCodesSales() {
2384
+ this._catalogConnectorService.getRVDomainCollection(DomainName.ArtPublicationSales).then((publicationCodes) => {
2385
+ this.artPublicationSalesCollection = this.filterService.createFilterSelectionsCollection(publicationCodes, "code", "description");
2386
+ ;
2387
+ });
2388
+ }
2389
+ _setPriceList() {
2390
+ let tempPriceListsSalesCollection = [];
2391
+ this._catalogConnectorService.getPriceLists().then((priceLists) => {
2392
+ priceLists.forEach((list) => {
2393
+ if (list.type.indexOf("I") != -1) {
2394
+ tempPriceListsSalesCollection.push(list);
2395
+ }
2396
+ });
2397
+ this.priceListsSalesCollection = this.filterService.createFilterSelectionsCollection(tempPriceListsSalesCollection, "code", "description");
2398
+ });
2399
+ }
2400
+ filterOnPrice() {
2401
+ this.filterService.priceMinFilter = !!this.filterService.priceMinFilter ? this.filterService.priceMinFilter : this._min;
2402
+ this.filterService.priceMaxFilter = !!this.filterService.priceMaxFilter ? this.filterService.priceMaxFilter : this._max;
2403
+ // some user error protection
2404
+ let trueLowerBound = Math.min(this.filterService.priceMinFilter, this.filterService.priceMaxFilter);
2405
+ let trueUpperBound = Math.max(this.filterService.priceMinFilter, this.filterService.priceMaxFilter);
2406
+ this.catalogSearchService.searchRequest.rangePrice = `${trueLowerBound} - ${trueUpperBound}`;
2407
+ this.catalogSearchService.searchArticles();
2408
+ }
2409
+ updateLengthFilter() {
2410
+ this.filterService.lengthMinFilter = !!this.filterService.lengthMinFilter ? this.filterService.lengthMinFilter : this._min;
2411
+ this.filterService.lengthMaxFilter = !!this.filterService.lengthMaxFilter ? this.filterService.lengthMaxFilter : this._max;
2412
+ this.catalogSearchService.searchRequest.length = this.getFromToFilter(this.filterService.lengthMinFilter, this.filterService.lengthMaxFilter);
2413
+ }
2414
+ updateWidthFilter() {
2415
+ this.filterService.widthMinFilter = !!this.filterService.widthMinFilter ? this.filterService.widthMinFilter : this._min;
2416
+ this.filterService.widthMaxFilter = !!this.filterService.widthMaxFilter ? this.filterService.widthMaxFilter : this._max;
2417
+ this.catalogSearchService.searchRequest.width = this.getFromToFilter(this.filterService.widthMinFilter, this.filterService.widthMaxFilter);
2418
+ }
2419
+ updateHeightFilter() {
2420
+ this.filterService.heightMinFilter = !!this.filterService.heightMinFilter ? this.filterService.heightMinFilter : this._min;
2421
+ this.filterService.heightMaxFilter = !!this.filterService.heightMaxFilter ? this.filterService.heightMaxFilter : this._max;
2422
+ this.catalogSearchService.searchRequest.height = this.getFromToFilter(this.filterService.heightMinFilter, this.filterService.heightMaxFilter);
2423
+ }
2424
+ updateDepthFilter() {
2425
+ this.filterService.depthMinFilter = !!this.filterService.depthMinFilter ? this.filterService.depthMinFilter : this._min;
2426
+ this.filterService.depthMaxFilter = !!this.filterService.depthMaxFilter ? this.filterService.depthMaxFilter : this._max;
2427
+ this.catalogSearchService.searchRequest.depth = this.getFromToFilter(this.filterService.depthMinFilter, this.filterService.depthMaxFilter);
2428
+ }
2429
+ getFromToFilter(min, max) {
2430
+ // some user error protection
2431
+ let trueLowerBound = Math.min(min, max);
2432
+ let trueUpperBound = Math.max(min, max);
2433
+ return `${trueLowerBound} - ${trueUpperBound}`;
2434
+ }
2435
+ handleCollectionChange(filterName, collection) {
2436
+ this.catalogSearchService.filterOnCollection(filterName, collection);
2437
+ }
2438
+ handleSeparateCollectionChange(filterName, collection) {
2439
+ this.catalogSearchService.searchRequest[filterName] = this.catalogSearchService.createFilterString(collection, filterName);
2440
+ }
2441
+ handleArticleTypeChange(filterName, collection) {
2442
+ this.catalogSearchService.searchRequest.articleKindList = this.catalogSearchService.createFilterStringCollection(collection);
2443
+ }
2444
+ handleSingleSelectChange(filterName, collection) {
2445
+ this.catalogSearchService.searchRequest[filterName] = this.catalogSearchService.createSingleSelectString(collection);
2446
+ }
2447
+ handleNumberListChange(filterName, collection) {
2448
+ this.catalogSearchService.searchRequest[filterName] = this.catalogSearchService.createFilterNumber(collection);
2449
+ }
2450
+ handleCollectionChangeForSingleSelect(collection, modelName) {
2451
+ this.catalogSearchService.searchRequest[modelName] = this._getFilterRequestForSingleSelect(collection);
2452
+ this.catalogSearchService.searchArticles();
2453
+ }
2454
+ _getFilterRequestForSingleSelect(collection) {
2455
+ let filterRequest = '';
2456
+ const selectedItem = collection === null || collection === void 0 ? void 0 : collection.find(item => item.checked);
2457
+ filterRequest = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.code.toString();
2458
+ return filterRequest;
2459
+ }
2460
+ }
2461
+ CatalogFilterContentGeneralComponent.decorators = [
2462
+ { type: Component, args: [{
2463
+ selector: 'co-catalog-filter-content-general',
2464
+ template: `
2465
+ <div class="catalog-filter-content-general-wrapper catalog-filter-content-wrapper">
2466
+
2467
+ <div class="catalog-filter-wrapper">
2468
+ <div class="filter-items-wrapper co-small-scrollbar">
2469
+ <div class="filter-item-wrapper">
2470
+ <label class="temp">Price</label>
2471
+ <div class="price-inputs">
2472
+ <co-input-text
2473
+ class="price-from"
2474
+ [type]="'number'"
2475
+ [digitsOnly]="true"
2476
+ [hideArrowButtons]="true"
2477
+ [excludePlusMinus]="true"
2478
+ [label]="'BASELINE_PRICE' | localize"
2479
+ [(model)]="filterService.priceMinFilter"
2480
+ customWidth
2481
+ ></co-input-text>
2482
+ <co-input-text
2483
+ class="price-to"
2484
+ [type]="'number'"
2485
+ [digitsOnly]="true"
2486
+ [hideArrowButtons]="true"
2487
+ [excludePlusMinus]="true"
2488
+ [label]="'PRICE_TO' | localize"
2489
+ [(model)]="filterService.priceMaxFilter"
2490
+ customWidth
2491
+ ></co-input-text>
2492
+ <co-icon [iconData]="iconCache.getIcon(icons.Check)" (click)="filterOnPrice()"></co-icon>
2493
+ </div>
2494
+ </div>
2495
+ <div class="filter-item-wrapper">
2496
+ <label class="temp">Length</label>
2497
+ <div class="price-inputs">
2498
+ <co-input-text
2499
+ class="price-from"
2500
+ [type]="'number'"
2501
+ [digitsOnly]="true"
2502
+ [hideArrowButtons]="true"
2503
+ [excludePlusMinus]="true"
2504
+ [label]="'FROM' | localize"
2505
+ [(model)]="filterService.lengthMinFilter"
2506
+ (modelChange)="updateLengthFilter()"
2507
+ customWidth
2508
+ ></co-input-text>
2509
+ <co-input-text
2510
+ class="price-to"
2511
+ [type]="'number'"
2512
+ [digitsOnly]="true"
2513
+ [hideArrowButtons]="true"
2514
+ [excludePlusMinus]="true"
2515
+ [label]="'FROM' | localize"
2516
+ [(model)]="filterService.lengthMaxFilter"
2517
+ (modelChange)="updateLengthFilter()"
2518
+ customWidth
2519
+ ></co-input-text>
2520
+ <co-icon [iconData]="iconCache.getIcon(icons.Check)" (click)="filterOnPrice()"></co-icon>
2521
+ </div>
2522
+ </div>
2523
+ <div class="filter-item-wrapper">
2524
+ <label class="temp">Width</label>
2525
+ <div class="price-inputs">
2526
+ <co-input-text
2527
+ class="price-from"
2528
+ [type]="'number'"
2529
+ [digitsOnly]="true"
2530
+ [hideArrowButtons]="true"
2531
+ [excludePlusMinus]="true"
2532
+ [label]="'FROM' | localize"
2533
+ [(model)]="filterService.widthMinFilter"
2534
+ (modelChange)="updateWidthFilter()"
2535
+ customWidth
2536
+ ></co-input-text>
2537
+ <co-input-text
2538
+ class="price-to"
2539
+ [type]="'number'"
2540
+ [digitsOnly]="true"
2541
+ [hideArrowButtons]="true"
2542
+ [excludePlusMinus]="true"
2543
+ [label]="'TO' | localize"
2544
+ [(model)]="filterService.widthMaxFilter"
2545
+ (modelChange)="updateWidthFilter()"
2546
+ customWidth
2547
+ ></co-input-text>
2548
+ <co-icon [iconData]="iconCache.getIcon(icons.Check)" (click)="filterOnPrice()"></co-icon>
2549
+ </div>
2550
+ </div>
2551
+ <div class="filter-item-wrapper">
2552
+ <label class="temp">Height</label>
2553
+ <div class="price-inputs">
2554
+ <co-input-text
2555
+ class="price-from"
2556
+ [type]="'number'"
2557
+ [digitsOnly]="true"
2558
+ [hideArrowButtons]="true"
2559
+ [excludePlusMinus]="true"
2560
+ [label]="'FROM' | localize"
2561
+ [(model)]="filterService.heightMinFilter"
2562
+ (modelChange)="updateHeightFilter()"
2563
+ customWidth
2564
+ ></co-input-text>
2565
+ <co-input-text
2566
+ class="price-to"
2567
+ [type]="'number'"
2568
+ [digitsOnly]="true"
2569
+ [hideArrowButtons]="true"
2570
+ [excludePlusMinus]="true"
2571
+ [label]="'TO' | localize"
2572
+ [(model)]="filterService.heightMaxFilter"
2573
+ (modelChange)="updateHeightFilter()"
2574
+ customWidth
2575
+ ></co-input-text>
2576
+ <co-icon [iconData]="iconCache.getIcon(icons.Check)" (click)="filterOnPrice()"></co-icon>
2577
+ </div>
2578
+ </div>
2579
+ <div class="filter-item-wrapper">
2580
+ <label class="temp">Width</label>
2581
+ <div class="price-inputs">
2582
+ <co-input-text
2583
+ class="price-from"
2584
+ [type]="'number'"
2585
+ [digitsOnly]="true"
2586
+ [hideArrowButtons]="true"
2587
+ [excludePlusMinus]="true"
2588
+ [label]="'FROM' | localize"
2589
+ [(model)]="filterService.depthMinFilter"
2590
+ (modelChange)="updateDepthFilter()"
2591
+ customWidth
2592
+ ></co-input-text>
2593
+ <co-input-text
2594
+ class="price-to"
2595
+ [type]="'number'"
2596
+ [digitsOnly]="true"
2597
+ [hideArrowButtons]="true"
2598
+ [excludePlusMinus]="true"
2599
+ [label]="'TO' | localize"
2600
+ [(model)]="filterService.depthMaxFilter"
2601
+ (modelChange)="updateDepthFilter()"
2602
+ customWidth
2603
+ ></co-input-text>
2604
+ <co-icon [iconData]="iconCache.getIcon(icons.Check)" (click)="filterOnPrice()"></co-icon>
2605
+ </div>
2606
+ </div>
2607
+ <div class="filter-item-wrapper">
2608
+ <co-filter-item [placeholder]="'RETAIL_FORMULA' | localize"
2609
+ [expanded]="true"
2610
+ [collection]="storeGroupCollection"
2611
+ (collectionChange)="handleSeparateCollectionChange('rangeStoreGroup', $event)"
2612
+ >
2613
+ </co-filter-item>
2614
+ </div>
2615
+ <div class="filter-item-wrapper">
2616
+ <co-filter-item [placeholder]="'IN_OUT_COLLECTION' | localize"
2617
+ [expanded]="true"
2618
+ [collection]="inOutCollectionCollection"
2619
+ (collectionChange)="handleSeparateCollectionChange('collection', $event)"
2620
+ >
2621
+ </co-filter-item>
2622
+ </div>
2623
+ <div class="filter-item-wrapper">
2624
+ <co-filter-item [placeholder]="'ARTICLE_TYPE' | localize"
2625
+ [expanded]="true"
2626
+ [collection]="articleTypeCollection"
2627
+ (collectionChange)="handleArticleTypeChange('rangeStoreGroup', $event)"
2628
+ >
2629
+ </co-filter-item>
2630
+ </div>
2631
+ <div class="filter-item-wrapper">
2632
+ <co-filter-item [placeholder]="'PUBLISH_VIA' | localize"
2633
+ [expanded]="true"
2634
+ [collection]="artPublicationCollection"
2635
+ (collectionChange)="handleNumberListChange('publicationCode', $event)"
2636
+ >
2637
+ </co-filter-item>
2638
+ </div>
2639
+ <div class="filter-item-wrapper">
2640
+ <co-filter-item [placeholder]="'SELL_VIA' | localize"
2641
+ [expanded]="true"
2642
+ [collection]="artPublicationSalesCollection"
2643
+ (collectionChange)="handleNumberListChange('publicationWebshopSales', $event)"
2644
+ >
2645
+ </co-filter-item>
2646
+ </div>
2647
+ <div class="filter-item-wrapper">
2648
+ <co-filter-item [placeholder]="'PRICELIST_SALES' | localize"
2649
+ [expanded]="true"
2650
+ [singleSelect]="true"
2651
+ [collection]="priceListsSalesCollection"
2652
+ (collectionChange)="handleSingleSelectChange('pricelistRetail', $event)"
2653
+ >
2654
+ </co-filter-item>
2655
+ </div>
2656
+ <div class="filter-item-wrapper">
2657
+ <co-filter-item [placeholder]="'CATEGORY' | localize"
2658
+ [expanded]="true"
2659
+ [singleSelect]="true"
2660
+ [collection]="categoryCollection"
2661
+ (collectionChange)="handleSingleSelectChange('category', $event)"
2662
+ >
2663
+ </co-filter-item>
2664
+ </div>
2665
+ <div class="filter-item-wrapper" *ngFor="let filter of filterService.filters">
2666
+ <co-filter-item
2667
+ [placeholder]="filter.filterName"
2668
+ [collection]="filter.filterItems"
2669
+ [showLessLabel]="'Bekijk minder...'"
2670
+ [showMoreLabel]="'Bekijk meer...'"
2671
+ [searchPlaceholder]="'Zoeken...'"
2672
+ [expanded]=true
2673
+ [initialLimit]=5
2674
+ (collectionChange)="handleCollectionChange(filter.filterName, $event)"
2675
+ ></co-filter-item>
2676
+ </div>
2677
+ </div>
2678
+ </div>
2679
+ </div>
2680
+ `
2681
+ },] }
2682
+ ];
2683
+ CatalogFilterContentGeneralComponent.ctorParameters = () => [
2684
+ { type: CatalogSearchService },
2685
+ { type: CatalogFilterService },
2686
+ { type: IconCacheService },
2687
+ { type: CatalogConnectorService }
2688
+ ];
2689
+ CatalogFilterContentGeneralComponent.propDecorators = {
2690
+ showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }]
2691
+ };
2692
+
2693
+ class CatalogFilterContentGeneralModule {
2694
+ }
2695
+ CatalogFilterContentGeneralModule.decorators = [
2696
+ { type: NgModule, args: [{
2697
+ imports: [
2698
+ CommonModule,
2699
+ FilterItemModule,
2700
+ InputTextModule,
2701
+ ButtonModule,
2702
+ IconModule,
2703
+ PipeModule
2704
+ ],
2705
+ declarations: [
2706
+ CatalogFilterContentGeneralComponent
2707
+ ],
2708
+ exports: [
2709
+ CatalogFilterContentGeneralComponent
2710
+ ]
2711
+ },] }
2712
+ ];
2713
+
2714
+ class CatalogFilterContentPurchaseComponent {
2715
+ constructor(catalogSearchService, iconCache, _catalogConnectorService, filterService) {
2716
+ this.catalogSearchService = catalogSearchService;
2717
+ this.iconCache = iconCache;
2718
+ this._catalogConnectorService = _catalogConnectorService;
2719
+ this.filterService = filterService;
2720
+ this.icons = IconEnum;
2721
+ }
2722
+ showClass() {
2723
+ return true;
2724
+ }
2725
+ ngOnInit() {
2726
+ this._setSuppliers();
2727
+ this._setPriceList();
2728
+ }
2729
+ _setSuppliers() {
2730
+ this._catalogConnectorService.getSuppliers().then((suppliers) => {
2731
+ this.suppliers = this.filterService.createFilterSelectionsCollection(suppliers, 'relationNr', 'familyName');
2732
+ });
2733
+ }
2734
+ _setPriceList() {
2735
+ let tempPriceListsPurchCollection = [];
2736
+ this._catalogConnectorService.getPriceLists().then((priceLists) => {
2737
+ priceLists.forEach((list) => {
2738
+ if (list.type.indexOf("I") > -1) {
2739
+ tempPriceListsPurchCollection.push(list);
2740
+ }
2741
+ });
2742
+ this.priceListsPurchCollection = this.filterService.createFilterSelectionsCollection(tempPriceListsPurchCollection, "code", "description");
2743
+ });
2744
+ }
2745
+ handleSeparateCollectionChange(filterName, collection) {
2746
+ this.catalogSearchService.searchRequest[filterName] = this.catalogSearchService.createFilterString(collection, filterName);
2747
+ }
2748
+ handleSingleSelectChange(filterName, collection) {
2749
+ this.catalogSearchService.searchRequest[filterName] = this.catalogSearchService.createSingleSelectString(collection);
2750
+ }
2751
+ }
2752
+ CatalogFilterContentPurchaseComponent.decorators = [
2753
+ { type: Component, args: [{
2754
+ selector: 'co-catalog-filter-content-purchase',
2755
+ template: `
2756
+ <div class="catalog-filter-content-purchase-wrapper catalog-filter-content-wrapper">
2757
+ <div class="catalog-filter-wrapper">
2758
+ <div class="filter-items-wrapper co-small-scrollbar">
2759
+ <div class="filter-item-wrapper">
2760
+ <div class="filter-item-wrapper">
2761
+ <co-filter-item [placeholder]="'SUPPLIER' | localize"
2762
+ [expanded]="true"
2763
+ [collection]="suppliers"
2764
+ (collectionChange)="handleSeparateCollectionChange('rangeSupplierNr', $event)"
2765
+ >
2766
+ </co-filter-item>
2767
+ </div>
2768
+ <co-filter-item [placeholder]="'ARTICLE_NR_SUPPLIER' | localize"
2769
+ [expanded]="true"
2770
+ [customContent]="true"
2771
+ >
2772
+ <co-input-text [placeholder]="'ARTICLE_NR_SUPPLIER' | localize" [(model)]="catalogSearchService.searchRequest.artNrSupplier"
2773
+ noValidation></co-input-text>
2774
+ </co-filter-item>
2775
+ <co-filter-item [placeholder]="'REFERENCE' | localize"
2776
+ [expanded]="true"
2777
+ [customContent]="true"
2778
+ >
2779
+ <co-input-text [placeholder]="'REFERENCE' | localize" [(model)]="catalogSearchService.searchRequest.simpleReference"
2780
+ noValidation></co-input-text>
2781
+ </co-filter-item>
2782
+ <div class="filter-item-wrapper">
2783
+ <co-filter-item [placeholder]="'PRICELIST_PURCHASE' | localize"
2784
+ [expanded]="true"
2785
+ [collection]="priceListsPurchCollection"
2786
+ [singleSelect]="true"
2787
+ (collectionChange)="handleSingleSelectChange('pricelistPurchase', $event)"
2788
+ >
2789
+ </co-filter-item>
2790
+ </div>
2791
+ </div>
2792
+ </div>
2793
+ </div>
2794
+ </div>
2795
+ `
2796
+ },] }
2797
+ ];
2798
+ CatalogFilterContentPurchaseComponent.ctorParameters = () => [
2799
+ { type: CatalogSearchService },
2800
+ { type: IconCacheService },
2801
+ { type: CatalogConnectorService },
2802
+ { type: CatalogFilterService }
2803
+ ];
2804
+ CatalogFilterContentPurchaseComponent.propDecorators = {
2805
+ showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }],
2806
+ priceSlider: [{ type: ViewChild, args: [SliderComponent, { static: true },] }]
2807
+ };
2808
+
2809
+ class CatalogFilterContentPurchaseModule {
2810
+ }
2811
+ CatalogFilterContentPurchaseModule.decorators = [
2812
+ { type: NgModule, args: [{
2813
+ imports: [
2814
+ CommonModule,
2815
+ FilterItemModule,
2816
+ InputTextModule,
2817
+ ButtonModule,
2818
+ InputCheckboxModule,
2819
+ PipeModule
2820
+ ],
2821
+ declarations: [
2822
+ CatalogFilterContentPurchaseComponent
2823
+ ],
2824
+ exports: [
2825
+ CatalogFilterContentPurchaseComponent
2826
+ ]
2827
+ },] }
2828
+ ];
2829
+
2830
+ class CatalogFilterContentLogisticsComponent {
2831
+ constructor(catalogSearchService, iconCache) {
2832
+ this.catalogSearchService = catalogSearchService;
2833
+ this.iconCache = iconCache;
2834
+ this.icons = IconEnum;
2835
+ }
2836
+ showClass() {
2837
+ return true;
2838
+ }
2839
+ ngOnInit() {
2840
+ }
2841
+ handleAllChanged(value) {
2842
+ this.catalogSearchService.searchRequest["doSync"] = value ? 'J' : 'N';
2843
+ this.catalogSearchService.searchRequest["showRegularArticles"] = value;
2844
+ this.catalogSearchService.searchRequest["showConfiguredArticles"] = value;
2845
+ this.catalogSearchService.searchRequest["showConfigurableArticles"] = value;
2846
+ this.catalogSearchService.searchRequest["showCompositionArticles"] = value;
2847
+ this.catalogSearchService.searchRequest["showCustomizedArticles"] = value;
2848
+ this.catalogSearchService.searchRequest["showInactiveArticles"] = value;
2849
+ }
2850
+ handleCheckboxValueChangeForString(value, modelName) {
2851
+ this.catalogSearchService.searchRequest[modelName] = this._getFilterRequestForBooleanToString(value);
2852
+ }
2853
+ _getFilterRequestForBooleanToString(value) {
2854
+ let filterRequest = '';
2855
+ if (value) {
2856
+ filterRequest = "?='J'";
2857
+ }
2858
+ else {
2859
+ filterRequest = "?='N'";
2860
+ }
2861
+ return filterRequest;
2862
+ }
2863
+ }
2864
+ CatalogFilterContentLogisticsComponent.decorators = [
2865
+ { type: Component, args: [{
2866
+ selector: 'co-catalog-filter-content-logistics',
2867
+ template: `
2868
+ <div class="catalog-filter-content-logistics-wrapper catalog-filter-content-wrapper">
2869
+
2870
+ <div class="catalog-filter-wrapper">
2871
+ <div class="filter-items-wrapper co-small-scrollbar">
2872
+
2873
+ <div class="filter-item-wrapper">
2874
+ <co-filter-item [placeholder]="'SERIALNUMBER' | localize"
2875
+ [expanded]="true"
2876
+ [customContent]="true"
2877
+ >
2878
+ <co-input-text [placeholder]="'SERIALNUMBER' | localize" [(model)]="catalogSearchService.searchRequest.serialNumber"
2879
+ noValidation></co-input-text>
2880
+ </co-filter-item>
2881
+ </div>
2882
+ <div class="filter-item-wrapper">
2883
+ <co-filter-item [placeholder]="'BATCH_NUMBER' | localize"
2884
+ [expanded]="true"
2885
+ [customContent]="true"
2886
+ >
2887
+ <co-input-text [placeholder]="'BATCH_NUMBER' | localize" [(model)]="catalogSearchService.searchRequest.batchNumber"
2888
+ noValidation></co-input-text>
2889
+ </co-filter-item>
2890
+ </div>
2891
+ <div class="filter-item-wrapper">
2892
+ <co-filter-item [placeholder]="'MUTATION_DATE' | localize"
2893
+ [expanded]="true"
2894
+ [customContent]="true"
2895
+ >
2896
+ <co-input-date
2897
+ [(model)]="catalogSearchService.searchRequest.dateModified"
2898
+ (modelChange)="catalogSearchService.searchArticles()"
2899
+ ></co-input-date>
2900
+ </co-filter-item>
2901
+ </div>
2902
+
2903
+ <div class="filter-item-wrapper">
2904
+ <co-filter-item
2905
+ [placeholder]="'ALL'"
2906
+ [expanded]="true"
2907
+ [customContent]="true">
2908
+ <co-input-checkbox
2909
+ (modelChange)="this.handleAllChanged($event)"
2910
+ [label]="'ALL' | localize"></co-input-checkbox>
2911
+ </co-filter-item>
2912
+ </div>
2913
+ <div class="filter-item-wrapper">
2914
+ <co-filter-item
2915
+ [placeholder]="'AUTOMATICALLY_UPDATE'"
2916
+ [expanded]="true"
2917
+ [customContent]="true">
2918
+ <co-input-checkbox
2919
+ [model]="catalogSearchService.searchRequest.doSync === 'J'"
2920
+ (modelChange)="this.handleCheckboxValueChangeForString($event, 'doSync')"
2921
+ [label]="'AUTOMATICALLY_UPDATE' | localize"></co-input-checkbox>
2922
+ </co-filter-item>
2923
+ </div>
2924
+ <div class="filter-item-wrapper">
2925
+ <co-filter-item
2926
+ [placeholder]="'SHOW_REGULAR_ARTICLES'"
2927
+ [expanded]="true"
2928
+ [customContent]="true">
2929
+ <co-input-checkbox
2930
+ [(model)]="catalogSearchService.searchRequest.showRegularArticles"
2931
+ [label]="'SHOW_REGULAR_ARTICLES' | localize"></co-input-checkbox>
2932
+ </co-filter-item>
2933
+ </div>
2934
+ <div class="filter-item-wrapper">
2935
+ <co-filter-item
2936
+ [placeholder]="'SHOW_CONFIGURED_ARTICLES'"
2937
+ [expanded]="true"
2938
+ [customContent]="true">
2939
+ <co-input-checkbox
2940
+ [(model)]="catalogSearchService.searchRequest.showConfiguredArticles"
2941
+ [label]="'SHOW_CONFIGURED_ARTICLES' | localize"></co-input-checkbox>
2942
+ </co-filter-item>
2943
+ </div>
2944
+ <div class="filter-item-wrapper">
2945
+ <co-filter-item
2946
+ [placeholder]="'BASE_ARTICLES'"
2947
+ [expanded]="true"
2948
+ [customContent]="true">
2949
+ <co-input-checkbox
2950
+ [(model)]="catalogSearchService.searchRequest.showConfigurableArticles"
2951
+ [label]="'BASE_ARTICLES' | localize"></co-input-checkbox>
2952
+ </co-filter-item>
2953
+ </div>
2954
+ <div class="filter-item-wrapper">
2955
+ <co-filter-item
2956
+ [placeholder]="'COMPOSITION_ARTICLES'"
2957
+ [expanded]="true"
2958
+ [customContent]="true">
2959
+ <co-input-checkbox
2960
+ [(model)]="catalogSearchService.searchRequest.showCompositionArticles"
2961
+ [label]="'COMPOSITION_ARTICLES' | localize"></co-input-checkbox>
2962
+ </co-filter-item>
2963
+ </div>
2964
+ <div class="filter-item-wrapper">
2965
+ <co-filter-item
2966
+ [placeholder]="'SHOW_CUSTOMIZED_ARTICLES'"
2967
+ [expanded]="true"
2968
+ [customContent]="true">
2969
+ <co-input-checkbox
2970
+ [(model)]="catalogSearchService.searchRequest.showCustomizedArticles"
2971
+ [label]="'SHOW_CUSTOMIZED_ARTICLES' | localize"></co-input-checkbox>
2972
+ </co-filter-item>
2973
+ </div>
2974
+ <div class="filter-item-wrapper">
2975
+ <co-filter-item
2976
+ [placeholder]="'SHOW_INACTIVE_ARTICLES'"
2977
+ [expanded]="true"
2978
+ [customContent]="true">
2979
+ <co-input-checkbox
2980
+ [(model)]="catalogSearchService.searchRequest.showInactiveArticles"
2981
+ [label]="'SHOW_INACTIVE_ARTICLES' | localize"></co-input-checkbox>
2982
+ </co-filter-item>
2983
+ </div>
2984
+ </div>
2985
+ </div>
2986
+
2987
+ </div>
2988
+ `
2989
+ },] }
2990
+ ];
2991
+ CatalogFilterContentLogisticsComponent.ctorParameters = () => [
2992
+ { type: CatalogSearchService },
2993
+ { type: IconCacheService }
2994
+ ];
2995
+ CatalogFilterContentLogisticsComponent.propDecorators = {
2996
+ showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }],
2997
+ priceSlider: [{ type: ViewChild, args: [SliderComponent, { static: true },] }]
2998
+ };
2999
+
3000
+ class CatalogFilterContentLogisticsModule {
3001
+ }
3002
+ CatalogFilterContentLogisticsModule.decorators = [
3003
+ { type: NgModule, args: [{
3004
+ imports: [
3005
+ CommonModule,
3006
+ FilterItemModule,
3007
+ InputTextModule,
3008
+ ButtonModule,
3009
+ InputCheckboxModule,
3010
+ InputDatePickerModule,
3011
+ PipeModule
3012
+ ],
3013
+ declarations: [
3014
+ CatalogFilterContentLogisticsComponent
3015
+ ],
3016
+ exports: [
3017
+ CatalogFilterContentLogisticsComponent
3018
+ ]
3019
+ },] }
3020
+ ];
3021
+
2150
3022
  class CatalogFilterModule {
2151
3023
  }
2152
3024
  CatalogFilterModule.decorators = [
2153
3025
  { type: NgModule, args: [{
2154
3026
  imports: [
2155
3027
  CommonModule,
2156
- IconModule,
3028
+ IconModule$1,
2157
3029
  InputTextModule,
2158
3030
  FilterItemModule,
2159
3031
  InputDatePickerModule,
2160
- IconCollapseHandleModule
3032
+ IconCollapseHandleModule,
3033
+ InputCheckboxModule,
3034
+ CatalogFilterCategoriesModule,
3035
+ CatalogFilterContentGeneralModule,
3036
+ CatalogFilterContentPurchaseModule,
3037
+ CatalogFilterContentLogisticsModule,
3038
+ PipeModule
2161
3039
  ],
2162
3040
  declarations: [
2163
- CatalogFilterComponent,
2164
- LocalizePipe
3041
+ CatalogFilterComponent
2165
3042
  ],
2166
3043
  exports: [
2167
- CatalogFilterComponent,
2168
- LocalizePipe
3044
+ CatalogFilterComponent
2169
3045
  ]
2170
3046
  },] }
2171
3047
  ];
@@ -2216,9 +3092,10 @@ CatalogCategoriesModule.decorators = [
2216
3092
  imports: [
2217
3093
  CommonModule,
2218
3094
  ImageModule,
2219
- IconModule$1,
3095
+ IconModule,
2220
3096
  CatalogFilterModule,
2221
- ResponsiveTextModule
3097
+ ResponsiveTextModule,
3098
+ PipeModule
2222
3099
  ],
2223
3100
  declarations: [
2224
3101
  CatalogCategoriesComponent
@@ -2521,7 +3398,7 @@ CatalogNavigationModule.decorators = [
2521
3398
  { type: NgModule, args: [{
2522
3399
  imports: [
2523
3400
  CommonModule,
2524
- IconModule,
3401
+ IconModule$1,
2525
3402
  CatalogFilterModule,
2526
3403
  CatalogExternalSourcesModule,
2527
3404
  OverlayModule
@@ -2998,11 +3875,12 @@ CatalogArticleTileModule.decorators = [
2998
3875
  { type: NgModule, args: [{
2999
3876
  imports: [
3000
3877
  CommonModule,
3001
- IconModule,
3878
+ IconModule$1,
3002
3879
  CatalogFilterModule,
3003
3880
  PriceDisplayPipeModule,
3004
- ButtonModule,
3005
- ImageModule
3881
+ ButtonModule$1,
3882
+ ImageModule,
3883
+ PipeModule
3006
3884
  ],
3007
3885
  declarations: [
3008
3886
  CatalogArticleTileComponent
@@ -3138,7 +4016,8 @@ CatalogSearchResultTileModule.decorators = [
3138
4016
  CatalogArticleTileModule,
3139
4017
  VisibilityObserverModule,
3140
4018
  PaginationBarModule,
3141
- CatalogFilterModule
4019
+ CatalogFilterModule,
4020
+ PipeModule
3142
4021
  ],
3143
4022
  declarations: [
3144
4023
  CatalogSearchResultTileComponent
@@ -3282,10 +4161,11 @@ CatalogArticleListModule.decorators = [
3282
4161
  imports: [
3283
4162
  CommonModule,
3284
4163
  ImageModule$1,
3285
- IconModule,
4164
+ IconModule$1,
3286
4165
  CatalogFilterModule,
3287
4166
  PriceDisplayPipeModule,
3288
- ButtonModule
4167
+ ButtonModule$1,
4168
+ PipeModule
3289
4169
  ],
3290
4170
  declarations: [
3291
4171
  CatalogArticleListComponent
@@ -3305,7 +4185,8 @@ CatalogSearchResultListModule.decorators = [
3305
4185
  VisibilityObserverModule,
3306
4186
  CatalogArticleListModule,
3307
4187
  PaginationBarModule,
3308
- CatalogFilterModule
4188
+ CatalogFilterModule,
4189
+ PipeModule
3309
4190
  ],
3310
4191
  declarations: [
3311
4192
  CatalogSearchResultListComponent
@@ -3412,5 +4293,5 @@ CatalogExternalSourceModule.decorators = [
3412
4293
  * Generated bundle index. Do not edit.
3413
4294
  */
3414
4295
 
3415
- export { CatalogArticleListModule, CatalogArticleTileModule, CatalogCategoriesModule, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule, CatalogNavigationModule, CatalogSearchHeaderModule, CatalogSearchModule, CatalogSearchResultListModule, CatalogSearchResultTileModule, CatalogSearchService, CatalogService, Version, CatalogFilterComponent as ɵa, CatalogFilterService as ɵb, VisibilityObserverDirective as ɵba, CatalogSearchResultTileComponent as ɵbb, CatalogSearchBaseComponent as ɵbc, CatalogArticleListComponent as ɵbd, CatalogSearchResultListComponent as ɵbe, CatalogSearchComponent as ɵbf, CatalogExternalSourceComponent as ɵbg, CatalogConnectorService as ɵc, CatalogConnectorAdapterService as ɵd, SelectSingleCacheService as ɵe, BusinessObjectCacheManagerService as ɵf, SelectMultipleCacheService as ɵg, CacheField as ɵh, SelectMultipleParameterizedCacheService as ɵi, SelectSingleParameterizedCacheService as ɵj, CatalogSettingsService as ɵk, DictionaryService as ɵl, CatalogOptionsService as ɵm, IconCacheService as ɵn, LocalizePipe as ɵo, ResponsiveTextModule as ɵp, ResponsiveTextComponent as ɵq, CatalogCategoriesComponent as ɵr, CatalogImageService as ɵs, CatalogExternalSourcesComponent as ɵt, CatalogNavigationComponent as ɵu, CatalogSearchHeaderComponent as ɵv, CatalogArticleTileComponent as ɵw, ArticleBaseComponent as ɵx, VisibilityObserverModule as ɵy, VisibilityObserverMasterDirective as ɵz };
4296
+ export { CatalogArticleListModule, CatalogArticleTileModule, CatalogCategoriesModule, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule, CatalogNavigationModule, CatalogSearchHeaderModule, CatalogSearchModule, CatalogSearchResultListModule, CatalogSearchResultTileModule, CatalogSearchService, CatalogService, Version, CatalogFilterCategoriesModule as ɵa, PipeModule as ɵb, CatalogCategoriesComponent as ɵba, CatalogImageService as ɵbb, CatalogExternalSourcesComponent as ɵbc, CatalogNavigationComponent as ɵbd, CatalogSearchHeaderComponent as ɵbe, CatalogArticleTileComponent as ɵbf, ArticleBaseComponent as ɵbg, VisibilityObserverModule as ɵbh, VisibilityObserverMasterDirective as ɵbi, VisibilityObserverDirective as ɵbj, CatalogSearchResultTileComponent as ɵbk, CatalogSearchBaseComponent as ɵbl, CatalogArticleListComponent as ɵbm, CatalogSearchResultListComponent as ɵbn, CatalogSearchComponent as ɵbo, CatalogExternalSourceComponent as ɵbp, LocalizePipe as ɵc, DictionaryService as ɵd, CatalogFilterCategoriesComponent as ɵe, CatalogFilterContentGeneralModule as ɵf, CatalogFilterContentGeneralComponent as ɵg, CatalogFilterService as ɵh, CatalogConnectorService as ɵi, CatalogConnectorAdapterService as ɵj, SelectSingleCacheService as ɵk, BusinessObjectCacheManagerService as ɵl, SelectMultipleCacheService as ɵm, CacheField as ɵn, SelectMultipleParameterizedCacheService as ɵo, SelectSingleParameterizedCacheService as ɵp, CatalogSettingsService as ɵq, CatalogOptionsService as ɵr, IconCacheService as ɵs, CatalogFilterContentPurchaseModule as ɵt, CatalogFilterContentPurchaseComponent as ɵu, CatalogFilterContentLogisticsModule as ɵv, CatalogFilterContentLogisticsComponent as ɵw, CatalogFilterComponent as ɵx, ResponsiveTextModule as ɵy, ResponsiveTextComponent as ɵz };
3416
4297
  //# sourceMappingURL=colijnit-catalog.js.map