@sunbird-cb/consumption 0.0.18 → 0.0.20
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 +153 -57
- 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/announcements/announcements.component.js +17 -3
- package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +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/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +41 -2
- package/esm2015/public-api.js +2 -1
- package/esm2015/sunbird-cb-consumption.js +49 -50
- package/esm5/lib/_common/announcements/announcements.component.js +18 -3
- package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +1 -1
- 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/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +41 -3
- package/esm5/public-api.js +2 -1
- package/esm5/sunbird-cb-consumption.js +49 -50
- package/fesm2015/sunbird-cb-consumption.js +100 -8
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +105 -9
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/announcements/announcements.component.d.ts +2 -0
- 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
|
@@ -5535,7 +5535,7 @@
|
|
|
5535
5535
|
function (strip, calculateParentStatus) {
|
|
5536
5536
|
if (calculateParentStatus === void 0) { calculateParentStatus = true; }
|
|
5537
5537
|
return __awaiter(this, void 0, void 0, function () {
|
|
5538
|
-
var originalFilters, response, error_5;
|
|
5538
|
+
var originalFilters, response, allProviders, error_5;
|
|
5539
5539
|
return __generator(this, function (_a) {
|
|
5540
5540
|
switch (_a.label) {
|
|
5541
5541
|
case 0:
|
|
@@ -5558,7 +5558,45 @@
|
|
|
5558
5558
|
if (response && response.results) {
|
|
5559
5559
|
// console.log('calling after-- ')
|
|
5560
5560
|
if (response.results.result.content && response.results.result.content.length) {
|
|
5561
|
-
|
|
5561
|
+
allProviders = [
|
|
5562
|
+
{
|
|
5563
|
+
// tslint:disable-next-line: max-line-length
|
|
5564
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5565
|
+
appIcon: '',
|
|
5566
|
+
name: 'Ministry of Consumer Affairs, Food and Public Distribution',
|
|
5567
|
+
},
|
|
5568
|
+
{
|
|
5569
|
+
// tslint:disable-next-line: max-line-length
|
|
5570
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5571
|
+
appIcon: '',
|
|
5572
|
+
name: 'Ministry of Railways',
|
|
5573
|
+
},
|
|
5574
|
+
{
|
|
5575
|
+
// tslint:disable-next-line: max-line-length
|
|
5576
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5577
|
+
appIcon: '',
|
|
5578
|
+
name: 'Department of Post',
|
|
5579
|
+
},
|
|
5580
|
+
{
|
|
5581
|
+
// tslint:disable-next-line: max-line-length
|
|
5582
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5583
|
+
appIcon: '',
|
|
5584
|
+
name: 'NLC India Limited',
|
|
5585
|
+
},
|
|
5586
|
+
{
|
|
5587
|
+
// tslint:disable-next-line: max-line-length
|
|
5588
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5589
|
+
appIcon: '',
|
|
5590
|
+
name: 'Mission Karmayogi',
|
|
5591
|
+
},
|
|
5592
|
+
{
|
|
5593
|
+
// tslint:disable-next-line: max-line-length
|
|
5594
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
5595
|
+
appIcon: '',
|
|
5596
|
+
name: 'Mission Karmayogi',
|
|
5597
|
+
},
|
|
5598
|
+
];
|
|
5599
|
+
this.processStrip(strip, this.transformContentsToWidgets(allProviders, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
5562
5600
|
}
|
|
5563
5601
|
else {
|
|
5564
5602
|
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|
|
@@ -7996,7 +8034,10 @@
|
|
|
7996
8034
|
*/
|
|
7997
8035
|
var AnnouncementsComponent = /** @class */ (function () {
|
|
7998
8036
|
function AnnouncementsComponent() {
|
|
8037
|
+
this.mobileHeight = false;
|
|
7999
8038
|
this.openDialog = new core.EventEmitter();
|
|
8039
|
+
this.isLoading = false;
|
|
8040
|
+
this.isLoading = true;
|
|
8000
8041
|
}
|
|
8001
8042
|
/**
|
|
8002
8043
|
* @return {?}
|
|
@@ -8005,6 +8046,13 @@
|
|
|
8005
8046
|
* @return {?}
|
|
8006
8047
|
*/
|
|
8007
8048
|
function () {
|
|
8049
|
+
var _this = this;
|
|
8050
|
+
setTimeout((/**
|
|
8051
|
+
* @return {?}
|
|
8052
|
+
*/
|
|
8053
|
+
function () {
|
|
8054
|
+
_this.isLoading = false;
|
|
8055
|
+
}), 10000);
|
|
8008
8056
|
};
|
|
8009
8057
|
/**
|
|
8010
8058
|
* @param {?} item
|
|
@@ -8031,8 +8079,8 @@
|
|
|
8031
8079
|
AnnouncementsComponent.decorators = [
|
|
8032
8080
|
{ type: core.Component, args: [{
|
|
8033
8081
|
selector: 'sb-uic-announcements',
|
|
8034
|
-
template: "<div class=\"w-full\" *ngIf=\"layoutType === 'web'\">\n <div class=\"flex item-center key-logo\">\n <img class=\"\" [src]=\"objectData?.logoUrl\">\n </div>\n <div class=\"flex item-center key-logo \">\n <div class=\"key-heading\"\n [style.backgroundColor]=\"objectData?.header?.background\"\n [style.color]=\"objectData?.header?.color\">\n {{objectData?.title}}\n </div>\n </div>\n <div class=\"key-list-container\"\n [style.borderColor]=\"objectData?.panelborder\"\n [style.backgroundColor]=\"objectData?.panelBackground\">\n <div class=\"key-list\">\n <div *ngFor=\"let item of objectData?.list; let i = index\">\n <div class=\"key-list-item mb-{{ objectData?.list?.length === (i+1) ? '' : '4'}}\" \n [style.borderColor]=\"objectData?.listItem?.border\"\n [style.backgroundColor]=\"objectData?.listItem?.background\">\n <div class=\"key-list-item-content {{item?.value?.length > 152 && !item?.expanded ? 'expand' : 'un-expand'}}\" [innerHTML]=\"item?.value\"></div>\n <div class=\"more-or-less\" *ngIf=\"item?.value?.length > 152\" [style.color]=\"objectData?.panelborder\">\n <div class=\"cursor-pointer\" (click)=\"viewMoreOrLess(item)\" *ngIf=\"!item?.expanded\">View more</div>\n <div class=\"cursor-pointer\" (click)=\"viewMoreOrLess(item)\" *ngIf=\"item?.expanded\">View less</div>\n </div>\n </div>\n </div> \n </div> \n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'mobile'\">\n <div class=\"flex item-center key-logo \">\n <div class=\"mob-key-heading\" (click)=\"openAnnouncements()\"\n [style.backgroundColor]=\"objectData?.header?.background\"\n [style.color]=\"objectData?.header?.color\">\n <div class=\"flex key-button gap-3\">\n <div>\n <img [src]=\"objectData?.mobileIcon\">\n </div>\n <div>{{objectData?.title}}</div> \n <div><mat-icon class=\"key-mob-icon\">arrow_forward_ios</mat-icon></div>\n </div> \n </div>\n </div>\n</div>",
|
|
8035
|
-
styles: [".key-logo{align-items:center;justify-content:center}.key-list-container{border:1px solid #ccc;padding:45px 15px 15px;border-radius:12px;margin-top:-20px}.key-list{max-height:600px;overflow:auto}.key-list::-webkit-scrollbar{display:none}.key-list-item{padding:16px;border:1px solid #ccc;border-radius:12px;min-height:56px}::ng-deep .key-list-item-content a{color:#1b4ca1!important}.key-list-item-content{font-family:Lato;font-size:14px;font-weight:400;line-height:20px;text-align:left;white-space:initial;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.expand{-webkit-line-clamp:3}.un-expand{-webkit-line-clamp:0}.more-or-less{font-family:Lato;font-size:14px;line-height:20px;font-weight:600}.mob-key-heading{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:center;padding:7px 25px;border-radius:20px;animation:.9s infinite mobPaddingAnimation;cursor:pointer}.key-mob-icon{font-size:12px;width:12px;height:12px}.key-button{align-items:center;justify-content:center}.key-heading{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:center;padding:10px 50px;border-radius:20px;margin-top:-3px;animation:.9s infinite paddingAnimation}@keyframes mobPaddingAnimation{0%,100%{padding:7px 25px}25%,75%{padding:7px 30px}50%{padding:7px 35px}}@keyframes paddingAnimation{0%,100%{padding:10px 50px}25%,75%{padding:10px 55px}50%{padding:10px 60px}}"]
|
|
8082
|
+
template: "<div class=\"w-full\" *ngIf=\"layoutType === 'web' && !isLoading\">\n <div class=\"flex item-center key-logo\">\n <img class=\"\" [src]=\"objectData?.logoUrl\">\n </div>\n <div class=\"flex item-center key-logo \">\n <div class=\"key-heading\"\n [style.backgroundColor]=\"objectData?.header?.background\"\n [style.color]=\"objectData?.header?.color\">\n {{objectData?.title}}\n </div>\n </div>\n <div class=\"key-list-container\"\n [style.borderColor]=\"objectData?.panelborder\"\n [style.backgroundColor]=\"objectData?.panelBackground\">\n <div class=\"{{mobileHeight ? 'mob-key-list' : 'key-list'}}\" >\n <div *ngFor=\"let item of objectData?.list; let i = index\">\n <div class=\"key-list-item mb-{{ objectData?.list?.length === (i+1) ? '' : '4'}}\" \n [style.borderColor]=\"objectData?.listItem?.border\"\n [style.backgroundColor]=\"objectData?.listItem?.background\">\n <div class=\"key-list-item-content {{item?.value?.length > 152 && !item?.expanded ? 'expand' : 'un-expand'}}\" [innerHTML]=\"item?.value\"></div>\n <div class=\"more-or-less\" *ngIf=\"item?.value?.length > 152\" [style.color]=\"objectData?.panelborder\">\n <div class=\"cursor-pointer\" (click)=\"viewMoreOrLess(item)\" *ngIf=\"!item?.expanded\">View more</div>\n <div class=\"cursor-pointer\" (click)=\"viewMoreOrLess(item)\" *ngIf=\"item?.expanded\">View less</div>\n </div>\n </div>\n </div> \n </div> \n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'mobile'\">\n <div class=\"flex item-center key-logo \">\n <div class=\"mob-key-heading\" (click)=\"openAnnouncements()\"\n [style.backgroundColor]=\"objectData?.header?.background\"\n [style.color]=\"objectData?.header?.color\">\n <div class=\"flex key-button gap-3\">\n <div>\n <img [src]=\"objectData?.mobileIcon\">\n </div>\n <div>{{objectData?.title}}</div> \n <div><mat-icon class=\"key-mob-icon\">arrow_forward_ios</mat-icon></div>\n </div> \n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'web' && isLoading\">\n <div class=\"flex item-center key-logo\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'50px'\" [height]=\"'35px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"flex item-center key-logo pt-1\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'200px'\" [height]=\"'32px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"key-list-container\"\n [style.borderColor]=\"objectData?.panelborder\"\n [style.backgroundColor]=\"objectData?.panelBackground\">\n <div class=\"{{mobileHeight ? 'mob-key-list' : 'key-list'}}\" > \n <div class=\"key-list-item mb-4\" \n *ngFor=\"let item of[0,1,2,3,4]; let i = index\"\n [style.borderColor]=\"objectData?.listItem?.border\"\n [style.backgroundColor]=\"objectData?.listItem?.background\">\n <div class=\"key-list-item-content un-expand\">\n <div class=\"py-1\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon '\" [width]=\"'350px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"py-1\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon '\" [width]=\"'350px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div> \n </div>\n</div>\n",
|
|
8083
|
+
styles: [".key-logo{align-items:center;justify-content:center}.key-list-container{border:1px solid #ccc;padding:45px 15px 15px;border-radius:12px;margin-top:-20px}.key-list{max-height:600px;overflow:auto}.mob-key-list{height:calc(100vh - 252px);overflow:auto}.key-list::-webkit-scrollbar{display:none}.key-list-item{padding:16px;border:1px solid #ccc;border-radius:12px;min-height:56px}::ng-deep .key-list-item-content a{color:#1b4ca1!important}.key-list-item-content{font-family:Lato;font-size:14px;font-weight:400;line-height:20px;text-align:left;white-space:initial;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.expand{-webkit-line-clamp:3}.un-expand{-webkit-line-clamp:0}.more-or-less{font-family:Lato;font-size:14px;line-height:20px;font-weight:600}.mob-key-heading{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:center;padding:7px 25px;border-radius:20px;animation:.9s infinite mobPaddingAnimation;cursor:pointer}.key-mob-icon{font-size:12px;width:12px;height:12px}.key-button{align-items:center;justify-content:center}.key-heading{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:center;padding:10px 50px;border-radius:20px;margin-top:-3px;animation:.9s infinite paddingAnimation}@keyframes mobPaddingAnimation{0%,100%{padding:7px 25px}25%,75%{padding:7px 30px}50%{padding:7px 35px}}@keyframes paddingAnimation{0%,100%{padding:10px 50px}25%,75%{padding:10px 55px}50%{padding:10px 60px}}"]
|
|
8036
8084
|
}] }
|
|
8037
8085
|
];
|
|
8038
8086
|
/** @nocollapse */
|
|
@@ -8040,6 +8088,7 @@
|
|
|
8040
8088
|
AnnouncementsComponent.propDecorators = {
|
|
8041
8089
|
objectData: [{ type: core.Input }],
|
|
8042
8090
|
layoutType: [{ type: core.Input }],
|
|
8091
|
+
mobileHeight: [{ type: core.Input }],
|
|
8043
8092
|
openDialog: [{ type: core.Output }]
|
|
8044
8093
|
};
|
|
8045
8094
|
return AnnouncementsComponent;
|
|
@@ -8050,7 +8099,11 @@
|
|
|
8050
8099
|
/** @type {?} */
|
|
8051
8100
|
AnnouncementsComponent.prototype.layoutType;
|
|
8052
8101
|
/** @type {?} */
|
|
8102
|
+
AnnouncementsComponent.prototype.mobileHeight;
|
|
8103
|
+
/** @type {?} */
|
|
8053
8104
|
AnnouncementsComponent.prototype.openDialog;
|
|
8105
|
+
/** @type {?} */
|
|
8106
|
+
AnnouncementsComponent.prototype.isLoading;
|
|
8054
8107
|
}
|
|
8055
8108
|
|
|
8056
8109
|
/**
|
|
@@ -8204,6 +8257,13 @@
|
|
|
8204
8257
|
* @return {?}
|
|
8205
8258
|
*/
|
|
8206
8259
|
function () {
|
|
8260
|
+
var _this = this;
|
|
8261
|
+
this.cbPlanInterval = setInterval((/**
|
|
8262
|
+
* @return {?}
|
|
8263
|
+
*/
|
|
8264
|
+
function () {
|
|
8265
|
+
_this.getCbPlanData();
|
|
8266
|
+
}), 1000);
|
|
8207
8267
|
};
|
|
8208
8268
|
Object.defineProperty(CardsComponent.prototype, "isLiveOrMarkForDeletion", {
|
|
8209
8269
|
get: /**
|
|
@@ -8257,10 +8317,36 @@
|
|
|
8257
8317
|
});
|
|
8258
8318
|
});
|
|
8259
8319
|
};
|
|
8320
|
+
/**
|
|
8321
|
+
* @return {?}
|
|
8322
|
+
*/
|
|
8323
|
+
CardsComponent.prototype.getCbPlanData = /**
|
|
8324
|
+
* @return {?}
|
|
8325
|
+
*/
|
|
8326
|
+
function () {
|
|
8327
|
+
/** @type {?} */
|
|
8328
|
+
var cbpList = {};
|
|
8329
|
+
if (localStorage.getItem('cbpData')) {
|
|
8330
|
+
/** @type {?} */
|
|
8331
|
+
var cbpListArr = JSON.parse(localStorage.getItem('cbpData') || '');
|
|
8332
|
+
if (cbpListArr && cbpListArr.length) {
|
|
8333
|
+
cbpListArr.forEach((/**
|
|
8334
|
+
* @param {?} data
|
|
8335
|
+
* @return {?}
|
|
8336
|
+
*/
|
|
8337
|
+
function (data) {
|
|
8338
|
+
cbpList[data.identifier] = data;
|
|
8339
|
+
}));
|
|
8340
|
+
}
|
|
8341
|
+
this.cbPlanMapData = cbpList;
|
|
8342
|
+
// this.karmaPointLoading = false
|
|
8343
|
+
clearInterval(this.cbPlanInterval);
|
|
8344
|
+
}
|
|
8345
|
+
};
|
|
8260
8346
|
CardsComponent.decorators = [
|
|
8261
8347
|
{ type: core.Component, args: [{
|
|
8262
8348
|
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-
|
|
8349
|
+
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 *ngSwitchCase=\"'card-mdo-lib'\" [ngTemplateOutlet]=\"cardMdo\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-lib-skeleton'\" [ngTemplateOutlet]=\"cardMdoSkeleton\"></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]=\"false\" [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<ng-template #cardMdo>\n <sb-uic-card-mdo-channel [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\n</ng-template>\n<ng-template #cardMdoSkeleton>\n <sb-uic-card-mdo-channel [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\n</ng-template>",
|
|
8264
8350
|
styles: [""]
|
|
8265
8351
|
}] }
|
|
8266
8352
|
];
|
|
@@ -8281,6 +8367,10 @@
|
|
|
8281
8367
|
CardsComponent.prototype.widgetData;
|
|
8282
8368
|
/** @type {?} */
|
|
8283
8369
|
CardsComponent.prototype.isIntranetAllowedSettings;
|
|
8370
|
+
/** @type {?} */
|
|
8371
|
+
CardsComponent.prototype.cbPlanMapData;
|
|
8372
|
+
/** @type {?} */
|
|
8373
|
+
CardsComponent.prototype.cbPlanInterval;
|
|
8284
8374
|
/**
|
|
8285
8375
|
* @type {?}
|
|
8286
8376
|
* @private
|
|
@@ -9475,7 +9565,7 @@
|
|
|
9475
9565
|
{ type: core.Component, args: [{
|
|
9476
9566
|
selector: 'sb-uic-card-mdo-channel',
|
|
9477
9567
|
template: "<mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData.content\">\n <a (click)=\"raiseTelemetry();$event.stopPropagation()\" \n [routerLink]=\"['/app/learn/mdo-channels/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=\"flex title-container px-2\">\n <div [id]=\"'m-c-'+ widgetData.content?.identifier\"\n class=\"flex-1 text-center mat-subheading-2 title-text ws-mat-black-text\">\n {{ widgetData.content.name }}\n </div>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n</mat-card>",
|
|
9478
|
-
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:156px;height:156px;max-height:156px;margin:0;background:#7faeff!important;border-radius:12px;padding:4px!important}.card-channels-container .min-top{background:inherit;margin-bottom:0;height:inherit}.card-channels-container .image-container{background-color:#fff;width:inherit;height:86px;max-height:86px;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:12px}.card-channels-container .card-img{max-height:62px;min-height:62px;display:block;-o-object-fit:fill;object-fit:contain}.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:2;-webkit-box-orient:vertical;min-height:48px}"]
|
|
9568
|
+
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:156px;height:156px;max-height:156px;margin:0 8px;background:#7faeff!important;border-radius:12px;padding:4px!important}.card-channels-container .min-top{background:inherit;margin-bottom:0;height:inherit}.card-channels-container .image-container{background-color:#fff;width:inherit;height:86px;max-height:86px;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:12px}.card-channels-container .card-img{max-height:62px;min-height:62px;display:block;-o-object-fit:fill;object-fit:contain}.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:2;-webkit-box-orient:vertical;min-height:48px}"]
|
|
9479
9569
|
}] }
|
|
9480
9570
|
];
|
|
9481
9571
|
/** @nocollapse */
|
|
@@ -9543,6 +9633,7 @@
|
|
|
9543
9633
|
this.isCardLoading = false;
|
|
9544
9634
|
this.contentData = new core.EventEmitter();
|
|
9545
9635
|
this.isCardFlipped = false;
|
|
9636
|
+
this.acbpConstants = NsCardContent$1.ACBPConst;
|
|
9546
9637
|
this.showFlip = false;
|
|
9547
9638
|
this.widgetType = 'df';
|
|
9548
9639
|
this.widgetSubType = 'sdf';
|
|
@@ -9630,8 +9721,8 @@
|
|
|
9630
9721
|
CardWideV2Component.decorators = [
|
|
9631
9722
|
{ type: core.Component, args: [{
|
|
9632
9723
|
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}}"]
|
|
9724
|
+
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>",
|
|
9725
|
+
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
9726
|
}] }
|
|
9636
9727
|
];
|
|
9637
9728
|
/** @nocollapse */
|
|
@@ -9647,6 +9738,7 @@
|
|
|
9647
9738
|
isLiveOrMarkForDeletion: [{ type: core.Input }],
|
|
9648
9739
|
showIntranetContent: [{ type: core.Input }],
|
|
9649
9740
|
isIntranetAllowedSettings: [{ type: core.Input }],
|
|
9741
|
+
cbPlanMapData: [{ type: core.Input }],
|
|
9650
9742
|
isCardLoading: [{ type: core.Input }],
|
|
9651
9743
|
contentData: [{ type: core.Output }]
|
|
9652
9744
|
};
|
|
@@ -9662,12 +9754,16 @@
|
|
|
9662
9754
|
/** @type {?} */
|
|
9663
9755
|
CardWideV2Component.prototype.isIntranetAllowedSettings;
|
|
9664
9756
|
/** @type {?} */
|
|
9757
|
+
CardWideV2Component.prototype.cbPlanMapData;
|
|
9758
|
+
/** @type {?} */
|
|
9665
9759
|
CardWideV2Component.prototype.isCardLoading;
|
|
9666
9760
|
/** @type {?} */
|
|
9667
9761
|
CardWideV2Component.prototype.contentData;
|
|
9668
9762
|
/** @type {?} */
|
|
9669
9763
|
CardWideV2Component.prototype.isCardFlipped;
|
|
9670
9764
|
/** @type {?} */
|
|
9765
|
+
CardWideV2Component.prototype.acbpConstants;
|
|
9766
|
+
/** @type {?} */
|
|
9671
9767
|
CardWideV2Component.prototype.defaultThumbnail;
|
|
9672
9768
|
/** @type {?} */
|
|
9673
9769
|
CardWideV2Component.prototype.sourceLogos;
|
|
@@ -11380,56 +11476,56 @@
|
|
|
11380
11476
|
exports.UserContentRatingLibModule = UserContentRatingLibModule;
|
|
11381
11477
|
exports.WIDGET_REGISTERED_LIB_MODULES = WIDGET_REGISTERED_LIB_MODULES;
|
|
11382
11478
|
exports.WIDGET_REGISTRATION_LIB_CONFIG = WIDGET_REGISTRATION_LIB_CONFIG;
|
|
11479
|
+
exports.WidgetContentService = WidgetContentService;
|
|
11383
11480
|
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;
|
|
11481
|
+
exports.ɵb = WidgetUserService;
|
|
11482
|
+
exports.ɵba = CardWideV2Component;
|
|
11483
|
+
exports.ɵbb = PipePublicURLModule;
|
|
11484
|
+
exports.ɵbc = PipePublicURL;
|
|
11485
|
+
exports.ɵbd = DisplayContentTypeLibModule;
|
|
11486
|
+
exports.ɵbe = DisplayContentTypeLibComponent;
|
|
11487
|
+
exports.ɵbf = DefaultThumbnailModule;
|
|
11488
|
+
exports.ɵbg = DefaultThumbnailDirective;
|
|
11489
|
+
exports.ɵbh = PipeDurationTransformModule;
|
|
11490
|
+
exports.ɵbi = PipeDurationTransformPipe;
|
|
11491
|
+
exports.ɵbj = CompetencyPassbookComponent;
|
|
11492
|
+
exports.ɵbk = CompetencyPassbookService;
|
|
11493
|
+
exports.ɵbl = PillsModule;
|
|
11494
|
+
exports.ɵbm = PillsComponent;
|
|
11495
|
+
exports.ɵbn = UserContentRatingLibComponent;
|
|
11496
|
+
exports.ɵbo = ScrollableItemDirective;
|
|
11497
|
+
exports.ɵbp = RatingService;
|
|
11498
|
+
exports.ɵbq = UserContentRatingLibService;
|
|
11499
|
+
exports.ɵbr = AvatarPhotoLibModule;
|
|
11500
|
+
exports.ɵbs = AvatarPhotoLibComponent;
|
|
11501
|
+
exports.ɵbt = MyHammerConfig$1;
|
|
11502
|
+
exports.ɵbu = SlidersNgContentLibModule;
|
|
11503
|
+
exports.ɵbv = SlidersNgContentLibComponent;
|
|
11504
|
+
exports.ɵbw = ScrollableItemModule;
|
|
11505
|
+
exports.ɵc = MultilingualTranslationsService;
|
|
11506
|
+
exports.ɵd = ConfigurationsService;
|
|
11507
|
+
exports.ɵe = HorizontalScrollerV2Module;
|
|
11508
|
+
exports.ɵf = HorizontalScrollerV2Component;
|
|
11509
|
+
exports.ɵg = SlidersLibComponent;
|
|
11510
|
+
exports.ɵh = NavigationModule;
|
|
11511
|
+
exports.ɵi = NavigationDirective;
|
|
11512
|
+
exports.ɵj = ImageResponsiveModule;
|
|
11513
|
+
exports.ɵk = ImageResponsiveDirective;
|
|
11514
|
+
exports.ɵl = DataPointsComponent;
|
|
11515
|
+
exports.ɵm = InsiteDataService;
|
|
11516
|
+
exports.ɵn = SkeletonLoaderLibModule;
|
|
11517
|
+
exports.ɵo = SkeletonLoaderLibComponent;
|
|
11518
|
+
exports.ɵp = CalenderComponent;
|
|
11519
|
+
exports.ɵq = CalenderDayComponent;
|
|
11520
|
+
exports.ɵr = CommonStripComponent;
|
|
11521
|
+
exports.ɵs = AnnouncementsComponent;
|
|
11522
|
+
exports.ɵt = CardResourceComponent;
|
|
11523
|
+
exports.ɵu = CardsComponent;
|
|
11524
|
+
exports.ɵv = CardPortraitComponent;
|
|
11525
|
+
exports.ɵw = CardUserComponent;
|
|
11526
|
+
exports.ɵx = CardLandscapeComponent;
|
|
11527
|
+
exports.ɵy = CardWideComponent;
|
|
11528
|
+
exports.ɵz = CardMDOChannelComponent;
|
|
11433
11529
|
|
|
11434
11530
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11435
11531
|
|