@colijnit/catalog 12.1.27 → 12.1.28

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 (43) hide show
  1. package/bundles/colijnit-catalog.umd.js +22 -248
  2. package/bundles/colijnit-catalog.umd.js.map +1 -1
  3. package/colijnit-catalog.d.ts +14 -17
  4. package/colijnit-catalog.metadata.json +1 -1
  5. package/esm2015/colijnit-catalog.js +15 -18
  6. package/esm2015/lib/cache/cache-field.js +2 -2
  7. package/esm2015/lib/cache/parameter-cache-field.js +3 -3
  8. package/esm2015/lib/cache/service/select-multiple-cache.service.js +4 -4
  9. package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +4 -4
  10. package/esm2015/lib/cache/service/select-single-cache.service.js +3 -3
  11. package/esm2015/lib/catalog-version.js +3 -3
  12. package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +3 -2
  13. package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +2 -2
  14. package/esm2015/lib/component/catalog-navigation/catalog-navigation.module.js +2 -2
  15. package/esm2015/lib/component/catalog-search/catalog-search.component.js +3 -3
  16. package/esm2015/lib/pipe/localize.pipe.js +1 -1
  17. package/esm2015/lib/service/catalog-connector.service.js +1 -1
  18. package/esm2015/lib/service/catalog-options.service.js +1 -1
  19. package/esm2015/lib/service/catalog.service.js +2 -126
  20. package/esm2015/lib/service/dictionary.service.js +4 -4
  21. package/esm2015/lib/service/icon-cache.service.js +4 -4
  22. package/fesm2015/colijnit-catalog.js +11 -239
  23. package/fesm2015/colijnit-catalog.js.map +1 -1
  24. package/lib/cache/cache-field.d.ts +1 -1
  25. package/lib/cache/service/select-multiple-cache.service.d.ts +3 -3
  26. package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +5 -5
  27. package/lib/cache/service/select-single-cache.service.d.ts +4 -4
  28. package/lib/component/catalog-article-tile/style/_layout.scss +13 -8
  29. package/lib/component/catalog-article-tile/style/_material-definition.scss +1 -0
  30. package/lib/component/catalog-article-tile/style/_theme.scss +1 -0
  31. package/lib/service/catalog-options.service.d.ts +1 -1
  32. package/lib/service/catalog.service.d.ts +0 -11
  33. package/lib/service/dictionary.service.d.ts +1 -1
  34. package/lib/service/icon-cache.service.d.ts +2 -2
  35. package/package.json +1 -1
  36. package/esm2015/lib/directive/overlay/overlay-parent.directive.js +0 -19
  37. package/esm2015/lib/directive/overlay/overlay.directive.js +0 -73
  38. package/esm2015/lib/directive/overlay/overlay.module.js +0 -18
  39. package/esm2015/lib/interface/order-by.interface.js +0 -2
  40. package/lib/directive/overlay/overlay-parent.directive.d.ts +0 -6
  41. package/lib/directive/overlay/overlay.directive.d.ts +0 -15
  42. package/lib/directive/overlay/overlay.module.d.ts +0 -2
  43. package/lib/interface/order-by.interface.d.ts +0 -4
@@ -30,8 +30,8 @@
30
30
  function Version() {
31
31
  this.name = "@colijnit/catalog";
32
32
  this.description = "iOne Catalog module based on Angular 12";
33
- this.symVer = "12.1.27";
34
- this.publishDate = "13-4-2023 18:09:01";
33
+ this.symVer = "12.1.28";
34
+ this.publishDate = "21-4-2023 16:40:30";
35
35
  }
36
36
  return Version;
37
37
  }());
@@ -2431,7 +2431,7 @@
2431
2431
  // this.ensureDataListsLoaded();
2432
2432
  this.articlesPerPage = this._settingsService.settings.options.maxItemsPerPage;
2433
2433
  if (this._settingsService.settings.options.searchOnStart) {
2434
- this.searchArticles();
2434
+ this._catalogSearchService.searchArticles();
2435
2435
  }
2436
2436
  }
2437
2437
  return [2 /*return*/];
