@sunbird-cb/consumption 0.0.24 → 0.0.25

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.
@@ -10069,8 +10069,8 @@
10069
10069
  CardKarmaProgramsComponent.decorators = [
10070
10070
  { type: core.Component, args: [{
10071
10071
  selector: 'sb-uic-card-karma-programs',
10072
- template: "<mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\" [ngStyle]=\"{'background': widgetData?.content?.bgColor}\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData.content\">\n <a (click)=\"raiseTelemetry();$event.stopPropagation()\" \n [routerLink]=\"['/app/learn/karma-programs/asdfghj/123456/micro-sites']\" role=\"link\"\n i18n-aria-label>\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div class=\"flex flex-col h-full\">\n <div class=\"image-container\">\n <ng-container *ngIf=\"widgetData.content.posterImage\">\n <img mat-card-image [src]=\"widgetData.content.posterImage | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-container *ngIf=\"!widgetData.content.posterImage\">\n <ng-container *ngIf=\"widgetData.content.appIcon; else defaultImg\">\n <img mat-card-image [src]=\"widgetData.content.appIcon | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-template #defaultImg>\n <img mat-card-image [src]=\"defaultThumbnail\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\"\n [alt]=\"widgetData.content.name\" />\n </ng-template>\n </ng-container>\n </div>\n <div class=\"title-container\">\n <div class=\"flex px-2\">\n <div [id]=\"'m-c-'+ widgetData.content?.identifier\"\n class=\"flex-1 text-start mat-subheading-2 title-text ws-mat-white-text\">\n {{ widgetData?.content?.name }}\n </div>\n </div>\n <div class=\"flex px-2\">\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\n class=\"flex-1 text-start mat-subheading-2 title-text ws-mat-white-text\">\n {{ widgetData?.content?.programCount}} Programs\n </div>\n </div>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n</mat-card>",
10073
- styles: [".card-channels-container{position:relative;width:282px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;min-height:208px;height:208px;max-height:208px;background:#1a4ca1;border-radius:12px}.card-channels-container .min-top{background:inherit;margin-bottom:0;height:inherit}.card-channels-container .image-container{background-color:#fff;width:inherit;height:124px;max-height:124px;overflow:hidden;display:flex;align-items:center;justify-content:center;border-top-left-radius:12px;border-top-right-radius:12px}.card-channels-container .card-img{max-height:100%;min-height:100%;display:block;-o-object-fit:fill;object-fit:fill}.card-channels-container .mat-subheading-1{font:600 14px/24px Montserrat}.card-channels-container .title-container{background:inherit}.card-channels-container .description-text{position:relative;overflow:hidden;height:51px}.card-channels-container .title-text{word-break:break-all;white-space:initial;margin:8px 0;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;min-height:24px}"]
10072
+ template: "<mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\" [ngStyle]=\"{'background': widgetData?.content?.bgColor}\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData.content\">\n <a (click)=\"raiseTelemetry();$event.stopPropagation()\" \n [routerLink]=\"['/app/learn/karma-programs/asdfghj/123456/micro-sites']\" role=\"link\"\n i18n-aria-label>\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div class=\"flex flex-col h-full\">\n <div class=\"image-container\">\n <ng-container *ngIf=\"widgetData.content.posterImage\">\n <img mat-card-image [src]=\"widgetData.content.posterImage | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-container *ngIf=\"!widgetData.content.posterImage\">\n <ng-container *ngIf=\"widgetData.content.appIcon; else defaultImg\">\n <img mat-card-image [src]=\"widgetData.content.appIcon | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-template #defaultImg>\n <img mat-card-image [src]=\"defaultThumbnail\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\"\n [alt]=\"widgetData.content.name\" />\n </ng-template>\n </ng-container>\n </div>\n <div class=\"title-container\">\n <div class=\"flex px-2\">\n <div [id]=\"'m-c-'+ widgetData.content?.identifier\"\n class=\"flex-1 text-start mat-subheading-2 title-text ws-mat-white-text\">\n {{ widgetData?.content?.name }}\n </div>\n </div>\n <div class=\"flex px-2\">\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\n class=\"flex-1 text-start margin-remove margin-top-xxs mat-subheading-2 title-text ws-mat-white-text\">\n {{ widgetData?.content?.programCount}} Programs\n </div>\n </div>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n</mat-card>",
10073
+ styles: [".card-channels-container{position:relative;width:245px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;min-height:217px;height:217px;max-height:217px;margin:0 8px;background:#1a4ca1;border-radius:12px}.card-channels-container .min-top{background:inherit;margin-bottom:0;height:inherit}.card-channels-container .image-container{background-color:#fff;width:inherit;height:139px;max-height:139px;overflow:hidden;display:flex;align-items:center;justify-content:center;border-top-left-radius:12px;border-top-right-radius:12px}.card-channels-container .card-img{max-height:100%;min-height:100%;display:block;-o-object-fit:fill;object-fit:fill}.card-channels-container .mat-subheading-1{font:600 14px/24px Montserrat}.card-channels-container .title-container{background:inherit}.card-channels-container .description-text{position:relative;overflow:hidden;height:51px}.card-channels-container .title-text{word-break:break-all;white-space:initial;margin:8px 0;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;min-height:24px}"]
10074
10074
  }] }
10075
10075
  ];
