@colijnit/catalog 12.1.31 → 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 (61) hide show
  1. package/bundles/colijnit-catalog.umd.js +805 -146
  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 +45 -173
  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/pipe/pipe.module.js +19 -0
  23. package/esm2015/lib/service/catalog-connector-adapter.service.js +90 -1
  24. package/esm2015/lib/service/catalog-connector.service.js +36 -1
  25. package/esm2015/lib/service/catalog-filter.service.js +30 -1
  26. package/esm2015/lib/service/catalog-search.service.js +49 -16
  27. package/fesm2015/colijnit-catalog.js +1043 -201
  28. package/fesm2015/colijnit-catalog.js.map +1 -1
  29. package/lib/component/catalog-filter/catalog-filter.component.d.ts +8 -28
  30. package/lib/component/catalog-filter/style/_layout.scss +13 -0
  31. package/lib/component/catalog-filter/style/material.scss +4 -0
  32. package/lib/component/catalog-filter-categories/catalog-filter-categories.component.d.ts +10 -0
  33. package/lib/component/catalog-filter-categories/catalog-filter-categories.module.d.ts +2 -0
  34. package/lib/component/catalog-filter-categories/style/_layout.scss +23 -0
  35. package/lib/component/catalog-filter-categories/style/_material-definition.scss +22 -0
  36. package/lib/component/catalog-filter-categories/style/_theme.scss +12 -0
  37. package/lib/component/catalog-filter-categories/style/material.scss +4 -0
  38. package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.d.ts +47 -0
  39. package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.d.ts +2 -0
  40. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/_layout.scss +2 -0
  41. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/_material-definition.scss +1 -0
  42. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/_theme.scss +4 -0
  43. package/lib/component/catalog-filter-content/catalog-filter-content-general/style/material.scss +4 -0
  44. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.d.ts +16 -0
  45. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.module.d.ts +2 -0
  46. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/_layout.scss +2 -0
  47. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/_material-definition.scss +1 -0
  48. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/_theme.scss +4 -0
  49. package/lib/component/catalog-filter-content/catalog-filter-content-logistics/style/material.scss +4 -0
  50. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.d.ts +24 -0
  51. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.module.d.ts +2 -0
  52. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/_layout.scss +2 -0
  53. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/_material-definition.scss +1 -0
  54. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/_theme.scss +4 -0
  55. package/lib/component/catalog-filter-content/catalog-filter-content-purchase/style/material.scss +4 -0
  56. package/lib/pipe/pipe.module.d.ts +2 -0
  57. package/lib/service/catalog-connector-adapter.service.d.ts +18 -0
  58. package/lib/service/catalog-connector.service.d.ts +14 -0
  59. package/lib/service/catalog-filter.service.d.ts +12 -0
  60. package/lib/service/catalog-search.service.d.ts +4 -0
  61. package/package.json +4 -1
@@ -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';
@@ -13,24 +13,33 @@ import { ArticleSearchFilterSelections } from '@colijnit/articleapi/build/model/
13
13
  import { ArticleSearchFilterMaxAndMinPrice } from '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price';
14
14
  import { ArticlePrice } from '@colijnit/articleapi/build/model/article-price';
15
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';
16
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';
19
- import { FilterViewmodel, InputTextModule, FilterItemModule, InputDatePickerModule, IconCollapseHandleModule, ImageModule, IconModule as IconModule$1, OverlayModule, InputSearchModule, PaginationBarModule } from '@colijnit/corecomponents_v12';
27
+ import { FilterViewmodel, FilterItemViewmodel, FilterItemModule, InputTextModule, ButtonModule, IconModule, InputDatePickerModule, IconCollapseHandleModule, ImageModule, OverlayModule, InputSearchModule, PaginationBarModule } from '@colijnit/corecomponents_v12';
20
28
  import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