@@ -2439,18 +2439,8 @@
2439
2439
  }); }), this.optionsService.parametersSet.subscribe(function (set) {
2440
2440
  if (set) {
2441
2441
  _this.defaultOptions = _this.optionsService.parameters;
2442
- // this._createDefaultRequest();
2443
- // if (this.optionsService.parameters.general && this._settingsService.settings.options.searchOnStart) {
2444
- // this._setRequestParametersAndProps(null, null, this.optionsService.parameters.general.split(' '));
2445
- // this.searchArticles();
2446
- // }
2447
2442
  }
2448
2443
  }));
2449
- /*
2450
- this.doArticleSearchThrottledFunc = this.utils.getAsThrottledFunction(() => {
2451
- return this.doSearchArticles();
2452
- }, this.minMillisBetweenArticleSearches, this);
2453
- */
2454
2444
  }
2455
2445
  Object.defineProperty(CatalogService.prototype, "externalSourceUrl", {
2456
2446
  get: function () {
@@ -2526,10 +2516,6 @@
2526
2516
  get: function () {
2527
2517
  return this._currentPage;
2528
2518
  },
2529
- set: function (value) {
2530
- this._currentPage = value;
2531
- this.doSearchArticles(false);
2532
- },
2533
2519
  enumerable: false,
2534
2520
  configurable: true
2535
2521
  });
@@ -2588,104 +2574,10 @@
2588
2574
  });
2589
2575
  });
2590
2576
  };
2591
- // public filterOnCollection(collection: FilterItemViewmodel[]): void {
2592
- // if (!collection || collection.length === 0) {
2593
- // return;
2594
- // }
2595
- // let cleared: boolean = false;
2596
- // let filterRange: string[] = [];
2597
- // const searchFilterProp: string = this._filterService.getFilterItemMap(collection[0].filter.filterName);
2598
- // if (searchFilterProp) {
2599
- // collection.forEach((viewModel: FilterItemViewmodel) => {
2600
- // if (!cleared) {
2601
- // this.articleSearchFilters[searchFilterProp] = '';
2602
- // cleared = true;
2603
- // }
2604
- // if (viewModel.checked) {
2605
- // filterRange.push(`?='${viewModel.code}'`);
2606
- // }
2607
- // });
2608
- // this.articleSearchFilters[searchFilterProp] = filterRange.join(',');
2609
- // this.searchArticles();
2610
- // }
2611
- // }
2612
- CatalogService.prototype.changeOrderBy = function (orderBy) {
2613
- this._currentOrderBy = orderBy.id;
2614
- this._sortArticleList();
2615
- };
2616
- CatalogService.prototype.searchArticles = function () {
2617
- return __awaiter(this, void 0, void 0, function () {
2618
- var _this = this;
2619
- return __generator(this, function (_a) {
2620
- if (!this._controllerInitialized) {
2621
- return [2 /*return*/];
2622
- }
2623
- clearTimeout(this._searchTimer);
2624
- this._searchTimer = setTimeout(function () {
2625
- _this.searchTextChanged.next(_this._filterText);
2626
- _this.doArticleSearchThrottledFunc.call(_this);
2627
- }, 400);
2628
- return [2 /*return*/];
2629
- });
2630
- });
2631
- };
2632
- CatalogService.prototype.resetFilters = function () {
2633
- // this._createDefaultRequest();
2634
- // this.category = null;
2635
- // this.turnoverGroup = null;
2636
- // if (this.filterText !== null) {
2637
- // this.filterText = this.filterText.slice();
2638
- // }
2639
- // this.onResetFilters.next();
2640
- };
2641
2577
  CatalogService.prototype.reset = function () {
2642
2578
  this.showCatOrTurnoverGroupArticles = false;
2643
2579
  this.showExternalSource = false;
2644
2580
  };
