@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
|
@@ -4692,46 +4692,7 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
4692
4692
|
if (response && response.results) {
|
|
4693
4693
|
// console.log('calling after-- ')
|
|
4694
4694
|
if (response.results.result.content && response.results.result.content.length) {
|
|
4695
|
-
|
|
4696
|
-
let allProviders = [
|
|
4697
|
-
{
|
|
4698
|
-
// tslint:disable-next-line: max-line-length
|
|
4699
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4700
|
-
appIcon: '',
|
|
4701
|
-
name: 'Ministry of Consumer Affairs, Food and Public Distribution',
|
|
4702
|
-
},
|
|
4703
|
-
{
|
|
4704
|
-
// tslint:disable-next-line: max-line-length
|
|
4705
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4706
|
-
appIcon: '',
|
|
4707
|
-
name: 'Ministry of Railways',
|
|
4708
|
-
},
|
|
4709
|
-
{
|
|
4710
|
-
// tslint:disable-next-line: max-line-length
|
|
4711
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4712
|
-
appIcon: '',
|
|
4713
|
-
name: 'Department of Post',
|
|
4714
|
-
},
|
|
4715
|
-
{
|
|
4716
|
-
// tslint:disable-next-line: max-line-length
|
|
4717
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4718
|
-
appIcon: '',
|
|
4719
|
-
name: 'NLC India Limited',
|
|
4720
|
-
},
|
|
4721
|
-
{
|
|
4722
|
-
// tslint:disable-next-line: max-line-length
|
|
4723
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4724
|
-
appIcon: '',
|
|
4725
|
-
name: 'Mission Karmayogi',
|
|
4726
|
-
},
|
|
4727
|
-
{
|
|
4728
|
-
// tslint:disable-next-line: max-line-length
|
|
4729
|
-
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4730
|
-
appIcon: '',
|
|
4731
|
-
name: 'Mission Karmayogi',
|
|
4732
|
-
},
|
|
4733
|
-
];
|
|
4734
|
-
this.processStrip(strip, this.transformContentsToWidgets(allProviders, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
4695
|
+
this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
4735
4696
|
}
|
|
4736
4697
|
else {
|
|
4737
4698
|
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|