@colijnit/catalog 12.1.53 → 12.1.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/colijnit-catalog.umd.js +108 -60
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/base/catalog-search-base.component.js +10 -1
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +3 -3
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +45 -32
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +6 -2
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +9 -2
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +9 -2
- package/fesm2015/colijnit-catalog.js +179 -141
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/base/catalog-search-base.component.d.ts +3 -0
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +2 -2
- package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +3 -0
- package/lib/component/catalog-search/catalog-search.component.d.ts +1 -0
- package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +1 -0
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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.
|
|
34
|
-
this.publishDate = "
|
|
33
|
+
this.symVer = "12.1.54";
|
|
34
|
+
this.publishDate = "6-12-2023 16:40:16";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -3887,6 +3887,7 @@
|
|
|
3887
3887
|
this.showClass = true;
|
|
3888
3888
|
this.mobileMenuToggle = false;
|
|
3889
3889
|
this.categories = [];
|
|
3890
|
+
this.externalSources = [];
|
|
3890
3891
|
this.turnoverGroups = [];
|
|
3891
3892
|
this.showCollectionOverlay = false;
|
|
3892
3893
|
this.showExternalOverlay = false;
|
|
@@ -3921,6 +3922,7 @@
|
|
|
3921
3922
|
CatalogNavigationComponent.prototype.ngOnInit = function () {
|
|
3922
3923
|
var _this = this;
|
|
3923
3924
|
this.categories.length = 0;
|
|
3925
|
+
this.externalSources.length = 0;
|
|
3924
3926
|
this.turnoverGroups.length = 0;
|
|
3925
3927
|
this._subs.push(this._adapterService.controllerInitialized.subscribe(function (initialized) {
|
|
3926
3928
|
if (initialized) {
|
|
@@ -3947,6 +3949,20 @@
|
|
|
3947
3949
|
});
|
|
3948
3950
|
});
|
|
3949
3951
|
};
|
|
3952
|
+
CatalogNavigationComponent.prototype.getExternalSources = function () {
|
|
3953
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3954
|
+
var _this = this;
|
|
3955
|
+
return __generator(this, function (_a) {
|
|
3956
|
+
this._adapterService.getCatalogDefinitions().then(function (defs) { return __awaiter(_this, void 0, void 0, function () {
|
|
3957
|
+
return __generator(this, function (_a) {
|
|
3958
|
+
this.externalSources = defs;
|
|
3959
|
+
return [2 /*return*/];
|
|
3960
|
+
});
|
|
3961
|
+
}); });
|
|
3962
|
+
return [2 /*return*/];
|
|
3963
|
+
});
|
|
3964
|
+
});
|
|
3965
|
+
};
|
|
3950
3966
|
CatalogNavigationComponent.prototype.prepareTurnoverGroups = function () {
|
|
3951
3967
|
var _this = this;
|
|
3952
3968
|
if (this.categories && this.categories.length > 0) {
|
|
@@ -4027,7 +4043,7 @@
|
|
|
4027
4043
|
CatalogNavigationComponent.decorators = [
|
|
4028
4044
|
{ type: i0.Component, args: [{
|
|
4029
4045
|
selector: 'co-catalog-navigation',
|
|
4030
|
-
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
|
|
4046
|
+
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 <ng-container *ngIf=\"categories && categories.length > 0\">\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\" *ngIf=\"showCollectionOverlay\" @showHideOverlay \n [overlay]=\"collectionParentForOverlay\"\n [inline]=\"true\"\n [keepInView]=\"true\" \n [view]=\"view\" \n [fullSize]=\"true\">\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 </ng-container>\n <ng-container *ngIf=\"externalSources && externalSources.length > 0\">\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\" *ngIf=\"showExternalOverlay\" @showHideOverlay \n [overlay]=\"externalParentForOverlay\" \n [inline]=\"true\"\n [keepInView]=\"true\" \n [view]=\"view\" \n [fullSize]=\"true\">\n <co-catalog-external-sources (externalSourceClick)=\"handleExternalSourceClick($event)\"></co-catalog-external-sources>\n </div>\n </div>\n </ng-container>\n </div>\n ",
|
|
4031
4047
|
providers: [
|
|
4032
4048
|
corecomponents_v12.OverlayService
|
|
4033
4049
|
],
|
|
@@ -4297,7 +4313,7 @@
|
|
|
4297
4313
|
case 0: return [4 /*yield*/, this._settingsService.initializeSettings()];
|
|
4298
4314
|
case 1:
|
|
4299
4315
|
_a.sent();
|
|
4300
|
-
this._catalogService.init(this._settings);
|
|
4316
|
+
this._catalogService.init(this._settings, true);
|
|
4301
4317
|
this._subs.push(this._catalogEventService.addArticleButtonClick.subscribe(function (article) {
|
|
4302
4318
|
_this.onAddArticleButtonClick.emit(article);
|
|
4303
4319
|
}), this._catalogEventService.arButtonClick.subscribe(function (article) {
|
|
@@ -4317,6 +4333,9 @@
|
|
|
4317
4333
|
CatalogSearchComponent.prototype.ngOnDestroy = function () {
|
|
4318
4334
|
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
4319
4335
|
};
|
|
4336
|
+
CatalogSearchComponent.prototype.handleHomeClick = function ($event) {
|
|
4337
|
+
this._catalogSearchService.resetFilters();
|
|
4338
|
+
};
|
|
4320
4339
|
CatalogSearchComponent.prototype.handleCategoryClick = function (category) {
|
|
4321
4340
|
this._catalogSearchService.category = category;
|
|
4322
4341
|
};
|
|
@@ -4331,7 +4350,7 @@
|
|
|
4331
4350
|
CatalogSearchComponent.decorators = [
|
|
4332
4351
|
{ type: i0.Component, args: [{
|
|
4333
4352
|
selector: 'co-catalog-search',
|
|
4334
|
-
template: "\n <div class=\"catalog-search-wrapper\">\n <ng-container *ngIf=\"showFilter\">\n <div class=\"filter-content\" @showHideFilter>\n <div class=\"search-filter-panel-header-wrapper\">\n <div class=\"search-filter-panel-header\">\n <span [textContent]=\"'Filters'\"></span>\n <co-icon class=\"filter-reset-icon clickable\"\n [iconData]=\"iconCacheService.getIcon(icons.SyncAlt)\"\n (click)=\"handleResetButtonClick($event)\">\n </co-icon>\n </div>\n <co-icon class=\"clickable\"\n [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n (click)=\"showFilter = false\">\n </co-icon>\n </div>\n\n <!--filter-content-->\n <div class=\"search-filter-wrapper narrow-scrollbar\">\n <co-catalog-filter [showResetFilter]=\"true\"></co-catalog-filter>\n </div>\n </div>\n </ng-container>\n <div class=\"search-content-wrapper\" #contentView>\n <div class=\"search-header\">\n <div class=\"search-catalog-title-wrapper\">\n <div class=\"catalog-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.WebCatalog)\"></co-icon>\n <div class=\"catalog-title\" [textContent]=\"title\"></div>\n </div>\n <div class=\"catalog-sub-title\" [textContent]=\"subTitle\"></div>\n </div>\n <co-catalog-search-header [placeholder]=\"searchPlaceholder\"\n (filterIconClick)=\"showFilter = !showFilter\"></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\"\n [view]=\"contentView\"\n (categoryClick)=\"handleCategoryClick($event)\"\n (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"\n (externalSourceClick)=\"onExternalSourceClick.emit($event)\"\n ></co-catalog-navigation>\n <co-catalog-categories *ngIf=\"showLandingPage\" (categoryClick)=\"handleCategoryClick($event)\"\n (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"></co-catalog-categories>\n <div class=\"search-content\">\n <ng-container *ngIf=\"mode === 'tile'\">\n <co-catalog-search-result-tile\n [createFrozenArticle]=\"createFrozenArticle\"\n ></co-catalog-search-result-tile>\n </ng-container>\n <ng-container *ngIf=\"mode === 'list'\">\n <co-catalog-search-result-list\n [createFrozenArticle]=\"createFrozenArticle\"\n ></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 ",
|
|
4353
|
+
template: "\n <div class=\"catalog-search-wrapper\">\n <ng-container *ngIf=\"showFilter\">\n <div class=\"filter-content\" @showHideFilter>\n <div class=\"search-filter-panel-header-wrapper\">\n <div class=\"search-filter-panel-header\">\n <span [textContent]=\"'Filters'\"></span>\n <co-icon class=\"filter-reset-icon clickable\"\n [iconData]=\"iconCacheService.getIcon(icons.SyncAlt)\"\n (click)=\"handleResetButtonClick($event)\">\n </co-icon>\n </div>\n <co-icon class=\"clickable\"\n [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n (click)=\"showFilter = false\">\n </co-icon>\n </div>\n\n <!--filter-content-->\n <div class=\"search-filter-wrapper narrow-scrollbar\">\n <co-catalog-filter [showResetFilter]=\"true\"></co-catalog-filter>\n </div>\n </div>\n </ng-container>\n <div class=\"search-content-wrapper\" #contentView>\n <div class=\"search-header\">\n <div class=\"search-catalog-title-wrapper\">\n <div class=\"catalog-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.WebCatalog)\"></co-icon>\n <div class=\"catalog-title\" [textContent]=\"title\"></div>\n </div>\n <div class=\"catalog-sub-title\" [textContent]=\"subTitle\"></div>\n </div>\n <co-catalog-search-header [placeholder]=\"searchPlaceholder\"\n (filterIconClick)=\"showFilter = !showFilter\"></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\"\n [view]=\"contentView\"\n (homeClick)=\"handleHomeClick($event)\"\n (categoryClick)=\"handleCategoryClick($event)\"\n (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"\n (externalSourceClick)=\"onExternalSourceClick.emit($event)\"\n ></co-catalog-navigation>\n <co-catalog-categories *ngIf=\"showLandingPage\" (categoryClick)=\"handleCategoryClick($event)\"\n (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"></co-catalog-categories>\n <div class=\"search-content\">\n <ng-container *ngIf=\"mode === 'tile'\">\n <co-catalog-search-result-tile\n [createFrozenArticle]=\"createFrozenArticle\"\n ></co-catalog-search-result-tile>\n </ng-container>\n <ng-container *ngIf=\"mode === 'list'\">\n <co-catalog-search-result-list\n [createFrozenArticle]=\"createFrozenArticle\"\n ></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 ",
|
|
4335
4354
|
providers: [
|
|
4336
4355
|
SelectSingleCacheService,
|
|
4337
4356
|
SelectMultipleCacheService,
|
|
@@ -4439,16 +4458,25 @@
|
|
|
4439
4458
|
function CatalogSearchBaseComponent(catalogSearchService) {
|
|
4440
4459
|
this.catalogSearchService = catalogSearchService;
|
|
4441
4460
|
this.createFrozenArticle = true;
|
|
4461
|
+
this.elements = [];
|
|
4442
4462
|
}
|
|
4443
4463
|
CatalogSearchBaseComponent.prototype.onPreviousClick = function () {
|
|
4464
|
+
this._scrollIntoView();
|
|
4444
4465
|
this.catalogSearchService.currentPage -= 1;
|
|
4445
4466
|
};
|
|
4446
4467
|
CatalogSearchBaseComponent.prototype.onNextClick = function () {
|
|
4468
|
+
this._scrollIntoView();
|
|
4447
4469
|
this.catalogSearchService.currentPage += 1;
|
|
4448
4470
|
};
|
|
4449
4471
|
CatalogSearchBaseComponent.prototype.onPageClick = function (pageNr) {
|
|
4472
|
+
this._scrollIntoView();
|
|
4450
4473
|
this.catalogSearchService.currentPage = pageNr;
|
|
4451
4474
|
};
|
|
4475
|
+
CatalogSearchBaseComponent.prototype._scrollIntoView = function () {
|
|
4476
|
+
if (this.elements && this.elements.length > 0) {
|
|
4477
|
+
this.elements[0].nativeElement.scrollIntoView({ block: 'start', inline: 'nearest', behavior: 'smooth' });
|
|
4478
|
+
}
|
|
4479
|
+
};
|
|
4452
4480
|
return CatalogSearchBaseComponent;
|
|
4453
4481
|
}());
|
|
4454
4482
|
CatalogSearchBaseComponent.decorators = [
|
|
@@ -4461,40 +4489,6 @@
|
|
|
4461
4489
|
createFrozenArticle: [{ type: i0.Input }]
|
|
4462
4490
|
};
|
|
4463
4491
|
|
|
4464
|
-
var CatalogSearchResultTileComponent = /** @class */ (function (_super) {
|
|
4465
|
-
__extends(CatalogSearchResultTileComponent, _super);
|
|
4466
|
-
function CatalogSearchResultTileComponent() {
|
|
4467
|
-
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
4468
|
-
_this.createFrozenArticle = true;
|
|
4469
|
-
_this.onLookAtArticleButtonClick = new i0.EventEmitter();
|
|
4470
|
-
_this.onArButtonClick = new i0.EventEmitter();
|
|
4471
|
-
_this.onAddArticleButtonClick = new i0.EventEmitter();
|
|
4472
|
-
_this.onArticleClick = new i0.EventEmitter();
|
|
4473
|
-
_this.onStockDetailsClick = new i0.EventEmitter();
|
|
4474
|
-
_this.showClass = true;
|
|
4475
|
-
_this.smallScrollbar = true;
|
|
4476
|
-
return _this;
|
|
4477
|
-
}
|
|
4478
|
-
return CatalogSearchResultTileComponent;
|
|
4479
|
-
}(CatalogSearchBaseComponent));
|
|
4480
|
-
CatalogSearchResultTileComponent.decorators = [
|
|
4481
|
-
{ type: i0.Component, args: [{
|
|
4482
|
-
selector: 'co-catalog-search-result-tile',
|
|
4483
|
-
template: "\n <div class=\"article-cards\" visibilityObserverMaster>\n <ng-container *ngFor=\"let article of catalogSearchService.articles\">\n <co-catalog-article-tile\n visibilityObserver\n #intersection=\"intersection\"\n [observerEnabled]=\"!article.imageData\"\n [createFrozenArticle]=\"createFrozenArticle\"\n [showing]=\"intersection.isIntersecting\"\n [article]=\"article\"\n (onArticleClick)=\"onArticleClick.emit($event)\"\n (onAddArticleButtonClick)=\"onAddArticleButtonClick.emit($event)\"\n (onArButtonClick)=\"onArButtonClick.emit($event)\"\n (onLookAtArticleButtonClick)=\"onLookAtArticleButtonClick.emit($event)\"\n (onStockDetailsClick)=\"onStockDetailsClick.emit($event)\"\n >\n </co-catalog-article-tile>\n </ng-container>\n </div>\n <co-pagination-bar *ngIf=\"catalogSearchService.articles?.length > 0\"\n [currentPage]=\"catalogSearchService.currentPage\"\n [itemsPerPage]=\"catalogSearchService.articlesPerPage\"\n [totalItems]=\"catalogSearchService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
4484
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
4485
|
-
},] }
|
|
4486
|
-
];
|
|
4487
|
-
CatalogSearchResultTileComponent.propDecorators = {
|
|
4488
|
-
createFrozenArticle: [{ type: i0.Input }],
|
|
4489
|
-
onLookAtArticleButtonClick: [{ type: i0.Output }],
|
|
4490
|
-
onArButtonClick: [{ type: i0.Output }],
|
|
4491
|
-
onAddArticleButtonClick: [{ type: i0.Output }],
|
|
4492
|
-
onArticleClick: [{ type: i0.Output }],
|
|
4493
|
-
onStockDetailsClick: [{ type: i0.Output }],
|
|
4494
|
-
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-search-result-tile',] }],
|
|
4495
|
-
smallScrollbar: [{ type: i0.HostBinding, args: ['class.co-small-scrollbar',] }]
|
|
4496
|
-
};
|
|
4497
|
-
|
|
4498
4492
|
var ArticleBaseComponent = /** @class */ (function () {
|
|
4499
4493
|
function ArticleBaseComponent(iconCache, catalogService, options, _iOne, _changeDetector, _appEventService, _imageService, _settingsService) {
|
|
4500
4494
|
this.iconCache = iconCache;
|
|
@@ -4714,6 +4708,50 @@
|
|
|
4714
4708
|
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-article-tile',] }]
|
|
4715
4709
|
};
|
|
4716
4710
|
|
|
4711
|
+
var CatalogSearchResultTileComponent = /** @class */ (function (_super) {
|
|
4712
|
+
__extends(CatalogSearchResultTileComponent, _super);
|
|
4713
|
+
function CatalogSearchResultTileComponent() {
|
|
4714
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
4715
|
+
_this.createFrozenArticle = true;
|
|
4716
|
+
_this.onLookAtArticleButtonClick = new i0.EventEmitter();
|
|
4717
|
+
_this.onArButtonClick = new i0.EventEmitter();
|
|
4718
|
+
_this.onAddArticleButtonClick = new i0.EventEmitter();
|
|
4719
|
+
_this.onArticleClick = new i0.EventEmitter();
|
|
4720
|
+
_this.onStockDetailsClick = new i0.EventEmitter();
|
|
4721
|
+
_this.showClass = true;
|
|
4722
|
+
_this.smallScrollbar = true;
|
|
4723
|
+
return _this;
|
|
4724
|
+
}
|
|
4725
|
+
Object.defineProperty(CatalogSearchResultTileComponent.prototype, "viewChildren", {
|
|
4726
|
+
set: function (children) {
|
|
4727
|
+
if (children) {
|
|
4728
|
+
this.elements = children.toArray();
|
|
4729
|
+
}
|
|
4730
|
+
},
|
|
4731
|
+
enumerable: false,
|
|
4732
|
+
configurable: true
|
|
4733
|
+
});
|
|
4734
|
+
return CatalogSearchResultTileComponent;
|
|
4735
|
+
}(CatalogSearchBaseComponent));
|
|
4736
|
+
CatalogSearchResultTileComponent.decorators = [
|
|
4737
|
+
{ type: i0.Component, args: [{
|
|
4738
|
+
selector: 'co-catalog-search-result-tile',
|
|
4739
|
+
template: "\n <div class=\"article-cards\" visibilityObserverMaster>\n <ng-container *ngFor=\"let article of catalogSearchService.articles\">\n <co-catalog-article-tile\n visibilityObserver\n #intersection=\"intersection\"\n [observerEnabled]=\"!article.imageData\"\n [createFrozenArticle]=\"createFrozenArticle\"\n [showing]=\"intersection.isIntersecting\"\n [article]=\"article\"\n (onArticleClick)=\"onArticleClick.emit($event)\"\n (onAddArticleButtonClick)=\"onAddArticleButtonClick.emit($event)\"\n (onArButtonClick)=\"onArButtonClick.emit($event)\"\n (onLookAtArticleButtonClick)=\"onLookAtArticleButtonClick.emit($event)\"\n (onStockDetailsClick)=\"onStockDetailsClick.emit($event)\"\n >\n </co-catalog-article-tile>\n </ng-container>\n </div>\n <co-pagination-bar *ngIf=\"catalogSearchService.articles?.length > 0\"\n [currentPage]=\"catalogSearchService.currentPage\"\n [itemsPerPage]=\"catalogSearchService.articlesPerPage\"\n [totalItems]=\"catalogSearchService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
4740
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
4741
|
+
},] }
|
|
4742
|
+
];
|
|
4743
|
+
CatalogSearchResultTileComponent.propDecorators = {
|
|
4744
|
+
viewChildren: [{ type: i0.ViewChildren, args: [CatalogArticleTileComponent, { read: i0.ElementRef },] }],
|
|
4745
|
+
createFrozenArticle: [{ type: i0.Input }],
|
|
4746
|
+
onLookAtArticleButtonClick: [{ type: i0.Output }],
|
|
4747
|
+
onArButtonClick: [{ type: i0.Output }],
|
|
4748
|
+
onAddArticleButtonClick: [{ type: i0.Output }],
|
|
4749
|
+
onArticleClick: [{ type: i0.Output }],
|
|
4750
|
+
onStockDetailsClick: [{ type: i0.Output }],
|
|
4751
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-search-result-tile',] }],
|
|
4752
|
+
smallScrollbar: [{ type: i0.HostBinding, args: ['class.co-small-scrollbar',] }]
|
|
4753
|
+
};
|
|
4754
|
+
|
|
4717
4755
|
var CatalogArticleTileModule = /** @class */ (function () {
|
|
4718
4756
|
function CatalogArticleTileModule() {
|
|
4719
4757
|
}
|
|
@@ -4897,27 +4935,6 @@
|
|
|
4897
4935
|
},] }
|
|
4898
4936
|
];
|
|
4899
4937
|
|
|
4900
|
-
var CatalogSearchResultListComponent = /** @class */ (function (_super) {
|
|
4901
|
-
__extends(CatalogSearchResultListComponent, _super);
|
|
4902
|
-
function CatalogSearchResultListComponent() {
|
|
4903
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4904
|
-
}
|
|
4905
|
-
CatalogSearchResultListComponent.prototype.showClass = function () {
|
|
4906
|
-
return true;
|
|
4907
|
-
};
|
|
4908
|
-
return CatalogSearchResultListComponent;
|
|
4909
|
-
}(CatalogSearchBaseComponent));
|
|
4910
|
-
CatalogSearchResultListComponent.decorators = [
|
|
4911
|
-
{ type: i0.Component, args: [{
|
|
4912
|
-
selector: 'co-catalog-search-result-list',
|
|
4913
|
-
template: "\n <div class=\"article-cards\" visibilityObserverMaster>\n <ng-container *ngFor=\"let article of catalogSearchService.articles\">\n <co-catalog-article-list\n visibilityObserver\n #intersection=\"intersection\"\n [observerEnabled]=\"!article.imageData\"\n [createFrozenArticle]=\"createFrozenArticle\"\n [showing]=\"intersection.isIntersecting\"\n [article]=\"article\"\n >\n </co-catalog-article-list>\n </ng-container>\n </div>\n <co-pagination-bar *ngIf=\"catalogSearchService.articles?.length > 0\"\n [currentPage]=\"catalogSearchService.currentPage\"\n [itemsPerPage]=\"catalogSearchService.articlesPerPage\"\n [totalItems]=\"catalogSearchService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
4914
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
4915
|
-
},] }
|
|
4916
|
-
];
|
|
4917
|
-
CatalogSearchResultListComponent.propDecorators = {
|
|
4918
|
-
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-search-result-list',] }]
|
|
4919
|
-
};
|
|
4920
|
-
|
|
4921
4938
|
var CatalogArticleListComponent = /** @class */ (function (_super) {
|
|
4922
4939
|
__extends(CatalogArticleListComponent, _super);
|
|
4923
4940
|
function CatalogArticleListComponent() {
|
|
@@ -4939,6 +4956,37 @@
|
|
|
4939
4956
|
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-article-list',] }]
|
|
4940
4957
|
};
|
|
4941
4958
|
|
|
4959
|
+
var CatalogSearchResultListComponent = /** @class */ (function (_super) {
|
|
4960
|
+
__extends(CatalogSearchResultListComponent, _super);
|
|
4961
|
+
function CatalogSearchResultListComponent() {
|
|
4962
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4963
|
+
}
|
|
4964
|
+
Object.defineProperty(CatalogSearchResultListComponent.prototype, "viewChildren", {
|
|
4965
|
+
set: function (children) {
|
|
4966
|
+
if (children) {
|
|
4967
|
+
this.elements = children.toArray();
|
|
4968
|
+
}
|
|
4969
|
+
},
|
|
4970
|
+
enumerable: false,
|
|
4971
|
+
configurable: true
|
|
4972
|
+
});
|
|
4973
|
+
CatalogSearchResultListComponent.prototype.showClass = function () {
|
|
4974
|
+
return true;
|
|
4975
|
+
};
|
|
4976
|
+
return CatalogSearchResultListComponent;
|
|
4977
|
+
}(CatalogSearchBaseComponent));
|
|
4978
|
+
CatalogSearchResultListComponent.decorators = [
|
|
4979
|
+
{ type: i0.Component, args: [{
|
|
4980
|
+
selector: 'co-catalog-search-result-list',
|
|
4981
|
+
template: "\n <div class=\"article-cards\" visibilityObserverMaster>\n <ng-container *ngFor=\"let article of catalogSearchService.articles\">\n <co-catalog-article-list\n visibilityObserver\n #intersection=\"intersection\"\n [observerEnabled]=\"!article.imageData\"\n [createFrozenArticle]=\"createFrozenArticle\"\n [showing]=\"intersection.isIntersecting\"\n [article]=\"article\"\n >\n </co-catalog-article-list>\n </ng-container>\n </div>\n <co-pagination-bar *ngIf=\"catalogSearchService.articles?.length > 0\"\n [currentPage]=\"catalogSearchService.currentPage\"\n [itemsPerPage]=\"catalogSearchService.articlesPerPage\"\n [totalItems]=\"catalogSearchService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
4982
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
4983
|
+
},] }
|
|
4984
|
+
];
|
|
4985
|
+
CatalogSearchResultListComponent.propDecorators = {
|
|
4986
|
+
viewChildren: [{ type: i0.ViewChildren, args: [CatalogArticleListComponent, { read: i0.ElementRef },] }],
|
|
4987
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-search-result-list',] }]
|
|
4988
|
+
};
|
|
4989
|
+
|
|
4942
4990
|
var CatalogArticleListModule = /** @class */ (function () {
|
|
4943
4991
|
function CatalogArticleListModule() {
|
|
4944
4992
|
}
|