2645
- CatalogService.prototype.ensureDataListsLoaded = function () {
2646
- return __awaiter(this, void 0, void 0, function () {
2647
- return __generator(this, function (_a) {
2648
- return [2 /*return*/];
2649
- });
2650
- });
2651
- };
2652
- // POST: this.articlesOnShowcase contains all articles for given search parameters.
2653
- CatalogService.prototype.doSearchArticles = function (getFilters) {
2654
- if (getFilters === void 0) { getFilters = true; }
2655
- return __awaiter(this, void 0, void 0, function () {
2656
- return __generator(this, function (_a) {
2657
- return [2 /*return*/];
2658
- });
2659
- });
2660
- };
2661
- // public sortTurnoverGroups(categories: ArticleCategory[]): void {
2662
- // }
2663
- //
2664
- CatalogService.prototype._sortArticleList = function () {
2665
- switch (this._currentOrderBy) {
2666
- case 1:
2667
- this._sortArticleListByArticleNr();
2668
- break;
2669
- case 2:
2670
- this._sortArticleListByArticleName();
2671
- break;
2672
- }
2673
- };
2674
- CatalogService.prototype._sortArticleListByArticleNr = function () {
2675
- var newList = this.filteredArticlesOnShowcase.sort(function (a, b) { return a.articleNumber > b.articleNumber ? 1 : -1; });
2676
- this.filteredArticlesOnShowcase = newList.slice();
2677
- };
2678
- CatalogService.prototype._sortArticleListByArticleName = function () {
2679
- var newList = this.filteredArticlesOnShowcase.sort(function (a, b) {
2680
- var first = a.name ? a.name : a.description;
2681
- var second = b.name ? b.name : b.description;
2682
- return first > second ? 1 : -1;
2683
- });
2684
- this.filteredArticlesOnShowcase = newList.slice();
2685
- };
2686
- CatalogService.prototype._createDefaultRequest = function () {
2687
- this.articleSearchFilters = Object.assign({}, this.defaultOptions);
2688
- };
2689
2581
  return CatalogService;
2690
2582
  }());
2691
2583
  CatalogService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogService_Factory() { return new CatalogService(i0__namespace.ɵɵinject(CatalogConnectorService), i0__namespace.ɵɵinject(CatalogConnectorAdapterService), i0__namespace.ɵɵinject(CatalogSettingsService), i0__namespace.ɵɵinject(CatalogOptionsService), i0__namespace.ɵɵinject(CatalogImageService), i0__namespace.ɵɵinject(CatalogSettingsService), i0__namespace.ɵɵinject(CatalogFilterService), i0__namespace.ɵɵinject(CatalogSearchService)); }, token: CatalogService, providedIn: "root" });
