@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
|
@@ -5329,7 +5329,7 @@ var ContentStripWithTabsLibComponent = /** @class */ (function (_super) {
|
|
|
5329
5329
|
function (strip, calculateParentStatus) {
|
|
5330
5330
|
if (calculateParentStatus === void 0) { calculateParentStatus = true; }
|
|
5331
5331
|
return __awaiter(this, void 0, void 0, function () {
|
|
5332
|
-
var originalFilters, response,
|
|
5332
|
+
var originalFilters, response, error_5;
|
|
5333
5333
|
return __generator(this, function (_a) {
|
|
5334
5334
|
switch (_a.label) {
|
|
5335
5335
|
case 0:
|
|
@@ -5352,45 +5352,7 @@ var ContentStripWithTabsLibComponent = /** @class */ (function (_super) {
|
|
|
5352
5352
|
if (response && response.results) {
|
|
5353
5353
|
// console.log('calling after-- ')
|
|
5354
5354
|
if (response.results.result.content && response.results.result.content.length) {
|
|
5355
|
-
|
|
5356
|
-
{
|
|
5357
|
-
// tslint:disable-next-line: max-line-length
|
|
5358
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5359
|
-
appIcon: '',
|
|
5360
|
-
name: 'Ministry of Consumer Affairs, Food and Public Distribution',
|
|
5361
|
-
},
|
|
5362
|
-
{
|
|
5363
|
-
// tslint:disable-next-line: max-line-length
|
|
5364
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5365
|
-
appIcon: '',
|
|
5366
|
-
name: 'Ministry of Railways',
|
|
5367
|
-
},
|
|
5368
|
-
{
|
|
5369
|
-
// tslint:disable-next-line: max-line-length
|
|
5370
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5371
|
-
appIcon: '',
|
|
5372
|
-
name: 'Department of Post',
|
|
5373
|
-
},
|
|
5374
|
-
{
|
|
5375
|
-
// tslint:disable-next-line: max-line-length
|
|
5376
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5377
|
-
appIcon: '',
|
|
5378
|
-
name: 'NLC India Limited',
|
|
5379
|
-
},
|
|
5380
|
-
{
|
|
5381
|
-
// tslint:disable-next-line: max-line-length
|
|
5382
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5383
|
-
appIcon: '',
|
|
5384
|
-
name: 'Mission Karmayogi',
|
|
5385
|
-
},
|
|
5386
|
-
{
|
|
5387
|
-
// tslint:disable-next-line: max-line-length
|
|
5388
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5389
|
-
appIcon: '',
|
|
5390
|
-
name: 'Mission Karmayogi',
|
|
5391
|
-
},
|
|
5392
|
-
];
|
|
5393
|
-
this.processStrip(strip, this.transformContentsToWidgets(allProviders, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
5355
|
+
this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
5394
5356
|
}
|
|
5395
5357
|
else {
|
|
5396
5358
|
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|