@sunbird-cb/consumption 0.0.44 → 0.0.45
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 +216 -39
- 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/cards.component.js +2 -2
- package/esm2015/lib/_common/cards/cards.module.js +3 -1
- package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +168 -0
- package/esm2015/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +3 -3
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +2 -2
- package/esm2015/sunbird-cb-consumption.js +35 -34
- package/esm5/lib/_common/cards/cards.component.js +2 -2
- package/esm5/lib/_common/cards/cards.module.js +3 -1
- package/esm5/lib/_common/cards/provider-card/provider-card.component.js +177 -0
- package/esm5/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +3 -3
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +3 -3
- package/esm5/sunbird-cb-consumption.js +35 -34
- package/fesm2015/sunbird-cb-consumption.js +173 -5
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +182 -6
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/cards/provider-card/provider-card.component.d.ts +12 -0
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +1 -1
- package/package.json +1 -1
- package/sunbird-cb-consumption.d.ts +34 -33
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
export declare class ProviderCardComponent implements OnInit {
|
|
3
|
+
providers: {
|
|
4
|
+
name: string;
|
|
5
|
+
link: string;
|
|
6
|
+
logo: string;
|
|
7
|
+
}[];
|
|
8
|
+
colors: string[];
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
redirectTo(provider: any): void;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
export declare class PipeDurationTransformPipe implements PipeTransform {
|
|
3
|
-
transform(data: number, type
|
|
3
|
+
transform(data: number, type: 'time24' | 'hms' | 'hour' | 'hms2H' | 'hms2M' | 'day'): any;
|
|
4
4
|
defaultDuration(h: number, m: number, s: number): string;
|
|
5
5
|
hmsCalculation(h: number, m: number, s: number, dur: string, type: string): string;
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -3,64 +3,65 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
5
|
export { AnnouncementsComponent as ɵs } from './lib/_common/announcements/announcements.component';
|
|
6
|
-
export { AvatarPhotoLibComponent as
|
|
7
|
-
export { AvatarPhotoLibModule as
|
|
6
|
+
export { AvatarPhotoLibComponent as ɵbx } from './lib/_common/avatar-photo-lib/avatar-photo-lib.component';
|
|
7
|
+
export { AvatarPhotoLibModule as ɵbw } from './lib/_common/avatar-photo-lib/avatar-photo-lib.module';
|
|
8
8
|
export { CalenderDayComponent as ɵq } from './lib/_common/calender/calender-day/calender-day.component';
|
|
9
9
|
export { CalenderComponent as ɵp } from './lib/_common/calender/calender.component';
|
|
10
|
-
export { CardAssessmentComponent as
|
|
10
|
+
export { CardAssessmentComponent as ɵbf } from './lib/_common/cards/card-assessment/card-assessment/card-assessment.component';
|
|
11
11
|
export { CardKarmaProgramsV2Component as ɵbc } from './lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component';
|
|
12
12
|
export { CardKarmaProgramsComponent as ɵbb } from './lib/_common/cards/card-karma-programs/card-karma-programs.component';
|
|
13
13
|
export { CardLandscapeComponent as ɵx } from './lib/_common/cards/card-landscape/card-landscape.component';
|
|
14
|
-
export { CardMdoChannelV1Component as
|
|
14
|
+
export { CardMdoChannelV1Component as ɵbi } from './lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component';
|
|
15
15
|
export { CardMDOChannelComponent as ɵz } from './lib/_common/cards/card-mdo-channel/card-mdo-channel.component';
|
|
16
|
-
export { CardPortraitExtComponent as
|
|
16
|
+
export { CardPortraitExtComponent as ɵbe } from './lib/_common/cards/card-portrait-ext/card-portrait-ext.component';
|
|
17
17
|
export { CardPortraitComponent as ɵv } from './lib/_common/cards/card-portrait/card-portrait.component';
|
|
18
|
-
export { CardProgressPortraitLibComponent as
|
|
18
|
+
export { CardProgressPortraitLibComponent as ɵbg } from './lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component';
|
|
19
19
|
export { CardResourceComponent as ɵt } from './lib/_common/cards/card-resource/card-resource.component';
|
|
20
20
|
export { CardUserComponent as ɵw } from './lib/_common/cards/card-user/card-user.component';
|
|
21
21
|
export { CardWideV2Component as ɵba } from './lib/_common/cards/card-wide-v2/card-wide-v2.component';
|
|
22
22
|
export { CardWideComponent as ɵy } from './lib/_common/cards/card-wide/card-wide.component';
|
|
23
23
|
export { CardsComponent as ɵu } from './lib/_common/cards/cards.component';
|
|
24
|
+
export { ProviderCardComponent as ɵbd } from './lib/_common/cards/provider-card/provider-card.component';
|
|
24
25
|
export { CommonStripComponent as ɵr } from './lib/_common/common-strip/common-strip.component';
|
|
25
|
-
export { CompetencyPassbookMdoComponent as
|
|
26
|
-
export { CompetencyPassbookMdoService as
|
|
27
|
-
export { CompetencyPassbookComponent as
|
|
28
|
-
export { CompetencyPassbookService as
|
|
29
|
-
export { ContentProgressComponent as
|
|
26
|
+
export { CompetencyPassbookMdoComponent as ɵcc } from './lib/_common/competency-passbook-mdo/competency-passbook-mdo.component';
|
|
27
|
+
export { CompetencyPassbookMdoService as ɵcd } from './lib/_common/competency-passbook-mdo/competency-passbook-mdo.service';
|
|
28
|
+
export { CompetencyPassbookComponent as ɵby } from './lib/_common/competency-passbook/competency-passbook.component';
|
|
29
|
+
export { CompetencyPassbookService as ɵbz } from './lib/_common/competency-passbook/competency-passbook.service';
|
|
30
|
+
export { ContentProgressComponent as ɵbt } from './lib/_common/content-progress/content-progress.component';
|
|
30
31
|
export { ContentStripWithTabsLibComponent as ɵa } from './lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component';
|
|
31
32
|
export { DataPointsComponent as ɵl } from './lib/_common/data-points/data-points.component';
|
|
32
|
-
export { CertificateDialogComponent as
|
|
33
|
-
export { DialogComponentsModule as
|
|
34
|
-
export { DisplayContentTypeLibComponent as
|
|
35
|
-
export { DisplayContentTypeLibModule as
|
|
33
|
+
export { CertificateDialogComponent as ɵbv } from './lib/_common/dialog-components/certificate-dialog/certificate-dialog.component';
|
|
34
|
+
export { DialogComponentsModule as ɵbu } from './lib/_common/dialog-components/dialog-components.module';
|
|
35
|
+
export { DisplayContentTypeLibComponent as ɵbo } from './lib/_common/display-content-type-lib/display-content-type-lib.component';
|
|
36
|
+
export { DisplayContentTypeLibModule as ɵbn } from './lib/_common/display-content-type-lib/display-content-type-lib.module';
|
|
36
37
|
export { HorizontalScrollerV2Component as ɵf } from './lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component';
|
|
37
38
|
export { HorizontalScrollerV2Module as ɵe } from './lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module';
|
|
38
|
-
export { PillsComponent as
|
|
39
|
-
export { PillsModule as
|
|
39
|
+
export { PillsComponent as ɵcb } from './lib/_common/pills/pills.component';
|
|
40
|
+
export { PillsModule as ɵca } from './lib/_common/pills/pills.module';
|
|
40
41
|
export { SkeletonLoaderLibComponent as ɵo } from './lib/_common/skeleton-loader-lib/skeleton-loader-lib.component';
|
|
41
42
|
export { SkeletonLoaderLibModule as ɵn } from './lib/_common/skeleton-loader-lib/skeleton-loader-lib.module';
|
|
42
|
-
export { SlidersNgContentLibComponent as
|
|
43
|
-
export { MyHammerConfig as
|
|
43
|
+
export { SlidersNgContentLibComponent as ɵck } from './lib/_common/sliders-ng-content/sliders-ng-content.component';
|
|
44
|
+
export { MyHammerConfig as ɵci, SlidersNgContentLibModule as ɵcj } from './lib/_common/sliders-ng-content/sliders-ng-content.module';
|
|
44
45
|
export { SlidersLibComponent as ɵg } from './lib/_common/sliders/sliders.component';
|
|
45
|
-
export { UserContentRatingLibComponent as
|
|
46
|
-
export { UserContentRatingLibService as
|
|
47
|
-
export { DefaultThumbnailDirective as
|
|
48
|
-
export { DefaultThumbnailModule as
|
|
46
|
+
export { UserContentRatingLibComponent as ɵce } from './lib/_common/user-content-rating/user-content-rating-lib.component';
|
|
47
|
+
export { UserContentRatingLibService as ɵch } from './lib/_common/user-content-rating/user-content-rating-lib.service';
|
|
48
|
+
export { DefaultThumbnailDirective as ɵbq } from './lib/_directives/default-thumbnail/default-thumbnail.directive';
|
|
49
|
+
export { DefaultThumbnailModule as ɵbp } from './lib/_directives/default-thumbnail/default-thumbnail.module';
|
|
49
50
|
export { ImageResponsiveDirective as ɵk } from './lib/_directives/image-responsive/image-responsive.directive';
|
|
50
51
|
export { ImageResponsiveModule as ɵj } from './lib/_directives/image-responsive/image-responsive.module';
|
|
51
52
|
export { NavigationDirective as ɵi } from './lib/_directives/navigation/navigation.directive';
|
|
52
53
|
export { NavigationModule as ɵh } from './lib/_directives/navigation/navigation.module';
|
|
53
|
-
export { ScrollableItemDirective as
|
|
54
|
-
export { ScrollableItemModule as
|
|
55
|
-
export { ObjectToArrayPipe as
|
|
56
|
-
export { ObjectToArrayPipeModule as
|
|
57
|
-
export { PipeDurationTransformModule as
|
|
58
|
-
export { PipeDurationTransformPipe as
|
|
59
|
-
export { PipePublicURLModule as
|
|
60
|
-
export { PipePublicURL as
|
|
61
|
-
export { CertificateService as
|
|
54
|
+
export { ScrollableItemDirective as ɵcf } from './lib/_directives/scrollable-item/scrollable-item.directive';
|
|
55
|
+
export { ScrollableItemModule as ɵcl } from './lib/_directives/scrollable-item/scrollable-item.module';
|
|
56
|
+
export { ObjectToArrayPipe as ɵbm } from './lib/_pipes/object-to-array/object-to-array.pipe';
|
|
57
|
+
export { ObjectToArrayPipeModule as ɵbl } from './lib/_pipes/object-to-array/object-to-array.pipe.module';
|
|
58
|
+
export { PipeDurationTransformModule as ɵbr } from './lib/_pipes/pipe-duration-transform/pipe-duration-transform.module';
|
|
59
|
+
export { PipeDurationTransformPipe as ɵbs } from './lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe';
|
|
60
|
+
export { PipePublicURLModule as ɵbj } from './lib/_pipes/pipe-public-URL/pipe-public-URL.module';
|
|
61
|
+
export { PipePublicURL as ɵbk } from './lib/_pipes/pipe-public-URL/pipe-public-URL.pipe';
|
|
62
|
+
export { CertificateService as ɵbh } from './lib/_services/certificate.service';
|
|
62
63
|
export { ConfigurationsService as ɵd } from './lib/_services/configurations.service';
|
|
63
64
|
export { InsiteDataService as ɵm } from './lib/_services/insite-data.service';
|
|
64
65
|
export { MultilingualTranslationsService as ɵc } from './lib/_services/multilingual-translations.service';
|
|
65
|
-
export { RatingService as
|
|
66
|
+
export { RatingService as ɵcg } from './lib/_services/rating.service';
|
|
66
67
|
export { WidgetUserService as ɵb } from './lib/_services/widget-user.service';
|