@sunbird-cb/consumption 0.0.20 → 0.0.21
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 +2 -40
- 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 +2 -41
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +3 -41
- package/fesm2015/sunbird-cb-consumption.js +1 -40
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +2 -40
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/package.json +1 -1
|
@@ -5535,7 +5535,7 @@
|
|
|
5535
5535
|
function (strip, calculateParentStatus) {
|
|
5536
5536
|
if (calculateParentStatus === void 0) { calculateParentStatus = true; }
|
|
5537
5537
|
return __awaiter(this, void 0, void 0, function () {
|
|
5538
|
-
var originalFilters, response,
|
|
5538
|
+
var originalFilters, response, error_5;
|
|
5539
5539
|
return __generator(this, function (_a) {
|
|
5540
5540
|
switch (_a.label) {
|
|
5541
5541
|
case 0:
|
|
@@ -5558,45 +5558,7 @@
|
|
|
5558
5558
|
if (response && response.results) {
|
|
5559
5559
|
// console.log('calling after-- ')
|
|
5560
5560
|
if (response.results.result.content && response.results.result.content.length) {
|
|
5561
|
-
|
|
5562
|
-
{
|
|
5563
|
-
// tslint:disable-next-line: max-line-length
|
|
5564
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5565
|
-
appIcon: '',
|
|
5566
|
-
name: 'Ministry of Consumer Affairs, Food and Public Distribution',
|
|
5567
|
-
},
|
|
5568
|
-
{
|
|
5569
|
-
// tslint:disable-next-line: max-line-length
|
|
5570
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5571
|
-
appIcon: '',
|
|
5572
|
-
name: 'Ministry of Railways',
|
|
5573
|
-
},
|
|
5574
|
-
{
|
|
5575
|
-
// tslint:disable-next-line: max-line-length
|
|
5576
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5577
|
-
appIcon: '',
|
|
5578
|
-
name: 'Department of Post',
|
|
5579
|
-
},
|
|
5580
|
-
{
|
|
5581
|
-
// tslint:disable-next-line: max-line-length
|
|
5582
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5583
|
-
appIcon: '',
|
|
5584
|
-
name: 'NLC India Limited',
|
|
5585
|
-
},
|
|
5586
|
-
{
|
|
5587
|
-
// tslint:disable-next-line: max-line-length
|
|
5588
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5589
|
-
appIcon: '',
|
|
5590
|
-
name: 'Mission Karmayogi',
|
|
5591
|
-
},
|
|
5592
|
-
{
|
|
5593
|
-
// tslint:disable-next-line: max-line-length
|
|
5594
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5595
|
-
appIcon: '',
|
|
5596
|
-
name: 'Mission Karmayogi',
|
|
5597
|
-
},
|
|
5598
|
-
];
|
|
5599
|
-
this.processStrip(strip, this.transformContentsToWidgets(allProviders, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
5561
|
+
this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
5600
5562
|
}
|
|
5601
5563
|
else {
|
|
5602
5564
|
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|