@colijnit/catalog 12.1.28 → 12.1.29
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 +27 -18
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +12 -13
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +13 -14
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/base/article-base.component.js +7 -1
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +5 -3
- package/esm2015/public_api.js +2 -1
- package/fesm2015/colijnit-catalog.js +13 -5
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-search/catalog-search.component.d.ts +1 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -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.29";
|
|
34
|
+
this.publishDate = "22-4-2023 12:13:18";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -3306,8 +3306,9 @@
|
|
|
3306
3306
|
this._catalogSearchService = _catalogSearchService;
|
|
3307
3307
|
this._catalogEventService = _catalogEventService;
|
|
3308
3308
|
this.showNavigation = false;
|
|
3309
|
+
this.showLandingPage = false;
|
|
3309
3310
|
this.showFilter = false;
|
|
3310
|
-
this.showViewModes =
|
|
3311
|
+
this.showViewModes = false;
|
|
3311
3312
|
this.onLookAtArticleButtonClick = new i0.EventEmitter();
|
|
3312
3313
|
this.onArButtonClick = new i0.EventEmitter();
|
|
3313
3314
|
this.onAddArticleButtonClick = new i0.EventEmitter();
|
|
@@ -3348,7 +3349,7 @@
|
|
|
3348
3349
|
CatalogSearchComponent.decorators = [
|
|
3349
3350
|
{ type: i0.Component, args: [{
|
|
3350
3351
|
selector: 'co-catalog-search',
|
|
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 ",
|
|
3352
|
+
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 *ngIf=\"showLandingPage\" (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 ",
|
|
3352
3353
|
encapsulation: i0.ViewEncapsulation.None
|
|
3353
3354
|
},] }
|
|
3354
3355
|
];
|
|
@@ -3358,6 +3359,7 @@
|
|
|
3358
3359
|
]; };
|
|
3359
3360
|
CatalogSearchComponent.propDecorators = {
|
|
3360
3361
|
showNavigation: [{ type: i0.Input }],
|
|
3362
|
+
showLandingPage: [{ type: i0.Input }],
|
|
3361
3363
|
showFilter: [{ type: i0.Input }],
|
|
3362
3364
|
showViewModes: [{ type: i0.Input }],
|
|
3363
3365
|
onLookAtArticleButtonClick: [{ type: i0.Output }],
|
|
@@ -3563,6 +3565,9 @@
|
|
|
3563
3565
|
this.onArButtonClick.emit(this.article);
|
|
3564
3566
|
};
|
|
3565
3567
|
ArticleBaseComponent.prototype.removeHtmlTags = function (desc) {
|
|
3568
|
+
if (!desc) {
|
|
3569
|
+
return "";
|
|
3570
|
+
}
|
|
3566
3571
|
desc = desc.replace(/\r?\n|\r/, '');
|
|
3567
3572
|
return desc;
|
|
3568
3573
|
};
|
|
@@ -3570,7 +3575,11 @@
|
|
|
3570
3575
|
return __awaiter(this, void 0, void 0, function () {
|
|
3571
3576
|
return __generator(this, function (_a) {
|
|
3572
3577
|
switch (_a.label) {
|
|
3573
|
-
case 0:
|
|
3578
|
+
case 0:
|
|
3579
|
+
if (!article) {
|
|
3580
|
+
return [2 /*return*/, ""];
|
|
3581
|
+
}
|
|
3582
|
+
return [4 /*yield*/, this._iOne.getJsonArticleFlatTree(article.goodId, article.goodType, 1)];
|
|
3574
3583
|
case 1: return [2 /*return*/, _a.sent()];
|
|
3575
3584
|
}
|
|
3576
3585
|
});
|
|
@@ -4028,6 +4037,7 @@
|
|
|
4028
4037
|
exports.CatalogArticleListModule = CatalogArticleListModule;
|
|
4029
4038
|
exports.CatalogArticleTileModule = CatalogArticleTileModule;
|
|
4030
4039
|
exports.CatalogCategoriesModule = CatalogCategoriesModule;
|
|
4040
|
+
exports.CatalogEventService = CatalogEventService;
|
|
4031
4041
|
exports.CatalogExternalSourceModule = CatalogExternalSourceModule;
|
|
4032
4042
|
exports.CatalogExternalSourcesModule = CatalogExternalSourcesModule;
|
|
4033
4043
|
exports.CatalogFilterModule = CatalogFilterModule;
|
|
@@ -4041,14 +4051,13 @@
|
|
|
4041
4051
|
exports.Version = Version;
|
|
4042
4052
|
exports["ɵa"] = CatalogFilterComponent;
|
|
4043
4053
|
exports["ɵb"] = CatalogFilterService;
|
|
4044
|
-
exports["ɵba"] =
|
|
4045
|
-
exports["ɵbb"] =
|
|
4046
|
-
exports["ɵbc"] =
|
|
4047
|
-
exports["ɵbd"] =
|
|
4048
|
-
exports["ɵbe"] =
|
|
4049
|
-
exports["ɵbf"] =
|
|
4050
|
-
exports["ɵbg"] =
|
|
4051
|
-
exports["ɵbh"] = CatalogExternalSourceComponent;
|
|
4054
|
+
exports["ɵba"] = VisibilityObserverDirective;
|
|
4055
|
+
exports["ɵbb"] = CatalogSearchResultTileComponent;
|
|
4056
|
+
exports["ɵbc"] = CatalogSearchBaseComponent;
|
|
4057
|
+
exports["ɵbd"] = CatalogArticleListComponent;
|
|
4058
|
+
exports["ɵbe"] = CatalogSearchResultListComponent;
|
|
4059
|
+
exports["ɵbf"] = CatalogSearchComponent;
|
|
4060
|
+
exports["ɵbg"] = CatalogExternalSourceComponent;
|
|
4052
4061
|
exports["ɵc"] = CatalogConnectorService;
|
|
4053
4062
|
exports["ɵd"] = CatalogConnectorAdapterService;
|
|
4054
4063
|
exports["ɵe"] = SelectSingleCacheService;
|
|
@@ -4068,11 +4077,11 @@
|
|
|
4068
4077
|
exports["ɵs"] = CatalogImageService;
|
|
4069
4078
|
exports["ɵt"] = CatalogExternalSourcesComponent;
|
|
4070
4079
|
exports["ɵu"] = CatalogNavigationComponent;
|
|
4071
|
-
exports["ɵv"] =
|
|
4072
|
-
exports["ɵw"] =
|
|
4073
|
-
exports["ɵx"] =
|
|
4074
|
-
exports["ɵy"] =
|
|
4075
|
-
exports["ɵz"] =
|
|
4080
|
+
exports["ɵv"] = CatalogSearchHeaderComponent;
|
|
4081
|
+
exports["ɵw"] = CatalogArticleTileComponent;
|
|
4082
|
+
exports["ɵx"] = ArticleBaseComponent;
|
|
4083
|
+
exports["ɵy"] = VisibilityObserverModule;
|
|
4084
|
+
exports["ɵz"] = VisibilityObserverMasterDirective;
|
|
4076
4085
|
|
|
4077
4086
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4078
4087
|
|