@colijnit/catalog 256.1.18 → 256.1.19
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 +9 -7
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog-256.1.18.tgz +0 -0
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +4 -2
- package/esm2015/lib/service/catalog-connector-adapter.service.js +3 -3
- package/esm2015/lib/service/catalog-connector.service.js +3 -3
- package/fesm2015/colijnit-catalog.js +9 -7
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +1 -0
- package/lib/service/catalog-connector-adapter.service.d.ts +1 -1
- package/lib/service/catalog-connector.service.d.ts +1 -1
- 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 = "256.1.
|
|
34
|
-
this.publishDate = "
|
|
33
|
+
this.symVer = "256.1.19";
|
|
34
|
+
this.publishDate = "9-1-2025 13:13:48";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -1595,12 +1595,12 @@
|
|
|
1595
1595
|
});
|
|
1596
1596
|
});
|
|
1597
1597
|
};
|
|
1598
|
-
CatalogConnectorAdapterService.prototype.getAvailabeCatalogsForLoggedInUser = function () {
|
|
1598
|
+
CatalogConnectorAdapterService.prototype.getAvailabeCatalogsForLoggedInUser = function (forRoomplanner) {
|
|
1599
1599
|
return __awaiter(this, void 0, void 0, function () {
|
|
1600
1600
|
var response;
|
|
1601
1601
|
return __generator(this, function (_a) {
|
|
1602
1602
|
switch (_a.label) {
|
|
1603
|
-
case 0: return [4 /*yield*/, this.relationConnector.getAvailabeCatalogsForLoggedInUser(true)];
|
|
1603
|
+
case 0: return [4 /*yield*/, this.relationConnector.getAvailabeCatalogsForLoggedInUser(forRoomplanner, true)];
|
|
1604
1604
|
case 1:
|
|
1605
1605
|
response = _a.sent();
|
|
1606
1606
|
if (response && response.validationResult && response.validationResult.success) {
|
|
@@ -2685,12 +2685,12 @@
|
|
|
2685
2685
|
});
|
|
2686
2686
|
});
|
|
2687
2687
|
};
|
|
2688
|
-
CatalogConnectorService.prototype.getAvailabeCatalogsForLoggedInUser = function () {
|
|
2688
|
+
CatalogConnectorService.prototype.getAvailabeCatalogsForLoggedInUser = function (forRoomplanner) {
|
|
2689
2689
|
return __awaiter(this, void 0, void 0, function () {
|
|
2690
2690
|
var _this = this;
|
|
2691
2691
|
return __generator(this, function (_a) {
|
|
2692
2692
|
return [2 /*return*/, this._selectMultipleCacheService.requestCache(catalogsAvailable_bo.AvaliableCatalogs, function () {
|
|
2693
|
-
return _this._adapterService.getAvailabeCatalogsForLoggedInUser();
|
|
2693
|
+
return _this._adapterService.getAvailabeCatalogsForLoggedInUser(forRoomplanner);
|
|
2694
2694
|
}).getValue()];
|
|
2695
2695
|
});
|
|
2696
2696
|
});
|
|
@@ -4905,6 +4905,7 @@
|
|
|
4905
4905
|
this._settingsService = _settingsService;
|
|
4906
4906
|
this._catalogService = _catalogService;
|
|
4907
4907
|
this.isStandalone = false;
|
|
4908
|
+
this.roomplanner = false;
|
|
4908
4909
|
this.externalSourceClick = new i0.EventEmitter();
|
|
4909
4910
|
this.externalSourceViewModels = [];
|
|
4910
4911
|
this.unavailableCatalogs = [];
|
|
@@ -4926,7 +4927,7 @@
|
|
|
4926
4927
|
_a.sent();
|
|
4927
4928
|
this.externalSourceViewModels.length = 0;
|
|
4928
4929
|
if (!this.isStandalone) {
|
|
4929
|
-
this._catalogConnectorService.getAvailabeCatalogsForLoggedInUser().then(function (result) {
|
|
4930
|
+
this._catalogConnectorService.getAvailabeCatalogsForLoggedInUser(this.roomplanner).then(function (result) {
|
|
4930
4931
|
var e_1, _a;
|
|
4931
4932
|
if (result['validationResult']['success'] === true) {
|
|
4932
4933
|
if (result['resultObject']['availableCatalogs']) {
|
|
@@ -5034,6 +5035,7 @@
|
|
|
5034
5035
|
]; };
|
|
5035
5036
|
CatalogExternalSourcesComponent.propDecorators = {
|
|
5036
5037
|
isStandalone: [{ type: i0.Input }],
|
|
5038
|
+
roomplanner: [{ type: i0.Input }],
|
|
5037
5039
|
externalSourceClick: [{ type: i0.Output }],
|
|
5038
5040
|
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-external-sources',] }]
|
|
5039
5041
|
};
|