21
29
  import { PagingParameters } from '@colijnit/ioneconnector/build/model/paging-parameters';
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.31";
33
- this.publishDate = "22-6-2023 16:01:31";
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) => {
@@ -1347,6 +1472,14 @@ class CatalogFilterService {
1347
1472
  this._iOneController = _iOneController;
1348
1473
  this.priceMinFilter = 0;
1349
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;
1350
1483
  this.filters = [];
1351
1484
  this.filterItemMap = new Map([
1352
1485
  ['Catalog', 'rangeCatalog'],
@@ -1408,6 +1541,10 @@ class CatalogFilterService {
1408
1541
  if (filter.selectionDTOS && filter.selectionDTOS.length > 0) {
1409
1542
  newFilters.push(this.createNewFiltersAndCopySelections(filter, 'Turnover group'));
1410
1543
  }
1544
+ }), this._iOneController.getBrandFilter(filters).then((filter) => {
1545
+ if (filter.selectionDTOS && filter.selectionDTOS.length > 0) {
1546
+ newFilters.push(this.createNewFiltersAndCopySelections(filter, 'Brands'));
1547
+ }
1411
1548
  }));
1412
1549
  Promise.all(filterProms).then(() => {
1413
1550
  this.filters.length = 0;
@@ -1431,6 +1568,22 @@ class CatalogFilterService {
1431
1568
  getFilterItemMap(key) {
1432
1569
  return this.filterItemMap.get(key);
1433
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
+ }
1434
1587
  }
1435
1588
  CatalogFilterService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogFilterService_Factory() { return new CatalogFilterService(i0.ɵɵinject(CatalogConnectorService)); }, token: CatalogFilterService, providedIn: "root" });
1436
1589
  CatalogFilterService.decorators = [
@@ -1506,23 +1659,56 @@ class CatalogSearchService {
1506
1659
  if (!collection || collection.length === 0) {
1507
1660
  return;
1508
1661
  }
1509
- let cleared = false;
1510
- let filterRange = [];
1511
1662
  const searchFilterProp = this._filterService.getFilterItemMap(filterName);
1512
1663
  if (searchFilterProp) {
1513
- collection.forEach((viewModel) => {
1514
- if (!cleared) {
1515
- this.searchRequest[searchFilterProp] = '';
1516
- cleared = true;
1517
- }
1518
- if (viewModel.checked) {
1519
- filterRange.push(`?='${viewModel.code}'`);
1520
- }
1521
- });
1522
- this.searchRequest[searchFilterProp] = filterRange.join(',');
1664
+ this.searchRequest[searchFilterProp] = this.createFilterString(collection, searchFilterProp);
1523
1665
  this.searchArticles();
1524
1666
  }
1525
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
+ }
1526
1712
  searchArticles(getFilters = true) {
1527
1713
  const lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
1528
1714
  this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
@@ -1530,9 +1716,9 @@ class CatalogSearchService {
1530
1716
  var _a, _b;
1531
1717
  this.articles = (_a = result.articles) !== null && _a !== void 0 ? _a : [];
1532
1718
  this.resultCount = (_b = result.count) !== null && _b !== void 0 ? _b : undefined;
1533
- if (this._settingsService.settings.options.showFilter && getFilters) {
1534
- this._filterService.getFilters(this.searchRequest);
1535
- }
1719
+ //if (this._settingsService.settings.options.showFilter && getFilters) {
1720
+ this._filterService.getFilters(this.searchRequest);
1721
+ //}
1536
1722
  });
1537
1723
  }
1538
1724
  resetFilters(search = true) {
@@ -1924,26 +2110,19 @@ IconCacheService.ctorParameters = () => [
1924
2110
  ];
1925
2111
 
1926
2112
  class CatalogFilterComponent {
1927
- constructor(catalogSearchService, filterService, iconCache, optionsService, changeDetector, _catalogConnectorService) {
1928
- this.catalogSearchService = catalogSearchService;
1929
- this.filterService = filterService;
2113
+ constructor(iconCache, optionsService, changeDetector) {
1930
2114
  this.iconCache = iconCache;
1931
2115
  this.optionsService = optionsService;
1932
2116
  this.changeDetector = changeDetector;
1933
- this._catalogConnectorService = _catalogConnectorService;
1934
2117
  this.icons = IconEnum;
1935
2118
  this.showResetFilter = true;
2119
+ this.filterCategories = [
2120
+ 'Algemeen',
2121
+ 'Inkoop',
2122
+ 'Logistiek'
2123
+ ];
1936
2124
  this.collapsed = false;
1937
2125
  this._subs = [];
1938
- this._min = 0;
1939
- this._max = 100000;
1940
- this.loadArticles = (numberFilter) => __awaiter(this, void 0, void 0, function* () {
1941
- const request = new ArticleExtendedRequest();
1942
- request.articleNumber = numberFilter;
1943
- return this._catalogConnectorService.getArticlesForCatalog(request).then((articleResult) => {
1944
- return new FilterViewmodel(articleResult.articles, { text: 'articleNumber', value: 'articleNumber' }).filterItems;
1945
- });
1946
- });
1947
2126
  // this._subs = [
1948
2127
  // this.catalog.onPrepareFilters.subscribe(() => {
1949
2128
  // this.setupFilters();
@@ -1960,69 +2139,26 @@ class CatalogFilterComponent {
1960
2139
  if (window.innerWidth <= 950) {
1961
2140
  this.collapsed = true;
1962
2141
  }
1963
- this.initializePriceFilterMinMax();
2142
+ //this.initializePriceFilterMinMax();
1964
2143
  this.detectChanges();
1965
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
+ }
1966
2156
  ngOnDestroy() {
1967
2157
  this._destroyed = true;
1968
2158
  this._subs.forEach((x) => {
1969
2159
  x.unsubscribe();
1970
2160
  });
1971
2161
  }
1972
- initializePriceFilterMinMax() {
1973
- this._min = this.filterService.priceMinFilter;
1974
- this._max = this.filterService.priceMaxFilter;
1975
- }
1976
- resetFilters(event) {
1977
- this.catalogSearchService.resetFilters();
1978
- }
1979
- onHandleClick(event) {
1980
- this.collapsed = !this.collapsed;
1981
- }
1982
- updatePriceInputs(range) {
1983
- this.filterService.priceMinFilter = range.lowerBound;
1984
- this.filterService.priceMaxFilter = range.upperBound;
1985
- }
1986
- updateSliderRange() {
1987
- if (this.priceSlider) {
1988
- this.priceSlider.setLowerBound(this.filterService.priceMinFilter, false);
1989
- this.priceSlider.setUpperBound(this.filterService.priceMaxFilter, false);
1990
- }
1991
- }
1992
- updatePriceFrom() {
1993
- this.updateSliderRange();
1994
- }
1995
- updatePriceTo() {
1996
- this.updateSliderRange();
1997
- }
1998
- setPriceMinToDefault() {
1999
- this.filterService.priceMinFilter = this._min;
2000
- }
2001
- setPriceMaxToDefault() {
2002
- this.filterService.priceMaxFilter = this._max;
2003
- }
2004
- filterOnPrice() {
2005
- this.filterService.priceMinFilter = !!this.filterService.priceMinFilter ? this.filterService.priceMinFilter : this._min;
2006
- this.filterService.priceMaxFilter = !!this.filterService.priceMaxFilter ? this.filterService.priceMaxFilter : this._max;
2007
- // some user error protection
2008
- let trueLowerBound = Math.min(this.filterService.priceMinFilter, this.filterService.priceMaxFilter);
2009
- let trueUpperBound = Math.max(this.filterService.priceMinFilter, this.filterService.priceMaxFilter);
2010
- this.catalogSearchService.searchRequest.rangePrice = `${trueLowerBound} - ${trueUpperBound}`;
2011
- this.catalogSearchService.searchArticles();
2012
- }
2013
- handleCollectionChange(filterName, collection) {
2014
- this.catalogSearchService.filterOnCollection(filterName, collection);
2015
- }
2016
- handleCollectionChangeForSingleSelect(collection, modelName) {
2017
- this.catalogSearchService.searchRequest[modelName] = this._getFilterRequestForSingleSelect(collection);
2018
- this.catalogSearchService.searchArticles();
2019
- }
2020
- _getFilterRequestForSingleSelect(collection) {
2021
- let filterRequest = '';
2022
- const selectedItem = collection === null || collection === void 0 ? void 0 : collection.find(item => item.checked);
2023
- filterRequest = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.code.toString();
2024
- return filterRequest;
2025
- }
2026
2162
  detectChanges() {
2027
2163
  if (!this._destroyed) {
2028
2164
  this.changeDetector.detectChanges();
@@ -2033,7 +2169,24 @@ CatalogFilterComponent.decorators = [
2033
2169
  { type: Component, args: [{
2034
2170
  selector: 'co-catalog-filter',
2035
2171
  template: `
2036
- <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">
2037
2190
  <div *ngIf="showResetFilter" class="reset-filter-wrapper">
2038
2191
  <div class="reset-title-wrapper">
2039
2192
  <div class="reset-title">
@@ -2044,97 +2197,9 @@ CatalogFilterComponent.decorators = [
2044
2197
  </div>
2045
2198
  <div class="filter-reset" [textContent]="'RESET_FILTER' | localize" (click)="resetFilters($event)"></div>
2046
2199
  </div>
2047
- <div class="filter-items-wrapper co-small-scrollbar">
2048
- <div class="filter-item-wrapper">
2049
- <label class="temp">Price</label>
2050
- <div class="price-inputs">
2051
- <co-input-text
2052
- class="price-from"
2053
- [type]="'number'"
2054
- [digitsOnly]="true"
2055
- [hideArrowButtons]="true"
2056
- [excludePlusMinus]="true"
2057
- [label]="'BASELINE_PRICE' | localize"
2058
- [(model)]="filterService.priceMinFilter"
2059
- (modelChange)="updatePriceFrom()"
2060
- customWidth
2061
- ></co-input-text>
2062
- <co-input-text
2063
- class="price-to"
2064
- [type]="'number'"
2065
- [digitsOnly]="true"
2066
- [hideArrowButtons]="true"
2067
- [excludePlusMinus]="true"
2068
- [label]="'PRICE_TO' | localize"
2069
- [(model)]="filterService.priceMaxFilter"
2070
- (modelChange)="updatePriceTo()"
2071
- customWidth
2072
- ></co-input-text>
2073
- <co-icon [iconData]="iconCache.getIcon(icons.Check)" (click)="filterOnPrice()"></co-icon>
2074
- </div>
2075
- </div>
2076
- <div class="filter-item-wrapper">
2077
- <co-filter-item [placeholder]="'MODIFIED_DATE' | localize"
2078
- [expanded]="true"
2079
- [customContent]="true"
2080
- >
2081
- <co-input-date
2082
- [(model)]="catalogSearchService.searchRequest.dateModified"
2083
- (modelChange)="catalogSearchService.searchArticles()"
2084
- ></co-input-date>
2085
- </co-filter-item>
2086
- </div>
2087
- <div class="filter-item-wrapper">
2088
- <co-filter-item [placeholder]="'DESCRIPTION_ARTICLE' | localize"
2089
- [expanded]="true"
2090
- [customContent]="true"
2091
- >
2092
- <co-input-text [placeholder]="'DESCRIPTION' | localize" [(model)]="catalogSearchService.searchRequest.description"
2093
- noValidation></co-input-text>
2094
- </co-filter-item>
2095
- </div>
2096
- <div class="filter-item-wrapper">
2097
- <co-filter-item [placeholder]="'SALES_DESCRIPTION' | localize"
2098
- [expanded]="true"
2099
- [customContent]="true"
2100
- >
2101
- <co-input-text [placeholder]="'DESCRIPTION' | localize" [(model)]="catalogSearchService.searchRequest.salesDescription"
2102
- noValidation></co-input-text>
2103
- </co-filter-item>
2104
- </div>
2105
- <div class="filter-item-wrapper">
2106
- <co-filter-item [placeholder]="'NAME' | localize"
2107
- [expanded]="true"
2108
- [customContent]="true"
2109
- >
2110
- <co-input-text [placeholder]="'NAME' | localize" [(model)]="catalogSearchService.searchRequest.name"
2111
- noValidation></co-input-text>
2112
- </co-filter-item>
2113
- </div>
2114
- <div class="filter-item-wrapper">
2115
- <co-filter-item
2116
- [placeholder]="'ARTICLE_NR'| localize"
2117
- [searchPlaceholder]="'NUMBER' | localize"
2118
- [singleSelect]="true"
2119
- [minSearchCharsToLoadCollection]="3"
2120
- [collectionLoadFn]="loadArticles"
2121
- (collectionChange)="handleCollectionChangeForSingleSelect($event, 'articleNumber')">
2122
- </co-filter-item>
2123
- </div>
2124
- <div class="filter-item-wrapper" *ngFor="let filter of filterService.filters">
2125
- <co-filter-item
2126
- [placeholder]="filter.filterName"
2127
- [collection]="filter.filterItems"
2128
- [showLessLabel]="'Bekijk minder...'"
2129
- [showMoreLabel]="'Bekijk meer...'"
2130
- [searchPlaceholder]="'Zoeken...'"
2131
- [expanded]=true
2132
- [initialLimit]=5
2133
- (collectionChange)="handleCollectionChange(filter.filterName, $event)"
2134
- ></co-filter-item>
2135
- </div>
2200
+ <div class="filter-items-wrapper co-small-scrollbar">
2136
2201
  </div>
2137
- </div>
2202
+ </div>-->
2138
2203
  `,
2139
2204
  animations: [
2140
2205
  trigger('showFilterItem', [
@@ -2147,20 +2212,61 @@ CatalogFilterComponent.decorators = [
2147
2212
  },] }
2148
2213
  ];
2149
2214
  CatalogFilterComponent.ctorParameters = () => [
2150
- { type: CatalogSearchService },
2151
- { type: CatalogFilterService },
2152
2215
  { type: IconCacheService },
2153
2216
  { type: CatalogOptionsService },
2154
- { type: ChangeDetectorRef },
2155
- { type: CatalogConnectorService }
2217
+ { type: ChangeDetectorRef }
2156
2218
  ];
2157
2219
  CatalogFilterComponent.propDecorators = {
2158
- 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 },] }],
2159
2224
  showResetFilter: [{ type: Input }],
2160
2225
  showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }],
2161
2226
  collapsed: [{ type: HostBinding, args: ['class.collapsed',] }]
2162
2227
  };
2163
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
+
2164
2270
  // A pipe for localizing string values in view templates.
2165
2271
  class LocalizePipe {
2166
2272
  constructor(_dictionaryService) {
@@ -2186,25 +2292,756 @@ LocalizePipe.ctorParameters = () => [
2186
2292
  { type: DictionaryService }
2187
2293
  ];
2188
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
+
2189
3022
  class CatalogFilterModule {
2190
3023
  }
2191
3024
  CatalogFilterModule.decorators = [
2192
3025
  { type: NgModule, args: [{
2193
3026
  imports: [
2194
3027
  CommonModule,
2195
- IconModule,
3028
+ IconModule$1,
2196
3029
  InputTextModule,
2197
3030
  FilterItemModule,
2198
3031
  InputDatePickerModule,
2199
- IconCollapseHandleModule
3032
+ IconCollapseHandleModule,
3033
+ InputCheckboxModule,
3034
+ CatalogFilterCategoriesModule,
3035
+ CatalogFilterContentGeneralModule,
3036
+ CatalogFilterContentPurchaseModule,
3037
+ CatalogFilterContentLogisticsModule,
3038
+ PipeModule
2200
3039
  ],
2201
3040
  declarations: [
2202
- CatalogFilterComponent,
2203
- LocalizePipe
3041
+ CatalogFilterComponent
2204
3042
  ],
2205
3043
  exports: [
2206
- CatalogFilterComponent,
2207
- LocalizePipe
3044
+ CatalogFilterComponent
2208
3045
  ]
2209
3046
  },] }
2210
3047
  ];
@@ -2255,9 +3092,10 @@ CatalogCategoriesModule.decorators = [
2255
3092
  imports: [
2256
3093
  CommonModule,
2257
3094
  ImageModule,
2258
- IconModule$1,
3095
+ IconModule,
2259
3096
  CatalogFilterModule,
2260
- ResponsiveTextModule
3097
+ ResponsiveTextModule,
3098
+ PipeModule
2261
3099
  ],
2262
3100
  declarations: [
2263
3101
  CatalogCategoriesComponent
@@ -2560,7 +3398,7 @@ CatalogNavigationModule.decorators = [
2560
3398
  { type: NgModule, args: [{
2561
3399
  imports: [
2562
3400
  CommonModule,
2563
- IconModule,
3401
+ IconModule$1,
2564
3402
  CatalogFilterModule,
2565
3403
  CatalogExternalSourcesModule,
2566
3404
  OverlayModule
@@ -3037,11 +3875,12 @@ CatalogArticleTileModule.decorators = [
3037
3875
  { type: NgModule, args: [{
3038
3876
  imports: [
3039
3877
  CommonModule,
3040
- IconModule,
3878
+ IconModule$1,
3041
3879
  CatalogFilterModule,
3042
3880
  PriceDisplayPipeModule,
3043
- ButtonModule,
3044
- ImageModule
3881
+ ButtonModule$1,
3882
+ ImageModule,
3883
+ PipeModule
3045
3884
  ],
3046
3885
  declarations: [
3047
3886
  CatalogArticleTileComponent
@@ -3177,7 +4016,8 @@ CatalogSearchResultTileModule.decorators = [
3177
4016
  CatalogArticleTileModule,
3178
4017
  VisibilityObserverModule,
3179
4018
  PaginationBarModule,
3180
- CatalogFilterModule
4019
+ CatalogFilterModule,
4020
+ PipeModule
3181
4021
  ],
3182
4022
  declarations: [
3183
4023
  CatalogSearchResultTileComponent
@@ -3321,10 +4161,11 @@ CatalogArticleListModule.decorators = [
3321
4161
  imports: [
3322
4162
  CommonModule,
3323
4163
  ImageModule$1,
3324
- IconModule,
4164
+ IconModule$1,
3325
4165
  CatalogFilterModule,
3326
4166
  PriceDisplayPipeModule,
3327
- ButtonModule
4167
+ ButtonModule$1,
4168
+ PipeModule
3328
4169
  ],
3329
4170
  declarations: [
3330
4171
  CatalogArticleListComponent
@@ -3344,7 +4185,8 @@ CatalogSearchResultListModule.decorators = [
3344
4185
  VisibilityObserverModule,
3345
4186
  CatalogArticleListModule,
3346
4187
  PaginationBarModule,
3347
- CatalogFilterModule
4188
+ CatalogFilterModule,
4189
+ PipeModule
3348
4190
  ],
3349
4191
  declarations: [
3350
4192
  CatalogSearchResultListComponent
@@ -3451,5 +4293,5 @@ CatalogExternalSourceModule.decorators = [
3451
4293
  * Generated bundle index. Do not edit.
3452
4294
  */
3453
4295
 
3454
- 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 };
3455
4297
  //# sourceMappingURL=colijnit-catalog.js.map