@sunbird-cb/consumption 0.0.13 → 0.0.15
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 +350 -709
- 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/avatar-photo-lib/avatar-photo-lib.component.js +15 -4
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +2 -2
- package/esm2015/lib/_common/cards/card-wide/card-wide.component.js +1 -1
- package/esm2015/lib/_common/cards/cards.component.js +2 -2
- 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/sliders/sliders.component.js +2 -2
- package/esm2015/lib/_common/sliders/sliders.model.js +7 -1
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +15 -6
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +139 -0
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.module.js +38 -0
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.service.js +45 -0
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.directive.js +42 -0
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.module.js +19 -0
- package/esm2015/lib/consumption.module.js +4 -2
- package/esm2015/public-api.js +3 -2
- package/esm2015/sunbird-cb-consumption.js +30 -26
- package/esm5/lib/_common/announcements/announcements.component.js +49 -0
- package/esm5/lib/_common/announcements/announcements.module.js +25 -0
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +15 -4
- package/esm5/lib/_common/cards/card-user/card-user.component.js +2 -2
- package/esm5/lib/_common/cards/card-wide/card-wide.component.js +1 -1
- package/esm5/lib/_common/cards/cards.component.js +2 -2
- 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/sliders/sliders.component.js +2 -2
- package/esm5/lib/_common/sliders/sliders.model.js +7 -1
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +15 -6
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +162 -0
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.module.js +42 -0
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.service.js +48 -0
- package/esm5/lib/_directives/scrollable-item/scrollable-item.directive.js +45 -0
- package/esm5/lib/_directives/scrollable-item/scrollable-item.module.js +23 -0
- package/esm5/lib/consumption.module.js +4 -2
- package/esm5/public-api.js +3 -2
- package/esm5/sunbird-cb-consumption.js +30 -26
- package/fesm2015/sunbird-cb-consumption.js +288 -678
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +321 -685
- 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/avatar-photo-lib/avatar-photo-lib.component.d.ts +1 -0
- package/lib/_common/sliders/sliders.model.d.ts +6 -0
- package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +1 -0
- package/lib/_common/user-content-rating/user-content-rating-lib.component.d.ts +22 -0
- package/lib/_common/user-content-rating/user-content-rating-lib.module.d.ts +2 -0
- package/lib/_common/user-content-rating/user-content-rating-lib.service.d.ts +7 -0
- package/lib/_directives/scrollable-item/scrollable-item.directive.d.ts +7 -0
- package/lib/_directives/scrollable-item/scrollable-item.module.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -1
- package/sunbird-cb-consumption.d.ts +28 -24
- package/sunbird-cb-consumption.metadata.json +1 -1
- package/esm2015/lib/_common/user-content-rating/user-content-rating.component.js +0 -710
- package/esm2015/lib/_common/user-content-rating/user-content-rating.module.js +0 -35
- package/esm5/lib/_common/user-content-rating/user-content-rating.component.js +0 -726
- package/esm5/lib/_common/user-content-rating/user-content-rating.module.js +0 -39
- package/lib/_common/user-content-rating/user-content-rating.component.d.ts +0 -167
- package/lib/_common/user-content-rating/user-content-rating.module.d.ts +0 -2
|
@@ -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
|
/**
|
|
@@ -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 }\">\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\">\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\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)}.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: "<p>announcements works!</p>\n<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
|
];
|
|
@@ -8165,7 +8241,7 @@
|
|
|
8165
8241
|
CardsComponent.decorators = [
|
|
8166
8242
|
{ type: core.Component, args: [{
|
|
8167
8243
|
selector: 'sb-uic-cards',
|
|
8168
|
-
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>\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 [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 #cardUser>\n <sb-uic-card-user [widgetData]=\"widgetData\"></sb-uic-card-user>\n </ng-template>\n",
|
|
8244
|
+
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>\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 #cardUser>\n <sb-uic-card-user [widgetData]=\"widgetData\"></sb-uic-card-user>\n </ng-template>\n",
|
|
8169
8245
|
styles: [""]
|
|
8170
8246
|
}] }
|
|
8171
8247
|
];
|
|
@@ -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
|
];
|
|
@@ -9232,7 +9308,7 @@
|
|
|
9232
9308
|
{ type: core.Component, args: [{
|
|
9233
9309
|
selector: 'sb-uic-card-wide',
|
|
9234
9310
|
template: "<mat-card class=\"card-wide-lib\">\n <a (click)=\"raiseTelemetry();getRedirectUrlData(widgetData?.content); $event.stopPropagation()\" \n role=\"link\" i18n-aria-label>\n <div class=\"flex\">\n <div>\n <ng-container *ngIf=\"widgetData?.content?.posterImage\">\n <img mat-card-image [src]=\"widgetData?.content?.posterImage | pipePublicURL\" loading=\"lazy\"\n class=\"card-wide-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-wide-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-wide-img ws-mat-primary-lite-background margin-remove\"\n [alt]=\"widgetData?.content?.name\" />\n </ng-template>\n </ng-container>\n </div>\n <div>\n <div class=\"pl-4 pr-4 w-full\">\n <div class=\"course_widget flex margin-remove\">\n <div class=\"flex flex-end course_v2\">\n <mat-icon class=\"mat-icon main_icon ws-mat-default-text margin-right-xs\">video_library</mat-icon>\n <sb-uic-display-content-type i18n-title title=\"Content Type\" *ngIf=\"widgetData?.content?.primaryCategory\"\n class=\"ws-mat-black60-text font-normal mat-caption \" [displayContentType]=\"widgetData?.content?.primaryCategory==='Course Unit'\n ?'Module'\n :widgetData?.content?.primaryCategory\">\n </sb-uic-display-content-type>\n </div>\n </div>\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\n class=\"mat-subheading-1 title-text ws-mat-text-block-fade-gradient\">\n {{ widgetData?.content?.name }}\n </div>\n\n <div class=\"flex w-full flex-wrap flex-middle\">\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\">{{'cardcontentv2.by' | translate}} -->\n <span class=\"org-text\">By {{ (widgetData?.content?.organisation && widgetData?.content?.organisation[0]) ? widgetData?.content?.organisation[0] : 'Karmayogi Bharat' }}</span>\n </div>\n </div>\n </div>\n </div>\n </a>\n</mat-card>\n",
|
|
9235
|
-
styles: [".card-wide-lib{width:inherit;padding:16px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.16)}.card-wide-lib .card-wide-img{width:190px;height:107px;border-radius:12px}.card-wide-lib .course_widget{margin-top:10px}.card-wide-lib .course_widget .mat-icon{vertical-align:middle;color:#ef951e!important}.card-wide-lib .course_widget .course_v2{border:1px solid #ef951e;padding:4px 8px;align-items:end;border-radius:16px}.card-wide-lib .course_widget .main_icon{font-size:16px;width:16px;height:16px}.card-wide-lib .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-wide-lib .course_logo_box img{height:28px;width:28px;padding:5px;display:inline-block}.card-wide-lib .course_logo_box p{display:inline-block;vertical-align:top}.card-wide-lib .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}"]
|
|
9311
|
+
styles: [".card-wide-lib{width:inherit;padding:16px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.16)}.card-wide-lib .card-wide-img{width:190px;height:107px;border-radius:12px}.card-wide-lib .course_widget{margin-top:10px}.card-wide-lib .course_widget .mat-icon{vertical-align:middle;color:#ef951e!important}.card-wide-lib .course_widget .course_v2{border:1px solid #ef951e;padding:4px 8px;align-items:end;border-radius:16px}.card-wide-lib .course_widget .main_icon{font-size:16px;width:16px;height:16px}.card-wide-lib .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-wide-lib .course_logo_box img{height:28px;width:28px;padding:5px;display:inline-block}.card-wide-lib .course_logo_box p{display:inline-block;vertical-align:top}.card-wide-lib .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}@media screen and (max-width:768px){.card-wide-img{width:167px;height:117px;border-radius:12px}}"]
|
|
9236
9312
|
}] }
|
|
9237
9313
|
];
|
|
9238
9314
|
/** @nocollapse */
|
|
@@ -10129,664 +10205,155 @@
|
|
|
10129
10205
|
* @fileoverview added by tsickle
|
|
10130
10206
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10131
10207
|
*/
|
|
10132
|
-
var
|
|
10133
|
-
function
|
|
10208
|
+
var ScrollableItemDirective = /** @class */ (function () {
|
|
10209
|
+
function ScrollableItemDirective(el) {
|
|
10210
|
+
this.el = el;
|
|
10211
|
+
}
|
|
10212
|
+
/**
|
|
10213
|
+
* @param {?} blockValue
|
|
10214
|
+
* @return {?}
|
|
10215
|
+
*/
|
|
10216
|
+
ScrollableItemDirective.prototype.scrollIntoView = /**
|
|
10217
|
+
* @param {?} blockValue
|
|
10218
|
+
* @return {?}
|
|
10219
|
+
*/
|
|
10220
|
+
function (blockValue) {
|
|
10221
|
+
this.el.nativeElement.scrollIntoView({ behavior: 'smooth', block: blockValue });
|
|
10222
|
+
};
|
|
10223
|
+
ScrollableItemDirective.decorators = [
|
|
10224
|
+
{ type: core.Directive, args: [{
|
|
10225
|
+
selector: '[sbUicScrollableItem]'
|
|
10226
|
+
},] }
|
|
10227
|
+
];
|
|
10228
|
+
/** @nocollapse */
|
|
10229
|
+
ScrollableItemDirective.ctorParameters = function () { return [
|
|
10230
|
+
{ type: core.ElementRef }
|
|
10231
|
+
]; };
|
|
10232
|
+
ScrollableItemDirective.propDecorators = {
|
|
10233
|
+
key: [{ type: core.Input, args: ['sbUicScrollableItem',] }]
|
|
10234
|
+
};
|
|
10235
|
+
return ScrollableItemDirective;
|
|
10236
|
+
}());
|
|
10237
|
+
if (false) {
|
|
10238
|
+
/** @type {?} */
|
|
10239
|
+
ScrollableItemDirective.prototype.key;
|
|
10240
|
+
/**
|
|
10241
|
+
* @type {?}
|
|
10242
|
+
* @private
|
|
10243
|
+
*/
|
|
10244
|
+
ScrollableItemDirective.prototype.el;
|
|
10245
|
+
}
|
|
10246
|
+
|
|
10247
|
+
/**
|
|
10248
|
+
* @fileoverview added by tsickle
|
|
10249
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10250
|
+
*/
|
|
10251
|
+
/** @type {?} */
|
|
10252
|
+
var API_END_POINTS$4 = {
|
|
10253
|
+
TOP_REVIEWS: "/apis/proxies/v8/ratings/v1/topReviews"
|
|
10254
|
+
};
|
|
10255
|
+
var UserContentRatingLibService = /** @class */ (function () {
|
|
10256
|
+
function UserContentRatingLibService(http) {
|
|
10257
|
+
this.http = http;
|
|
10258
|
+
}
|
|
10259
|
+
/**
|
|
10260
|
+
* @param {?} doId
|
|
10261
|
+
* @return {?}
|
|
10262
|
+
*/
|
|
10263
|
+
UserContentRatingLibService.prototype.fetchTopReviews = /**
|
|
10264
|
+
* @param {?} doId
|
|
10265
|
+
* @return {?}
|
|
10266
|
+
*/
|
|
10267
|
+
function (doId) {
|
|
10268
|
+
return this.http.get(API_END_POINTS$4.TOP_REVIEWS + "/" + doId);
|
|
10269
|
+
};
|
|
10270
|
+
UserContentRatingLibService.decorators = [
|
|
10271
|
+
{ type: core.Injectable, args: [{
|
|
10272
|
+
providedIn: 'root'
|
|
10273
|
+
},] }
|
|
10274
|
+
];
|
|
10275
|
+
/** @nocollapse */
|
|
10276
|
+
UserContentRatingLibService.ctorParameters = function () { return [
|
|
10277
|
+
{ type: http.HttpClient }
|
|
10278
|
+
]; };
|
|
10279
|
+
/** @nocollapse */ UserContentRatingLibService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function UserContentRatingLibService_Factory() { return new UserContentRatingLibService(core.ɵɵinject(http.HttpClient)); }, token: UserContentRatingLibService, providedIn: "root" });
|
|
10280
|
+
return UserContentRatingLibService;
|
|
10281
|
+
}());
|
|
10282
|
+
if (false) {
|
|
10283
|
+
/**
|
|
10284
|
+
* @type {?}
|
|
10285
|
+
* @private
|
|
10286
|
+
*/
|
|
10287
|
+
UserContentRatingLibService.prototype.http;
|
|
10288
|
+
}
|
|
10289
|
+
|
|
10290
|
+
/**
|
|
10291
|
+
* @fileoverview added by tsickle
|
|
10292
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10293
|
+
*/
|
|
10294
|
+
var UserContentRatingLibComponent = /** @class */ (function () {
|
|
10295
|
+
function UserContentRatingLibComponent(ratingService, userRatingSvc) {
|
|
10134
10296
|
this.ratingService = ratingService;
|
|
10297
|
+
this.userRatingSvc = userRatingSvc;
|
|
10135
10298
|
this.currentIndex = 0;
|
|
10136
|
-
this.
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
"borderRadius": "0",
|
|
10142
|
-
"customHeight": "424px",
|
|
10143
|
-
"arrowsPlacement": "middle-inline",
|
|
10144
|
-
"responsive": {
|
|
10145
|
-
"bannerMetaClass": "inline-meta",
|
|
10146
|
-
"customHeight": "232px",
|
|
10147
|
-
"bannerMetaAlign": "right",
|
|
10148
|
-
"navigationArrows": "visible",
|
|
10149
|
-
"dots": "hidden",
|
|
10150
|
-
"arrowsPlacement": "middle-inline"
|
|
10151
|
-
}
|
|
10152
|
-
};
|
|
10153
|
-
this.sliders = [
|
|
10154
|
-
{
|
|
10155
|
-
"active": true,
|
|
10156
|
-
"banners": {
|
|
10157
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10158
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10159
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10160
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10161
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10162
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
10163
|
-
},
|
|
10164
|
-
"redirectUrl": "",
|
|
10165
|
-
"queryParams": {},
|
|
10166
|
-
"title": ""
|
|
10167
|
-
},
|
|
10168
|
-
{
|
|
10169
|
-
"active": true,
|
|
10170
|
-
"banners": {
|
|
10171
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
10172
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
10173
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
10174
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
10175
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
10176
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png"
|
|
10177
|
-
},
|
|
10178
|
-
"redirectUrl": "",
|
|
10179
|
-
"queryParams": {},
|
|
10180
|
-
"title": ""
|
|
10181
|
-
},
|
|
10182
|
-
{
|
|
10183
|
-
"active": true,
|
|
10184
|
-
"banners": {
|
|
10185
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
10186
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
10187
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
10188
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
10189
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
10190
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png"
|
|
10191
|
-
},
|
|
10192
|
-
"redirectUrl": "",
|
|
10193
|
-
"queryParams": {},
|
|
10194
|
-
"title": ""
|
|
10195
|
-
},
|
|
10196
|
-
{
|
|
10197
|
-
"active": true,
|
|
10198
|
-
"banners": {
|
|
10199
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10200
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10201
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10202
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10203
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10204
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
10205
|
-
},
|
|
10206
|
-
"redirectUrl": "",
|
|
10207
|
-
"queryParams": {},
|
|
10208
|
-
"title": ""
|
|
10209
|
-
},
|
|
10210
|
-
{
|
|
10211
|
-
"active": true,
|
|
10212
|
-
"banners": {
|
|
10213
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10214
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10215
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10216
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10217
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10218
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
10219
|
-
},
|
|
10220
|
-
"redirectUrl": "",
|
|
10221
|
-
"queryParams": {},
|
|
10222
|
-
"title": ""
|
|
10223
|
-
}
|
|
10224
|
-
];
|
|
10225
|
-
this.contentCard = {
|
|
10226
|
-
"content": {
|
|
10227
|
-
"identifier": "do_113990515935854592111",
|
|
10228
|
-
"competencies_v5": [
|
|
10229
|
-
{
|
|
10230
|
-
"competencyArea": "Behavioural",
|
|
10231
|
-
"competencyAreaId": 1,
|
|
10232
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10233
|
-
"competencyTheme": "Collaboration",
|
|
10234
|
-
"competencyThemeId": 25,
|
|
10235
|
-
"competecnyThemeDescription": "Collaboration competency Theme",
|
|
10236
|
-
"competencyThemeType": "Core",
|
|
10237
|
-
"competencySubTheme": "Diversity & Inclusion",
|
|
10238
|
-
"competencySubThemeId": 27,
|
|
10239
|
-
"competecnySubThemeDescription": "Diversity & Inclusion Competency Sub-Theme"
|
|
10240
|
-
}
|
|
10241
|
-
],
|
|
10242
|
-
"description": "Invite only program",
|
|
10243
|
-
"organisation": [
|
|
10244
|
-
"Ministry of Finance"
|
|
10245
|
-
],
|
|
10246
|
-
"creatorLogo": null,
|
|
10247
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
10248
|
-
"duration": "2280",
|
|
10249
|
-
"additionalTags": null,
|
|
10250
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113990515935854592111/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
10251
|
-
"primaryCategory": "Program",
|
|
10252
|
-
"name": "Invite only program",
|
|
10253
|
-
"avgRating": null,
|
|
10254
|
-
"contentType": "Course"
|
|
10255
|
-
},
|
|
10256
|
-
"cardSubType": "card-wide-lib",
|
|
10257
|
-
"cardCustomeClass": "",
|
|
10258
|
-
"context": {
|
|
10259
|
-
"pageSection": "featuredContents",
|
|
10260
|
-
"position": 3
|
|
10261
|
-
},
|
|
10262
|
-
"review": "Credit",
|
|
10263
|
-
"rating": 5.0,
|
|
10264
|
-
"userDetails": {
|
|
10265
|
-
"firstName": "Agri usertwo",
|
|
10266
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
10267
|
-
"profileImageUrl": null
|
|
10268
|
-
}
|
|
10269
|
-
};
|
|
10270
|
-
this.widgetData = {
|
|
10271
|
-
cardSubType: ''
|
|
10272
|
-
};
|
|
10273
|
-
this.responseData = [
|
|
10274
|
-
{
|
|
10275
|
-
"review": "Credit",
|
|
10276
|
-
"rating": 5.0,
|
|
10277
|
-
"userDetails": {
|
|
10278
|
-
"firstName": "Agri usertwo",
|
|
10279
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
10280
|
-
"profileImageUrl": null
|
|
10281
|
-
},
|
|
10282
|
-
"content": {
|
|
10283
|
-
"identifier": "do_113990515935854592111",
|
|
10284
|
-
"competencies_v5": [
|
|
10285
|
-
{
|
|
10286
|
-
"competencyArea": "Behavioural",
|
|
10287
|
-
"competencyAreaId": 1,
|
|
10288
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10289
|
-
"competencyTheme": "Collaboration",
|
|
10290
|
-
"competencyThemeId": 25,
|
|
10291
|
-
"competecnyThemeDescription": "Collaboration competency Theme",
|
|
10292
|
-
"competencyThemeType": "Core",
|
|
10293
|
-
"competencySubTheme": "Diversity & Inclusion",
|
|
10294
|
-
"competencySubThemeId": 27,
|
|
10295
|
-
"competecnySubThemeDescription": "Diversity & Inclusion Competency Sub-Theme"
|
|
10296
|
-
}
|
|
10297
|
-
],
|
|
10298
|
-
"description": "Invite only program",
|
|
10299
|
-
"organisation": [
|
|
10300
|
-
"Ministry of Finance"
|
|
10301
|
-
],
|
|
10302
|
-
"creatorLogo": null,
|
|
10303
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
10304
|
-
"duration": "2280",
|
|
10305
|
-
"additionalTags": null,
|
|
10306
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113990515935854592111/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
10307
|
-
"primaryCategory": "Program",
|
|
10308
|
-
"name": "Invite only program",
|
|
10309
|
-
"avgRating": null,
|
|
10310
|
-
"contentType": "Course"
|
|
10311
|
-
},
|
|
10312
|
-
"cardSubType": "card-wide-lib",
|
|
10313
|
-
"cardCustomeClass": "",
|
|
10314
|
-
"context": {
|
|
10315
|
-
"pageSection": "featuredContents",
|
|
10316
|
-
"position": 3
|
|
10317
|
-
}
|
|
10318
|
-
},
|
|
10319
|
-
{
|
|
10320
|
-
"review": "Abc xyz1",
|
|
10321
|
-
"rating": 5.0,
|
|
10322
|
-
"userDetails": {
|
|
10323
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10324
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10325
|
-
"profileImageUrl": null
|
|
10326
|
-
},
|
|
10327
|
-
"cardSubType": "card-wide-lib",
|
|
10328
|
-
"cardCustomeClass": "",
|
|
10329
|
-
"context": {
|
|
10330
|
-
"pageSection": "featuredContents",
|
|
10331
|
-
"position": 3
|
|
10332
|
-
},
|
|
10333
|
-
"content": {
|
|
10334
|
-
"identifier": "do_113987549775609856182_rc",
|
|
10335
|
-
"competencies_v5": [
|
|
10336
|
-
{
|
|
10337
|
-
"competencyArea": "Domain",
|
|
10338
|
-
"competencyAreaId": 145,
|
|
10339
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10340
|
-
"competencyTheme": "Account Management",
|
|
10341
|
-
"competencyThemeId": 148,
|
|
10342
|
-
"competecnyThemeDescription": "Account Management competency Theme",
|
|
10343
|
-
"competencyThemeType": "Core",
|
|
10344
|
-
"competencySubTheme": "Account Management",
|
|
10345
|
-
"competencySubThemeId": 149,
|
|
10346
|
-
"competecnySubThemeDescription": "Account Management Competency Sub-Theme"
|
|
10347
|
-
}
|
|
10348
|
-
],
|
|
10349
|
-
"description": "Course Check for MDO Specific All Users 09 Feb",
|
|
10350
|
-
"organisation": [
|
|
10351
|
-
"Ministry of Finance"
|
|
10352
|
-
],
|
|
10353
|
-
"creatorLogo": null,
|
|
10354
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_11395704427130060819/artifact/do_11395704427130060819_1703740756028_capture71703740758098.png",
|
|
10355
|
-
"duration": "606",
|
|
10356
|
-
"additionalTags": null,
|
|
10357
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113987549775609856182_rc/artifact/do_11395704427130060819_1703740756028_capture71703740758098.thumb.png",
|
|
10358
|
-
"primaryCategory": "Course",
|
|
10359
|
-
"name": "Course Check for MDO Specific All Users 09 Feb",
|
|
10360
|
-
"avgRating": 5.0,
|
|
10361
|
-
"contentType": "Course"
|
|
10362
|
-
}
|
|
10363
|
-
},
|
|
10364
|
-
{
|
|
10365
|
-
"review": "Testing ratings - Lorem ipsum dolor sit amet consectetur adipisicing elit. Eos eum, assumenda quasi accusamus perferendis voluptas saepe, ducimus architecto animi iste numquam vitae minima sed explica",
|
|
10366
|
-
"rating": 5.0,
|
|
10367
|
-
"userDetails": {
|
|
10368
|
-
"firstName": "Agri usertwo",
|
|
10369
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
10370
|
-
"profileImageUrl": null
|
|
10371
|
-
},
|
|
10372
|
-
"cardSubType": "card-wide-lib",
|
|
10373
|
-
"cardCustomeClass": "",
|
|
10374
|
-
"context": {
|
|
10375
|
-
"pageSection": "featuredContents",
|
|
10376
|
-
"position": 3
|
|
10377
|
-
},
|
|
10378
|
-
"content": {
|
|
10379
|
-
"identifier": "do_114006606955921408144",
|
|
10380
|
-
"competencies_v5": [
|
|
10381
|
-
{
|
|
10382
|
-
"competencyArea": "Behavioural",
|
|
10383
|
-
"competencyAreaId": 1,
|
|
10384
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10385
|
-
"competencyTheme": "Collaborative Leadership",
|
|
10386
|
-
"competencyThemeId": 46,
|
|
10387
|
-
"competecnyThemeDescription": "Collaborative Leadership competency Theme",
|
|
10388
|
-
"competencyThemeType": "Leadership",
|
|
10389
|
-
"competencySubTheme": "Influencing and Negotiation",
|
|
10390
|
-
"competencySubThemeId": 47,
|
|
10391
|
-
"competecnySubThemeDescription": "Influencing and Negotiation Competency Sub-Theme"
|
|
10392
|
-
}
|
|
10393
|
-
],
|
|
10394
|
-
"description": "test Scrom",
|
|
10395
|
-
"organisation": [
|
|
10396
|
-
"Ministry of Finance"
|
|
10397
|
-
],
|
|
10398
|
-
"creatorLogo": null,
|
|
10399
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
10400
|
-
"duration": "180",
|
|
10401
|
-
"additionalTags": null,
|
|
10402
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_114006606955921408144/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
10403
|
-
"primaryCategory": "Course",
|
|
10404
|
-
"name": "Large PDF test Cases",
|
|
10405
|
-
"avgRating": 4.0,
|
|
10406
|
-
"contentType": "Course"
|
|
10407
|
-
}
|
|
10408
|
-
},
|
|
10409
|
-
{
|
|
10410
|
-
"review": "Good courseQA",
|
|
10411
|
-
"rating": 5.0,
|
|
10412
|
-
"userDetails": {
|
|
10413
|
-
"firstName": "Public User QA env",
|
|
10414
|
-
"userId": "0517056e-b57b-49ca-a44c-cdc3a251dd3e",
|
|
10415
|
-
"profileImageUrl": null
|
|
10416
|
-
},
|
|
10417
|
-
"cardSubType": "card-wide-lib",
|
|
10418
|
-
"cardCustomeClass": "",
|
|
10419
|
-
"context": {
|
|
10420
|
-
"pageSection": "featuredContents",
|
|
10421
|
-
"position": 3
|
|
10422
|
-
},
|
|
10423
|
-
"content": {
|
|
10424
|
-
"identifier": "do_113902049969004544112",
|
|
10425
|
-
"competencies_v5": [
|
|
10426
|
-
{
|
|
10427
|
-
"competencyArea": "Domain",
|
|
10428
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10429
|
-
"competencyAreaId": 145,
|
|
10430
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10431
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10432
|
-
"competencyThemeId": 186,
|
|
10433
|
-
"competencyThemeType": "Core",
|
|
10434
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10435
|
-
"competencySubThemeId": 187,
|
|
10436
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10437
|
-
},
|
|
10438
|
-
{
|
|
10439
|
-
"competencyArea": "Domain",
|
|
10440
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10441
|
-
"competencyAreaId": 145,
|
|
10442
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10443
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10444
|
-
"competencyThemeId": 184,
|
|
10445
|
-
"competencyThemeType": "Core",
|
|
10446
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10447
|
-
"competencySubThemeId": 185,
|
|
10448
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10449
|
-
}
|
|
10450
|
-
],
|
|
10451
|
-
"description": "QATestCourse2",
|
|
10452
|
-
"organisation": [
|
|
10453
|
-
"Ministry of Finance"
|
|
10454
|
-
],
|
|
10455
|
-
"creatorLogo": null,
|
|
10456
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10457
|
-
"duration": "540",
|
|
10458
|
-
"additionalTags": null,
|
|
10459
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10460
|
-
"primaryCategory": "Course",
|
|
10461
|
-
"name": "QATestCourse2",
|
|
10462
|
-
"avgRating": 5.0,
|
|
10463
|
-
"contentType": "Course"
|
|
10464
|
-
}
|
|
10465
|
-
},
|
|
10466
|
-
{
|
|
10467
|
-
"review": "ok",
|
|
10468
|
-
"rating": 5.0,
|
|
10469
|
-
"userDetails": {
|
|
10470
|
-
"firstName": "qatestcreator",
|
|
10471
|
-
"userId": "54548483-0708-417c-ac9f-9b2260e13962",
|
|
10472
|
-
"profileImageUrl": null
|
|
10473
|
-
},
|
|
10474
|
-
"cardSubType": "card-wide-lib",
|
|
10475
|
-
"cardCustomeClass": "",
|
|
10476
|
-
"context": {
|
|
10477
|
-
"pageSection": "featuredContents",
|
|
10478
|
-
"position": 3
|
|
10479
|
-
},
|
|
10480
|
-
"content": {
|
|
10481
|
-
"identifier": "do_113902049969004544112",
|
|
10482
|
-
"competencies_v5": [
|
|
10483
|
-
{
|
|
10484
|
-
"competencyArea": "Domain",
|
|
10485
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10486
|
-
"competencyAreaId": 145,
|
|
10487
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10488
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10489
|
-
"competencyThemeId": 186,
|
|
10490
|
-
"competencyThemeType": "Core",
|
|
10491
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10492
|
-
"competencySubThemeId": 187,
|
|
10493
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10494
|
-
},
|
|
10495
|
-
{
|
|
10496
|
-
"competencyArea": "Domain",
|
|
10497
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10498
|
-
"competencyAreaId": 145,
|
|
10499
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10500
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10501
|
-
"competencyThemeId": 184,
|
|
10502
|
-
"competencyThemeType": "Core",
|
|
10503
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10504
|
-
"competencySubThemeId": 185,
|
|
10505
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10506
|
-
}
|
|
10507
|
-
],
|
|
10508
|
-
"description": "QATestCourse2",
|
|
10509
|
-
"organisation": [
|
|
10510
|
-
"Ministry of Finance"
|
|
10511
|
-
],
|
|
10512
|
-
"creatorLogo": null,
|
|
10513
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10514
|
-
"duration": "540",
|
|
10515
|
-
"additionalTags": null,
|
|
10516
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10517
|
-
"primaryCategory": "Course",
|
|
10518
|
-
"name": "QATestCourse2",
|
|
10519
|
-
"avgRating": 5.0,
|
|
10520
|
-
"contentType": "Course"
|
|
10521
|
-
}
|
|
10522
|
-
},
|
|
10523
|
-
{
|
|
10524
|
-
"review": "nic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic one",
|
|
10525
|
-
"rating": 5.0,
|
|
10526
|
-
"userDetails": {
|
|
10527
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10528
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10529
|
-
"profileImageUrl": null
|
|
10530
|
-
},
|
|
10531
|
-
"cardSubType": "card-wide-lib",
|
|
10532
|
-
"cardCustomeClass": "",
|
|
10533
|
-
"context": {
|
|
10534
|
-
"pageSection": "featuredContents",
|
|
10535
|
-
"position": 3
|
|
10536
|
-
},
|
|
10537
|
-
"content": {
|
|
10538
|
-
"identifier": "do_113902049969004544112",
|
|
10539
|
-
"competencies_v5": [
|
|
10540
|
-
{
|
|
10541
|
-
"competencyArea": "Domain",
|
|
10542
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10543
|
-
"competencyAreaId": 145,
|
|
10544
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10545
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10546
|
-
"competencyThemeId": 186,
|
|
10547
|
-
"competencyThemeType": "Core",
|
|
10548
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10549
|
-
"competencySubThemeId": 187,
|
|
10550
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10551
|
-
},
|
|
10552
|
-
{
|
|
10553
|
-
"competencyArea": "Domain",
|
|
10554
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10555
|
-
"competencyAreaId": 145,
|
|
10556
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10557
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10558
|
-
"competencyThemeId": 184,
|
|
10559
|
-
"competencyThemeType": "Core",
|
|
10560
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10561
|
-
"competencySubThemeId": 185,
|
|
10562
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10563
|
-
}
|
|
10564
|
-
],
|
|
10565
|
-
"description": "QATestCourse2",
|
|
10566
|
-
"organisation": [
|
|
10567
|
-
"Ministry of Finance"
|
|
10568
|
-
],
|
|
10569
|
-
"creatorLogo": null,
|
|
10570
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10571
|
-
"duration": "540",
|
|
10572
|
-
"additionalTags": null,
|
|
10573
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10574
|
-
"primaryCategory": "Course",
|
|
10575
|
-
"name": "QATestCourse2",
|
|
10576
|
-
"avgRating": 5.0,
|
|
10577
|
-
"contentType": "Course"
|
|
10578
|
-
}
|
|
10579
|
-
},
|
|
10580
|
-
{
|
|
10581
|
-
"review": "Checking Ratings and alignment under Overview",
|
|
10582
|
-
"rating": 5.0,
|
|
10583
|
-
"userDetails": {
|
|
10584
|
-
"firstName": "Get Started User Five",
|
|
10585
|
-
"userId": "e6a9d4b6-b30a-405f-9bcb-166038600218",
|
|
10586
|
-
"profileImageUrl": null
|
|
10587
|
-
},
|
|
10588
|
-
"cardSubType": "card-wide-lib",
|
|
10589
|
-
"cardCustomeClass": "",
|
|
10590
|
-
"context": {
|
|
10591
|
-
"pageSection": "featuredContents",
|
|
10592
|
-
"position": 3
|
|
10593
|
-
},
|
|
10594
|
-
"content": {
|
|
10595
|
-
"identifier": "do_113902049969004544112",
|
|
10596
|
-
"competencies_v5": [
|
|
10597
|
-
{
|
|
10598
|
-
"competencyArea": "Domain",
|
|
10599
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10600
|
-
"competencyAreaId": 145,
|
|
10601
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10602
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10603
|
-
"competencyThemeId": 186,
|
|
10604
|
-
"competencyThemeType": "Core",
|
|
10605
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10606
|
-
"competencySubThemeId": 187,
|
|
10607
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10608
|
-
},
|
|
10609
|
-
{
|
|
10610
|
-
"competencyArea": "Domain",
|
|
10611
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10612
|
-
"competencyAreaId": 145,
|
|
10613
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10614
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10615
|
-
"competencyThemeId": 184,
|
|
10616
|
-
"competencyThemeType": "Core",
|
|
10617
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10618
|
-
"competencySubThemeId": 185,
|
|
10619
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10620
|
-
}
|
|
10621
|
-
],
|
|
10622
|
-
"description": "QATestCourse2",
|
|
10623
|
-
"organisation": [
|
|
10624
|
-
"Ministry of Finance"
|
|
10625
|
-
],
|
|
10626
|
-
"creatorLogo": null,
|
|
10627
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10628
|
-
"duration": "540",
|
|
10629
|
-
"additionalTags": null,
|
|
10630
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10631
|
-
"primaryCategory": "Course",
|
|
10632
|
-
"name": "QATestCourse2",
|
|
10633
|
-
"avgRating": 5.0,
|
|
10634
|
-
"contentType": "Course"
|
|
10635
|
-
}
|
|
10636
|
-
},
|
|
10637
|
-
{
|
|
10638
|
-
"review": "Testing rating 123",
|
|
10639
|
-
"rating": 5.0,
|
|
10640
|
-
"userDetails": {
|
|
10641
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10642
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10643
|
-
"profileImageUrl": null
|
|
10644
|
-
},
|
|
10645
|
-
"cardSubType": "card-wide-lib",
|
|
10646
|
-
"cardCustomeClass": "",
|
|
10647
|
-
"context": {
|
|
10648
|
-
"pageSection": "featuredContents",
|
|
10649
|
-
"position": 3
|
|
10650
|
-
},
|
|
10651
|
-
"content": {
|
|
10652
|
-
"identifier": "do_1139400923254046721119",
|
|
10653
|
-
"competencies_v5": [
|
|
10654
|
-
{
|
|
10655
|
-
"competencyArea": "Functional",
|
|
10656
|
-
"competencyAreaDescription": "Functional Competency Area",
|
|
10657
|
-
"competencyAreaId": 56,
|
|
10658
|
-
"competencyTheme": "Administration Matters",
|
|
10659
|
-
"competencyThemeDescription": "Administration Matters competency Theme",
|
|
10660
|
-
"competencyThemeId": 140,
|
|
10661
|
-
"competencyThemeType": "Core",
|
|
10662
|
-
"competencySubTheme": "Handling Miscellaneous Matters (Car, Residence, Personal Staff etc.)",
|
|
10663
|
-
"competencySubThemeId": 143,
|
|
10664
|
-
"competencySubThemeDescription": "Handling Miscellaneous Matters (Car, Residence, Personal Staff etc.) Competency Sub-Theme"
|
|
10665
|
-
}
|
|
10666
|
-
],
|
|
10667
|
-
"description": "Youtube Links",
|
|
10668
|
-
"organisation": [
|
|
10669
|
-
"Ministry of Finance"
|
|
10670
|
-
],
|
|
10671
|
-
"creatorLogo": null,
|
|
10672
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139400694644490241113/artifact/do_1139400694644490241113_1701668637063_effective-communication.png",
|
|
10673
|
-
"duration": "420",
|
|
10674
|
-
"additionalTags": null,
|
|
10675
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_1139400923254046721119/artifact/do_1139400694644490241113_1701668637063_effective-communication.thumb.png",
|
|
10676
|
-
"primaryCategory": "Course",
|
|
10677
|
-
"name": "Course New 04 Dec",
|
|
10678
|
-
"avgRating": 5.0,
|
|
10679
|
-
"contentType": "Course"
|
|
10680
|
-
}
|
|
10681
|
-
},
|
|
10682
|
-
{
|
|
10683
|
-
"review": "nice1",
|
|
10684
|
-
"rating": 5.0,
|
|
10685
|
-
"userDetails": {
|
|
10686
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10687
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10688
|
-
"profileImageUrl": null
|
|
10689
|
-
},
|
|
10690
|
-
"cardSubType": "card-wide-lib",
|
|
10691
|
-
"cardCustomeClass": "",
|
|
10692
|
-
"context": {
|
|
10693
|
-
"pageSection": "featuredContents",
|
|
10694
|
-
"position": 3
|
|
10695
|
-
},
|
|
10696
|
-
"content": {
|
|
10697
|
-
"identifier": "do_1139967854457651201519_rc",
|
|
10698
|
-
"competencies_v5": [
|
|
10699
|
-
{
|
|
10700
|
-
"competencyArea": "Behavioural",
|
|
10701
|
-
"competencyAreaId": 1,
|
|
10702
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10703
|
-
"competencyTheme": "Personal Effectiveness",
|
|
10704
|
-
"competencyThemeId": 7,
|
|
10705
|
-
"competecnyThemeDescription": "Personal Effectiveness competency Theme",
|
|
10706
|
-
"competencyThemeType": "Core",
|
|
10707
|
-
"competencySubTheme": "Resilience",
|
|
10708
|
-
"competencySubThemeId": 9,
|
|
10709
|
-
"competecnySubThemeDescription": "Resilience Competency Sub-Theme"
|
|
10710
|
-
}
|
|
10711
|
-
],
|
|
10712
|
-
"description": "Sub:- Vikas- New Program '22/02/24' ",
|
|
10713
|
-
"organisation": [
|
|
10714
|
-
"Ministry of Finance"
|
|
10715
|
-
],
|
|
10716
|
-
"creatorLogo": null,
|
|
10717
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139946848192430081395/artifact/do_1139946848192430081395_1708335549501_digitalindiaandegovernance1708335549950.jpg",
|
|
10718
|
-
"duration": "12761",
|
|
10719
|
-
"additionalTags": null,
|
|
10720
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_1139967854457651201519_rc/artifact/do_1139946848192430081395_1708335549501_digitalindiaandegovernance1708335549950.thumb.jpg",
|
|
10721
|
-
"primaryCategory": "Program",
|
|
10722
|
-
"name": "Vikas- New Program '22/02/24'",
|
|
10723
|
-
"avgRating": 2.0,
|
|
10724
|
-
"contentType": "Course"
|
|
10725
|
-
}
|
|
10726
|
-
},
|
|
10727
|
-
{
|
|
10728
|
-
"review": "bv",
|
|
10729
|
-
"rating": 5.0,
|
|
10730
|
-
"userDetails": {
|
|
10731
|
-
"firstName": "qa dstuserone",
|
|
10732
|
-
"userId": "31c81730-bf33-437a-a53e-0bd8ac2fc3d6",
|
|
10733
|
-
"profileImageUrl": null
|
|
10734
|
-
},
|
|
10735
|
-
"cardSubType": "card-wide-lib",
|
|
10736
|
-
"cardCustomeClass": "",
|
|
10737
|
-
"context": {
|
|
10738
|
-
"pageSection": "featuredContents",
|
|
10739
|
-
"position": 3
|
|
10740
|
-
},
|
|
10741
|
-
"content": {
|
|
10742
|
-
"identifier": "do_113965740548784128178",
|
|
10743
|
-
"competencies_v5": [
|
|
10744
|
-
{
|
|
10745
|
-
"competencyArea": "Functional",
|
|
10746
|
-
"competencyAreaId": 56,
|
|
10747
|
-
"competencyAreaDescription": "Functional Competency Area",
|
|
10748
|
-
"competencyTheme": "Establishment & HR",
|
|
10749
|
-
"competencyThemeId": 101,
|
|
10750
|
-
"competecnyThemeDescription": "Establishment & HR competency Theme",
|
|
10751
|
-
"competencyThemeType": "Core",
|
|
10752
|
-
"competencySubTheme": "Handling Fundamental Rules /Supplementary Rules",
|
|
10753
|
-
"competencySubThemeId": 104,
|
|
10754
|
-
"competecnySubThemeDescription": "Handling Fundamental Rules /Supplementary Rules Competency Sub-Theme"
|
|
10755
|
-
}
|
|
10756
|
-
],
|
|
10757
|
-
"description": "Course with more subthemes",
|
|
10758
|
-
"organisation": [
|
|
10759
|
-
"Ministry of Finance"
|
|
10760
|
-
],
|
|
10761
|
-
"creatorLogo": null,
|
|
10762
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113921119628378112168/artifact/do_113921119628378112168_1699355423624_capture121699355424283.png",
|
|
10763
|
-
"duration": "540",
|
|
10764
|
-
"additionalTags": [
|
|
10765
|
-
"mostEnrolled"
|
|
10766
|
-
],
|
|
10767
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113965740548784128178/artifact/do_113921119628378112168_1699355423624_capture121699355424283.thumb.png",
|
|
10768
|
-
"primaryCategory": "Course",
|
|
10769
|
-
"name": "Course with more subthemes",
|
|
10770
|
-
"avgRating": 5.0,
|
|
10771
|
-
"contentType": "Course"
|
|
10772
|
-
}
|
|
10773
|
-
}
|
|
10774
|
-
];
|
|
10299
|
+
this.providerId = '';
|
|
10300
|
+
this.formData = '';
|
|
10301
|
+
this.emptyResponse = new core.EventEmitter();
|
|
10302
|
+
this.styleData = {};
|
|
10303
|
+
this.contentdata = [];
|
|
10775
10304
|
}
|
|
10776
10305
|
/**
|
|
10777
10306
|
* @return {?}
|
|
10778
10307
|
*/
|
|
10779
|
-
|
|
10308
|
+
UserContentRatingLibComponent.prototype.ngOnInit = /**
|
|
10780
10309
|
* @return {?}
|
|
10781
10310
|
*/
|
|
10782
10311
|
function () {
|
|
10312
|
+
this.styleData = this.formData && this.formData.sliderData && this.formData.sliderData.styleData;
|
|
10313
|
+
this.getTopReviews();
|
|
10314
|
+
};
|
|
10315
|
+
/**
|
|
10316
|
+
* @return {?}
|
|
10317
|
+
*/
|
|
10318
|
+
UserContentRatingLibComponent.prototype.getTopReviews = /**
|
|
10319
|
+
* @return {?}
|
|
10320
|
+
*/
|
|
10321
|
+
function () {
|
|
10322
|
+
var _this = this;
|
|
10323
|
+
this.contentdata = [];
|
|
10324
|
+
this.userRatingSvc.fetchTopReviews(this.providerId).subscribe((/**
|
|
10325
|
+
* @param {?} response
|
|
10326
|
+
* @return {?}
|
|
10327
|
+
*/
|
|
10328
|
+
function (response) {
|
|
10329
|
+
if (response && response.result && response.result.content.length) {
|
|
10330
|
+
response.result.content.forEach((/**
|
|
10331
|
+
* @param {?} contentEle
|
|
10332
|
+
* @return {?}
|
|
10333
|
+
*/
|
|
10334
|
+
function (contentEle) {
|
|
10335
|
+
/** @type {?} */
|
|
10336
|
+
var localData = {};
|
|
10337
|
+
localData['content'] = contentEle.contentInfo;
|
|
10338
|
+
localData['rating'] = contentEle.rating;
|
|
10339
|
+
localData['review'] = contentEle.review;
|
|
10340
|
+
localData['userDetails'] = contentEle.userDetails;
|
|
10341
|
+
localData['cardSubType'] = "card-wide-lib";
|
|
10342
|
+
localData['cardCustomeClass'] = "";
|
|
10343
|
+
_this.contentdata.push(localData);
|
|
10344
|
+
}));
|
|
10345
|
+
}
|
|
10346
|
+
else {
|
|
10347
|
+
_this.emptyResponse.emit(true);
|
|
10348
|
+
}
|
|
10349
|
+
}));
|
|
10783
10350
|
};
|
|
10784
10351
|
/**
|
|
10785
10352
|
* @param {?} ratingIndex
|
|
10786
10353
|
* @param {?} avg
|
|
10787
10354
|
* @return {?}
|
|
10788
10355
|
*/
|
|
10789
|
-
|
|
10356
|
+
UserContentRatingLibComponent.prototype.getRatingIcon = /**
|
|
10790
10357
|
* @param {?} ratingIndex
|
|
10791
10358
|
* @param {?} avg
|
|
10792
10359
|
* @return {?}
|
|
@@ -10799,7 +10366,7 @@
|
|
|
10799
10366
|
* @param {?} avg
|
|
10800
10367
|
* @return {?}
|
|
10801
10368
|
*/
|
|
10802
|
-
|
|
10369
|
+
UserContentRatingLibComponent.prototype.getRatingIconClass = /**
|
|
10803
10370
|
* @param {?} ratingIndex
|
|
10804
10371
|
* @param {?} avg
|
|
10805
10372
|
* @return {?}
|
|
@@ -10811,41 +10378,70 @@
|
|
|
10811
10378
|
* @param {?} indexValue
|
|
10812
10379
|
* @return {?}
|
|
10813
10380
|
*/
|
|
10814
|
-
|
|
10381
|
+
UserContentRatingLibComponent.prototype.getCurrentIndex = /**
|
|
10815
10382
|
* @param {?} indexValue
|
|
10816
10383
|
* @return {?}
|
|
10817
10384
|
*/
|
|
10818
10385
|
function (indexValue) {
|
|
10819
10386
|
this.currentIndex = indexValue;
|
|
10387
|
+
this.handleScrollClick(indexValue);
|
|
10820
10388
|
};
|
|
10821
|
-
|
|
10389
|
+
/**
|
|
10390
|
+
* @param {?} dataValue
|
|
10391
|
+
* @return {?}
|
|
10392
|
+
*/
|
|
10393
|
+
UserContentRatingLibComponent.prototype.handleScrollClick = /**
|
|
10394
|
+
* @param {?} dataValue
|
|
10395
|
+
* @return {?}
|
|
10396
|
+
*/
|
|
10397
|
+
function (dataValue) {
|
|
10398
|
+
/** @type {?} */
|
|
10399
|
+
var item = this.scrollableItems.find((/**
|
|
10400
|
+
* @param {?} x
|
|
10401
|
+
* @return {?}
|
|
10402
|
+
*/
|
|
10403
|
+
function (x) { return x.key === dataValue; }));
|
|
10404
|
+
item.scrollIntoView("nearest");
|
|
10405
|
+
};
|
|
10406
|
+
UserContentRatingLibComponent.decorators = [
|
|
10822
10407
|
{ type: core.Component, args: [{
|
|
10823
10408
|
selector: 'sb-uic-user-content-rating',
|
|
10824
|
-
template: "
|
|
10825
|
-
styles: [".user-ratting-wrapper .userName{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:center}.user-ratting-wrapper .content-feedback{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:center;color:rgba(0,0,0,.87)}.avatar-block
|
|
10409
|
+
template: "<ng-container *ngIf=\"contentdata.length\">\n <sb-uic-sliders-ng-content [title]=\"'providerName'\" [currentIndex]=\"currentIndex\" (currentIndexValue)=\"getCurrentIndex($event)\" [loadNgContentData]=\"true\" [widgetData]=\"contentdata\" [styleData]=\"styleData\">\n <div sliderbody>\n <div class=\"flex justify-start md:justify-center users-block mb-4 \">\n <ng-container *ngFor=\"let userData of contentdata; let j = index\">\n <div class=\"avatar-block mr-1\" [sbUicScrollableItem]=\"j\"\n [ngClass]=\"{'user-active': j === currentIndex}\" (click)=\"handleScrollClick(currentIndex);currentIndex = j\">\n <sb-uic-avatar-photo [defaulfColor]=\"'#1B2133'\" [datalen]=\"1\" [randomColor]=\"true\" [name]=\"userData?.userDetails?.firstName\" [photoUrl]=\"userData?.userDetails?.profileImageUrl\" size=\"m-side-rating\">\n </sb-uic-avatar-photo>\n </div>\n </ng-container>\n </div>\n <div *ngFor=\"let ratingData of contentdata; let i = index\" [hidden]=\"i !== currentIndex\">\n <div class=\"user-ratting-wrapper flex flex-wrap justify-center\">\n <p class=\"userName w-full mb-4\">{{ratingData?.userDetails?.firstName}}</p>\n \n <div class=\"flex w-full flex-row justify-center gap-2 mb-4\">\n <mat-icon class=\"mat-icon material-icons rating-icon ws-mat-black16-text\"\n [ngClass]=\"{'ws-mat-orange-text': getRatingIconClass(rating, ratingData?.rating)}\"\n *ngFor=\"let rating of [1, 2, 3, 4, 5]\">\n {{ getRatingIcon(rating, ratingData?.rating) }}\n </mat-icon>\n </div>\n <p class=\"content-feedback w-full mb-4 pl-0 pr-0 md:pl-12 md:pr-12 \">{{ratingData?.review}}</p>\n \n <hr class=\"divider mb-4\">\n <p class=\"content-info w-full mb-4\">For The Content</p>\n <div class=\"w-full mr-0 md:mr-8 ml-0 md:ml-8\">\n <sb-uic-cards [widgetData]=\"ratingData\"></sb-uic-cards>\n </div>\n </div>\n </div>\n </div>\n </sb-uic-sliders-ng-content>\n</ng-container>\n\n",
|
|
10410
|
+
styles: [".user-ratting-wrapper .userName{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:center}.user-ratting-wrapper .content-feedback{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:center;color:rgba(0,0,0,.87)}.user-ratting-wrapper .content-info{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;color:#666}.avatar-block{border:8px solid transparent;position:relative;cursor:pointer;width:48px;height:48px}.user-active{content:\"\";border:5px solid #f3972e;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-bottom:0;width:48px;height:48px}.user-active::after{content:\" \";position:absolute;top:106%;left:50%;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top:18px solid #f3972e}.users-block{overflow-x:auto;padding:16px;padding-bottom:24px!important;width:100%}hr.divider{border:1px solid #f3972e;width:185px}"]
|
|
10826
10411
|
}] }
|
|
10827
10412
|
];
|
|
10828
10413
|
/** @nocollapse */
|
|
10829
|
-
|
|
10830
|
-
{ type: RatingService }
|
|
10414
|
+
UserContentRatingLibComponent.ctorParameters = function () { return [
|
|
10415
|
+
{ type: RatingService },
|
|
10416
|
+
{ type: UserContentRatingLibService }
|
|
10831
10417
|
]; };
|
|
10832
|
-
|
|
10418
|
+
UserContentRatingLibComponent.propDecorators = {
|
|
10419
|
+
providerId: [{ type: core.Input }],
|
|
10420
|
+
formData: [{ type: core.Input }],
|
|
10421
|
+
emptyResponse: [{ type: core.Output }],
|
|
10422
|
+
scrollableItems: [{ type: core.ViewChildren, args: [ScrollableItemDirective,] }]
|
|
10423
|
+
};
|
|
10424
|
+
return UserContentRatingLibComponent;
|
|
10833
10425
|
}());
|
|
10834
10426
|
if (false) {
|
|
10835
10427
|
/** @type {?} */
|
|
10836
|
-
|
|
10428
|
+
UserContentRatingLibComponent.prototype.currentIndex;
|
|
10429
|
+
/** @type {?} */
|
|
10430
|
+
UserContentRatingLibComponent.prototype.providerId;
|
|
10837
10431
|
/** @type {?} */
|
|
10838
|
-
|
|
10432
|
+
UserContentRatingLibComponent.prototype.formData;
|
|
10839
10433
|
/** @type {?} */
|
|
10840
|
-
|
|
10434
|
+
UserContentRatingLibComponent.prototype.emptyResponse;
|
|
10841
10435
|
/** @type {?} */
|
|
10842
|
-
|
|
10436
|
+
UserContentRatingLibComponent.prototype.styleData;
|
|
10843
10437
|
/** @type {?} */
|
|
10844
|
-
|
|
10438
|
+
UserContentRatingLibComponent.prototype.contentdata;
|
|
10845
10439
|
/** @type {?} */
|
|
10846
|
-
|
|
10440
|
+
UserContentRatingLibComponent.prototype.scrollableItems;
|
|
10847
10441
|
/** @type {?} */
|
|
10848
|
-
|
|
10442
|
+
UserContentRatingLibComponent.prototype.ratingService;
|
|
10443
|
+
/** @type {?} */
|
|
10444
|
+
UserContentRatingLibComponent.prototype.userRatingSvc;
|
|
10849
10445
|
}
|
|
10850
10446
|
|
|
10851
10447
|
/**
|
|
@@ -10855,6 +10451,7 @@
|
|
|
10855
10451
|
var AvatarPhotoLibComponent = /** @class */ (function () {
|
|
10856
10452
|
function AvatarPhotoLibComponent() {
|
|
10857
10453
|
this.size = '';
|
|
10454
|
+
this.defaulfColor = '';
|
|
10858
10455
|
this.randomColor = false;
|
|
10859
10456
|
this.showBadge = false;
|
|
10860
10457
|
this.showInitials = false;
|
|
@@ -10890,9 +10487,16 @@
|
|
|
10890
10487
|
this.createInititals();
|
|
10891
10488
|
}
|
|
10892
10489
|
if (this.datalen === 1) {
|
|
10893
|
-
this.
|
|
10894
|
-
|
|
10895
|
-
|
|
10490
|
+
if (this.defaulfColor) {
|
|
10491
|
+
this.randomcolors = [
|
|
10492
|
+
this.defaulfColor
|
|
10493
|
+
];
|
|
10494
|
+
}
|
|
10495
|
+
else {
|
|
10496
|
+
this.randomcolors = [
|
|
10497
|
+
'#006400',
|
|
10498
|
+
];
|
|
10499
|
+
}
|
|
10896
10500
|
}
|
|
10897
10501
|
/** @type {?} */
|
|
10898
10502
|
var randomIndex = Math.floor(Math.random() * Math.floor(this.colors.length));
|
|
@@ -10971,6 +10575,7 @@
|
|
|
10971
10575
|
photoUrl: [{ type: core.Input }],
|
|
10972
10576
|
name: [{ type: core.Input }],
|
|
10973
10577
|
size: [{ type: core.Input }],
|
|
10578
|
+
defaulfColor: [{ type: core.Input }],
|
|
10974
10579
|
randomColor: [{ type: core.Input }],
|
|
10975
10580
|
initials: [{ type: core.Input }],
|
|
10976
10581
|
showBadge: [{ type: core.Input }]
|
|
@@ -10987,6 +10592,8 @@
|
|
|
10987
10592
|
/** @type {?} */
|
|
10988
10593
|
AvatarPhotoLibComponent.prototype.size;
|
|
10989
10594
|
/** @type {?} */
|
|
10595
|
+
AvatarPhotoLibComponent.prototype.defaulfColor;
|
|
10596
|
+
/** @type {?} */
|
|
10990
10597
|
AvatarPhotoLibComponent.prototype.randomColor;
|
|
10991
10598
|
/** @type {?} */
|
|
10992
10599
|
AvatarPhotoLibComponent.prototype.initials;
|
|
@@ -11048,6 +10655,7 @@
|
|
|
11048
10655
|
_this.valueSvc = valueSvc;
|
|
11049
10656
|
_this.title = '';
|
|
11050
10657
|
_this.loadNgContentData = false;
|
|
10658
|
+
_this.autoScroll = false;
|
|
11051
10659
|
_this.currentIndexValue = new core.EventEmitter();
|
|
11052
10660
|
_this.id = "banner_" + Math.random();
|
|
11053
10661
|
_this.defaultMenuSubscribe = null;
|
|
@@ -11065,7 +10673,9 @@
|
|
|
11065
10673
|
*/
|
|
11066
10674
|
function () {
|
|
11067
10675
|
var _this = this;
|
|
11068
|
-
this.
|
|
10676
|
+
if (this.autoScroll) {
|
|
10677
|
+
this.reInitiateSlideInterval();
|
|
10678
|
+
}
|
|
11069
10679
|
this.defaultMenuSubscribe = this.isLtMedium$.subscribe((/**
|
|
11070
10680
|
* @param {?} isLtMedium
|
|
11071
10681
|
* @return {?}
|
|
@@ -11128,7 +10738,9 @@
|
|
|
11128
10738
|
this.currentIndex = this.widgetData.length + index;
|
|
11129
10739
|
this.currentIndexValue.emit(this.currentIndex);
|
|
11130
10740
|
}
|
|
11131
|
-
this.
|
|
10741
|
+
if (this.autoScroll) {
|
|
10742
|
+
this.reInitiateSlideInterval();
|
|
10743
|
+
}
|
|
11132
10744
|
};
|
|
11133
10745
|
Object.defineProperty(SlidersNgContentLibComponent.prototype, "isOpenInNewTab", {
|
|
11134
10746
|
get: /**
|
|
@@ -11197,8 +10809,8 @@
|
|
|
11197
10809
|
SlidersNgContentLibComponent.decorators = [
|
|
11198
10810
|
{ type: core.Component, args: [{
|
|
11199
10811
|
selector: 'sb-uic-sliders-ng-content',
|
|
11200
|
-
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 <ng-container *ngIf=\"!loadNgContentData\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-overlay\"\n [ngClass]=\"{'cursor-auto': !widgetData[currentIndex].redirectUrl}\">\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 </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\" 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 </ng-container>\n </ng-container>\n <ng-container *ngIf=\"loadNgContentData\">\n <!-- <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\"> -->\n <ng-content select=\"[sliderbody]\"></ng-content>\n <!-- </div> -->\n \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\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",
|
|
11201
|
-
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}}"]
|
|
10812
|
+
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 <ng-container *ngIf=\"!loadNgContentData\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-overlay\"\n [ngClass]=\"{'cursor-auto': !widgetData[currentIndex].redirectUrl}\">\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 </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\" 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 </ng-container>\n </ng-container>\n <ng-container *ngIf=\"loadNgContentData\">\n <!-- <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\"> -->\n <ng-content select=\"[sliderbody]\"></ng-content>\n <!-- </div> -->\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\" 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 <ng-content select=\"[sliderMeta]\"></ng-content>\n </div>\n </div>\n </ng-container>\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\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",
|
|
10813
|
+
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.top-center{left:0;bottom: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}}"]
|
|
11202
10814
|
}] }
|
|
11203
10815
|
];
|
|
11204
10816
|
/** @nocollapse */
|
|
@@ -11211,8 +10823,10 @@
|
|
|
11211
10823
|
styleData: [{ type: core.Input }],
|
|
11212
10824
|
title: [{ type: core.Input }],
|
|
11213
10825
|
loadNgContentData: [{ type: core.Input }],
|
|
10826
|
+
autoScroll: [{ type: core.Input }],
|
|
11214
10827
|
currentIndexValue: [{ type: core.Output }],
|
|
11215
|
-
id: [{ type: core.HostBinding, args: ['id',] }]
|
|
10828
|
+
id: [{ type: core.HostBinding, args: ['id',] }],
|
|
10829
|
+
currentIndex: [{ type: core.Input }]
|
|
11216
10830
|
};
|
|
11217
10831
|
return SlidersNgContentLibComponent;
|
|
11218
10832
|
}(resolverV2.WidgetBaseComponent));
|
|
@@ -11226,6 +10840,8 @@
|
|
|
11226
10840
|
/** @type {?} */
|
|
11227
10841
|
SlidersNgContentLibComponent.prototype.loadNgContentData;
|
|
11228
10842
|
/** @type {?} */
|
|
10843
|
+
SlidersNgContentLibComponent.prototype.autoScroll;
|
|
10844
|
+
/** @type {?} */
|
|
11229
10845
|
SlidersNgContentLibComponent.prototype.currentIndexValue;
|
|
11230
10846
|
/** @type {?} */
|
|
11231
10847
|
SlidersNgContentLibComponent.prototype.id;
|
|
@@ -11312,12 +10928,31 @@
|
|
|
11312
10928
|
* @fileoverview added by tsickle
|
|
11313
10929
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
11314
10930
|
*/
|
|
11315
|
-
var
|
|
11316
|
-
function
|
|
10931
|
+
var ScrollableItemModule = /** @class */ (function () {
|
|
10932
|
+
function ScrollableItemModule() {
|
|
10933
|
+
}
|
|
10934
|
+
ScrollableItemModule.decorators = [
|
|
10935
|
+
{ type: core.NgModule, args: [{
|
|
10936
|
+
declarations: [ScrollableItemDirective],
|
|
10937
|
+
imports: [
|
|
10938
|
+
common.CommonModule,
|
|
10939
|
+
],
|
|
10940
|
+
exports: [ScrollableItemDirective],
|
|
10941
|
+
},] }
|
|
10942
|
+
];
|
|
10943
|
+
return ScrollableItemModule;
|
|
10944
|
+
}());
|
|
10945
|
+
|
|
10946
|
+
/**
|
|
10947
|
+
* @fileoverview added by tsickle
|
|
10948
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10949
|
+
*/
|
|
10950
|
+
var UserContentRatingLibModule = /** @class */ (function () {
|
|
10951
|
+
function UserContentRatingLibModule() {
|
|
11317
10952
|
}
|
|
11318
|
-
|
|
10953
|
+
UserContentRatingLibModule.decorators = [
|
|
11319
10954
|
{ type: core.NgModule, args: [{
|
|
11320
|
-
declarations: [
|
|
10955
|
+
declarations: [UserContentRatingLibComponent],
|
|
11321
10956
|
imports: [
|
|
11322
10957
|
common.CommonModule,
|
|
11323
10958
|
material.MatIconModule,
|
|
@@ -11326,16 +10961,18 @@
|
|
|
11326
10961
|
SlidersLibModule,
|
|
11327
10962
|
CardsModule,
|
|
11328
10963
|
AvatarPhotoLibModule,
|
|
11329
|
-
SlidersNgContentLibModule
|
|
10964
|
+
SlidersNgContentLibModule,
|
|
10965
|
+
ScrollableItemModule
|
|
11330
10966
|
],
|
|
11331
|
-
exports: [
|
|
11332
|
-
providers: [RatingService],
|
|
10967
|
+
exports: [UserContentRatingLibComponent],
|
|
10968
|
+
providers: [RatingService, UserContentRatingLibService],
|
|
11333
10969
|
schemas: [core.CUSTOM_ELEMENTS_SCHEMA]
|
|
11334
10970
|
},] }
|
|
11335
10971
|
];
|
|
11336
|
-
return
|
|
10972
|
+
return UserContentRatingLibModule;
|
|
11337
10973
|
}());
|
|
11338
10974
|
|
|
10975
|
+
exports.AnnouncementsModule = AnnouncementsModule;
|
|
11339
10976
|
exports.CalenderModule = CalenderModule;
|
|
11340
10977
|
exports.CardsModule = CardsModule;
|
|
11341
10978
|
exports.CommonMethodsService = CommonMethodsService;
|
|
@@ -11350,29 +10987,33 @@
|
|
|
11350
10987
|
exports.MyHammerConfig = MyHammerConfig;
|
|
11351
10988
|
exports.ROOT_WIDGET_CONFIG = ROOT_WIDGET_CONFIG;
|
|
11352
10989
|
exports.SlidersLibModule = SlidersLibModule;
|
|
11353
|
-
exports.
|
|
10990
|
+
exports.UserContentRatingLibModule = UserContentRatingLibModule;
|
|
11354
10991
|
exports.WIDGET_REGISTERED_LIB_MODULES = WIDGET_REGISTERED_LIB_MODULES;
|
|
11355
10992
|
exports.WIDGET_REGISTRATION_LIB_CONFIG = WIDGET_REGISTRATION_LIB_CONFIG;
|
|
11356
10993
|
exports.ɵa = ContentStripWithTabsLibComponent;
|
|
11357
10994
|
exports.ɵb = WidgetContentService;
|
|
11358
|
-
exports.ɵba =
|
|
11359
|
-
exports.ɵbb =
|
|
11360
|
-
exports.ɵbc =
|
|
11361
|
-
exports.ɵbd =
|
|
11362
|
-
exports.ɵbe =
|
|
11363
|
-
exports.ɵbf =
|
|
11364
|
-
exports.ɵbg =
|
|
11365
|
-
exports.ɵbh =
|
|
11366
|
-
exports.ɵbi =
|
|
11367
|
-
exports.ɵbj =
|
|
11368
|
-
exports.ɵbk =
|
|
11369
|
-
exports.ɵbl =
|
|
11370
|
-
exports.ɵbm =
|
|
11371
|
-
exports.ɵbn =
|
|
11372
|
-
exports.ɵbo =
|
|
11373
|
-
exports.ɵbp =
|
|
11374
|
-
exports.ɵbq =
|
|
11375
|
-
exports.ɵbr =
|
|
10995
|
+
exports.ɵba = PipePublicURLModule;
|
|
10996
|
+
exports.ɵbb = PipePublicURL;
|
|
10997
|
+
exports.ɵbc = DisplayContentTypeLibModule;
|
|
10998
|
+
exports.ɵbd = DisplayContentTypeLibComponent;
|
|
10999
|
+
exports.ɵbe = DefaultThumbnailModule;
|
|
11000
|
+
exports.ɵbf = DefaultThumbnailDirective;
|
|
11001
|
+
exports.ɵbg = PipeDurationTransformModule;
|
|
11002
|
+
exports.ɵbh = PipeDurationTransformPipe;
|
|
11003
|
+
exports.ɵbi = CompetencyPassbookComponent;
|
|
11004
|
+
exports.ɵbj = CompetencyPassbookService;
|
|
11005
|
+
exports.ɵbk = PillsModule;
|
|
11006
|
+
exports.ɵbl = PillsComponent;
|
|
11007
|
+
exports.ɵbm = UserContentRatingLibComponent;
|
|
11008
|
+
exports.ɵbn = ScrollableItemDirective;
|
|
11009
|
+
exports.ɵbo = RatingService;
|
|
11010
|
+
exports.ɵbp = UserContentRatingLibService;
|
|
11011
|
+
exports.ɵbq = AvatarPhotoLibModule;
|
|
11012
|
+
exports.ɵbr = AvatarPhotoLibComponent;
|
|
11013
|
+
exports.ɵbs = MyHammerConfig$1;
|
|
11014
|
+
exports.ɵbt = SlidersNgContentLibModule;
|
|
11015
|
+
exports.ɵbu = SlidersNgContentLibComponent;
|
|
11016
|
+
exports.ɵbv = ScrollableItemModule;
|
|
11376
11017
|
exports.ɵc = WidgetUserService;
|
|
11377
11018
|
exports.ɵd = MultilingualTranslationsService;
|
|
11378
11019
|
exports.ɵe = ConfigurationsService;
|
|
@@ -11390,13 +11031,13 @@
|
|
|
11390
11031
|
exports.ɵq = CalenderComponent;
|
|
11391
11032
|
exports.ɵr = CalenderDayComponent;
|
|
11392
11033
|
exports.ɵs = CommonStripComponent;
|
|
11393
|
-
exports.ɵt =
|
|
11394
|
-
exports.ɵu =
|
|
11395
|
-
exports.ɵv =
|
|
11396
|
-
exports.ɵw =
|
|
11397
|
-
exports.ɵx =
|
|
11398
|
-
exports.ɵy =
|
|
11399
|
-
exports.ɵz =
|
|
11034
|
+
exports.ɵt = AnnouncementsComponent;
|
|
11035
|
+
exports.ɵu = CardResourceComponent;
|
|
11036
|
+
exports.ɵv = CardsComponent;
|
|
11037
|
+
exports.ɵw = CardPortraitComponent;
|
|
11038
|
+
exports.ɵx = CardUserComponent;
|
|
11039
|
+
exports.ɵy = CardLandscapeComponent;
|
|
11040
|
+
exports.ɵz = CardWideComponent;
|
|
11400
11041
|
|
|
11401
11042
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11402
11043
|
|