@sunbird-cb/consumption 0.0.14 → 0.0.16
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 +259 -40
- 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 +39 -0
- package/esm2015/lib/_common/announcements/announcements.module.js +21 -0
- package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +128 -0
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +2 -2
- package/esm2015/lib/_common/cards/cards.module.js +12 -3
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +3 -3
- package/esm2015/lib/_common/data-points/data-points.component.js +3 -3
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +11 -3
- package/esm2015/lib/_common/pills/pills.component.js +1 -1
- package/esm2015/lib/_common/sliders/sliders.component.js +2 -2
- package/esm2015/lib/_common/sliders/sliders.model.js +7 -1
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +7 -1
- package/esm2015/lib/consumption.module.js +4 -2
- package/esm2015/public-api.js +2 -1
- package/esm2015/sunbird-cb-consumption.js +31 -29
- package/esm5/lib/_common/announcements/announcements.component.js +49 -0
- package/esm5/lib/_common/announcements/announcements.module.js +25 -0
- package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +131 -0
- package/esm5/lib/_common/cards/card-user/card-user.component.js +2 -2
- package/esm5/lib/_common/cards/cards.module.js +12 -3
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +3 -3
- package/esm5/lib/_common/data-points/data-points.component.js +3 -3
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +11 -3
- package/esm5/lib/_common/pills/pills.component.js +1 -1
- package/esm5/lib/_common/sliders/sliders.component.js +2 -2
- package/esm5/lib/_common/sliders/sliders.model.js +7 -1
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +7 -1
- package/esm5/lib/consumption.module.js +4 -2
- package/esm5/public-api.js +2 -1
- package/esm5/sunbird-cb-consumption.js +31 -29
- package/fesm2015/sunbird-cb-consumption.js +216 -14
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +230 -14
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/announcements/announcements.component.d.ts +7 -0
- package/lib/_common/announcements/announcements.module.d.ts +2 -0
- package/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.d.ts +19 -0
- package/lib/_common/sliders/sliders.model.d.ts +6 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/sunbird-cb-consumption.d.ts +29 -27
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -388,7 +388,11 @@
|
|
|
388
388
|
left: this.horizontalScrollElem.nativeElement.scrollLeft - clientWidth,
|
|
389
389
|
behavior: 'smooth',
|
|
390
390
|
});
|
|
391
|
-
|
|
391
|
+
/** @type {?} */
|
|
392
|
+
var elem = this.horizontalScrollElem.nativeElement;
|
|
393
|
+
if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
|
|
394
|
+
this.activeNav -= 1;
|
|
395
|
+
}
|
|
392
396
|
}
|
|
393
397
|
};
|
|
394
398
|
/**
|
|
@@ -408,7 +412,11 @@
|
|
|
408
412
|
left: this.horizontalScrollElem.nativeElement.scrollLeft + clientWidth,
|
|
409
413
|
behavior: 'smooth',
|
|
410
414
|
});
|
|
411
|
-
|
|
415
|
+
/** @type {?} */
|
|
416
|
+
var elem = this.horizontalScrollElem.nativeElement;
|
|
417
|
+
if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
|
|
418
|
+
this.activeNav += 1;
|
|
419
|
+
}
|
|
412
420
|
}
|
|
413
421
|
};
|
|
414
422
|
/**
|
|
@@ -5547,7 +5555,7 @@
|
|
|
5547
5555
|
// console.log('calling after - response, ', response)
|
|
5548
5556
|
if (response && response.results) {
|
|
5549
5557
|
// console.log('calling after-- ')
|
|
5550
|
-
if (response.results.result.content) {
|
|
5558
|
+
if (response.results.result.content && response.results.result.content.length) {
|
|
5551
5559
|
this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
5552
5560
|
}
|
|
5553
5561
|
else {
|
|
@@ -5603,7 +5611,7 @@
|
|
|
5603
5611
|
// console.log('calling after - response, ', response)
|
|
5604
5612
|
if (response && response.results) {
|
|
5605
5613
|
// console.log('calling after-- ')
|
|
5606
|
-
if (response.results.result.content) {
|
|
5614
|
+
if (response.results.result.content && response.results.result.content.length) {
|
|
5607
5615
|
this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
5608
5616
|
}
|
|
5609
5617
|
else {
|
|
@@ -6058,7 +6066,7 @@
|
|
|
6058
6066
|
SlidersLibComponent.decorators = [
|
|
6059
6067
|
{ type: core.Component, args: [{
|
|
6060
6068
|
selector: 'sb-uic-sliders',
|
|
6061
|
-
template: "<div class=\"banner-container {{isMobile? styleData?.responsive?.bannerMetaClass : styleData?.bannerMetaClass}}\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\n *ngIf=\"widgetData?.length > 1\" [style.height]=\"isMobile? styleData?.responsive?.customHeight : styleData?.customHeight\"\n [ngStyle]=\"{'border-radius': styleData?.borderRadius || '12px'}\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\"
|
|
6069
|
+
template: "<div class=\"banner-container {{isMobile? styleData?.responsive?.bannerMetaClass : styleData?.bannerMetaClass}}\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\n *ngIf=\"widgetData?.length > 1\" [style.height]=\"isMobile? styleData?.responsive?.customHeight : styleData?.customHeight\"\n [ngStyle]=\"{'border-radius': styleData?.borderRadius || '12px'}\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n class=\"banner-overlay {{widgetData[currentIndex] && widgetData[currentIndex].redirectUrl ? '' : 'pointer-events-none'}}\"\n [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\"\n [ngClass]=\"{'cursor-auto': !widgetData[currentIndex].redirectUrl}\">\n <div class=\"banner WidgetInstanceId\" \n *ngFor=\"let slide of widgetData; let i = index\" \n [hidden]=\"i !== currentIndex\" \n [ngStyle]=\"{\n 'border-width': isMobile? styleData?.responsive?.imageBorderWidth : styleData?.imageBorderWidth,\n 'border-color': isMobile? styleData?.responsive?.imageBorderColor : styleData?.imageBorderColor,\n 'border-style': isMobile? styleData?.responsive?.imageBorderStyle: styleData?.imageBorderStyle}\">\n <img i18n-alt alt=\"Page Banner\" [src]=\"slide.banners\" wsUtilsImageResponsive class=\"banner-image\" />\n </div>\n </a>\n <ng-container *ngIf=\"isMobile && styleData?.responsive?.dots !== 'hidden' || !isMobile && styleData?.dots !== 'hidden'\">\n <div class=\"banner-meta {{isMobile? styleData?.responsive?.bannerMetaAlign : styleData?.bannerMetaAlign}}\">\n <a [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\"\n class=\"banner-title text-truncate {{widgetData[currentIndex] && widgetData[currentIndex].redirectUrl ? '' : 'pointer-events-none'}}\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n </div>\n </div>\n </ng-container>\n <div class=\"navigation {{isMobile? styleData?.responsive?.arrowsPlacement : styleData?.arrowsPlacement}}\" \n *ngIf=\"isMobile && styleData?.responsive?.navigationArrows !== 'hidden' || !isMobile && styleData?.navigationArrows !== 'hidden'\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"prev\" (click)=\"slideTo(currentIndex - 1)\">❮</a>\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"next\" (click)=\"slideTo(currentIndex + 1)\">❯</a>\n </div>\n</div>\n<div class=\"banner-container-solo margin-top-s\" *ngIf=\"widgetData?.length == 1\">\n <img i18n-alt alt=\"Page Banner\" width=\"100%\" height=\"100%\" [src]=\"widgetData[0].banners\" wsUtilsImageResponsive class=\"banner-image-solo\" />\n</div>\n<!-- <div class=\"banner-container\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\n *ngIf=\"widgetData?.length\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n [queryParams]=\"widgetData[currentIndex].queryParams || {}\"\n [routerLink]=\"!isOpenInNewTab ? widgetData[currentIndex].redirectUrl : './'\" class=\"banner-overlay\"\n [ngClass]=\"{ 'cursor-auto': !widgetData[currentIndex].redirectUrl }\"></a>\n <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\">\n <img i18n-alt alt=\"Page Banner\" [src]=\"slide.banners\" wsUtilsImageResponsive class=\"banner-image\" />\n </div>\n <div class=\"banner-meta\">\n <a [routerLink]=\"!isOpenInNewTab ? widgetData[currentIndex].redirectUrl : './'\" class=\"banner-title text-truncate\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n </div>\n </div>\n <button *ngIf=\"widgetData?.length > 1\" class=\"prev\" aria-label=\"Previous slide\" (click)=\"slideTo(currentIndex - 1)\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\">❮</a>\n </button>\n <button *ngIf=\"widgetData?.length > 1\" class=\"next\" (click)=\"slideTo(currentIndex + 1)\" aria-label=\"Next slide\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"next\">❯</a>\n </button>\n\n</div> -->\n<ng-container *ngIf=\"!widgetData?.length\">\n <div class=\"slider default-slider h-full\">\n <div class=\"relative h-full\">\n <img class=\"h-full\" src=\"assets/icons/home/default-slider-image.svg\" alt=\"\">\n <div class=\"default-title rounded-full\">\n <p class=\"mat-h1\">{{title}}</p>\n </div>\n </div>\n </div>\n</ng-container>\n",
|
|
6062
6070
|
styles: [".banner-container{min-height:243px;position:relative;margin:auto;padding-bottom:40px}.banner-container.inline-meta{padding-bottom:0!important}.banner-container.flat .banner .banner-image{border-radius:0!important}.banner-overlay{z-index:1;top:0;left:0;width:100%;height:100%;background:linear-gradient(to left,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 15%,rgba(0,0,0,0) 85%,rgba(0,0,0,.25) 100%);border-radius:inherit}.banner{-webkit-animation-name:fade;-webkit-animation-duration:1.5s;animation-name:fade;animation-duration:1.5s;border-radius:inherit;height:inherit}.banner .banner-image{width:100%;min-height:243px;display:block;border-radius:inherit;height:inherit}.banner-meta{text-align:center;z-index:2;padding:8px 12px;position:absolute;bottom:0;left:50%;border-radius:12px;transform:translateX(-50%);box-sizing:border-box}.banner-meta.left{left:0;transform:translateX(0)}.banner-meta.right{left:100%;transform:translateX(-100%)}.banner-meta .banner-title{color:#f2f2f2;margin-bottom:8px;font-size:1.1rem}@media only screen and (max-width:599px){.banner-meta .banner-title{display:none}}.banner-meta .dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.banner-meta .dots-container .dot{cursor:pointer;height:6px;width:6px;margin:0 4px;background-color:rgba(0,0,0,.4);border-radius:50%;display:inline-block;transition:background-color .5s!important}@media only screen and (max-width:599px){.banner-meta .dots-container .dot{height:8px;width:8px;margin:0 4px}}.banner-meta .dots-container .dot.active{border-radius:4px;background-color:#f3962f;width:16px}@keyframes fade{from{opacity:.25}to{opacity:1}}.next,.prev{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-weight:700;background-color:#1b2133!important;border-radius:50%;z-index:999;height:32px!important;width:32px!important;display:flex;align-items:center;margin-top:-16px;justify-content:center}.prev{left:0;margin-left:-16px}.next{right:0;margin-right:-16px}.navigation.bottom-right .prev{left:unset;right:45px;bottom:-15px;top:unset}.navigation.bottom-right .next{left:unset;right:15px;bottom:-15px;top:unset}.navigation.bottom-center .prev{left:calc(50% - 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-center .next{left:calc(50% + 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-left .prev{left:15px;right:unset;bottom:-15px;top:unset}.navigation.bottom-left .next{left:60px;right:unset;bottom:-15px;top:unset}.navigation.middle-inline .prev{left:30px}.navigation.middle-inline .next{right:30px}.banner-container-solo{overflow:hidden;margin:auto;border-radius:12px}.banner-image-solo{width:100%;display:block;border-radius:12px}.default-slider{height:100%;background:#d4e2fb}.default-slider .default-title{text-align:center;position:absolute;top:50%;left:0;right:0;margin:auto;transform:translateY(-50%);z-index:999;background:#e6efff;padding:32px;width:500px}.default-slider .default-title p{word-break:break-word;margin:0!important;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;text-transform:uppercase}@media screen and (max-width:768px){.default-slider{height:384px;width:100%}.default-slider .default-title{width:unset!important}}"]
|
|
6063
6071
|
}] }
|
|
6064
6072
|
];
|
|
@@ -6534,8 +6542,8 @@
|
|
|
6534
6542
|
DataPointsComponent.decorators = [
|
|
6535
6543
|
{ type: core.Component, args: [{
|
|
6536
6544
|
selector: 'sb-uic-data-points',
|
|
6537
|
-
template: "<div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows' && !isDataLoading\">\n <div *ngFor=\"let obj of objectData; let last = last\" class=\"\">\n <div class=\"element-div\" [ngClass]=\"{'linebreak': obj?.linebreak }\">\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <img class=\"objIcon\" [src]=\"obj.icon\" [style.color]=\"obj?.iconColor\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" >{{obj
|
|
6538
|
-
styles: [".white{color:#fff}.custom-opacity{opacity:.7}.black{color:#000}.objIcon{width:32px;height:32px}.mobjIcon{width:24px;height:24px}.objHeader{font-family:Montserrat;font-size:24px;font-weight:600;line-height:29.26px;text-align:left}.mobjHeader{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.mobjDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.metrics-web{height:inherit;overflow-y:auto}.element-div{padding:25px 0;margin:0 25px}.linebreak{border-bottom:1px solid rgba(0,0,0,.16)}.melement-div{padding:16px;border-radius:15px;width:249px}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-element-div{min-width:325px;padding:25px 0;align-items:baseline}.infra-objIcon{width:32px;height:32px}.infra-objHeader{font-family:Montserrat;font-size:36px;font-weight:600;line-height:29.26px;text-align:left}.infra-objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.flex-container{display:flex}.top-container{overflow-x:auto;width:100%}.flex-item{flex:0 0 auto;white-space:nowrap;min-width:200px}@media screen and (max-width:768px){.infra-objIcon{width:24px;height:24px}.infra-objHeader{font-size:24px}.infra-element-div{min-width:250px;padding:15px 0 25px}}"]
|
|
6545
|
+
template: "<div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows' && !isDataLoading\">\n <div *ngFor=\"let obj of objectData; let last = last\" class=\"\">\n <div class=\"element-div\" [ngClass]=\"{'linebreak': obj?.linebreak && !last}\">\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <img class=\"objIcon\" [src]=\"obj.icon\" [style.color]=\"obj?.iconColor\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{obj.value | number: obj.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"objDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleRow'\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div {{obj?.background}} flex-item\" [style.background]=\"obj?.background\" >\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"mobjIcon\" [src]=\"obj.icon\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{obj?.value | number: obj.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"top-container\">\n <div class=\"flex-container\" *ngFor=\"let chunk of customArray\">\n <div *ngFor=\"let item of chunk\">\n <div class=\"flex-item\">\n <div class=\"flex flex-row gap-5 infra-element-div\">\n <div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\" *ngIf=\"!(item && item.value)\">0</div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\" *ngIf=\"(item && item.value)\">\n {{item?.value | number: item.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"item?.labelColor\" class=\"custom-opacity infra-objDescription padding-top-s\">{{item?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleFlexeRow'\">\n <div class=\"flex\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"singleFlexeRow-div flex-item\">\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"singleFlexeRowIcon\" [src]=\"obj.icon\">\n </div>\n <div class=\"flex flex-col\">\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"(obj && obj.value)\">\n {{obj?.value | number: obj.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"singleFlexeRowDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- skeleton loaders -->\n\n<ng-container>\n <div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows' && isDataLoading\">\n <div *ngFor=\"let obj of [0,1,2,3]\" class=\"\">\n <div class=\"element-div linebreak\" >\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'32px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'150px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-container>\n",
|
|
6546
|
+
styles: [".white{color:#fff}.custom-opacity{opacity:.7}.black{color:#000}.objIcon{width:32px;height:32px}.mobjIcon{width:24px;height:24px}.objHeader{font-family:Montserrat;font-size:24px;font-weight:600;line-height:29.26px;text-align:left}.mobjHeader{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.mobjDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.metrics-web{height:inherit;overflow-y:auto}.element-div{padding:25px 0;margin:0 25px}.linebreak{border-bottom:1px solid rgba(0,0,0,.16)}.singleFlexeRow-div{padding:16px;border-radius:15px}.singleFlexeRowHeader{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left}.singleFlexeRowDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.singleFlexeRowIcon{width:24px;height:24px}.melement-div{padding:16px;border-radius:15px;width:249px}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-element-div{min-width:325px;padding:25px 0;align-items:baseline}.infra-objIcon{width:32px;height:32px}.infra-objHeader{font-family:Montserrat;font-size:36px;font-weight:600;line-height:29.26px;text-align:left}.infra-objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.flex-container{display:flex}.top-container{overflow-x:auto;width:100%}::-webkit-scrollbar{height:4px}::-webkit-scrollbar-track{border-radius:10px;background:#000}::-webkit-scrollbar-thumb{background:#cccc;border-radius:10px}.flex-item{flex:0 0 auto;white-space:nowrap;min-width:200px}@media screen and (max-width:768px){.infra-objIcon{width:24px;height:24px}.infra-objHeader{font-size:24px}.infra-element-div{min-width:250px;padding:15px 0 25px}}"]
|
|
6539
6547
|
}] }
|
|
6540
6548
|
];
|
|
6541
6549
|
/** @nocollapse */
|
|
@@ -7980,6 +7988,73 @@
|
|
|
7980
7988
|
return CommonStripModule;
|
|
7981
7989
|
}());
|
|
7982
7990
|
|
|
7991
|
+
/**
|
|
7992
|
+
* @fileoverview added by tsickle
|
|
7993
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7994
|
+
*/
|
|
7995
|
+
var AnnouncementsComponent = /** @class */ (function () {
|
|
7996
|
+
function AnnouncementsComponent() {
|
|
7997
|
+
}
|
|
7998
|
+
/**
|
|
7999
|
+
* @return {?}
|
|
8000
|
+
*/
|
|
8001
|
+
AnnouncementsComponent.prototype.ngOnInit = /**
|
|
8002
|
+
* @return {?}
|
|
8003
|
+
*/
|
|
8004
|
+
function () {
|
|
8005
|
+
};
|
|
8006
|
+
/**
|
|
8007
|
+
* @param {?} item
|
|
8008
|
+
* @return {?}
|
|
8009
|
+
*/
|
|
8010
|
+
AnnouncementsComponent.prototype.viewMoreOrLess = /**
|
|
8011
|
+
* @param {?} item
|
|
8012
|
+
* @return {?}
|
|
8013
|
+
*/
|
|
8014
|
+
function (item) {
|
|
8015
|
+
if (item.value.length > 152) {
|
|
8016
|
+
item.expanded = !item.expanded;
|
|
8017
|
+
}
|
|
8018
|
+
};
|
|
8019
|
+
AnnouncementsComponent.decorators = [
|
|
8020
|
+
{ type: core.Component, args: [{
|
|
8021
|
+
selector: 'sb-uic-announcements',
|
|
8022
|
+
template: "<div class=\"w-full\">\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>",
|
|
8023
|
+
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}.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 paddingAnimation{0%,100%{padding:10px 50px}25%,75%{padding:10px 55px}50%{padding:10px 60px}}"]
|
|
8024
|
+
}] }
|
|
8025
|
+
];
|
|
8026
|
+
/** @nocollapse */
|
|
8027
|
+
AnnouncementsComponent.ctorParameters = function () { return []; };
|
|
8028
|
+
AnnouncementsComponent.propDecorators = {
|
|
8029
|
+
objectData: [{ type: core.Input }]
|
|
8030
|
+
};
|
|
8031
|
+
return AnnouncementsComponent;
|
|
8032
|
+
}());
|
|
8033
|
+
if (false) {
|
|
8034
|
+
/** @type {?} */
|
|
8035
|
+
AnnouncementsComponent.prototype.objectData;
|
|
8036
|
+
}
|
|
8037
|
+
|
|
8038
|
+
/**
|
|
8039
|
+
* @fileoverview added by tsickle
|
|
8040
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8041
|
+
*/
|
|
8042
|
+
var AnnouncementsModule = /** @class */ (function () {
|
|
8043
|
+
function AnnouncementsModule() {
|
|
8044
|
+
}
|
|
8045
|
+
AnnouncementsModule.decorators = [
|
|
8046
|
+
{ type: core.NgModule, args: [{
|
|
8047
|
+
declarations: [AnnouncementsComponent],
|
|
8048
|
+
imports: [
|
|
8049
|
+
common.CommonModule,
|
|
8050
|
+
SkeletonLoaderLibModule
|
|
8051
|
+
],
|
|
8052
|
+
exports: [AnnouncementsComponent],
|
|
8053
|
+
},] }
|
|
8054
|
+
];
|
|
8055
|
+
return AnnouncementsModule;
|
|
8056
|
+
}());
|
|
8057
|
+
|
|
7983
8058
|
/**
|
|
7984
8059
|
* @fileoverview added by tsickle
|
|
7985
8060
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -7999,7 +8074,8 @@
|
|
|
7999
8074
|
SlidersLibModule,
|
|
8000
8075
|
DataPointsModule,
|
|
8001
8076
|
CalenderModule,
|
|
8002
|
-
CommonStripModule
|
|
8077
|
+
CommonStripModule,
|
|
8078
|
+
AnnouncementsModule
|
|
8003
8079
|
],
|
|
8004
8080
|
},] }
|
|
8005
8081
|
];
|
|
@@ -8869,7 +8945,7 @@
|
|
|
8869
8945
|
CardUserComponent.decorators = [
|
|
8870
8946
|
{ type: core.Component, args: [{
|
|
8871
8947
|
selector: 'sb-uic-card-user',
|
|
8872
|
-
template: "<mat-card class=\"user-card card-users-container mr-5 padding-remove cursor-pointer\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData.content\">\n <a (click)=\"raiseTelemetry();$event.stopPropagation()\" role=\"link\"\n i18n-aria-label>\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div style=\"position: relative; z-index: 1;\">\n <ng-container *ngIf=\"widgetData.content.image\">\n <img mat-card-image [src]=\"widgetData.content.image\"\n loading=\"lazy\" class=\"card-img ws-mat-primary-lite-background margin-remove\"\n [wsUtilsDefaultThumbnail]=\"defaultThumbnail\" [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-container *ngIf=\"!widgetData.content.image\">\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=\"padding-m\">\n <div class=\"user_widget flex margin-remove\">\n </div>\n <div [id]=\"'m-c-'+ widgetData.content?.userId\"\n class=\"mat-subheading-1 title-text ws-mat-text-block-fade-gradient\">\n {{ widgetData?.content?.name }}\n </div>\n <div class=\"flex w-full flex-wrap flex-middle\">\n <p class=\"whitespace-normal description-text\">\n {{ widgetData?.content?.description }}\n </p>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n</mat-card>",
|
|
8948
|
+
template: "<mat-card class=\"user-card card-users-container mr-5 padding-remove cursor-pointer\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData.content\">\n <a (click)=\"raiseTelemetry();$event.stopPropagation()\" role=\"link\"\n i18n-aria-label>\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div style=\"position: relative; z-index: 1;\">\n <ng-container *ngIf=\"widgetData.content.image\">\n <img mat-card-image [src]=\"widgetData.content.image\"\n loading=\"lazy\" class=\"card-img ws-mat-primary-lite-background margin-remove\"\n [wsUtilsDefaultThumbnail]=\"defaultThumbnail\" [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-container *ngIf=\"!widgetData.content.image\">\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=\"padding-m\">\n <div class=\"user_widget flex margin-remove\">\n </div>\n <div [id]=\"'m-c-'+ widgetData.content?.userId\"\n class=\"mat-subheading-1 title-text ws-mat-text-block-fade-gradient\">\n {{ widgetData?.content?.name }}\n </div>\n <div class=\"flex w-full flex-wrap flex-middle\">\n <p class=\"whitespace-normal description-text mat-body-2\">\n {{ widgetData?.content?.description }}\n </p>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n</mat-card>",
|
|
8873
8949
|
styles: [".card-users-container{position:relative;width:282px;min-height:281px;border-radius:8px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;height:281px;margin:16px 8px}.card-users-container .course_logo_box{width:38px;height:38px;background:#fff;border-radius:8px;box-sizing:border-box;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.card-users-container .course_logo_box img{height:28px;width:28px;padding:5px;display:inline-block}.card-users-container .course_logo_box p{display:inline-block;vertical-align:top}.card-users-container .org-text{font-size:12px;font-weight:400;width:75%;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-users-container mat-card-content{background:#fff}.card-users-container .card-img{min-width:245px;max-height:140px;min-height:140px;display:block;-o-object-fit:fill;object-fit:fill;border-top-left-radius:8px;border-top-right-radius:8px;width:100%}.card-users-container .mat-subheading-1{font:600 14px/24px Montserrat}.card-users-container .complexity{padding-top:70px;display:flex;font-size:14px;line-height:21px;padding-bottom:10px}.card-users-container .complexity .mode-tag{border-radius:5px;order:2;margin-left:auto;color:#fff;font-size:10px}.card-users-container .complexity .duration{display:flex;margin-left:auto;order:3;font-weight:700}.card-users-container .complexity .time-text{margin:0 5px 0 6px;font-weight:700}.card-users-container .basic{margin:auto 0}.card-users-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}.card-users-container .description-text{position:relative;overflow:hidden;height:63px;white-space:normal;text-overflow:ellipsis}.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}"]
|
|
8874
8950
|
}] }
|
|
8875
8951
|
];
|
|
@@ -9307,6 +9383,132 @@
|
|
|
9307
9383
|
CardWideComponent.prototype.configSvc;
|
|
9308
9384
|
}
|
|
9309
9385
|
|
|
9386
|
+
/**
|
|
9387
|
+
* @fileoverview added by tsickle
|
|
9388
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9389
|
+
*/
|
|
9390
|
+
var CardMDOChannelComponent = /** @class */ (function () {
|
|
9391
|
+
function CardMDOChannelComponent(events, translate, langtranslations, configSvc) {
|
|
9392
|
+
var _this = this;
|
|
9393
|
+
this.events = events;
|
|
9394
|
+
this.translate = translate;
|
|
9395
|
+
this.langtranslations = langtranslations;
|
|
9396
|
+
this.configSvc = configSvc;
|
|
9397
|
+
this.userData = new core.EventEmitter();
|
|
9398
|
+
this.widgetType = '';
|
|
9399
|
+
this.widgetSubType = '';
|
|
9400
|
+
this.langtranslations.languageSelectedObservable.subscribe((/**
|
|
9401
|
+
* @return {?}
|
|
9402
|
+
*/
|
|
9403
|
+
function () {
|
|
9404
|
+
if (localStorage.getItem('websiteLanguage')) {
|
|
9405
|
+
_this.translate.setDefaultLang('en');
|
|
9406
|
+
/** @type {?} */
|
|
9407
|
+
var lang = (/** @type {?} */ (localStorage.getItem('websiteLanguage')));
|
|
9408
|
+
_this.translate.use(lang);
|
|
9409
|
+
}
|
|
9410
|
+
}));
|
|
9411
|
+
}
|
|
9412
|
+
/**
|
|
9413
|
+
* @return {?}
|
|
9414
|
+
*/
|
|
9415
|
+
CardMDOChannelComponent.prototype.ngOnInit = /**
|
|
9416
|
+
* @return {?}
|
|
9417
|
+
*/
|
|
9418
|
+
function () {
|
|
9419
|
+
/** @type {?} */
|
|
9420
|
+
var instanceConfig = this.configSvc.instanceConfig;
|
|
9421
|
+
if (instanceConfig) {
|
|
9422
|
+
this.defaultThumbnail = instanceConfig.logos.defaultContent || '';
|
|
9423
|
+
this.sourceLogos = instanceConfig.sources;
|
|
9424
|
+
this.defaultSLogo = instanceConfig.logos.defaultSourceLogo || '';
|
|
9425
|
+
}
|
|
9426
|
+
else {
|
|
9427
|
+
this.defaultThumbnail = '/assets/instances/eagle/app_logos/default.png';
|
|
9428
|
+
this.defaultSLogo = '/assets/instances/eagle/app_logos/KarmayogiBharat_Logo.svg';
|
|
9429
|
+
}
|
|
9430
|
+
};
|
|
9431
|
+
/**
|
|
9432
|
+
* @return {?}
|
|
9433
|
+
*/
|
|
9434
|
+
CardMDOChannelComponent.prototype.raiseTelemetry = /**
|
|
9435
|
+
* @return {?}
|
|
9436
|
+
*/
|
|
9437
|
+
function () {
|
|
9438
|
+
// if(this.forPreview){
|
|
9439
|
+
// return
|
|
9440
|
+
// }
|
|
9441
|
+
this.events.raiseInteractTelemetry({
|
|
9442
|
+
type: 'click',
|
|
9443
|
+
subType: this.widgetType + "-" + this.widgetSubType,
|
|
9444
|
+
id: lodash.camelCase(this.widgetData.content.userId) + "-card",
|
|
9445
|
+
}, {
|
|
9446
|
+
id: this.widgetData.content.userId,
|
|
9447
|
+
// type: this.widgetData.user.primaryCategory,
|
|
9448
|
+
//context: this.widgetData.context,
|
|
9449
|
+
rollup: {},
|
|
9450
|
+
}, {
|
|
9451
|
+
pageIdExt: lodash.camelCase('user') + "-card",
|
|
9452
|
+
module: lodash.camelCase('user'),
|
|
9453
|
+
});
|
|
9454
|
+
};
|
|
9455
|
+
CardMDOChannelComponent.decorators = [
|
|
9456
|
+
{ type: core.Component, args: [{
|
|
9457
|
+
selector: 'sb-uic-card-mdo-channel',
|
|
9458
|
+
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()\" 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>",
|
|
9459
|
+
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:16px 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}"]
|
|
9460
|
+
}] }
|
|
9461
|
+
];
|
|
9462
|
+
/** @nocollapse */
|
|
9463
|
+
CardMDOChannelComponent.ctorParameters = function () { return [
|
|
9464
|
+
{ type: utilsV2.EventService },
|
|
9465
|
+
{ type: core$1.TranslateService },
|
|
9466
|
+
{ type: utilsV2.MultilingualTranslationsService },
|
|
9467
|
+
{ type: utilsV2.ConfigurationsService }
|
|
9468
|
+
]; };
|
|
9469
|
+
CardMDOChannelComponent.propDecorators = {
|
|
9470
|
+
widgetData: [{ type: core.Input }],
|
|
9471
|
+
userData: [{ type: core.Output }]
|
|
9472
|
+
};
|
|
9473
|
+
return CardMDOChannelComponent;
|
|
9474
|
+
}());
|
|
9475
|
+
if (false) {
|
|
9476
|
+
/** @type {?} */
|
|
9477
|
+
CardMDOChannelComponent.prototype.widgetData;
|
|
9478
|
+
/** @type {?} */
|
|
9479
|
+
CardMDOChannelComponent.prototype.userData;
|
|
9480
|
+
/** @type {?} */
|
|
9481
|
+
CardMDOChannelComponent.prototype.defaultThumbnail;
|
|
9482
|
+
/** @type {?} */
|
|
9483
|
+
CardMDOChannelComponent.prototype.sourceLogos;
|
|
9484
|
+
/** @type {?} */
|
|
9485
|
+
CardMDOChannelComponent.prototype.defaultSLogo;
|
|
9486
|
+
/** @type {?} */
|
|
9487
|
+
CardMDOChannelComponent.prototype.widgetType;
|
|
9488
|
+
/** @type {?} */
|
|
9489
|
+
CardMDOChannelComponent.prototype.widgetSubType;
|
|
9490
|
+
/**
|
|
9491
|
+
* @type {?}
|
|
9492
|
+
* @private
|
|
9493
|
+
*/
|
|
9494
|
+
CardMDOChannelComponent.prototype.events;
|
|
9495
|
+
/**
|
|
9496
|
+
* @type {?}
|
|
9497
|
+
* @private
|
|
9498
|
+
*/
|
|
9499
|
+
CardMDOChannelComponent.prototype.translate;
|
|
9500
|
+
/**
|
|
9501
|
+
* @type {?}
|
|
9502
|
+
* @private
|
|
9503
|
+
*/
|
|
9504
|
+
CardMDOChannelComponent.prototype.langtranslations;
|
|
9505
|
+
/**
|
|
9506
|
+
* @type {?}
|
|
9507
|
+
* @private
|
|
9508
|
+
*/
|
|
9509
|
+
CardMDOChannelComponent.prototype.configSvc;
|
|
9510
|
+
}
|
|
9511
|
+
|
|
9310
9512
|
/**
|
|
9311
9513
|
* @fileoverview added by tsickle
|
|
9312
9514
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -9316,7 +9518,14 @@
|
|
|
9316
9518
|
}
|
|
9317
9519
|
CardsModule.decorators = [
|
|
9318
9520
|
{ type: core.NgModule, args: [{
|
|
9319
|
-
declarations: [
|
|
9521
|
+
declarations: [
|
|
9522
|
+
CardResourceComponent,
|
|
9523
|
+
CardsComponent, CardPortraitComponent,
|
|
9524
|
+
CardUserComponent,
|
|
9525
|
+
CardLandscapeComponent,
|
|
9526
|
+
CardWideComponent,
|
|
9527
|
+
CardMDOChannelComponent
|
|
9528
|
+
],
|
|
9320
9529
|
imports: [
|
|
9321
9530
|
common.CommonModule,
|
|
9322
9531
|
material.MatCardModule,
|
|
@@ -9337,7 +9546,8 @@
|
|
|
9337
9546
|
CardPortraitComponent,
|
|
9338
9547
|
CardLandscapeComponent,
|
|
9339
9548
|
CardUserComponent,
|
|
9340
|
-
CardWideComponent
|
|
9549
|
+
CardWideComponent,
|
|
9550
|
+
CardMDOChannelComponent
|
|
9341
9551
|
],
|
|
9342
9552
|
},] }
|
|
9343
9553
|
];
|
|
@@ -9849,7 +10059,7 @@
|
|
|
9849
10059
|
{ type: core.Component, args: [{
|
|
9850
10060
|
selector: 'sb-uic-pills',
|
|
9851
10061
|
template: "<ng-container *ngIf=\"!isLoading\">\n <mat-chip-list >\n <ng-container *ngFor=\"let pill of pillsData\">\n <mat-chip class=\"competency-chip\" (click)=\"selectedPill(pill)\" \n [ngClass]=\"{'active': selectedValue === pill?.name}\">\n <span class=\"pill-name\">{{pill?.name | titlecase}} <span *ngIf=\"pill?.count\">({{pill?.count}})</span></span>\n </mat-chip>\n </ng-container>\n </mat-chip-list>\n</ng-container>\n<ng-container *ngIf=\"isLoading\">\n <div class=\"flex gap-4\">\n <ng-container *ngFor=\"let pill of [0,1,2]\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded'\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </ng-container>\n </div>\n</ng-container>\n",
|
|
9852
|
-
styles: [".competency-chip{padding:12px 16px;border-radius:50px;border:1px solid #fff;font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;background-color:transparent!important;cursor:pointer}.competency-chip .pill-name{color:#fff!important}.active{background-color:#1b4ca1!important}"]
|
|
10062
|
+
styles: [".competency-chip{z-index:99999;padding:12px 16px;border-radius:50px;border:1px solid #fff;font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;background-color:transparent!important;cursor:pointer}.competency-chip .pill-name{color:#fff!important}.active{background-color:#1b4ca1!important}"]
|
|
9853
10063
|
}] }
|
|
9854
10064
|
];
|
|
9855
10065
|
/** @nocollapse */
|
|
@@ -10270,6 +10480,12 @@
|
|
|
10270
10480
|
else {
|
|
10271
10481
|
_this.emptyResponse.emit(true);
|
|
10272
10482
|
}
|
|
10483
|
+
}), (/**
|
|
10484
|
+
* @param {?} _error
|
|
10485
|
+
* @return {?}
|
|
10486
|
+
*/
|
|
10487
|
+
function (_error) {
|
|
10488
|
+
_this.emptyResponse.emit(true);
|
|
10273
10489
|
}));
|
|
10274
10490
|
};
|
|
10275
10491
|
/**
|
|
@@ -10896,6 +11112,7 @@
|
|
|
10896
11112
|
return UserContentRatingLibModule;
|
|
10897
11113
|
}());
|
|
10898
11114
|
|
|
11115
|
+
exports.AnnouncementsModule = AnnouncementsModule;
|
|
10899
11116
|
exports.CalenderModule = CalenderModule;
|
|
10900
11117
|
exports.CardsModule = CardsModule;
|
|
10901
11118
|
exports.CommonMethodsService = CommonMethodsService;
|
|
@@ -10915,27 +11132,29 @@
|
|
|
10915
11132
|
exports.WIDGET_REGISTRATION_LIB_CONFIG = WIDGET_REGISTRATION_LIB_CONFIG;
|
|
10916
11133
|
exports.ɵa = ContentStripWithTabsLibComponent;
|
|
10917
11134
|
exports.ɵb = WidgetContentService;
|
|
10918
|
-
exports.ɵba =
|
|
10919
|
-
exports.ɵbb =
|
|
10920
|
-
exports.ɵbc =
|
|
10921
|
-
exports.ɵbd =
|
|
10922
|
-
exports.ɵbe =
|
|
10923
|
-
exports.ɵbf =
|
|
10924
|
-
exports.ɵbg =
|
|
10925
|
-
exports.ɵbh =
|
|
10926
|
-
exports.ɵbi =
|
|
10927
|
-
exports.ɵbj =
|
|
10928
|
-
exports.ɵbk =
|
|
10929
|
-
exports.ɵbl =
|
|
10930
|
-
exports.ɵbm =
|
|
10931
|
-
exports.ɵbn =
|
|
10932
|
-
exports.ɵbo =
|
|
10933
|
-
exports.ɵbp =
|
|
10934
|
-
exports.ɵbq =
|
|
10935
|
-
exports.ɵbr =
|
|
10936
|
-
exports.ɵbs =
|
|
10937
|
-
exports.ɵbt =
|
|
10938
|
-
exports.ɵbu =
|
|
11135
|
+
exports.ɵba = CardMDOChannelComponent;
|
|
11136
|
+
exports.ɵbb = PipePublicURLModule;
|
|
11137
|
+
exports.ɵbc = PipePublicURL;
|
|
11138
|
+
exports.ɵbd = DisplayContentTypeLibModule;
|
|
11139
|
+
exports.ɵbe = DisplayContentTypeLibComponent;
|
|
11140
|
+
exports.ɵbf = DefaultThumbnailModule;
|
|
11141
|
+
exports.ɵbg = DefaultThumbnailDirective;
|
|
11142
|
+
exports.ɵbh = PipeDurationTransformModule;
|
|
11143
|
+
exports.ɵbi = PipeDurationTransformPipe;
|
|
11144
|
+
exports.ɵbj = CompetencyPassbookComponent;
|
|
11145
|
+
exports.ɵbk = CompetencyPassbookService;
|
|
11146
|
+
exports.ɵbl = PillsModule;
|
|
11147
|
+
exports.ɵbm = PillsComponent;
|
|
11148
|
+
exports.ɵbn = UserContentRatingLibComponent;
|
|
11149
|
+
exports.ɵbo = ScrollableItemDirective;
|
|
11150
|
+
exports.ɵbp = RatingService;
|
|
11151
|
+
exports.ɵbq = UserContentRatingLibService;
|
|
11152
|
+
exports.ɵbr = AvatarPhotoLibModule;
|
|
11153
|
+
exports.ɵbs = AvatarPhotoLibComponent;
|
|
11154
|
+
exports.ɵbt = MyHammerConfig$1;
|
|
11155
|
+
exports.ɵbu = SlidersNgContentLibModule;
|
|
11156
|
+
exports.ɵbv = SlidersNgContentLibComponent;
|
|
11157
|
+
exports.ɵbw = ScrollableItemModule;
|
|
10939
11158
|
exports.ɵc = WidgetUserService;
|
|
10940
11159
|
exports.ɵd = MultilingualTranslationsService;
|
|
10941
11160
|
exports.ɵe = ConfigurationsService;
|
|
@@ -10953,13 +11172,13 @@
|
|
|
10953
11172
|
exports.ɵq = CalenderComponent;
|
|
10954
11173
|
exports.ɵr = CalenderDayComponent;
|
|
10955
11174
|
exports.ɵs = CommonStripComponent;
|
|
10956
|
-
exports.ɵt =
|
|
10957
|
-
exports.ɵu =
|
|
10958
|
-
exports.ɵv =
|
|
10959
|
-
exports.ɵw =
|
|
10960
|
-
exports.ɵx =
|
|
10961
|
-
exports.ɵy =
|
|
10962
|
-
exports.ɵz =
|
|
11175
|
+
exports.ɵt = AnnouncementsComponent;
|
|
11176
|
+
exports.ɵu = CardResourceComponent;
|
|
11177
|
+
exports.ɵv = CardsComponent;
|
|
11178
|
+
exports.ɵw = CardPortraitComponent;
|
|
11179
|
+
exports.ɵx = CardUserComponent;
|
|
11180
|
+
exports.ɵy = CardLandscapeComponent;
|
|
11181
|
+
exports.ɵz = CardWideComponent;
|
|
10963
11182
|
|
|
10964
11183
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10965
11184
|
|