@colijnit/catalog 12.1.43 → 12.1.44
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 +11 -2
- 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/catalog-external-source/catalog-external-source.component.js +9 -1
- package/fesm2015/colijnit-catalog.js +10 -2
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-article-tile/style/_layout.scss +2 -0
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +2 -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.44";
|
|
34
|
+
this.publishDate = "22-9-2023 10:21:10";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -4859,6 +4859,7 @@
|
|
|
4859
4859
|
this.showNavigation = true;
|
|
4860
4860
|
this.articleClick = new i0.EventEmitter();
|
|
4861
4861
|
this.addArticleClick = new i0.EventEmitter();
|
|
4862
|
+
this.iFrameFeedbackReceived = new i0.EventEmitter();
|
|
4862
4863
|
this.showClass = true;
|
|
4863
4864
|
this.showCatalog = false;
|
|
4864
4865
|
this.loaded = false;
|
|
@@ -4888,9 +4889,15 @@
|
|
|
4888
4889
|
this.articleClick.emit({ article: article, settings: { name: this.name, settings: this.externalSettings } });
|
|
4889
4890
|
}
|
|
4890
4891
|
};
|
|
4892
|
+
CatalogExternalSourceComponent.prototype.receiveMessage = function (event) {
|
|
4893
|
+
//if(event.origin === this.externalSource.url) {
|
|
4894
|
+
this.iFrameFeedbackReceived.emit(event.data);
|
|
4895
|
+
//}
|
|
4896
|
+
};
|
|
4891
4897
|
CatalogExternalSourceComponent.prototype._prepareExternalSource = function () {
|
|
4892
4898
|
return __awaiter(this, void 0, void 0, function () {
|
|
4893
4899
|
var bundleSettings;
|
|
4900
|
+
var _this = this;
|
|
4894
4901
|
return __generator(this, function (_a) {
|
|
4895
4902
|
switch (_a.label) {
|
|
4896
4903
|
case 0:
|
|
@@ -4918,6 +4925,7 @@
|
|
|
4918
4925
|
this.externalUrl = this.externalSource.url;
|
|
4919
4926
|
this.safeUrl = this._sanitizer.bypassSecurityTrustResourceUrl(this.externalUrl);
|
|
4920
4927
|
this.showCatalog = false;
|
|
4928
|
+
window.addEventListener("message", function (event) { _this.receiveMessage(event); });
|
|
4921
4929
|
_a.label = 3;
|
|
4922
4930
|
case 3:
|
|
4923
4931
|
this.loaded = true;
|
|
@@ -4951,6 +4959,7 @@
|
|
|
4951
4959
|
name: [{ type: i0.Input }],
|
|
4952
4960
|
articleClick: [{ type: i0.Output }],
|
|
4953
4961
|
addArticleClick: [{ type: i0.Output }],
|
|
4962
|
+
iFrameFeedbackReceived: [{ type: i0.Output }],
|
|
4954
4963
|
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-external-source',] }]
|
|
4955
4964
|
};
|
|
4956
4965
|
|