@sunbird-cb/consumption 0.0.18 → 0.0.19
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 +95 -52
- 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-wide-v2/card-wide-v2.component.js +9 -3
- package/esm2015/lib/_common/cards/cards.component.js +35 -2
- package/esm2015/public-api.js +2 -1
- package/esm2015/sunbird-cb-consumption.js +49 -50
- package/esm5/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +9 -3
- package/esm5/lib/_common/cards/cards.component.js +39 -2
- package/esm5/public-api.js +2 -1
- package/esm5/sunbird-cb-consumption.js +49 -50
- package/fesm2015/sunbird-cb-consumption.js +43 -4
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +47 -4
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/cards/card-wide-v2/card-wide-v2.component.d.ts +2 -0
- package/lib/_common/cards/cards.component.d.ts +3 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/sunbird-cb-consumption.d.ts +47 -48
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -8204,6 +8204,13 @@
|
|
|
8204
8204
|
* @return {?}
|
|
8205
8205
|
*/
|
|
8206
8206
|
function () {
|
|
8207
|
+
var _this = this;
|
|
8208
|
+
this.cbPlanInterval = setInterval((/**
|
|
8209
|
+
* @return {?}
|
|
8210
|
+
*/
|
|
8211
|
+
function () {
|
|
8212
|
+
_this.getCbPlanData();
|
|
8213
|
+
}), 1000);
|
|
8207
8214
|
};
|
|
8208
8215
|
Object.defineProperty(CardsComponent.prototype, "isLiveOrMarkForDeletion", {
|
|
8209
8216
|
get: /**
|
|
@@ -8257,10 +8264,36 @@
|
|
|
8257
8264
|
});
|
|
8258
8265
|
});
|
|
8259
8266
|
};
|
|
8267
|
+
/**
|
|
8268
|
+
* @return {?}
|
|
8269
|
+
*/
|
|
8270
|
+
CardsComponent.prototype.getCbPlanData = /**
|
|
8271
|
+
* @return {?}
|
|
8272
|
+
*/
|
|
8273
|
+
function () {
|
|
8274
|
+
/** @type {?} */
|
|
8275
|
+
var cbpList = {};
|
|
8276
|
+
if (localStorage.getItem('cbpData')) {
|
|
8277
|
+
/** @type {?} */
|
|
8278
|
+
var cbpListArr = JSON.parse(localStorage.getItem('cbpData') || '');
|
|
8279
|
+
if (cbpListArr && cbpListArr.length) {
|
|
8280
|
+
cbpListArr.forEach((/**
|
|
8281
|
+
* @param {?} data
|
|
8282
|
+
* @return {?}
|
|
8283
|
+
*/
|
|
8284
|
+
function (data) {
|
|
8285
|
+
cbpList[data.identifier] = data;
|
|
8286
|
+
}));
|
|
8287
|
+
}
|
|
8288
|
+
this.cbPlanMapData = cbpList;
|
|
8289
|
+
// this.karmaPointLoading = false
|
|
8290
|
+
clearInterval(this.cbPlanInterval);
|
|
8291
|
+
}
|
|
8292
|
+
};
|
|
8260
8293
|
CardsComponent.decorators = [
|
|
8261
8294
|
{ type: core.Component, args: [{
|
|
8262
8295
|
selector: 'sb-uic-cards',
|
|
8263
|
-
template: "<div class=\"widget-card-content-new\">\n <ng-container *ngIf=\"widgetData && (((widgetData?.deletedMode || 'none') === 'hide' && !!!isLiveOrMarkForDeletion)\n ? false\n : !((widgetData?.intranetMode || 'none') === 'hide' && !!showIntranetContent))\"\n [ngSwitch]=\"( (widgetData && widgetData?.cardSubType) || 'cardPortraitLib')\">\n <ng-container *ngSwitchDefault [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'user-card'\" [ngTemplateOutlet]=\"cardUser\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib'\" [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib-skeleton'\" [ngTemplateOutlet]=\"cardLandscapeLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib'\" [ngTemplateOutlet]=\"cardLandscapeLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib-skeleton'\" [ngTemplateOutlet]=\"cardWideLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib'\" [ngTemplateOutlet]=\"cardWideLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2'\" [ngTemplateOutlet]=\"cardWideV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2-
|
|
8296
|
+
template: "<div class=\"widget-card-content-new\">\n <ng-container *ngIf=\"widgetData && (((widgetData?.deletedMode || 'none') === 'hide' && !!!isLiveOrMarkForDeletion)\n ? false\n : !((widgetData?.intranetMode || 'none') === 'hide' && !!showIntranetContent))\"\n [ngSwitch]=\"( (widgetData && widgetData?.cardSubType) || 'cardPortraitLib')\">\n <ng-container *ngSwitchDefault [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'user-card'\" [ngTemplateOutlet]=\"cardUser\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib'\" [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib-skeleton'\" [ngTemplateOutlet]=\"cardLandscapeLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib'\" [ngTemplateOutlet]=\"cardLandscapeLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib-skeleton'\" [ngTemplateOutlet]=\"cardWideLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib'\" [ngTemplateOutlet]=\"cardWideLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2'\" [ngTemplateOutlet]=\"cardWideV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2-skeleton'\" [ngTemplateOutlet]=\"cardWideV2Skeleton\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #cardPortraitLibSkeleton>\n <sb-uic-card-portrait [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardPortraitLib>\n <sb-uic-card-portrait (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardLandscapeLibSkeleton>\n <sb-uic-card-landscape [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-landscape>\n</ng-template>\n<ng-template #cardLandscapeLib>\n <sb-uic-card-landscape [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-landscape>\n</ng-template>\n\n<ng-template #cardWideLib>\n <sb-uic-card-wide (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n<ng-template #cardWideLibSkeleton>\n <sb-uic-card-wide [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n\n<ng-template #cardWideV2Skeleton>\n <sb-uic-card-wide-v2 [widgetData]=\"widgetData\" [isCardLoading]=\"true\" ></sb-uic-card-wide-v2>\n</ng-template>\n<ng-template #cardWideV2>\n <sb-uic-card-wide-v2 [cbPlanMapData]=\"cbPlanMapData\" [isCardLoading]=\"true\" [widgetData]=\"widgetData\" ></sb-uic-card-wide-v2>\n</ng-template>\n\n<ng-template #cardUser>\n <sb-uic-card-user [widgetData]=\"widgetData\"></sb-uic-card-user>\n</ng-template>\n",
|
|
8264
8297
|
styles: [""]
|
|
8265
8298
|
}] }
|
|
8266
8299
|
];
|
|
@@ -8281,6 +8314,10 @@
|
|
|
8281
8314
|
CardsComponent.prototype.widgetData;
|
|
8282
8315
|
/** @type {?} */
|
|
8283
8316
|
CardsComponent.prototype.isIntranetAllowedSettings;
|
|
8317
|
+
/** @type {?} */
|
|
8318
|
+
CardsComponent.prototype.cbPlanMapData;
|
|
8319
|
+
/** @type {?} */
|
|
8320
|
+
CardsComponent.prototype.cbPlanInterval;
|
|
8284
8321
|
/**
|
|
8285
8322
|
* @type {?}
|
|
8286
8323
|
* @private
|
|
@@ -9543,6 +9580,7 @@
|
|
|
9543
9580
|
this.isCardLoading = false;
|
|
9544
9581
|
this.contentData = new core.EventEmitter();
|
|
9545
9582
|
this.isCardFlipped = false;
|
|
9583
|
+
this.acbpConstants = NsCardContent$1.ACBPConst;
|
|
9546
9584
|
this.showFlip = false;
|
|
9547
9585
|
this.widgetType = 'df';
|
|
9548
9586
|
this.widgetSubType = 'sdf';
|
|
@@ -9630,8 +9668,8 @@
|
|
|
9630
9668
|
CardWideV2Component.decorators = [
|
|
9631
9669
|
{ type: core.Component, args: [{
|
|
9632
9670
|
selector: 'sb-uic-card-wide-v2',
|
|
9633
|
-
template: "<mat-card class=\"card-wide-v2 padding-remove position-relative flex\">\n
|
|
9634
|
-
styles: [".course_widget{margin-top:10px}.course_widget .mat-icon{vertical-align:middle;color:#ef951e!important}.course_widget .course_v2{border:1px solid #ef951e;padding:4px 8px;align-items:end;border-radius:16px}.course_widget .main_icon{font-size:16px;width:16px;height:16px}.rating-session mat-icon{font-size:16px;height:16px;width:12px;padding-right:3px;color:#ef951e}.rating-session span{font-size:11px}.rating-session .most-enrolled-text{padding:0 8px;background:#ffea9e;border-radius:4px}.duration-box{background:#000;position:absolute;border:none;display:flex;align-items:center;padding:4px;border-radius:4px}.duration-box.right-corner{right:4px;bottom:4px}.duration-box .mat-icon{vertical-align:middle;color:#fff!important;height:14px!important;width:14px!important;font-size:14px}.duration-box .duration{font:700 12px/16px Lato;display:inline-block;margin:0;padding:0}.card-wide-v2{border-radius:12px;max-width:100%;min-width:784px;display:flex}.card-wide-v2 .title-text{word-break:break-all;white-space:initial;margin:8px 0 4px;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px}.card-wide-v2 .course_logo_box{width:30px;height:30px;background:#fff;border-radius:4px;box-sizing:border-box;border:1px solid rgba(0,0,0,.16)}.card-wide-v2 .course_logo_box img{height:28px;width:28px;display:inline-block;-o-object-fit:cover;object-fit:cover}.card-wide-v2 .course_logo_box p{display:inline-block;vertical-align:top}.card-wide-v2 .org-text{font-size:14px;font-weight:400;padding-left:10px;word-break:break-all;white-space:initial;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.card-wide-v2 .rating-session mat-icon{font-size:20px;height:20px;width:20px;color:#ef951e}.card-wide-v2 .rating-session .rating-number{font-size:14px}.card-wide-v2 .rating-session .most-enrolled-text{font-size:12px;padding:0 10px;background:#ffea9e;border-radius:4px}.card-wide-v2 .highlight_point_text{margin-top:15px}.card-wide-v2 ul.highlighting_list li{display:inline-block;padding-right:10px}.card-wide-v2 ul.highlighting_list li .rating-number{letter-spacing:0;color:#f69953}.card-wide-v2 ul.highlighting_list li.rating .mat-icon{width:16px;height:16px;display:inline-table;color:#f69953;font-size:18px;vertical-align:text-bottom}.card-wide-v2 img.text_seperator{vertical-align:middle}.card-wide-v2 .mat-text-box{padding:12px;box-sizing:border-box;width:calc(100% - 315px)}@media (max-width:992px){.card-wide-v2 .mat-text-box{width:66%;padding:8px;position:relative;height:auto}}.card-wide-v2 .mat-text-box p.mat-caption .mat-icon{vertical-align:middle;height:18px!important;width:16px!important;font-size:16px!important;line-height:1.2}.card-wide-v2 .mat-text-box p.mat-caption .title_icon{vertical-align:middle}.card-wide-v2 .imageholder{width:310px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}.card-wide-v2 .imageholder img{width:100%;display:block;border-radius:10px 0 0 10px;height:100%;max-height:172px;-o-object-fit:cover;object-fit:cover;vertical-align:middle}@media (max-width:992px){.card-wide-v2 .imageholder{width:34%;height:auto}.card-wide-v2 .imageholder img{height:auto}}.card-wide-v2 .imageholder .source-div{position:absolute;top:12px;right:12px;background:#fff;z-index:3;border:1px solid #dedfe0;min-width:98px;min-height:32px;max-width:98px;max-height:32px;display:flex;border-radius:16px;display:inline-flex}.card-wide-v2 .imageholder .source-div .source-icon{border-radius:8px;display:block;margin:auto;max-width:58px;max-height:-webkit-fill-available}.card-wide-v2 .main_title_box{height:60px}.card-wide-v2 p.actionbtns{margin-bottom:0}.card-wide-v2 .contenticon{vertical-align:middle;margin-right:6px;width:16px;max-height:16px}@media only screen and (min-width:600px) and (max-width:959px){.card-wide-v2{min-width:auto;display:flex;flex-direction:column;min-width:calc(100vw - 32px)}.card-wide-v2 .imageholder,.card-wide-v2 .mat-text-box{width:100%}.card-wide-v2 .provider{flex-wrap:nowrap}}@media only screen and (max-width:599px){.card-wide-v2{min-width:auto;display:flex;flex-direction:column;min-width:calc(100vw - 32px)}.card-wide-v2 .imageholder,.card-wide-v2 .mat-text-box{width:100%}.card-wide-v2 .provider{flex-wrap:nowrap}}"]
|
|
9671
|
+
template: "<ng-container *ngIf=\"!isCardLoading\">\n <mat-card class=\"card-wide-v2 padding-remove position-relative flex\">\n <div class=\"imageholder \">\n <img mat-card-image class=\"margin-remove\"\n [src]=\"widgetData?.content?.posterImage || widgetData?.content?.appIcon | pipePublicURL\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData?.content?.name\">\n <div class=\"source-div\" [hidden]=\"true\">\n <img [src]=\"widgetData?.content?.creatorLogo\" class=\"source-icon\" [wsUtilsDefaultThumbnail]=\"defaultSLogo\"\n [alt]=\"(widgetData?.content?.sourceName + '_' + widgetData?.content?.identifier)\" />\n </div>\n <div class=\"duration-box right-corner\" *ngIf=\"widgetData?.content?.duration > 0\">\n <mat-icon class=\"mat-icon main_icon mr-1\">access_time</mat-icon>\n <span class=\" ws-mat-white-text duration\"> {{ (widgetData?.content?.duration || 120)| pipeDurationTransform: 'hms' }}</span>\n </div>\n <ng-container *ngIf=\"cbPlanMapData && cbPlanMapData[widgetData?.content?.identifier]\">\n <ng-container [ngTemplateOutlet]=\"cbpPlan\" [ngTemplateOutletContext]=\"{data: {\n cbpData: cbPlanMapData[widgetData?.content?.identifier]\n }}\"></ng-container>\n </ng-container>\n </div>\n <mat-card-content class=\"mat-text-box\">\n <div class=\"course_widget flex flex-between margin-remove\">\n <div class=\"flex flex-end course_v2\">\n <ng-container *ngIf=\"widgetData?.content?.contentType === 'Resource' || widgetData?.content?.contentType === 'Course' || widgetData?.content?.contentType === 'Module'\">\n <mat-icon class=\"mat-icon main_icon ws-mat-default-text margin-right-xs\">video_library</mat-icon>\n <span class=\"ws-mat-black60-text font-normal mat-caption \">\n {{widgetData?.content?.primaryCategory || widgetData?.content?.contentType}}\n <!-- {{ translateLabel(widgetData.content.primaryCategory || widgetData.content.contentType, 'searchfilters') }} -->\n </span>\n </ng-container>\n </div>\n </div>\n\n <div class=\"flex main_title_box\">\n <p class=\"mat-subheading-1 title-text font-bold-imp cursor-pointer content-title\">\n <a (click)=\"raiseTelemetry();getRedirectUrlData(widgetData?.content); $event.stopPropagation()\">\n {{widgetData?.content?.name}}\n </a>\n </p>\n </div>\n\n <div class=\"bottomsection\">\n <div class=\"flex w-full flex-wrap flex-middle provider\">\n <div class=\"course_logo_box\">\n <img [src]=\"widgetData?.content?.creatorLogo | pipePublicURL \" class=\"source-icon\" [wsUtilsDefaultThumbnail]=\"defaultSLogo\"\n [alt]=\"(widgetData?.content?.sourceName + '_' + widgetData?.content?.identifier)\" />\n </div>\n <span class=\"org-text\">By \n <!-- {{'cardcontentv2.by' | translate}} -->\n {{widgetData?.content?.organisation[0] }}</span>\n </div>\n <div class=\"flex flex-middle rating-session margin-top-xs\">\n <div class=\"flex flex-middle\" *ngIf=\"widgetData?.content?.avgRating\">\n <mat-icon>star</mat-icon>\n <span class=\"rating-number\">{{widgetData?.content?.avgRating}}</span>\n </div>\n <!-- <span class=\"most-enrolled-text margin-left-m\">{{ 'cardcontentv2.mostEnrolled' | translate }}</span> -->\n <ng-container *ngIf=\"widgetData?.content?.additionalTags && widgetData?.content?.additionalTags.includes('mostEnrolled')\">\n <!-- <span class=\"most-enrolled-text margin-left-xs\">{{ 'cardcontentv2.mostEnrolled' | translate }}</span> -->\n </ng-container>\n <ng-container *ngIf=\"widgetData?.content?.additionalTags && widgetData?.content?.additionalTags.includes('mostTrending')\">\n <!-- <span class=\"most-enrolled-text margin-left-xs\">{{ 'cardcontentv2.mostTrending' | translate }}</span> -->\n </ng-container>\n </div>\n </div>\n </mat-card-content>\n </mat-card>\n <ng-template #cbpPlan let-data=\"data\">\n <div class=\"cbp-mark left-0 border-top-radius\">\n <p *ngIf=\"data?.cbpData?.planDuration === acbpConstants?.UPCOMING\" class=\"cbp-warning\">{{data?.cbpData?.endDate | date: 'd MMM, y'}}</p>\n <p *ngIf=\"data?.cbpData?.planDuration === acbpConstants?.SUCCESS\" class=\"cbp-success\">{{data?.cbpData?.endDate | date: 'd MMM, y'}}</p>\n <p *ngIf=\"data?.cbpData?.planDuration === acbpConstants?.OVERDUE\" class=\"cbp-danger\">{{'OverDue' }}</p>\n </div>\n </ng-template>\n</ng-container>\n\n <ng-container *ngIf=\"isCardLoading\">\n <mat-card class=\"card-wide-v2 padding-remove position-relative flex\">\n <div class=\"\">\n <sb-uic-skeleton-loader [width]=\"'300px'\" [height]=\"'100%'\" class=\"h-full\" [bindingClass]=\"'flex rounded h-full min-height-width'\"></sb-uic-skeleton-loader>\n </div>\n <mat-card-content class=\"mat-text-box\">\n <div class=\"course_widget flex margin-remove\">\n <div class=\"flex flex-end \">\n <sb-uic-skeleton-loader [width]=\"'100px'\" [height]=\"'21px'\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n \n <div class=\"flex main_title_box\">\n <!-- <p class=\"mat-subheading-1 title-text font-bold-imp cursor-pointer content-title\"> -->\n <sb-uic-skeleton-loader [width]=\"'100%'\" [height]=\"'21px'\" class=\"w-full h-full mt-2\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n <!-- </p> -->\n </div>\n \n <div class=\"bottomsection\">\n <div class=\"flex w-full flex-wrap flex-middle\">\n <div class=\"course_logo_box mr-2\">\n <sb-uic-skeleton-loader [width]=\"'28px'\" [height]=\"'28px'\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n <sb-uic-skeleton-loader [width]=\"'100px'\" [height]=\"'16px'\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-middle rating-session margin-top-xs\">\n <div class=\"flex flex-middle mr-2\">\n <sb-uic-skeleton-loader [width]=\"'50px'\" [height]=\"'16px'\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n <sb-uic-skeleton-loader [width]=\"'80px'\" [height]=\"'16px'\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </mat-card-content>\n </mat-card>\n </ng-container>",
|
|
9672
|
+
styles: [".course_widget{margin-top:10px}.course_widget .mat-icon{vertical-align:middle;color:#ef951e!important}.course_widget .course_v2{border:1px solid #ef951e;padding:4px 8px;align-items:end;border-radius:16px}.course_widget .main_icon{font-size:16px;width:16px;height:16px}.rating-session mat-icon{font-size:16px;height:16px;width:12px;padding-right:3px;color:#ef951e}.rating-session span{font-size:11px}.rating-session .most-enrolled-text{padding:0 8px;background:#ffea9e;border-radius:4px}.duration-box{background:#000;position:absolute;border:none;display:flex;align-items:center;padding:4px;border-radius:4px}.duration-box.right-corner{right:4px;bottom:4px}.duration-box .mat-icon{vertical-align:middle;color:#fff!important;height:14px!important;width:14px!important;font-size:14px}.duration-box .duration{font:700 12px/16px Lato;display:inline-block;margin:0;padding:0}.card-wide-v2{border-radius:12px;max-width:100%;min-width:784px;display:flex}.card-wide-v2 .title-text{word-break:break-all;white-space:initial;margin:8px 0 4px;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px}.card-wide-v2 .course_logo_box{width:30px;height:30px;background:#fff;border-radius:4px;box-sizing:border-box;border:1px solid rgba(0,0,0,.16)}.card-wide-v2 .course_logo_box img{height:28px;width:28px;display:inline-block;-o-object-fit:cover;object-fit:cover}.card-wide-v2 .course_logo_box p{display:inline-block;vertical-align:top}.card-wide-v2 .org-text{font-size:14px;font-weight:400;padding-left:10px;word-break:break-all;white-space:initial;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.card-wide-v2 .rating-session mat-icon{font-size:20px;height:20px;width:20px;color:#ef951e}.card-wide-v2 .rating-session .rating-number{font-size:14px}.card-wide-v2 .rating-session .most-enrolled-text{font-size:12px;padding:0 10px;background:#ffea9e;border-radius:4px}.card-wide-v2 .highlight_point_text{margin-top:15px}.card-wide-v2 ul.highlighting_list li{display:inline-block;padding-right:10px}.card-wide-v2 ul.highlighting_list li .rating-number{letter-spacing:0;color:#f69953}.card-wide-v2 ul.highlighting_list li.rating .mat-icon{width:16px;height:16px;display:inline-table;color:#f69953;font-size:18px;vertical-align:text-bottom}.card-wide-v2 img.text_seperator{vertical-align:middle}.card-wide-v2 .mat-text-box{padding:12px;box-sizing:border-box;width:calc(100% - 315px)}@media (max-width:992px){.card-wide-v2 .mat-text-box{width:66%;padding:8px;position:relative;height:auto}}.card-wide-v2 .mat-text-box p.mat-caption .mat-icon{vertical-align:middle;height:18px!important;width:16px!important;font-size:16px!important;line-height:1.2}.card-wide-v2 .mat-text-box p.mat-caption .title_icon{vertical-align:middle}.card-wide-v2 .imageholder{width:310px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}.card-wide-v2 .imageholder img{width:100%;display:block;border-radius:10px 0 0 10px;height:100%;max-height:172px;-o-object-fit:cover;object-fit:cover;vertical-align:middle}@media (max-width:992px){.card-wide-v2 .imageholder{width:34%;height:auto}.card-wide-v2 .imageholder img{height:auto}}.card-wide-v2 .imageholder .source-div{position:absolute;top:12px;right:12px;background:#fff;z-index:3;border:1px solid #dedfe0;min-width:98px;min-height:32px;max-width:98px;max-height:32px;display:flex;border-radius:16px;display:inline-flex}.card-wide-v2 .imageholder .source-div .source-icon{border-radius:8px;display:block;margin:auto;max-width:58px;max-height:-webkit-fill-available}.card-wide-v2 .main_title_box{height:60px}.card-wide-v2 p.actionbtns{margin-bottom:0}.card-wide-v2 .contenticon{vertical-align:middle;margin-right:6px;width:16px;max-height:16px}@media only screen and (min-width:600px) and (max-width:959px){.card-wide-v2{min-width:auto;display:flex;flex-direction:column;min-width:calc(100vw - 32px)}.card-wide-v2 .imageholder,.card-wide-v2 .mat-text-box{width:100%}.card-wide-v2 .provider{flex-wrap:nowrap}}@media only screen and (max-width:599px){.card-wide-v2{min-width:auto;display:flex;flex-direction:column;min-width:calc(100vw - 32px)}.card-wide-v2 .imageholder,.card-wide-v2 .mat-text-box{width:100%}.card-wide-v2 .provider{flex-wrap:nowrap}}.cbp-mark{border-radius:12px 0;opacity:1;background-image:linear-gradient(90deg,rgba(0,0,0,.6) 0,rgba(0,0,0,0) 100%);position:absolute;top:0;padding:8px}.cbp-mark p{opacity:1;background-color:#fff;padding:4px;opacity:1;color:#1b2133;font-family:Lato-Regular;font-size:10px;font-weight:400;font-style:Regular;letter-spacing:.5px;text-align:left;line-height:12px;margin-bottom:0}.cbpwidth{width:340px}.cbp-plan{border-radius:4px;opacity:1;background-color:#1b4ca1;top:4px;left:4px;opacity:1;color:rgba(255,255,255,.95);font-family:Lato-Bold;font-size:12px;font-weight:700;font-style:normal;letter-spacing:.25px;text-align:center;line-height:16px;padding:4px}.cbp-info{opacity:1;color:#fff;font-family:Lato-Regular;font-size:10px;font-weight:400;font-style:normal;letter-spacing:.5px;text-align:left;line-height:12px;padding:2px}.cbp-danger{border-radius:2px;border:1px solid rgba(0,0,0,.08);background-color:#d13924!important;color:#fff!important;opacity:1}.cbp-success{border-radius:2px;border:1px solid #1d8922;background-color:#1d8922!important;color:#fff!important;opacity:1}.cbp-warning{border-radius:2px;border:1px solid #ef951e;background-color:#ef951e!important;color:#fff!important;opacity:1}"]
|
|
9635
9673
|
}] }
|
|
9636
9674
|
];
|
|
9637
9675
|
/** @nocollapse */
|
|
@@ -9647,6 +9685,7 @@
|
|
|
9647
9685
|
isLiveOrMarkForDeletion: [{ type: core.Input }],
|
|
9648
9686
|
showIntranetContent: [{ type: core.Input }],
|
|
9649
9687
|
isIntranetAllowedSettings: [{ type: core.Input }],
|
|
9688
|
+
cbPlanMapData: [{ type: core.Input }],
|
|
9650
9689
|
isCardLoading: [{ type: core.Input }],
|
|
9651
9690
|
contentData: [{ type: core.Output }]
|
|
9652
9691
|
};
|
|
@@ -9662,12 +9701,16 @@
|
|
|
9662
9701
|
/** @type {?} */
|
|
9663
9702
|
CardWideV2Component.prototype.isIntranetAllowedSettings;
|
|
9664
9703
|
/** @type {?} */
|
|
9704
|
+
CardWideV2Component.prototype.cbPlanMapData;
|
|
9705
|
+
/** @type {?} */
|
|
9665
9706
|
CardWideV2Component.prototype.isCardLoading;
|
|
9666
9707
|
/** @type {?} */
|
|
9667
9708
|
CardWideV2Component.prototype.contentData;
|
|
9668
9709
|
/** @type {?} */
|
|
9669
9710
|
CardWideV2Component.prototype.isCardFlipped;
|
|
9670
9711
|
/** @type {?} */
|
|
9712
|
+
CardWideV2Component.prototype.acbpConstants;
|
|
9713
|
+
/** @type {?} */
|
|
9671
9714
|
CardWideV2Component.prototype.defaultThumbnail;
|
|
9672
9715
|
/** @type {?} */
|
|
9673
9716
|
CardWideV2Component.prototype.sourceLogos;
|
|
@@ -11380,56 +11423,56 @@
|
|
|
11380
11423
|
exports.UserContentRatingLibModule = UserContentRatingLibModule;
|
|
11381
11424
|
exports.WIDGET_REGISTERED_LIB_MODULES = WIDGET_REGISTERED_LIB_MODULES;
|
|
11382
11425
|
exports.WIDGET_REGISTRATION_LIB_CONFIG = WIDGET_REGISTRATION_LIB_CONFIG;
|
|
11426
|
+
exports.WidgetContentService = WidgetContentService;
|
|
11383
11427
|
exports.ɵa = ContentStripWithTabsLibComponent;
|
|
11384
|
-
exports.ɵb =
|
|
11385
|
-
exports.ɵba =
|
|
11386
|
-
exports.ɵbb =
|
|
11387
|
-
exports.ɵbc =
|
|
11388
|
-
exports.ɵbd =
|
|
11389
|
-
exports.ɵbe =
|
|
11390
|
-
exports.ɵbf =
|
|
11391
|
-
exports.ɵbg =
|
|
11392
|
-
exports.ɵbh =
|
|
11393
|
-
exports.ɵbi =
|
|
11394
|
-
exports.ɵbj =
|
|
11395
|
-
exports.ɵbk =
|
|
11396
|
-
exports.ɵbl =
|
|
11397
|
-
exports.ɵbm =
|
|
11398
|
-
exports.ɵbn =
|
|
11399
|
-
exports.ɵbo =
|
|
11400
|
-
exports.ɵbp =
|
|
11401
|
-
exports.ɵbq =
|
|
11402
|
-
exports.ɵbr =
|
|
11403
|
-
exports.ɵbs =
|
|
11404
|
-
exports.ɵbt =
|
|
11405
|
-
exports.ɵbu =
|
|
11406
|
-
exports.ɵbv =
|
|
11407
|
-
exports.ɵbw =
|
|
11408
|
-
exports.ɵ
|
|
11409
|
-
exports.ɵ
|
|
11410
|
-
exports.ɵ
|
|
11411
|
-
exports.ɵ
|
|
11412
|
-
exports.ɵ
|
|
11413
|
-
exports.ɵ
|
|
11414
|
-
exports.ɵ
|
|
11415
|
-
exports.ɵ
|
|
11416
|
-
exports.ɵ
|
|
11417
|
-
exports.ɵ
|
|
11418
|
-
exports.ɵ
|
|
11419
|
-
exports.ɵ
|
|
11420
|
-
exports.ɵ
|
|
11421
|
-
exports.ɵ
|
|
11422
|
-
exports.ɵ
|
|
11423
|
-
exports.ɵ
|
|
11424
|
-
exports.ɵ
|
|
11425
|
-
exports.ɵ
|
|
11426
|
-
exports.ɵ
|
|
11427
|
-
exports.ɵ
|
|
11428
|
-
exports.ɵ
|
|
11429
|
-
exports.ɵ
|
|
11430
|
-
exports.ɵ
|
|
11431
|
-
exports.ɵ
|
|
11432
|
-
exports.ɵz = CardWideComponent;
|
|
11428
|
+
exports.ɵb = WidgetUserService;
|
|
11429
|
+
exports.ɵba = CardWideV2Component;
|
|
11430
|
+
exports.ɵbb = PipePublicURLModule;
|
|
11431
|
+
exports.ɵbc = PipePublicURL;
|
|
11432
|
+
exports.ɵbd = DisplayContentTypeLibModule;
|
|
11433
|
+
exports.ɵbe = DisplayContentTypeLibComponent;
|
|
11434
|
+
exports.ɵbf = DefaultThumbnailModule;
|
|
11435
|
+
exports.ɵbg = DefaultThumbnailDirective;
|
|
11436
|
+
exports.ɵbh = PipeDurationTransformModule;
|
|
11437
|
+
exports.ɵbi = PipeDurationTransformPipe;
|
|
11438
|
+
exports.ɵbj = CompetencyPassbookComponent;
|
|
11439
|
+
exports.ɵbk = CompetencyPassbookService;
|
|
11440
|
+
exports.ɵbl = PillsModule;
|
|
11441
|
+
exports.ɵbm = PillsComponent;
|
|
11442
|
+
exports.ɵbn = UserContentRatingLibComponent;
|
|
11443
|
+
exports.ɵbo = ScrollableItemDirective;
|
|
11444
|
+
exports.ɵbp = RatingService;
|
|
11445
|
+
exports.ɵbq = UserContentRatingLibService;
|
|
11446
|
+
exports.ɵbr = AvatarPhotoLibModule;
|
|
11447
|
+
exports.ɵbs = AvatarPhotoLibComponent;
|
|
11448
|
+
exports.ɵbt = MyHammerConfig$1;
|
|
11449
|
+
exports.ɵbu = SlidersNgContentLibModule;
|
|
11450
|
+
exports.ɵbv = SlidersNgContentLibComponent;
|
|
11451
|
+
exports.ɵbw = ScrollableItemModule;
|
|
11452
|
+
exports.ɵc = MultilingualTranslationsService;
|
|
11453
|
+
exports.ɵd = ConfigurationsService;
|
|
11454
|
+
exports.ɵe = HorizontalScrollerV2Module;
|
|
11455
|
+
exports.ɵf = HorizontalScrollerV2Component;
|
|
11456
|
+
exports.ɵg = SlidersLibComponent;
|
|
11457
|
+
exports.ɵh = NavigationModule;
|
|
11458
|
+
exports.ɵi = NavigationDirective;
|
|
11459
|
+
exports.ɵj = ImageResponsiveModule;
|
|
11460
|
+
exports.ɵk = ImageResponsiveDirective;
|
|
11461
|
+
exports.ɵl = DataPointsComponent;
|
|
11462
|
+
exports.ɵm = InsiteDataService;
|
|
11463
|
+
exports.ɵn = SkeletonLoaderLibModule;
|
|
11464
|
+
exports.ɵo = SkeletonLoaderLibComponent;
|
|
11465
|
+
exports.ɵp = CalenderComponent;
|
|
11466
|
+
exports.ɵq = CalenderDayComponent;
|
|
11467
|
+
exports.ɵr = CommonStripComponent;
|
|
11468
|
+
exports.ɵs = AnnouncementsComponent;
|
|
11469
|
+
exports.ɵt = CardResourceComponent;
|
|
11470
|
+
exports.ɵu = CardsComponent;
|
|
11471
|
+
exports.ɵv = CardPortraitComponent;
|
|
11472
|
+
exports.ɵw = CardUserComponent;
|
|
11473
|
+
exports.ɵx = CardLandscapeComponent;
|
|
11474
|
+
exports.ɵy = CardWideComponent;
|
|
11475
|
+
exports.ɵz = CardMDOChannelComponent;
|
|
11433
11476
|
|
|
11434
11477
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11435
11478
|
|