@sunbird-cb/consumption 0.1.24-cbrelease-4.8.28 → 0.1.25-cbrelease-4.8.28
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/esm2022/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.mjs +5 -2
- package/fesm2022/sunbird-cb-consumption.mjs +4 -1
- package/fesm2022/sunbird-cb-consumption.mjs.map +1 -1
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/sunbird-cb-consumption-0.1.25-cbrelease-4.8.28.tgz +0 -0
|
@@ -10599,6 +10599,7 @@ class ContentStripWithTabsPillsComponent extends WidgetBaseComponent {
|
|
|
10599
10599
|
let all = [];
|
|
10600
10600
|
let upcoming = [];
|
|
10601
10601
|
let overdue = [];
|
|
10602
|
+
let apar = [];
|
|
10602
10603
|
array.forEach((e) => {
|
|
10603
10604
|
all.push(e);
|
|
10604
10605
|
if (e.planDuration === NsCardContent$2.ACBPConst.OVERDUE) {
|
|
@@ -10638,11 +10639,13 @@ class ContentStripWithTabsPillsComponent extends WidgetBaseComponent {
|
|
|
10638
10639
|
upcoming = upcoming.filter((data) => {
|
|
10639
10640
|
return data.contentStatus < 2;
|
|
10640
10641
|
});
|
|
10642
|
+
apar = array.filter((e) => e.isApar === true);
|
|
10641
10643
|
return [
|
|
10642
10644
|
{ value: 'all', widgets: this.transformContentsToWidgets(all, strip) },
|
|
10643
10645
|
{ value: 'upcoming', widgets: this.transformContentsToWidgets(upcoming, strip) },
|
|
10644
10646
|
{ value: 'completed', widgets: this.transformContentsToWidgets(allCompleted, strip) },
|
|
10645
|
-
{ value: 'overdue', widgets: this.transformContentsToWidgets(overdue, strip) }
|
|
10647
|
+
{ value: 'overdue', widgets: this.transformContentsToWidgets(overdue, strip) },
|
|
10648
|
+
{ value: 'apar', widgets: this.transformContentsToWidgets(apar, strip) }
|
|
10646
10649
|
];
|
|
10647
10650
|
}
|
|
10648
10651
|
resetSelectedPill(pillData) {
|