10076
10076
  /** @nocollapse */
@@ -10128,6 +10128,33 @@
10128
10128
  CardKarmaProgramsComponent.prototype.configSvc;
10129
10129
  }
10130
10130
 
10131
+ /**
10132
+ * @fileoverview added by tsickle
10133
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10134
+ */
10135
+ var CardKarmaProgramV2Component = /** @class */ (function () {
10136
+ function CardKarmaProgramV2Component() {
10137
+ }
10138
+ /**
10139
+ * @return {?}
10140
+ */
10141
+ CardKarmaProgramV2Component.prototype.ngOnInit = /**
10142
+ * @return {?}
10143
+ */
10144
+ function () {
10145
+ };
10146
+ CardKarmaProgramV2Component.decorators = [
10147
+ { type: core.Component, args: [{
10148
+ selector: 'sb-uic-card-karma-program-v2',
10149
+ template: "<p>card-karma-program-v2 works!</p>\n",
10150
+ styles: [""]
10151
+ }] }
10152
+ ];
10153
+ /** @nocollapse */
10154
+ CardKarmaProgramV2Component.ctorParameters = function () { return []; };
10155
+ return CardKarmaProgramV2Component;
10156
+ }());
10157
+
10131
10158
  /**
10132
10159
  * @fileoverview added by tsickle
10133
10160
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -10145,7 +10172,8 @@
10145
10172
  CardWideComponent,
10146
10173
  CardMDOChannelComponent,
10147
10174
  CardWideV2Component,
10148
- CardKarmaProgramsComponent
10175
+ CardKarmaProgramsComponent,
10176
+ CardKarmaProgramV2Component
10149
10177
  ],
10150
10178
  imports: [
10151
10179
  common.CommonModule,
@@ -11809,28 +11837,29 @@
11809
11837
  exports.ɵb = WidgetUserService;
11810
11838
  exports.ɵba = CardWideV2Component;
11811
11839
  exports.ɵbb = CardKarmaProgramsComponent;
11812
- exports.ɵbc = PipePublicURLModule;
11813
- exports.ɵbd = PipePublicURL;
11814
- exports.ɵbe = DisplayContentTypeLibModule;
11815
- exports.ɵbf = DisplayContentTypeLibComponent;
11816
- exports.ɵbg = DefaultThumbnailModule;
11817
- exports.ɵbh = DefaultThumbnailDirective;
11818
- exports.ɵbi = PipeDurationTransformModule;
11819
- exports.ɵbj = PipeDurationTransformPipe;
11820
- exports.ɵbk = CompetencyPassbookComponent;
11821
- exports.ɵbl = CompetencyPassbookService;
11822
- exports.ɵbm = PillsModule;
11823
- exports.ɵbn = PillsComponent;
11824
- exports.ɵbo = UserContentRatingLibComponent;
11825
- exports.ɵbp = ScrollableItemDirective;
11826
- exports.ɵbq = RatingService;
11827
- exports.ɵbr = UserContentRatingLibService;
11828
- exports.ɵbs = AvatarPhotoLibModule;
11829
- exports.ɵbt = AvatarPhotoLibComponent;
11830
- exports.ɵbu = MyHammerConfig$1;
11831
- exports.ɵbv = SlidersNgContentLibModule;
11832
- exports.ɵbw = SlidersNgContentLibComponent;
11833
- exports.ɵbx = ScrollableItemModule;
11840
+ exports.ɵbc = CardKarmaProgramV2Component;
11841
+ exports.ɵbd = PipePublicURLModule;
11842
+ exports.ɵbe = PipePublicURL;
11843
+ exports.ɵbf = DisplayContentTypeLibModule;
11844
+ exports.ɵbg = DisplayContentTypeLibComponent;
11845
+ exports.ɵbh = DefaultThumbnailModule;
11846
+ exports.ɵbi = DefaultThumbnailDirective;
11847
+ exports.ɵbj = PipeDurationTransformModule;
11848
+ exports.ɵbk = PipeDurationTransformPipe;
11849
+ exports.ɵbl = CompetencyPassbookComponent;
11850
+ exports.ɵbm = CompetencyPassbookService;
11851
+ exports.ɵbn = PillsModule;
11852
+ exports.ɵbo = PillsComponent;
11853
+ exports.ɵbp = UserContentRatingLibComponent;
11854
+ exports.ɵbq = ScrollableItemDirective;
11855
+ exports.ɵbr = RatingService;
11856
+ exports.ɵbs = UserContentRatingLibService;
11857
+ exports.ɵbt = AvatarPhotoLibModule;
11858
+ exports.ɵbu = AvatarPhotoLibComponent;
11859
+ exports.ɵbv = MyHammerConfig$1;
11860
+ exports.ɵbw = SlidersNgContentLibModule;
11861
+ exports.ɵbx = SlidersNgContentLibComponent;
11862
+ exports.ɵby = ScrollableItemModule;
11834
11863
  exports.ɵc = MultilingualTranslationsService;
11835
11864
  exports.ɵd = ConfigurationsService;
11836
11865
  exports.ɵe = HorizontalScrollerV2Module;