@@ -3264,7 +3156,7 @@
3264
3156
  CatalogNavigationComponent.decorators = [
3265
3157
  { type: i0.Component, args: [{
3266
3158
  selector: 'co-catalog-navigation',
3267
- template: "\n <div class=\"navigation-wrapper\" [class.minified]=\"minified\">\n <div class=\"navigation-item-wrapper\">\n <a class=\"home-link\" (click)=\"handleHomeClick($event)\" [textContent]=\"homeLabel\"></a>\n </div>\n <div class=\"navigation-item-wrapper\" [class.active]=\"mobileMenuToggle\" (click)=\"onToggleMobileMenu()\" \n (mouseover)=\"handleShowCollectionOverlay()\" \n (mouseleave)=\"handleHideCollectionOverlay()\" \n overlayParent #collectionParentForOverlay=\"overlayParent\">\n <co-icon class=\"hamburger-icon\" [iconData]=\"iconCache.getIcon(icons.Hamburger)\"></co-icon>\n <span [textContent]=\"collectionLabel\"></span>\n <div class=\"navigation-overlay-wrapper\" [overlay]=\"collectionParentForOverlay\" [keepInView]=\"true\" *ngIf=\"showCollectionOverlay\" @showHideOverlay>\n <div class=\"navigation-category-column-wrapper\" *ngFor=\"let category of categories\">\n <div class=\"navigation-category\" [textContent]=\"category.category\" (click)=\"handleCategoryClick($event, category.category)\"></div>\n <div class=\"navigation-turnovergroup-wrapper\">\n <div class=\"navigation-turnovergroup\" *ngFor=\"let turnoverGroup of category.turnoverGroups\" [textContent]=\"turnoverGroup.description\" (click)=\"handleTurnoverGroupClick($event, turnoverGroup.description)\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"navigation-item-wrapper\" [class.active]=\"mobileMenuToggle\" (click)=\"onToggleMobileMenu()\" \n (mouseover)=\"handleShowExternalOverlay()\"\n (mouseleave)=\"handleHideExternalOverlay()\"\n overlayParent #externalParentForOverlay=\"overlayParent\">\n <co-icon class=\"hamburger-icon\" [iconData]=\"iconCache.getIcon(icons.Ar)\"></co-icon>\n <span [textContent]=\"externalSourcesLabel\"></span>\n <div class=\"navigation-overlay-wrapper\" [overlay]=\"externalParentForOverlay\" [keepInView]=\"true\" *ngIf=\"showExternalOverlay\" @showHideOverlay>\n <co-catalog-external-sources (externalSourceClick)=\"handleExternalSourceClick($event)\"></co-catalog-external-sources>\n </div>\n </div>\n </div>\n ",
3159
+ template: "\n <div class=\"navigation-wrapper\" [class.minified]=\"minified\">\n <div class=\"navigation-item-wrapper\">\n <a class=\"home-link\" (click)=\"handleHomeClick($event)\" [textContent]=\"homeLabel\"></a>\n </div>\n <div class=\"navigation-item-wrapper\" [class.active]=\"mobileMenuToggle\" (click)=\"onToggleMobileMenu()\" \n (mouseover)=\"handleShowCollectionOverlay()\" \n (mouseleave)=\"handleHideCollectionOverlay()\" \n overlayParent #collectionParentForOverlay=\"overlayParent\">\n <co-icon class=\"hamburger-icon\" [iconData]=\"iconCache.getIcon(icons.Hamburger)\"></co-icon>\n <span [textContent]=\"collectionLabel\"></span>\n <div class=\"navigation-overlay-wrapper\" [overlay]=\"collectionParentForOverlay\" [keepInView]=\"true\" *ngIf=\"showCollectionOverlay\" @showHideOverlay>\n <div class=\"navigation-category-column-wrapper\" *ngFor=\"let category of categories\">\n <div class=\"navigation-category\" [textContent]=\"category.category\" (click)=\"handleCategoryClick($event, category.category)\"></div>\n <div class=\"navigation-turnovergroup-wrapper\">\n <div class=\"navigation-turnovergroup\" *ngFor=\"let turnoverGroup of category.turnoverGroups\" [textContent]=\"turnoverGroup.description\" (click)=\"handleTurnoverGroupClick($event, turnoverGroup.turnovergroupNr)\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"navigation-item-wrapper\" [class.active]=\"mobileMenuToggle\" (click)=\"onToggleMobileMenu()\" \n (mouseover)=\"handleShowExternalOverlay()\"\n (mouseleave)=\"handleHideExternalOverlay()\"\n overlayParent #externalParentForOverlay=\"overlayParent\">\n <co-icon class=\"hamburger-icon\" [iconData]=\"iconCache.getIcon(icons.Ar)\"></co-icon>\n <span [textContent]=\"externalSourcesLabel\"></span>\n <div class=\"navigation-overlay-wrapper\" [overlay]=\"externalParentForOverlay\" [keepInView]=\"true\" *ngIf=\"showExternalOverlay\" @showHideOverlay>\n <co-catalog-external-sources (externalSourceClick)=\"handleExternalSourceClick($event)\"></co-catalog-external-sources>\n </div>\n </div>\n </div>\n ",
3268
3160
  animations: [
3269
3161
  animations.trigger('showHideOverlay', [
3270
3162
  animations.state('void', animations.style({ height: '0' })),
@@ -3386,121 +3278,6 @@
3386
3278
  },] }
3387
3279
  ];
3388
3280
 
3389
- var OverlayDirective = /** @class */ (function () {
3390
- function OverlayDirective(elementRef) {
3391
- this.keepInView = false;
3392
- this._elementRef = elementRef;
3393
- }
3394
- Object.defineProperty(OverlayDirective.prototype, "parent", {
3395
- set: function (value) {
3396
- if (value && value.elementRef) {
3397
- this._parent = value.elementRef;
3398
- }
3399
- else {
3400
- if (this._parent) {
3401
- this._observer.disconnect();
3402
- }
3403
- }
3404
- },
3405
- enumerable: false,
3406
- configurable: true
3407
- });
3408
- OverlayDirective.prototype.handleScroll = function (event) {
3409
- this._checkAndPlaceElement();
3410
- };
3411
- OverlayDirective.prototype.ngOnDestroy = function () {
3412
- // document.removeEventListener("scroll", (event) => this._handleScroll(event), false);
3413
- this._observer.disconnect();
3414
- this._elementRef = undefined;
3415
- this._parent = undefined;
3416
- };
3417
- OverlayDirective.prototype.ngOnInit = function () {
3418
- var _this = this;
3419
- // document.addEventListener("scroll", (event) => this._handleScroll(event), false);
3420
- this._checkAndPlaceElement();
3421
- this._observer = new ResizeObserver(function (entries) {
3422
- _this._checkAndPlaceElement();
3423
- });
3424
- this._observer.observe(document.body);
3425
- };
3426
- OverlayDirective.prototype._checkAndPlaceElement = function () {
3427
- var elementRect = this._elementRef.nativeElement.getBoundingClientRect();
3428
- var parentRect = this._parent.nativeElement.getBoundingClientRect();
3429
- this._placeElement(window.innerHeight, window.innerWidth, parentRect, elementRect);
3430
- };
3431
- OverlayDirective.prototype._placeElement = function (bottom, right, parentRect, elementRect) {
3432
- if (bottom < parentRect.bottom + elementRect.height) { // make sure it fits at the bottom
3433
- this._elementRef.nativeElement.style.top = (parentRect.top - elementRect.height) + "px";
3434
- }
3435
- else {
3436
- this._elementRef.nativeElement.style.top = parentRect.bottom + "px";
3437
- }
3438
- if (this.keepInView) {
3439
- if (elementRect.right > window.innerWidth) {
3440
- //see if we can move it to the left
3441
- if ((window.innerWidth - elementRect.width) > 0) {
3442
- this._elementRef.nativeElement.style.left = (window.innerWidth - elementRect.width) + "px";
3443
- }
3444
- else { //resize so it fits into view
3445
- this._elementRef.nativeElement.style.width = window.innerWidth + "px";
3446
- this._elementRef.nativeElement.style.left = 0;
3447
- }
3448
- }
3449
- }
3450
- };
3451
- return OverlayDirective;
3452
- }());
3453
- OverlayDirective.decorators = [
3454
- { type: i0.Directive, args: [{
3455
- selector: "[overlay]"
3456
- },] }
3457
- ];
3458
- OverlayDirective.ctorParameters = function () { return [
3459
- { type: i0.ElementRef }
3460
- ]; };
3461
- OverlayDirective.propDecorators = {
3462
- parent: [{ type: i0.Input, args: ["overlay",] }],
3463
- keepInView: [{ type: i0.Input }],
3464
- handleScroll: [{ type: i0.HostListener, args: ["document:scroll", ["$event"],] }]
3465
- };
3466
-
3467
- var OverlayParentDirective = /** @class */ (function () {
3468
- function OverlayParentDirective(elementRef) {
3469
- this.elementRef = elementRef;
3470
- }
3471
- OverlayParentDirective.prototype.ngOnDestroy = function () {
3472
- this.elementRef = undefined;
3473
- };
3474
- return OverlayParentDirective;
3475
- }());
3476
- OverlayParentDirective.decorators = [
3477
- { type: i0.Directive, args: [{
3478
- selector: '[overlayParent]',
3479
- exportAs: 'overlayParent'
3480
- },] }
3481
- ];
3482
- OverlayParentDirective.ctorParameters = function () { return [
3483
- { type: i0.ElementRef }
3484
- ]; };
3485
-
3486
- var OverlayModule = /** @class */ (function () {
3487
- function OverlayModule() {
3488
- }
3489
- return OverlayModule;
3490
- }());
3491
- OverlayModule.decorators = [
3492
- { type: i0.NgModule, args: [{
3493
- declarations: [
3494
- OverlayDirective,
3495
- OverlayParentDirective
3496
- ],
3497
- exports: [
3498
- OverlayDirective,
3499
- OverlayParentDirective
3500
- ]
3501
- },] }
3502
- ];
3503
-
3504
3281
  var CatalogNavigationModule = /** @class */ (function () {
3505
3282
  function CatalogNavigationModule() {
3506
3283
  }
@@ -3513,7 +3290,7 @@
3513
3290
  corecomponents.IconModule,
3514
3291
  CatalogFilterModule,
3515
3292
  CatalogExternalSourcesModule,
3516
- OverlayModule
3293
+ corecomponents_v12.OverlayModule
3517
3294
  ],
3518
3295
  declarations: [
3519
3296
  CatalogNavigationComponent
@@ -3530,7 +3307,7 @@
3530
3307
  this._catalogEventService = _catalogEventService;
3531
3308
  this.showNavigation = false;
3532
3309
  this.showFilter = false;
3533
- this.showViewModes = false;
3310
+ this.showViewModes = true;
3534
3311
  this.onLookAtArticleButtonClick = new i0.EventEmitter();
3535
3312
  this.onArButtonClick = new i0.EventEmitter();
3536
3313
  this.onAddArticleButtonClick = new i0.EventEmitter();
@@ -3571,7 +3348,7 @@
3571
3348
  CatalogSearchComponent.decorators = [
3572
3349
  { type: i0.Component, args: [{
3573
3350
  selector: 'co-catalog-search',
3574
- template: "\n <div class=\"catalog-search-wrapper\">\n <ng-container *ngIf=\"showFilter\">\n <div class=\"filter-content\">\n <co-catalog-filter [showResetFilter]=\"true\"></co-catalog-filter>\n </div>\n </ng-container>\n <div class=\"search-content-wrapper\">\n <div class=\"search-header\">\n<!--\n <co-catalog-external-sources></co-catalog-external-sources>\n-->\n <co-catalog-search-header [placeholder]=\"'Zoeken naar artikelen'\"></co-catalog-search-header>\n </div>\n <ng-container *ngIf=\"showViewModes\">\n <button (click)=\"mode = 'tile'\">tile</button>\n <button (click)=\"mode = 'list'\">list</button>\n <button (click)=\"mode = 'grid'\">grid</button>\n </ng-container>\n <co-catalog-navigation *ngIf=\"showNavigation\"></co-catalog-navigation>\n <co-catalog-categories (categoryClick)=\"handleCategoryClick($event)\" (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"></co-catalog-categories>\n <div class=\"search-content\">\n <ng-container *ngIf=\"mode === 'tile'\">\n <co-catalog-search-result-tile></co-catalog-search-result-tile>\n </ng-container>\n <ng-container *ngIf=\"mode === 'list'\">\n <co-catalog-search-result-list></co-catalog-search-result-list>\n </ng-container>\n <ng-container *ngIf=\"mode === 'grid'\">\n <!--\n <co-catalog-search-result></co-catalog-search-result>\n -->\n </ng-container>\n </div>\n </div>\n </div>\n ",
3351
+ template: "\n <div class=\"catalog-search-wrapper\">\n <ng-container *ngIf=\"showFilter\">\n <div class=\"filter-content\">\n <co-catalog-filter [showResetFilter]=\"true\"></co-catalog-filter>\n </div>\n </ng-container>\n <div class=\"search-content-wrapper\">\n <div class=\"search-header\">\n<!--\n <co-catalog-external-sources></co-catalog-external-sources>\n-->\n <co-catalog-search-header [placeholder]=\"'Zoeken naar artikelen'\"></co-catalog-search-header>\n </div>\n <ng-container *ngIf=\"showViewModes\">\n <button (click)=\"mode = 'tile'\">tile</button>\n <button (click)=\"mode = 'list'\">list</button>\n <button (click)=\"mode = 'grid'\">grid</button>\n </ng-container>\n <co-catalog-navigation *ngIf=\"showNavigation\" (categoryClick)=\"handleCategoryClick($event)\" (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"></co-catalog-navigation>\n <co-catalog-categories (categoryClick)=\"handleCategoryClick($event)\" (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"></co-catalog-categories>\n <div class=\"search-content\">\n <ng-container *ngIf=\"mode === 'tile'\">\n <co-catalog-search-result-tile></co-catalog-search-result-tile>\n </ng-container>\n <ng-container *ngIf=\"mode === 'list'\">\n <co-catalog-search-result-list></co-catalog-search-result-list>\n </ng-container>\n <ng-container *ngIf=\"mode === 'grid'\">\n <!--\n <co-catalog-search-result></co-catalog-search-result>\n -->\n </ng-container>\n </div>\n </div>\n </div>\n ",
3575
3352
  encapsulation: i0.ViewEncapsulation.None
3576
3353
  },] }
3577
3354
  ];
@@ -3868,7 +3645,7 @@
3868
3645
  CatalogArticleTileComponent.decorators = [
3869
3646
  { type: i0.Component, args: [{
3870
3647
  selector: 'co-catalog-article-tile',
3871
- template: "\n <div class=\"article-tile-wrapper\">\n <div class=\"card-wrapper\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"button-wrapper\">\n <co-icon *ngIf=\"threeD\" [iconData]=\"iconCache.getIcon(icons.ThreeD)\" class=\"pointer\"></co-icon>\n <co-icon *ngIf=\"threeD && options.showARButton\" class=\"pointer\"\n [iconData]=\"iconCache.getIcon(icons.Ar)\"\n (click)=\"handleArButtonClick($event)\"\n ></co-icon>\n </div>\n </div>\n <div class=\"description-wrapper\">\n <!--\n <div class=\"main\">\n -->\n <div class=\"main-top\">\n <div *ngIf=\"!!turnover\" class=\"turnover\" [innerText]=\"removeHtmlTags(turnover)\"></div>\n <div *ngIf=\"!!name\" class=\"description\" [innerText]=\"removeHtmlTags(name)\"></div>\n </div>\n <div class=\"main-bottom\">\n <div class=\"main-bottom-left\">\n <div *ngIf=\"!!article?.price\" class=\"price\" [innerText]=\"article?.price | priceDisplay:valutaSymbol\"></div>\n <div *ngIf=\"!!article?.articleNumber\" class=\"sku\">\n <span [innerText]=\"'sku' | localize\"></span>:\n <span [innerText]=\"article.articleNumber\"></span>\n </div>\n <div *ngIf=\"stock_available\" (click)=\"handleStockDetailsButtonClick($event)\" class=\"stock\"\n [innerText]=\"stock_available\"></div>\n <div *ngIf=\"!stock_available\" (click)=\"handleStockDetailsButtonClick($event)\" class=\"stock not-in-stock\"\n [innerText]=\"'Niet op voorraad'\"></div>\n </div>\n <div *ngIf=\"options.showAddArticleButton\" class=\"on-article-buttons\">\n <co-button *ngIf=\"!configurable\"\n [label]=\"options.addArticleButtonText\"\n class=\"open-icon action pointer\"\n (onClick)=\"handleAddArticleButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.AddToCartDrop)\">\n </co-button>\n <co-button *ngIf=\"configurable\"\n [label]=\"options.lookAtArticleButtonText\"\n class=\"open-icon action pointer\"\n (onClick)=\"handleLookAtArticleButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.MagicWand)\">\n </co-button>\n <!--co-button\n [label]=\"options.stockButtonText\"\n class=\"open-icon action pointer stock\"\n (onClick)=\"handleStockDetailsButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.Truck)\">\n </co-button-->\n </div>\n </div>\n </div>\n </div>\n ",
3648
+ template: "\n <div class=\"article-tile-wrapper\">\n <div class=\"card-wrapper\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"button-wrapper\">\n <co-icon *ngIf=\"threeD\" [iconData]=\"iconCache.getIcon(icons.ThreeD)\" class=\"pointer\"></co-icon>\n <co-icon *ngIf=\"threeD && options.showARButton\" class=\"pointer\"\n [iconData]=\"iconCache.getIcon(icons.Ar)\"\n (click)=\"handleArButtonClick($event)\"\n ></co-icon>\n </div>\n </div>\n <div class=\"description-wrapper\">\n <!--\n <div class=\"main\">\n -->\n <div class=\"main-top\">\n <div *ngIf=\"!!turnover\" class=\"turnover\" [innerText]=\"removeHtmlTags(turnover)\"></div>\n <div class=\"name\" [innerText]=\"removeHtmlTags(article.name)\"></div>\n <div class=\"description\" [innerText]=\"removeHtmlTags(article.description)\"></div>\n </div>\n <div class=\"main-bottom\">\n <div class=\"main-bottom-left\">\n <div *ngIf=\"!!article?.price\" class=\"price\" [innerText]=\"article?.price | priceDisplay:valutaSymbol\"></div>\n <div *ngIf=\"!!article?.articleNumber\" class=\"sku\">\n <span [innerText]=\"'sku' | localize\"></span>:\n <span [innerText]=\"article.articleNumber\"></span>\n </div>\n <div *ngIf=\"stock_available\" (click)=\"handleStockDetailsButtonClick($event)\" class=\"stock\"\n [innerText]=\"stock_available\"></div>\n <div *ngIf=\"!stock_available\" (click)=\"handleStockDetailsButtonClick($event)\" class=\"stock not-in-stock\"\n [innerText]=\"'Niet op voorraad'\"></div>\n </div>\n <div *ngIf=\"options.showAddArticleButton\" class=\"on-article-buttons\">\n <co-button *ngIf=\"!configurable\"\n [label]=\"options.addArticleButtonText\"\n class=\"open-icon action pointer\"\n (onClick)=\"handleAddArticleButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.AddToCartDrop)\">\n </co-button>\n <co-button *ngIf=\"configurable\"\n [label]=\"options.lookAtArticleButtonText\"\n class=\"open-icon action pointer\"\n (onClick)=\"handleLookAtArticleButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.MagicWand)\">\n </co-button>\n <!--co-button\n [label]=\"options.stockButtonText\"\n class=\"open-icon action pointer stock\"\n (onClick)=\"handleStockDetailsButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.Truck)\">\n </co-button-->\n </div>\n </div>\n </div>\n </div>\n ",
3872
3649
  encapsulation: i0.ViewEncapsulation.None
3873
3650
  },] }
3874
3651
  ];
@@ -4264,17 +4041,14 @@
4264
4041
  exports.Version = Version;
4265
4042
  exports["ɵa"] = CatalogFilterComponent;
4266
4043
  exports["ɵb"] = CatalogFilterService;
4267
- exports["ɵba"] = CatalogArticleTileComponent;
4268
- exports["ɵbb"] = ArticleBaseComponent;
4269
- exports["ɵbc"] = VisibilityObserverModule;
4270
- exports["ɵbd"] = VisibilityObserverMasterDirective;
4271
- exports["ɵbe"] = VisibilityObserverDirective;
4272
- exports["ɵbf"] = CatalogSearchResultTileComponent;
4273
- exports["ɵbg"] = CatalogSearchBaseComponent;
4274
- exports["ɵbh"] = CatalogArticleListComponent;
4275
- exports["ɵbi"] = CatalogSearchResultListComponent;
4276
- exports["ɵbj"] = CatalogSearchComponent;
4277
- exports["ɵbk"] = CatalogExternalSourceComponent;
4044
+ exports["ɵba"] = VisibilityObserverMasterDirective;
4045
+ exports["ɵbb"] = VisibilityObserverDirective;
4046
+ exports["ɵbc"] = CatalogSearchResultTileComponent;
4047
+ exports["ɵbd"] = CatalogSearchBaseComponent;
4048
+ exports["ɵbe"] = CatalogArticleListComponent;
4049
+ exports["ɵbf"] = CatalogSearchResultListComponent;
4050
+ exports["ɵbg"] = CatalogSearchComponent;
4051
+ exports["ɵbh"] = CatalogExternalSourceComponent;
4278
4052
  exports["ɵc"] = CatalogConnectorService;
4279
4053
  exports["ɵd"] = CatalogConnectorAdapterService;
4280
4054
  exports["ɵe"] = SelectSingleCacheService;
@@ -4293,12 +4067,12 @@
4293
4067
  exports["ɵr"] = CatalogCategoriesComponent;
4294
4068
  exports["ɵs"] = CatalogImageService;
4295
4069
  exports["ɵt"] = CatalogExternalSourcesComponent;
4296
- exports["ɵu"] = OverlayModule;
4297
- exports["ɵv"] = OverlayDirective;
4298
- exports["ɵw"] = OverlayParentDirective;
4299
- exports["ɵx"] = CatalogNavigationComponent;
4300
- exports["ɵy"] = CatalogEventService;
4301
- exports["ɵz"] = CatalogSearchHeaderComponent;
4070
+ exports["ɵu"] = CatalogNavigationComponent;
4071
+ exports["ɵv"] = CatalogEventService;
4072
+ exports["ɵw"] = CatalogSearchHeaderComponent;
4073
+ exports["ɵx"] = CatalogArticleTileComponent;
4074
+ exports["ɵy"] = ArticleBaseComponent;
4075
+ exports["ɵz"] = VisibilityObserverModule;
4302
4076
 
4303
4077
  Object.defineProperty(exports, '__esModule', { value: true });
4304
4078