@sunbird-cb/consumption 0.0.47 → 0.0.49
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 +184 -196
- 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/cards/card-assessment/card-assessment/card-assessment.component.js +22 -30
- package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +7 -3
- package/esm2015/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +7 -3
- package/esm2015/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +2 -2
- package/esm2015/lib/_common/cards/cards.component.js +2 -2
- package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +49 -136
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +102 -11
- package/esm5/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +24 -45
- package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +7 -3
- package/esm5/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +7 -3
- package/esm5/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +2 -2
- package/esm5/lib/_common/cards/cards.component.js +2 -2
- package/esm5/lib/_common/cards/provider-card/provider-card.component.js +50 -137
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +102 -12
- package/fesm2015/sunbird-cb-consumption.js +181 -179
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +184 -196
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.d.ts +4 -1
- package/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.d.ts +1 -0
- package/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.d.ts +1 -0
- package/lib/_common/cards/provider-card/provider-card.component.d.ts +9 -7
- package/package.json +1 -1
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -19,10 +19,13 @@ export declare class CardAssessmentComponent implements OnInit {
|
|
|
19
19
|
daysPending: boolean;
|
|
20
20
|
daysFinish: boolean;
|
|
21
21
|
private intervalId;
|
|
22
|
+
days: number;
|
|
23
|
+
hours: number;
|
|
24
|
+
minutes: number;
|
|
22
25
|
constructor(configSvc: ConfigurationsService, contSvc: WidgetContentService);
|
|
23
26
|
ngOnInit(): void;
|
|
24
27
|
startCountdown(data: any): void;
|
|
25
|
-
updateCountdown(startDate: any
|
|
28
|
+
updateCountdown(startDate: any): void;
|
|
26
29
|
clearTimer(): void;
|
|
27
30
|
ngOnDestroy(): void;
|
|
28
31
|
getRedirectUrlData(contentData: any): void;
|
|
@@ -13,6 +13,7 @@ export declare class CardMDOChannelComponent implements OnInit {
|
|
|
13
13
|
widgetData: NsContent.IContent;
|
|
14
14
|
channelData: EventEmitter<any>;
|
|
15
15
|
emitTelemetry: EventEmitter<any>;
|
|
16
|
+
isCardLoading: boolean;
|
|
16
17
|
defaultThumbnail: any;
|
|
17
18
|
sourceLogos: any;
|
|
18
19
|
defaultSLogo: any;
|
|
@@ -13,6 +13,7 @@ export declare class CardMdoChannelV1Component implements OnInit {
|
|
|
13
13
|
widgetData: NsContent.IContent;
|
|
14
14
|
channelData: EventEmitter<any>;
|
|
15
15
|
emitTelemetry: EventEmitter<any>;
|
|
16
|
+
isCardLoading: boolean;
|
|
16
17
|
defaultThumbnail: any;
|
|
17
18
|
sourceLogos: any;
|
|
18
19
|
defaultSLogo: any;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NsCardContent } from '../../../_models/card-content.model';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
2
4
|
export declare class ProviderCardComponent implements OnInit {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}[];
|
|
5
|
+
private router;
|
|
6
|
+
widgetData: NsCardContent.ICard;
|
|
7
|
+
randomColorApply: boolean;
|
|
8
|
+
isCardLoading: boolean;
|
|
8
9
|
colors: string[];
|
|
9
|
-
constructor();
|
|
10
|
+
constructor(router: Router);
|
|
10
11
|
ngOnInit(): void;
|
|
11
|
-
|
|
12
|
+
setRandomColor(): void;
|
|
13
|
+
redirectTo(content: any): void;
|
|
12
14
|
}
|