@sunbird-cb/consumption 0.0.38 → 0.0.40
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/sunbird-cb-consumption.umd.js +20 -0
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +21 -1
- package/esm2015/lib/_services/widget-content.service.js +1 -1
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +21 -1
- package/esm5/lib/_services/widget-content.service.js +1 -1
- package/fesm2015/sunbird-cb-consumption.js +20 -0
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +20 -0
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +1 -0
- package/lib/_services/widget-content.service.d.ts +1 -1
- package/package.json +1 -1
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -3711,6 +3711,7 @@ var ContentStripWithTabsLibComponent = /** @class */ (function (_super) {
|
|
|
3711
3711
|
_this.telemtryResponse = new EventEmitter();
|
|
3712
3712
|
_this.providerId = '';
|
|
3713
3713
|
_this.emitViewAll = false;
|
|
3714
|
+
_this.channnelName = '';
|
|
3714
3715
|
_this.id = "ws-strip-miltiple_" + Math.random();
|
|
3715
3716
|
_this.stripsResultDataMap = {};
|
|
3716
3717
|
_this.stripsKeyOrder = [];
|
|
@@ -4650,6 +4651,22 @@ var ContentStripWithTabsLibComponent = /** @class */ (function (_super) {
|
|
|
4650
4651
|
},
|
|
4651
4652
|
}
|
|
4652
4653
|
: null;
|
|
4654
|
+
/** @type {?} */
|
|
4655
|
+
var proccesedResult = [];
|
|
4656
|
+
if (results && results.response && results.response.certifications) {
|
|
4657
|
+
results.response.certifications.map((/**
|
|
4658
|
+
* @param {?} result
|
|
4659
|
+
* @return {?}
|
|
4660
|
+
*/
|
|
4661
|
+
function (result) {
|
|
4662
|
+
if (result.source === _this.channnelName) {
|
|
4663
|
+
proccesedResult.push(result);
|
|
4664
|
+
}
|
|
4665
|
+
}));
|
|
4666
|
+
}
|
|
4667
|
+
if (proccesedResult.length) {
|
|
4668
|
+
results = { response: { certifications: proccesedResult } };
|
|
4669
|
+
}
|
|
4653
4670
|
resolve({ results: results, viewMoreUrl: viewMoreUrl });
|
|
4654
4671
|
}), (/**
|
|
4655
4672
|
* @param {?} error
|
|
@@ -6024,6 +6041,7 @@ var ContentStripWithTabsLibComponent = /** @class */ (function (_super) {
|
|
|
6024
6041
|
telemtryResponse: [{ type: Output }],
|
|
6025
6042
|
providerId: [{ type: Input }],
|
|
6026
6043
|
emitViewAll: [{ type: Input }],
|
|
6044
|
+
channnelName: [{ type: Input }],
|
|
6027
6045
|
id: [{ type: HostBinding, args: ['id',] }]
|
|
6028
6046
|
};
|
|
6029
6047
|
return ContentStripWithTabsLibComponent;
|
|
@@ -6042,6 +6060,8 @@ if (false) {
|
|
|
6042
6060
|
/** @type {?} */
|
|
6043
6061
|
ContentStripWithTabsLibComponent.prototype.emitViewAll;
|
|
6044
6062
|
/** @type {?} */
|
|
6063
|
+
ContentStripWithTabsLibComponent.prototype.channnelName;
|
|
6064
|
+
/** @type {?} */
|
|
6045
6065
|
ContentStripWithTabsLibComponent.prototype.id;
|
|
6046
6066
|
/** @type {?} */
|
|
6047
6067
|
ContentStripWithTabsLibComponent.prototype.stripsResultDataMap;
|