@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
|
@@ -3917,6 +3917,7 @@
|
|
|
3917
3917
|
_this.telemtryResponse = new core.EventEmitter();
|
|
3918
3918
|
_this.providerId = '';
|
|
3919
3919
|
_this.emitViewAll = false;
|
|
3920
|
+
_this.channnelName = '';
|
|
3920
3921
|
_this.id = "ws-strip-miltiple_" + Math.random();
|
|
3921
3922
|
_this.stripsResultDataMap = {};
|
|
3922
3923
|
_this.stripsKeyOrder = [];
|
|
@@ -4856,6 +4857,22 @@
|
|
|
4856
4857
|
},
|
|
4857
4858
|
}
|
|
4858
4859
|
: null;
|
|
4860
|
+
/** @type {?} */
|
|
4861
|
+
var proccesedResult = [];
|
|
4862
|
+
if (results && results.response && results.response.certifications) {
|
|
4863
|
+
results.response.certifications.map((/**
|
|
4864
|
+
* @param {?} result
|
|
4865
|
+
* @return {?}
|
|
4866
|
+
*/
|
|
4867
|
+
function (result) {
|
|
4868
|
+
if (result.source === _this.channnelName) {
|
|
4869
|
+
proccesedResult.push(result);
|
|
4870
|
+
}
|
|
4871
|
+
}));
|
|
4872
|
+
}
|
|
4873
|
+
if (proccesedResult.length) {
|
|
4874
|
+
results = { response: { certifications: proccesedResult } };
|
|
4875
|
+
}
|
|
4859
4876
|
resolve({ results: results, viewMoreUrl: viewMoreUrl });
|
|
4860
4877
|
}), (/**
|
|
4861
4878
|
* @param {?} error
|
|
@@ -6230,6 +6247,7 @@
|
|
|
6230
6247
|
telemtryResponse: [{ type: core.Output }],
|
|
6231
6248
|
providerId: [{ type: core.Input }],
|
|
6232
6249
|
emitViewAll: [{ type: core.Input }],
|
|
6250
|
+
channnelName: [{ type: core.Input }],
|
|
6233
6251
|
id: [{ type: core.HostBinding, args: ['id',] }]
|
|
6234
6252
|
};
|
|
6235
6253
|
return ContentStripWithTabsLibComponent;
|
|
@@ -6248,6 +6266,8 @@
|
|
|
6248
6266
|
/** @type {?} */
|
|
6249
6267
|
ContentStripWithTabsLibComponent.prototype.emitViewAll;
|
|
6250
6268
|
/** @type {?} */
|
|
6269
|
+
ContentStripWithTabsLibComponent.prototype.channnelName;
|
|
6270
|
+
/** @type {?} */
|
|
6251
6271
|
ContentStripWithTabsLibComponent.prototype.id;
|
|
6252
6272
|
/** @type {?} */
|
|
6253
6273
|
ContentStripWithTabsLibComponent.prototype.stripsResultDataMap;
|