@colijnit/catalog 255.1.13 → 255.1.14
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 +29 -11
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +7 -7
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +8 -8
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.component.js +24 -6
- package/fesm2015/colijnit-catalog.js +22 -5
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-filter-item/catalog-filter-item.component.d.ts +10 -5
- 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 = "255.1.
|
|
34
|
-
this.publishDate = "
|
|
33
|
+
this.symVer = "255.1.14";
|
|
34
|
+
this.publishDate = "19-11-2024 17:56:15";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -4118,8 +4118,9 @@
|
|
|
4118
4118
|
};
|
|
4119
4119
|
|
|
4120
4120
|
var CatalogFilterItemComponent = /** @class */ (function () {
|
|
4121
|
-
function CatalogFilterItemComponent(searchService) {
|
|
4121
|
+
function CatalogFilterItemComponent(searchService, _screenConfigService) {
|
|
4122
4122
|
this.searchService = searchService;
|
|
4123
|
+
this._screenConfigService = _screenConfigService;
|
|
4123
4124
|
this.collection = [];
|
|
4124
4125
|
this.placeholder = '';
|
|
4125
4126
|
this.customContent = false;
|
|
@@ -4136,7 +4137,23 @@
|
|
|
4136
4137
|
this.showMoreLabel = "SHOW_MORE";
|
|
4137
4138
|
this.showLessLabel = "SHOW_LESS";
|
|
4138
4139
|
this.filterButtonLabel = "SEARCH_IMPERATIVE";
|
|
4140
|
+
this._subs = [];
|
|
4139
4141
|
}
|
|
4142
|
+
CatalogFilterItemComponent.prototype.ngOnInit = function () {
|
|
4143
|
+
var _this = this;
|
|
4144
|
+
this._subs.push(
|
|
4145
|
+
// todo: remove this dirty hack when screenconfig is completed
|
|
4146
|
+
this._screenConfigService.configSet.subscribe(function (config) {
|
|
4147
|
+
if (config) {
|
|
4148
|
+
if (!_this._screenConfigService.getObjectConfigurationFor(_this.screenConfigurationObjectName)) {
|
|
4149
|
+
_this.screenConfigurationObjectName = undefined;
|
|
4150
|
+
}
|
|
4151
|
+
}
|
|
4152
|
+
}));
|
|
4153
|
+
};
|
|
4154
|
+
CatalogFilterItemComponent.prototype.ngOnDestroy = function () {
|
|
4155
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
4156
|
+
};
|
|
4140
4157
|
CatalogFilterItemComponent.prototype.onFilterButtonClicked = function () {
|
|
4141
4158
|
this.searchService.searchArticles();
|
|
4142
4159
|
this._scrollToTop();
|
|
@@ -4158,7 +4175,8 @@
|
|
|
4158
4175
|
},] }
|
|
4159
4176
|
];
|
|
4160
4177
|
CatalogFilterItemComponent.ctorParameters = function () { return [
|
|
4161
|
-
{ type: CatalogSearchService }
|
|
4178
|
+
{ type: CatalogSearchService },
|
|
4179
|
+
{ type: CatalogScreenConfigurationService }
|
|
4162
4180
|
]; };
|
|
4163
4181
|
CatalogFilterItemComponent.propDecorators = {
|
|
4164
4182
|
model: [{ type: i0.Input }],
|
|
@@ -6734,13 +6752,13 @@
|
|
|
6734
6752
|
exports["ɵg"] = CatalogFilterItemModule;
|
|
6735
6753
|
exports["ɵh"] = CatalogFilterItemComponent;
|
|
6736
6754
|
exports["ɵi"] = CacheField;
|
|
6737
|
-
exports["ɵj"] =
|
|
6738
|
-
exports["ɵk"] =
|
|
6739
|
-
exports["ɵl"] =
|
|
6740
|
-
exports["ɵm"] =
|
|
6741
|
-
exports["ɵn"] =
|
|
6742
|
-
exports["ɵo"] =
|
|
6743
|
-
exports["ɵp"] =
|
|
6755
|
+
exports["ɵj"] = CatalogScreenConfigurationService;
|
|
6756
|
+
exports["ɵk"] = CatalogFilterContentGeneralComponent;
|
|
6757
|
+
exports["ɵl"] = IconCacheService;
|
|
6758
|
+
exports["ɵm"] = CatalogFilterContentPurchaseModule;
|
|
6759
|
+
exports["ɵn"] = CatalogFilterContentPurchaseComponent;
|
|
6760
|
+
exports["ɵo"] = CatalogFilterContentLogisticsModule;
|
|
6761
|
+
exports["ɵp"] = CatalogFilterContentLogisticsComponent;
|
|
6744
6762
|
exports["ɵq"] = CatalogFilterComponent;
|
|
6745
6763
|
exports["ɵr"] = ResponsiveTextModule;
|
|
6746
6764
|
exports["ɵs"] = ResponsiveTextComponent;
|