@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injectable, ɵɵdefineInjectable, Component, EventEmitter, Input, Output, ViewChild, NgModule, ɵɵinject, Inject, HostBinding, Directive, HostListener, CUSTOM_ELEMENTS_SCHEMA, Pipe } from '@angular/core';
|
|
1
|
+
import { Injectable, ɵɵdefineInjectable, Component, EventEmitter, Input, Output, ViewChild, NgModule, ɵɵinject, Inject, HostBinding, Directive, HostListener, CUSTOM_ELEMENTS_SCHEMA, Pipe, ElementRef, ViewChildren } from '@angular/core';
|
|
2
2
|
import { CommonModule, DatePipe } from '@angular/common';
|
|
3
3
|
import { Router, RouterModule } from '@angular/router';
|
|
4
4
|
import { fromEvent, timer, BehaviorSubject, of, EMPTY, ReplaySubject, Subject, throwError, interval } from 'rxjs';
|
|
@@ -168,7 +168,11 @@ class HorizontalScrollerV2Component {
|
|
|
168
168
|
left: this.horizontalScrollElem.nativeElement.scrollLeft - clientWidth,
|
|
169
169
|
behavior: 'smooth',
|
|
170
170
|
});
|
|
171
|
-
|
|
171
|
+
/** @type {?} */
|
|
172
|
+
const elem = this.horizontalScrollElem.nativeElement;
|
|
173
|
+
if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
|
|
174
|
+
this.activeNav -= 1;
|
|
175
|
+
}
|
|
172
176
|
}
|
|
173
177
|
}
|
|
174
178
|
/**
|
|
@@ -185,7 +189,11 @@ class HorizontalScrollerV2Component {
|
|
|
185
189
|
left: this.horizontalScrollElem.nativeElement.scrollLeft + clientWidth,
|
|
186
190
|
behavior: 'smooth',
|
|
187
191
|
});
|
|
188
|
-
|
|
192
|
+
/** @type {?} */
|
|
193
|
+
const elem = this.horizontalScrollElem.nativeElement;
|
|
194
|
+
if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
|
|
195
|
+
this.activeNav += 1;
|
|
196
|
+
}
|
|
189
197
|
}
|
|
190
198
|
}
|
|
191
199
|
/**
|
|
@@ -5131,7 +5139,7 @@ class SlidersLibComponent extends WidgetBaseComponent {
|
|
|
5131
5139
|
SlidersLibComponent.decorators = [
|
|
5132
5140
|
{ type: Component, args: [{
|
|
5133
5141
|
selector: 'sb-uic-sliders',
|
|
5134
|
-
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\"
|
|
5142
|
+
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",
|
|
5135
5143
|
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}}"]
|
|
5136
5144
|
}] }
|
|
5137
5145
|
];
|
|
@@ -5556,8 +5564,8 @@ class DataPointsComponent {
|
|
|
5556
5564
|
DataPointsComponent.decorators = [
|
|
5557
5565
|
{ type: Component, args: [{
|
|
5558
5566
|
selector: 'sb-uic-data-points',
|
|
5559
|
-
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
|
|
5560
|
-
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}}"]
|
|
5567
|
+
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",
|
|
5568
|
+
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}}"]
|
|
5561
5569
|
}] }
|
|
5562
5570
|
];
|
|
5563
5571
|
/** @nocollapse */
|
|
@@ -6816,6 +6824,61 @@ CommonStripModule.decorators = [
|
|
|
6816
6824
|
},] }
|
|
6817
6825
|
];
|
|
6818
6826
|
|
|
6827
|
+
/**
|
|
6828
|
+
* @fileoverview added by tsickle
|
|
6829
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6830
|
+
*/
|
|
6831
|
+
class AnnouncementsComponent {
|
|
6832
|
+
constructor() { }
|
|
6833
|
+
/**
|
|
6834
|
+
* @return {?}
|
|
6835
|
+
*/
|
|
6836
|
+
ngOnInit() {
|
|
6837
|
+
}
|
|
6838
|
+
/**
|
|
6839
|
+
* @param {?} item
|
|
6840
|
+
* @return {?}
|
|
6841
|
+
*/
|
|
6842
|
+
viewMoreOrLess(item) {
|
|
6843
|
+
if (item.value.length > 152) {
|
|
6844
|
+
item.expanded = !item.expanded;
|
|
6845
|
+
}
|
|
6846
|
+
}
|
|
6847
|
+
}
|
|
6848
|
+
AnnouncementsComponent.decorators = [
|
|
6849
|
+
{ type: Component, args: [{
|
|
6850
|
+
selector: 'sb-uic-announcements',
|
|
6851
|
+
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>",
|
|
6852
|
+
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}}"]
|
|
6853
|
+
}] }
|
|
6854
|
+
];
|
|
6855
|
+
/** @nocollapse */
|
|
6856
|
+
AnnouncementsComponent.ctorParameters = () => [];
|
|
6857
|
+
AnnouncementsComponent.propDecorators = {
|
|
6858
|
+
objectData: [{ type: Input }]
|
|
6859
|
+
};
|
|
6860
|
+
if (false) {
|
|
6861
|
+
/** @type {?} */
|
|
6862
|
+
AnnouncementsComponent.prototype.objectData;
|
|
6863
|
+
}
|
|
6864
|
+
|
|
6865
|
+
/**
|
|
6866
|
+
* @fileoverview added by tsickle
|
|
6867
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6868
|
+
*/
|
|
6869
|
+
class AnnouncementsModule {
|
|
6870
|
+
}
|
|
6871
|
+
AnnouncementsModule.decorators = [
|
|
6872
|
+
{ type: NgModule, args: [{
|
|
6873
|
+
declarations: [AnnouncementsComponent],
|
|
6874
|
+
imports: [
|
|
6875
|
+
CommonModule,
|
|
6876
|
+
SkeletonLoaderLibModule
|
|
6877
|
+
],
|
|
6878
|
+
exports: [AnnouncementsComponent],
|
|
6879
|
+
},] }
|
|
6880
|
+
];
|
|
6881
|
+
|
|
6819
6882
|
/**
|
|
6820
6883
|
* @fileoverview added by tsickle
|
|
6821
6884
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -6834,7 +6897,8 @@ ConsumptionModule.decorators = [
|
|
|
6834
6897
|
SlidersLibModule,
|
|
6835
6898
|
DataPointsModule,
|
|
6836
6899
|
CalenderModule,
|
|
6837
|
-
CommonStripModule
|
|
6900
|
+
CommonStripModule,
|
|
6901
|
+
AnnouncementsModule
|
|
6838
6902
|
],
|
|
6839
6903
|
},] }
|
|
6840
6904
|
];
|
|
@@ -6981,7 +7045,7 @@ class CardsComponent extends WidgetBaseComponent {
|
|
|
6981
7045
|
CardsComponent.decorators = [
|
|
6982
7046
|
{ type: Component, args: [{
|
|
6983
7047
|
selector: 'sb-uic-cards',
|
|
6984
|
-
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",
|
|
7048
|
+
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",
|
|
6985
7049
|
styles: [""]
|
|
6986
7050
|
}] }
|
|
6987
7051
|
];
|
|
@@ -7618,7 +7682,7 @@ class CardUserComponent {
|
|
|
7618
7682
|
CardUserComponent.decorators = [
|
|
7619
7683
|
{ type: Component, args: [{
|
|
7620
7684
|
selector: 'sb-uic-card-user',
|
|
7621
|
-
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>",
|
|
7685
|
+
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>",
|
|
7622
7686
|
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}"]
|
|
7623
7687
|
}] }
|
|
7624
7688
|
];
|
|
@@ -7964,7 +8028,7 @@ CardWideComponent.decorators = [
|
|
|
7964
8028
|
{ type: Component, args: [{
|
|
7965
8029
|
selector: 'sb-uic-card-wide',
|
|
7966
8030
|
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",
|
|
7967
|
-
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}"]
|
|
8031
|
+
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}}"]
|
|
7968
8032
|
}] }
|
|
7969
8033
|
];
|
|
7970
8034
|
/** @nocollapse */
|
|
@@ -8725,657 +8789,141 @@ if (false) {
|
|
|
8725
8789
|
* @fileoverview added by tsickle
|
|
8726
8790
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8727
8791
|
*/
|
|
8728
|
-
class
|
|
8792
|
+
class ScrollableItemDirective {
|
|
8793
|
+
/**
|
|
8794
|
+
* @param {?} el
|
|
8795
|
+
*/
|
|
8796
|
+
constructor(el) {
|
|
8797
|
+
this.el = el;
|
|
8798
|
+
}
|
|
8799
|
+
/**
|
|
8800
|
+
* @param {?} blockValue
|
|
8801
|
+
* @return {?}
|
|
8802
|
+
*/
|
|
8803
|
+
scrollIntoView(blockValue) {
|
|
8804
|
+
this.el.nativeElement.scrollIntoView({ behavior: 'smooth', block: blockValue });
|
|
8805
|
+
}
|
|
8806
|
+
}
|
|
8807
|
+
ScrollableItemDirective.decorators = [
|
|
8808
|
+
{ type: Directive, args: [{
|
|
8809
|
+
selector: '[sbUicScrollableItem]'
|
|
8810
|
+
},] }
|
|
8811
|
+
];
|
|
8812
|
+
/** @nocollapse */
|
|
8813
|
+
ScrollableItemDirective.ctorParameters = () => [
|
|
8814
|
+
{ type: ElementRef }
|
|
8815
|
+
];
|
|
8816
|
+
ScrollableItemDirective.propDecorators = {
|
|
8817
|
+
key: [{ type: Input, args: ['sbUicScrollableItem',] }]
|
|
8818
|
+
};
|
|
8819
|
+
if (false) {
|
|
8820
|
+
/** @type {?} */
|
|
8821
|
+
ScrollableItemDirective.prototype.key;
|
|
8822
|
+
/**
|
|
8823
|
+
* @type {?}
|
|
8824
|
+
* @private
|
|
8825
|
+
*/
|
|
8826
|
+
ScrollableItemDirective.prototype.el;
|
|
8827
|
+
}
|
|
8828
|
+
|
|
8829
|
+
/**
|
|
8830
|
+
* @fileoverview added by tsickle
|
|
8831
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8832
|
+
*/
|
|
8833
|
+
/** @type {?} */
|
|
8834
|
+
const API_END_POINTS$4 = {
|
|
8835
|
+
TOP_REVIEWS: `/apis/proxies/v8/ratings/v1/topReviews`
|
|
8836
|
+
};
|
|
8837
|
+
class UserContentRatingLibService {
|
|
8838
|
+
/**
|
|
8839
|
+
* @param {?} http
|
|
8840
|
+
*/
|
|
8841
|
+
constructor(http) {
|
|
8842
|
+
this.http = http;
|
|
8843
|
+
}
|
|
8844
|
+
/**
|
|
8845
|
+
* @param {?} doId
|
|
8846
|
+
* @return {?}
|
|
8847
|
+
*/
|
|
8848
|
+
fetchTopReviews(doId) {
|
|
8849
|
+
return this.http.get(`${API_END_POINTS$4.TOP_REVIEWS}/${doId}`);
|
|
8850
|
+
}
|
|
8851
|
+
}
|
|
8852
|
+
UserContentRatingLibService.decorators = [
|
|
8853
|
+
{ type: Injectable, args: [{
|
|
8854
|
+
providedIn: 'root'
|
|
8855
|
+
},] }
|
|
8856
|
+
];
|
|
8857
|
+
/** @nocollapse */
|
|
8858
|
+
UserContentRatingLibService.ctorParameters = () => [
|
|
8859
|
+
{ type: HttpClient }
|
|
8860
|
+
];
|
|
8861
|
+
/** @nocollapse */ UserContentRatingLibService.ngInjectableDef = ɵɵdefineInjectable({ factory: function UserContentRatingLibService_Factory() { return new UserContentRatingLibService(ɵɵinject(HttpClient)); }, token: UserContentRatingLibService, providedIn: "root" });
|
|
8862
|
+
if (false) {
|
|
8863
|
+
/**
|
|
8864
|
+
* @type {?}
|
|
8865
|
+
* @private
|
|
8866
|
+
*/
|
|
8867
|
+
UserContentRatingLibService.prototype.http;
|
|
8868
|
+
}
|
|
8869
|
+
|
|
8870
|
+
/**
|
|
8871
|
+
* @fileoverview added by tsickle
|
|
8872
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8873
|
+
*/
|
|
8874
|
+
class UserContentRatingLibComponent {
|
|
8729
8875
|
/**
|
|
8730
8876
|
* @param {?} ratingService
|
|
8877
|
+
* @param {?} userRatingSvc
|
|
8731
8878
|
*/
|
|
8732
|
-
constructor(ratingService) {
|
|
8879
|
+
constructor(ratingService, userRatingSvc) {
|
|
8733
8880
|
this.ratingService = ratingService;
|
|
8881
|
+
this.userRatingSvc = userRatingSvc;
|
|
8734
8882
|
this.currentIndex = 0;
|
|
8735
|
-
this.
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
"borderRadius": "0",
|
|
8741
|
-
"customHeight": "424px",
|
|
8742
|
-
"arrowsPlacement": "middle-inline",
|
|
8743
|
-
"responsive": {
|
|
8744
|
-
"bannerMetaClass": "inline-meta",
|
|
8745
|
-
"customHeight": "232px",
|
|
8746
|
-
"bannerMetaAlign": "right",
|
|
8747
|
-
"navigationArrows": "visible",
|
|
8748
|
-
"dots": "hidden",
|
|
8749
|
-
"arrowsPlacement": "middle-inline"
|
|
8750
|
-
}
|
|
8751
|
-
};
|
|
8752
|
-
this.sliders = [
|
|
8753
|
-
{
|
|
8754
|
-
"active": true,
|
|
8755
|
-
"banners": {
|
|
8756
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8757
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8758
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8759
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8760
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8761
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
8762
|
-
},
|
|
8763
|
-
"redirectUrl": "",
|
|
8764
|
-
"queryParams": {},
|
|
8765
|
-
"title": ""
|
|
8766
|
-
},
|
|
8767
|
-
{
|
|
8768
|
-
"active": true,
|
|
8769
|
-
"banners": {
|
|
8770
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
8771
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
8772
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
8773
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
8774
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
8775
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png"
|
|
8776
|
-
},
|
|
8777
|
-
"redirectUrl": "",
|
|
8778
|
-
"queryParams": {},
|
|
8779
|
-
"title": ""
|
|
8780
|
-
},
|
|
8781
|
-
{
|
|
8782
|
-
"active": true,
|
|
8783
|
-
"banners": {
|
|
8784
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
8785
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
8786
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
8787
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
8788
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
8789
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png"
|
|
8790
|
-
},
|
|
8791
|
-
"redirectUrl": "",
|
|
8792
|
-
"queryParams": {},
|
|
8793
|
-
"title": ""
|
|
8794
|
-
},
|
|
8795
|
-
{
|
|
8796
|
-
"active": true,
|
|
8797
|
-
"banners": {
|
|
8798
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8799
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8800
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8801
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8802
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8803
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
8804
|
-
},
|
|
8805
|
-
"redirectUrl": "",
|
|
8806
|
-
"queryParams": {},
|
|
8807
|
-
"title": ""
|
|
8808
|
-
},
|
|
8809
|
-
{
|
|
8810
|
-
"active": true,
|
|
8811
|
-
"banners": {
|
|
8812
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8813
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8814
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8815
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8816
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
8817
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
8818
|
-
},
|
|
8819
|
-
"redirectUrl": "",
|
|
8820
|
-
"queryParams": {},
|
|
8821
|
-
"title": ""
|
|
8822
|
-
}
|
|
8823
|
-
];
|
|
8824
|
-
this.contentCard = {
|
|
8825
|
-
"content": {
|
|
8826
|
-
"identifier": "do_113990515935854592111",
|
|
8827
|
-
"competencies_v5": [
|
|
8828
|
-
{
|
|
8829
|
-
"competencyArea": "Behavioural",
|
|
8830
|
-
"competencyAreaId": 1,
|
|
8831
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
8832
|
-
"competencyTheme": "Collaboration",
|
|
8833
|
-
"competencyThemeId": 25,
|
|
8834
|
-
"competecnyThemeDescription": "Collaboration competency Theme",
|
|
8835
|
-
"competencyThemeType": "Core",
|
|
8836
|
-
"competencySubTheme": "Diversity & Inclusion",
|
|
8837
|
-
"competencySubThemeId": 27,
|
|
8838
|
-
"competecnySubThemeDescription": "Diversity & Inclusion Competency Sub-Theme"
|
|
8839
|
-
}
|
|
8840
|
-
],
|
|
8841
|
-
"description": "Invite only program",
|
|
8842
|
-
"organisation": [
|
|
8843
|
-
"Ministry of Finance"
|
|
8844
|
-
],
|
|
8845
|
-
"creatorLogo": null,
|
|
8846
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
8847
|
-
"duration": "2280",
|
|
8848
|
-
"additionalTags": null,
|
|
8849
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113990515935854592111/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
8850
|
-
"primaryCategory": "Program",
|
|
8851
|
-
"name": "Invite only program",
|
|
8852
|
-
"avgRating": null,
|
|
8853
|
-
"contentType": "Course"
|
|
8854
|
-
},
|
|
8855
|
-
"cardSubType": "card-wide-lib",
|
|
8856
|
-
"cardCustomeClass": "",
|
|
8857
|
-
"context": {
|
|
8858
|
-
"pageSection": "featuredContents",
|
|
8859
|
-
"position": 3
|
|
8860
|
-
},
|
|
8861
|
-
"review": "Credit",
|
|
8862
|
-
"rating": 5.0,
|
|
8863
|
-
"userDetails": {
|
|
8864
|
-
"firstName": "Agri usertwo",
|
|
8865
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
8866
|
-
"profileImageUrl": null
|
|
8867
|
-
}
|
|
8868
|
-
};
|
|
8869
|
-
this.widgetData = {
|
|
8870
|
-
cardSubType: ''
|
|
8871
|
-
};
|
|
8872
|
-
this.responseData = [
|
|
8873
|
-
{
|
|
8874
|
-
"review": "Credit",
|
|
8875
|
-
"rating": 5.0,
|
|
8876
|
-
"userDetails": {
|
|
8877
|
-
"firstName": "Agri usertwo",
|
|
8878
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
8879
|
-
"profileImageUrl": null
|
|
8880
|
-
},
|
|
8881
|
-
"content": {
|
|
8882
|
-
"identifier": "do_113990515935854592111",
|
|
8883
|
-
"competencies_v5": [
|
|
8884
|
-
{
|
|
8885
|
-
"competencyArea": "Behavioural",
|
|
8886
|
-
"competencyAreaId": 1,
|
|
8887
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
8888
|
-
"competencyTheme": "Collaboration",
|
|
8889
|
-
"competencyThemeId": 25,
|
|
8890
|
-
"competecnyThemeDescription": "Collaboration competency Theme",
|
|
8891
|
-
"competencyThemeType": "Core",
|
|
8892
|
-
"competencySubTheme": "Diversity & Inclusion",
|
|
8893
|
-
"competencySubThemeId": 27,
|
|
8894
|
-
"competecnySubThemeDescription": "Diversity & Inclusion Competency Sub-Theme"
|
|
8895
|
-
}
|
|
8896
|
-
],
|
|
8897
|
-
"description": "Invite only program",
|
|
8898
|
-
"organisation": [
|
|
8899
|
-
"Ministry of Finance"
|
|
8900
|
-
],
|
|
8901
|
-
"creatorLogo": null,
|
|
8902
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
8903
|
-
"duration": "2280",
|
|
8904
|
-
"additionalTags": null,
|
|
8905
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113990515935854592111/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
8906
|
-
"primaryCategory": "Program",
|
|
8907
|
-
"name": "Invite only program",
|
|
8908
|
-
"avgRating": null,
|
|
8909
|
-
"contentType": "Course"
|
|
8910
|
-
},
|
|
8911
|
-
"cardSubType": "card-wide-lib",
|
|
8912
|
-
"cardCustomeClass": "",
|
|
8913
|
-
"context": {
|
|
8914
|
-
"pageSection": "featuredContents",
|
|
8915
|
-
"position": 3
|
|
8916
|
-
}
|
|
8917
|
-
},
|
|
8918
|
-
{
|
|
8919
|
-
"review": "Abc xyz1",
|
|
8920
|
-
"rating": 5.0,
|
|
8921
|
-
"userDetails": {
|
|
8922
|
-
"firstName": "Qa test user one @#$ 123",
|
|
8923
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
8924
|
-
"profileImageUrl": null
|
|
8925
|
-
},
|
|
8926
|
-
"cardSubType": "card-wide-lib",
|
|
8927
|
-
"cardCustomeClass": "",
|
|
8928
|
-
"context": {
|
|
8929
|
-
"pageSection": "featuredContents",
|
|
8930
|
-
"position": 3
|
|
8931
|
-
},
|
|
8932
|
-
"content": {
|
|
8933
|
-
"identifier": "do_113987549775609856182_rc",
|
|
8934
|
-
"competencies_v5": [
|
|
8935
|
-
{
|
|
8936
|
-
"competencyArea": "Domain",
|
|
8937
|
-
"competencyAreaId": 145,
|
|
8938
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
8939
|
-
"competencyTheme": "Account Management",
|
|
8940
|
-
"competencyThemeId": 148,
|
|
8941
|
-
"competecnyThemeDescription": "Account Management competency Theme",
|
|
8942
|
-
"competencyThemeType": "Core",
|
|
8943
|
-
"competencySubTheme": "Account Management",
|
|
8944
|
-
"competencySubThemeId": 149,
|
|
8945
|
-
"competecnySubThemeDescription": "Account Management Competency Sub-Theme"
|
|
8946
|
-
}
|
|
8947
|
-
],
|
|
8948
|
-
"description": "Course Check for MDO Specific All Users 09 Feb",
|
|
8949
|
-
"organisation": [
|
|
8950
|
-
"Ministry of Finance"
|
|
8951
|
-
],
|
|
8952
|
-
"creatorLogo": null,
|
|
8953
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_11395704427130060819/artifact/do_11395704427130060819_1703740756028_capture71703740758098.png",
|
|
8954
|
-
"duration": "606",
|
|
8955
|
-
"additionalTags": null,
|
|
8956
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113987549775609856182_rc/artifact/do_11395704427130060819_1703740756028_capture71703740758098.thumb.png",
|
|
8957
|
-
"primaryCategory": "Course",
|
|
8958
|
-
"name": "Course Check for MDO Specific All Users 09 Feb",
|
|
8959
|
-
"avgRating": 5.0,
|
|
8960
|
-
"contentType": "Course"
|
|
8961
|
-
}
|
|
8962
|
-
},
|
|
8963
|
-
{
|
|
8964
|
-
"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",
|
|
8965
|
-
"rating": 5.0,
|
|
8966
|
-
"userDetails": {
|
|
8967
|
-
"firstName": "Agri usertwo",
|
|
8968
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
8969
|
-
"profileImageUrl": null
|
|
8970
|
-
},
|
|
8971
|
-
"cardSubType": "card-wide-lib",
|
|
8972
|
-
"cardCustomeClass": "",
|
|
8973
|
-
"context": {
|
|
8974
|
-
"pageSection": "featuredContents",
|
|
8975
|
-
"position": 3
|
|
8976
|
-
},
|
|
8977
|
-
"content": {
|
|
8978
|
-
"identifier": "do_114006606955921408144",
|
|
8979
|
-
"competencies_v5": [
|
|
8980
|
-
{
|
|
8981
|
-
"competencyArea": "Behavioural",
|
|
8982
|
-
"competencyAreaId": 1,
|
|
8983
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
8984
|
-
"competencyTheme": "Collaborative Leadership",
|
|
8985
|
-
"competencyThemeId": 46,
|
|
8986
|
-
"competecnyThemeDescription": "Collaborative Leadership competency Theme",
|
|
8987
|
-
"competencyThemeType": "Leadership",
|
|
8988
|
-
"competencySubTheme": "Influencing and Negotiation",
|
|
8989
|
-
"competencySubThemeId": 47,
|
|
8990
|
-
"competecnySubThemeDescription": "Influencing and Negotiation Competency Sub-Theme"
|
|
8991
|
-
}
|
|
8992
|
-
],
|
|
8993
|
-
"description": "test Scrom",
|
|
8994
|
-
"organisation": [
|
|
8995
|
-
"Ministry of Finance"
|
|
8996
|
-
],
|
|
8997
|
-
"creatorLogo": null,
|
|
8998
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
8999
|
-
"duration": "180",
|
|
9000
|
-
"additionalTags": null,
|
|
9001
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_114006606955921408144/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
9002
|
-
"primaryCategory": "Course",
|
|
9003
|
-
"name": "Large PDF test Cases",
|
|
9004
|
-
"avgRating": 4.0,
|
|
9005
|
-
"contentType": "Course"
|
|
9006
|
-
}
|
|
9007
|
-
},
|
|
9008
|
-
{
|
|
9009
|
-
"review": "Good courseQA",
|
|
9010
|
-
"rating": 5.0,
|
|
9011
|
-
"userDetails": {
|
|
9012
|
-
"firstName": "Public User QA env",
|
|
9013
|
-
"userId": "0517056e-b57b-49ca-a44c-cdc3a251dd3e",
|
|
9014
|
-
"profileImageUrl": null
|
|
9015
|
-
},
|
|
9016
|
-
"cardSubType": "card-wide-lib",
|
|
9017
|
-
"cardCustomeClass": "",
|
|
9018
|
-
"context": {
|
|
9019
|
-
"pageSection": "featuredContents",
|
|
9020
|
-
"position": 3
|
|
9021
|
-
},
|
|
9022
|
-
"content": {
|
|
9023
|
-
"identifier": "do_113902049969004544112",
|
|
9024
|
-
"competencies_v5": [
|
|
9025
|
-
{
|
|
9026
|
-
"competencyArea": "Domain",
|
|
9027
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9028
|
-
"competencyAreaId": 145,
|
|
9029
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
9030
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
9031
|
-
"competencyThemeId": 186,
|
|
9032
|
-
"competencyThemeType": "Core",
|
|
9033
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
9034
|
-
"competencySubThemeId": 187,
|
|
9035
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
9036
|
-
},
|
|
9037
|
-
{
|
|
9038
|
-
"competencyArea": "Domain",
|
|
9039
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9040
|
-
"competencyAreaId": 145,
|
|
9041
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
9042
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
9043
|
-
"competencyThemeId": 184,
|
|
9044
|
-
"competencyThemeType": "Core",
|
|
9045
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
9046
|
-
"competencySubThemeId": 185,
|
|
9047
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
9048
|
-
}
|
|
9049
|
-
],
|
|
9050
|
-
"description": "QATestCourse2",
|
|
9051
|
-
"organisation": [
|
|
9052
|
-
"Ministry of Finance"
|
|
9053
|
-
],
|
|
9054
|
-
"creatorLogo": null,
|
|
9055
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9056
|
-
"duration": "540",
|
|
9057
|
-
"additionalTags": null,
|
|
9058
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9059
|
-
"primaryCategory": "Course",
|
|
9060
|
-
"name": "QATestCourse2",
|
|
9061
|
-
"avgRating": 5.0,
|
|
9062
|
-
"contentType": "Course"
|
|
9063
|
-
}
|
|
9064
|
-
},
|
|
9065
|
-
{
|
|
9066
|
-
"review": "ok",
|
|
9067
|
-
"rating": 5.0,
|
|
9068
|
-
"userDetails": {
|
|
9069
|
-
"firstName": "qatestcreator",
|
|
9070
|
-
"userId": "54548483-0708-417c-ac9f-9b2260e13962",
|
|
9071
|
-
"profileImageUrl": null
|
|
9072
|
-
},
|
|
9073
|
-
"cardSubType": "card-wide-lib",
|
|
9074
|
-
"cardCustomeClass": "",
|
|
9075
|
-
"context": {
|
|
9076
|
-
"pageSection": "featuredContents",
|
|
9077
|
-
"position": 3
|
|
9078
|
-
},
|
|
9079
|
-
"content": {
|
|
9080
|
-
"identifier": "do_113902049969004544112",
|
|
9081
|
-
"competencies_v5": [
|
|
9082
|
-
{
|
|
9083
|
-
"competencyArea": "Domain",
|
|
9084
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9085
|
-
"competencyAreaId": 145,
|
|
9086
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
9087
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
9088
|
-
"competencyThemeId": 186,
|
|
9089
|
-
"competencyThemeType": "Core",
|
|
9090
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
9091
|
-
"competencySubThemeId": 187,
|
|
9092
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
9093
|
-
},
|
|
9094
|
-
{
|
|
9095
|
-
"competencyArea": "Domain",
|
|
9096
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9097
|
-
"competencyAreaId": 145,
|
|
9098
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
9099
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
9100
|
-
"competencyThemeId": 184,
|
|
9101
|
-
"competencyThemeType": "Core",
|
|
9102
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
9103
|
-
"competencySubThemeId": 185,
|
|
9104
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
9105
|
-
}
|
|
9106
|
-
],
|
|
9107
|
-
"description": "QATestCourse2",
|
|
9108
|
-
"organisation": [
|
|
9109
|
-
"Ministry of Finance"
|
|
9110
|
-
],
|
|
9111
|
-
"creatorLogo": null,
|
|
9112
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9113
|
-
"duration": "540",
|
|
9114
|
-
"additionalTags": null,
|
|
9115
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9116
|
-
"primaryCategory": "Course",
|
|
9117
|
-
"name": "QATestCourse2",
|
|
9118
|
-
"avgRating": 5.0,
|
|
9119
|
-
"contentType": "Course"
|
|
9120
|
-
}
|
|
9121
|
-
},
|
|
9122
|
-
{
|
|
9123
|
-
"review": "nic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic one",
|
|
9124
|
-
"rating": 5.0,
|
|
9125
|
-
"userDetails": {
|
|
9126
|
-
"firstName": "Qa test user one @#$ 123",
|
|
9127
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
9128
|
-
"profileImageUrl": null
|
|
9129
|
-
},
|
|
9130
|
-
"cardSubType": "card-wide-lib",
|
|
9131
|
-
"cardCustomeClass": "",
|
|
9132
|
-
"context": {
|
|
9133
|
-
"pageSection": "featuredContents",
|
|
9134
|
-
"position": 3
|
|
9135
|
-
},
|
|
9136
|
-
"content": {
|
|
9137
|
-
"identifier": "do_113902049969004544112",
|
|
9138
|
-
"competencies_v5": [
|
|
9139
|
-
{
|
|
9140
|
-
"competencyArea": "Domain",
|
|
9141
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9142
|
-
"competencyAreaId": 145,
|
|
9143
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
9144
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
9145
|
-
"competencyThemeId": 186,
|
|
9146
|
-
"competencyThemeType": "Core",
|
|
9147
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
9148
|
-
"competencySubThemeId": 187,
|
|
9149
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
9150
|
-
},
|
|
9151
|
-
{
|
|
9152
|
-
"competencyArea": "Domain",
|
|
9153
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9154
|
-
"competencyAreaId": 145,
|
|
9155
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
9156
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
9157
|
-
"competencyThemeId": 184,
|
|
9158
|
-
"competencyThemeType": "Core",
|
|
9159
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
9160
|
-
"competencySubThemeId": 185,
|
|
9161
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
9162
|
-
}
|
|
9163
|
-
],
|
|
9164
|
-
"description": "QATestCourse2",
|
|
9165
|
-
"organisation": [
|
|
9166
|
-
"Ministry of Finance"
|
|
9167
|
-
],
|
|
9168
|
-
"creatorLogo": null,
|
|
9169
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9170
|
-
"duration": "540",
|
|
9171
|
-
"additionalTags": null,
|
|
9172
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9173
|
-
"primaryCategory": "Course",
|
|
9174
|
-
"name": "QATestCourse2",
|
|
9175
|
-
"avgRating": 5.0,
|
|
9176
|
-
"contentType": "Course"
|
|
9177
|
-
}
|
|
9178
|
-
},
|
|
9179
|
-
{
|
|
9180
|
-
"review": "Checking Ratings and alignment under Overview",
|
|
9181
|
-
"rating": 5.0,
|
|
9182
|
-
"userDetails": {
|
|
9183
|
-
"firstName": "Get Started User Five",
|
|
9184
|
-
"userId": "e6a9d4b6-b30a-405f-9bcb-166038600218",
|
|
9185
|
-
"profileImageUrl": null
|
|
9186
|
-
},
|
|
9187
|
-
"cardSubType": "card-wide-lib",
|
|
9188
|
-
"cardCustomeClass": "",
|
|
9189
|
-
"context": {
|
|
9190
|
-
"pageSection": "featuredContents",
|
|
9191
|
-
"position": 3
|
|
9192
|
-
},
|
|
9193
|
-
"content": {
|
|
9194
|
-
"identifier": "do_113902049969004544112",
|
|
9195
|
-
"competencies_v5": [
|
|
9196
|
-
{
|
|
9197
|
-
"competencyArea": "Domain",
|
|
9198
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9199
|
-
"competencyAreaId": 145,
|
|
9200
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
9201
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
9202
|
-
"competencyThemeId": 186,
|
|
9203
|
-
"competencyThemeType": "Core",
|
|
9204
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
9205
|
-
"competencySubThemeId": 187,
|
|
9206
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
9207
|
-
},
|
|
9208
|
-
{
|
|
9209
|
-
"competencyArea": "Domain",
|
|
9210
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
9211
|
-
"competencyAreaId": 145,
|
|
9212
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
9213
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
9214
|
-
"competencyThemeId": 184,
|
|
9215
|
-
"competencyThemeType": "Core",
|
|
9216
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
9217
|
-
"competencySubThemeId": 185,
|
|
9218
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
9219
|
-
}
|
|
9220
|
-
],
|
|
9221
|
-
"description": "QATestCourse2",
|
|
9222
|
-
"organisation": [
|
|
9223
|
-
"Ministry of Finance"
|
|
9224
|
-
],
|
|
9225
|
-
"creatorLogo": null,
|
|
9226
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9227
|
-
"duration": "540",
|
|
9228
|
-
"additionalTags": null,
|
|
9229
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
9230
|
-
"primaryCategory": "Course",
|
|
9231
|
-
"name": "QATestCourse2",
|
|
9232
|
-
"avgRating": 5.0,
|
|
9233
|
-
"contentType": "Course"
|
|
9234
|
-
}
|
|
9235
|
-
},
|
|
9236
|
-
{
|
|
9237
|
-
"review": "Testing rating 123",
|
|
9238
|
-
"rating": 5.0,
|
|
9239
|
-
"userDetails": {
|
|
9240
|
-
"firstName": "Qa test user one @#$ 123",
|
|
9241
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
9242
|
-
"profileImageUrl": null
|
|
9243
|
-
},
|
|
9244
|
-
"cardSubType": "card-wide-lib",
|
|
9245
|
-
"cardCustomeClass": "",
|
|
9246
|
-
"context": {
|
|
9247
|
-
"pageSection": "featuredContents",
|
|
9248
|
-
"position": 3
|
|
9249
|
-
},
|
|
9250
|
-
"content": {
|
|
9251
|
-
"identifier": "do_1139400923254046721119",
|
|
9252
|
-
"competencies_v5": [
|
|
9253
|
-
{
|
|
9254
|
-
"competencyArea": "Functional",
|
|
9255
|
-
"competencyAreaDescription": "Functional Competency Area",
|
|
9256
|
-
"competencyAreaId": 56,
|
|
9257
|
-
"competencyTheme": "Administration Matters",
|
|
9258
|
-
"competencyThemeDescription": "Administration Matters competency Theme",
|
|
9259
|
-
"competencyThemeId": 140,
|
|
9260
|
-
"competencyThemeType": "Core",
|
|
9261
|
-
"competencySubTheme": "Handling Miscellaneous Matters (Car, Residence, Personal Staff etc.)",
|
|
9262
|
-
"competencySubThemeId": 143,
|
|
9263
|
-
"competencySubThemeDescription": "Handling Miscellaneous Matters (Car, Residence, Personal Staff etc.) Competency Sub-Theme"
|
|
9264
|
-
}
|
|
9265
|
-
],
|
|
9266
|
-
"description": "Youtube Links",
|
|
9267
|
-
"organisation": [
|
|
9268
|
-
"Ministry of Finance"
|
|
9269
|
-
],
|
|
9270
|
-
"creatorLogo": null,
|
|
9271
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139400694644490241113/artifact/do_1139400694644490241113_1701668637063_effective-communication.png",
|
|
9272
|
-
"duration": "420",
|
|
9273
|
-
"additionalTags": null,
|
|
9274
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_1139400923254046721119/artifact/do_1139400694644490241113_1701668637063_effective-communication.thumb.png",
|
|
9275
|
-
"primaryCategory": "Course",
|
|
9276
|
-
"name": "Course New 04 Dec",
|
|
9277
|
-
"avgRating": 5.0,
|
|
9278
|
-
"contentType": "Course"
|
|
9279
|
-
}
|
|
9280
|
-
},
|
|
9281
|
-
{
|
|
9282
|
-
"review": "nice1",
|
|
9283
|
-
"rating": 5.0,
|
|
9284
|
-
"userDetails": {
|
|
9285
|
-
"firstName": "Qa test user one @#$ 123",
|
|
9286
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
9287
|
-
"profileImageUrl": null
|
|
9288
|
-
},
|
|
9289
|
-
"cardSubType": "card-wide-lib",
|
|
9290
|
-
"cardCustomeClass": "",
|
|
9291
|
-
"context": {
|
|
9292
|
-
"pageSection": "featuredContents",
|
|
9293
|
-
"position": 3
|
|
9294
|
-
},
|
|
9295
|
-
"content": {
|
|
9296
|
-
"identifier": "do_1139967854457651201519_rc",
|
|
9297
|
-
"competencies_v5": [
|
|
9298
|
-
{
|
|
9299
|
-
"competencyArea": "Behavioural",
|
|
9300
|
-
"competencyAreaId": 1,
|
|
9301
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
9302
|
-
"competencyTheme": "Personal Effectiveness",
|
|
9303
|
-
"competencyThemeId": 7,
|
|
9304
|
-
"competecnyThemeDescription": "Personal Effectiveness competency Theme",
|
|
9305
|
-
"competencyThemeType": "Core",
|
|
9306
|
-
"competencySubTheme": "Resilience",
|
|
9307
|
-
"competencySubThemeId": 9,
|
|
9308
|
-
"competecnySubThemeDescription": "Resilience Competency Sub-Theme"
|
|
9309
|
-
}
|
|
9310
|
-
],
|
|
9311
|
-
"description": "Sub:- Vikas- New Program '22/02/24' ",
|
|
9312
|
-
"organisation": [
|
|
9313
|
-
"Ministry of Finance"
|
|
9314
|
-
],
|
|
9315
|
-
"creatorLogo": null,
|
|
9316
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139946848192430081395/artifact/do_1139946848192430081395_1708335549501_digitalindiaandegovernance1708335549950.jpg",
|
|
9317
|
-
"duration": "12761",
|
|
9318
|
-
"additionalTags": null,
|
|
9319
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_1139967854457651201519_rc/artifact/do_1139946848192430081395_1708335549501_digitalindiaandegovernance1708335549950.thumb.jpg",
|
|
9320
|
-
"primaryCategory": "Program",
|
|
9321
|
-
"name": "Vikas- New Program '22/02/24'",
|
|
9322
|
-
"avgRating": 2.0,
|
|
9323
|
-
"contentType": "Course"
|
|
9324
|
-
}
|
|
9325
|
-
},
|
|
9326
|
-
{
|
|
9327
|
-
"review": "bv",
|
|
9328
|
-
"rating": 5.0,
|
|
9329
|
-
"userDetails": {
|
|
9330
|
-
"firstName": "qa dstuserone",
|
|
9331
|
-
"userId": "31c81730-bf33-437a-a53e-0bd8ac2fc3d6",
|
|
9332
|
-
"profileImageUrl": null
|
|
9333
|
-
},
|
|
9334
|
-
"cardSubType": "card-wide-lib",
|
|
9335
|
-
"cardCustomeClass": "",
|
|
9336
|
-
"context": {
|
|
9337
|
-
"pageSection": "featuredContents",
|
|
9338
|
-
"position": 3
|
|
9339
|
-
},
|
|
9340
|
-
"content": {
|
|
9341
|
-
"identifier": "do_113965740548784128178",
|
|
9342
|
-
"competencies_v5": [
|
|
9343
|
-
{
|
|
9344
|
-
"competencyArea": "Functional",
|
|
9345
|
-
"competencyAreaId": 56,
|
|
9346
|
-
"competencyAreaDescription": "Functional Competency Area",
|
|
9347
|
-
"competencyTheme": "Establishment & HR",
|
|
9348
|
-
"competencyThemeId": 101,
|
|
9349
|
-
"competecnyThemeDescription": "Establishment & HR competency Theme",
|
|
9350
|
-
"competencyThemeType": "Core",
|
|
9351
|
-
"competencySubTheme": "Handling Fundamental Rules /Supplementary Rules",
|
|
9352
|
-
"competencySubThemeId": 104,
|
|
9353
|
-
"competecnySubThemeDescription": "Handling Fundamental Rules /Supplementary Rules Competency Sub-Theme"
|
|
9354
|
-
}
|
|
9355
|
-
],
|
|
9356
|
-
"description": "Course with more subthemes",
|
|
9357
|
-
"organisation": [
|
|
9358
|
-
"Ministry of Finance"
|
|
9359
|
-
],
|
|
9360
|
-
"creatorLogo": null,
|
|
9361
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113921119628378112168/artifact/do_113921119628378112168_1699355423624_capture121699355424283.png",
|
|
9362
|
-
"duration": "540",
|
|
9363
|
-
"additionalTags": [
|
|
9364
|
-
"mostEnrolled"
|
|
9365
|
-
],
|
|
9366
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113965740548784128178/artifact/do_113921119628378112168_1699355423624_capture121699355424283.thumb.png",
|
|
9367
|
-
"primaryCategory": "Course",
|
|
9368
|
-
"name": "Course with more subthemes",
|
|
9369
|
-
"avgRating": 5.0,
|
|
9370
|
-
"contentType": "Course"
|
|
9371
|
-
}
|
|
9372
|
-
}
|
|
9373
|
-
];
|
|
8883
|
+
this.providerId = '';
|
|
8884
|
+
this.formData = '';
|
|
8885
|
+
this.emptyResponse = new EventEmitter();
|
|
8886
|
+
this.styleData = {};
|
|
8887
|
+
this.contentdata = [];
|
|
9374
8888
|
}
|
|
9375
8889
|
/**
|
|
9376
8890
|
* @return {?}
|
|
9377
8891
|
*/
|
|
9378
8892
|
ngOnInit() {
|
|
8893
|
+
this.styleData = this.formData && this.formData.sliderData && this.formData.sliderData.styleData;
|
|
8894
|
+
this.getTopReviews();
|
|
8895
|
+
}
|
|
8896
|
+
/**
|
|
8897
|
+
* @return {?}
|
|
8898
|
+
*/
|
|
8899
|
+
getTopReviews() {
|
|
8900
|
+
this.contentdata = [];
|
|
8901
|
+
this.userRatingSvc.fetchTopReviews(this.providerId).subscribe((/**
|
|
8902
|
+
* @param {?} response
|
|
8903
|
+
* @return {?}
|
|
8904
|
+
*/
|
|
8905
|
+
(response) => {
|
|
8906
|
+
if (response && response.result && response.result.content.length) {
|
|
8907
|
+
response.result.content.forEach((/**
|
|
8908
|
+
* @param {?} contentEle
|
|
8909
|
+
* @return {?}
|
|
8910
|
+
*/
|
|
8911
|
+
(contentEle) => {
|
|
8912
|
+
/** @type {?} */
|
|
8913
|
+
let localData = {};
|
|
8914
|
+
localData['content'] = contentEle.contentInfo;
|
|
8915
|
+
localData['rating'] = contentEle.rating;
|
|
8916
|
+
localData['review'] = contentEle.review;
|
|
8917
|
+
localData['userDetails'] = contentEle.userDetails;
|
|
8918
|
+
localData['cardSubType'] = "card-wide-lib";
|
|
8919
|
+
localData['cardCustomeClass'] = "";
|
|
8920
|
+
this.contentdata.push(localData);
|
|
8921
|
+
}));
|
|
8922
|
+
}
|
|
8923
|
+
else {
|
|
8924
|
+
this.emptyResponse.emit(true);
|
|
8925
|
+
}
|
|
8926
|
+
}));
|
|
9379
8927
|
}
|
|
9380
8928
|
/**
|
|
9381
8929
|
* @param {?} ratingIndex
|
|
@@ -9399,34 +8947,59 @@ class UserContentRatingComponent {
|
|
|
9399
8947
|
*/
|
|
9400
8948
|
getCurrentIndex(indexValue) {
|
|
9401
8949
|
this.currentIndex = indexValue;
|
|
8950
|
+
this.handleScrollClick(indexValue);
|
|
8951
|
+
}
|
|
8952
|
+
/**
|
|
8953
|
+
* @param {?} dataValue
|
|
8954
|
+
* @return {?}
|
|
8955
|
+
*/
|
|
8956
|
+
handleScrollClick(dataValue) {
|
|
8957
|
+
/** @type {?} */
|
|
8958
|
+
const item = this.scrollableItems.find((/**
|
|
8959
|
+
* @param {?} x
|
|
8960
|
+
* @return {?}
|
|
8961
|
+
*/
|
|
8962
|
+
x => x.key === dataValue));
|
|
8963
|
+
item.scrollIntoView("nearest");
|
|
9402
8964
|
}
|
|
9403
8965
|
}
|
|
9404
|
-
|
|
8966
|
+
UserContentRatingLibComponent.decorators = [
|
|
9405
8967
|
{ type: Component, args: [{
|
|
9406
8968
|
selector: 'sb-uic-user-content-rating',
|
|
9407
|
-
template: "
|
|
9408
|
-
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
|
|
8969
|
+
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",
|
|
8970
|
+
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}"]
|
|
9409
8971
|
}] }
|
|
9410
8972
|
];
|
|
9411
8973
|
/** @nocollapse */
|
|
9412
|
-
|
|
9413
|
-
{ type: RatingService }
|
|
8974
|
+
UserContentRatingLibComponent.ctorParameters = () => [
|
|
8975
|
+
{ type: RatingService },
|
|
8976
|
+
{ type: UserContentRatingLibService }
|
|
9414
8977
|
];
|
|
8978
|
+
UserContentRatingLibComponent.propDecorators = {
|
|
8979
|
+
providerId: [{ type: Input }],
|
|
8980
|
+
formData: [{ type: Input }],
|
|
8981
|
+
emptyResponse: [{ type: Output }],
|
|
8982
|
+
scrollableItems: [{ type: ViewChildren, args: [ScrollableItemDirective,] }]
|
|
8983
|
+
};
|
|
9415
8984
|
if (false) {
|
|
9416
8985
|
/** @type {?} */
|
|
9417
|
-
|
|
8986
|
+
UserContentRatingLibComponent.prototype.currentIndex;
|
|
8987
|
+
/** @type {?} */
|
|
8988
|
+
UserContentRatingLibComponent.prototype.providerId;
|
|
8989
|
+
/** @type {?} */
|
|
8990
|
+
UserContentRatingLibComponent.prototype.formData;
|
|
9418
8991
|
/** @type {?} */
|
|
9419
|
-
|
|
8992
|
+
UserContentRatingLibComponent.prototype.emptyResponse;
|
|
9420
8993
|
/** @type {?} */
|
|
9421
|
-
|
|
8994
|
+
UserContentRatingLibComponent.prototype.styleData;
|
|
9422
8995
|
/** @type {?} */
|
|
9423
|
-
|
|
8996
|
+
UserContentRatingLibComponent.prototype.contentdata;
|
|
9424
8997
|
/** @type {?} */
|
|
9425
|
-
|
|
8998
|
+
UserContentRatingLibComponent.prototype.scrollableItems;
|
|
9426
8999
|
/** @type {?} */
|
|
9427
|
-
|
|
9000
|
+
UserContentRatingLibComponent.prototype.ratingService;
|
|
9428
9001
|
/** @type {?} */
|
|
9429
|
-
|
|
9002
|
+
UserContentRatingLibComponent.prototype.userRatingSvc;
|
|
9430
9003
|
}
|
|
9431
9004
|
|
|
9432
9005
|
/**
|
|
@@ -9436,6 +9009,7 @@ if (false) {
|
|
|
9436
9009
|
class AvatarPhotoLibComponent {
|
|
9437
9010
|
constructor() {
|
|
9438
9011
|
this.size = '';
|
|
9012
|
+
this.defaulfColor = '';
|
|
9439
9013
|
this.randomColor = false;
|
|
9440
9014
|
this.showBadge = false;
|
|
9441
9015
|
this.showInitials = false;
|
|
@@ -9468,9 +9042,16 @@ class AvatarPhotoLibComponent {
|
|
|
9468
9042
|
this.createInititals();
|
|
9469
9043
|
}
|
|
9470
9044
|
if (this.datalen === 1) {
|
|
9471
|
-
this.
|
|
9472
|
-
|
|
9473
|
-
|
|
9045
|
+
if (this.defaulfColor) {
|
|
9046
|
+
this.randomcolors = [
|
|
9047
|
+
this.defaulfColor
|
|
9048
|
+
];
|
|
9049
|
+
}
|
|
9050
|
+
else {
|
|
9051
|
+
this.randomcolors = [
|
|
9052
|
+
'#006400',
|
|
9053
|
+
];
|
|
9054
|
+
}
|
|
9474
9055
|
}
|
|
9475
9056
|
/** @type {?} */
|
|
9476
9057
|
const randomIndex = Math.floor(Math.random() * Math.floor(this.colors.length));
|
|
@@ -9538,6 +9119,7 @@ AvatarPhotoLibComponent.propDecorators = {
|
|
|
9538
9119
|
photoUrl: [{ type: Input }],
|
|
9539
9120
|
name: [{ type: Input }],
|
|
9540
9121
|
size: [{ type: Input }],
|
|
9122
|
+
defaulfColor: [{ type: Input }],
|
|
9541
9123
|
randomColor: [{ type: Input }],
|
|
9542
9124
|
initials: [{ type: Input }],
|
|
9543
9125
|
showBadge: [{ type: Input }]
|
|
@@ -9552,6 +9134,8 @@ if (false) {
|
|
|
9552
9134
|
/** @type {?} */
|
|
9553
9135
|
AvatarPhotoLibComponent.prototype.size;
|
|
9554
9136
|
/** @type {?} */
|
|
9137
|
+
AvatarPhotoLibComponent.prototype.defaulfColor;
|
|
9138
|
+
/** @type {?} */
|
|
9555
9139
|
AvatarPhotoLibComponent.prototype.randomColor;
|
|
9556
9140
|
/** @type {?} */
|
|
9557
9141
|
AvatarPhotoLibComponent.prototype.initials;
|
|
@@ -9613,6 +9197,7 @@ class SlidersNgContentLibComponent extends WidgetBaseComponent {
|
|
|
9613
9197
|
this.valueSvc = valueSvc;
|
|
9614
9198
|
this.title = '';
|
|
9615
9199
|
this.loadNgContentData = false;
|
|
9200
|
+
this.autoScroll = false;
|
|
9616
9201
|
this.currentIndexValue = new EventEmitter();
|
|
9617
9202
|
this.id = `banner_${Math.random()}`;
|
|
9618
9203
|
this.defaultMenuSubscribe = null;
|
|
@@ -9625,7 +9210,9 @@ class SlidersNgContentLibComponent extends WidgetBaseComponent {
|
|
|
9625
9210
|
* @return {?}
|
|
9626
9211
|
*/
|
|
9627
9212
|
ngOnInit() {
|
|
9628
|
-
this.
|
|
9213
|
+
if (this.autoScroll) {
|
|
9214
|
+
this.reInitiateSlideInterval();
|
|
9215
|
+
}
|
|
9629
9216
|
this.defaultMenuSubscribe = this.isLtMedium$.subscribe((/**
|
|
9630
9217
|
* @param {?} isLtMedium
|
|
9631
9218
|
* @return {?}
|
|
@@ -9680,7 +9267,9 @@ class SlidersNgContentLibComponent extends WidgetBaseComponent {
|
|
|
9680
9267
|
this.currentIndex = this.widgetData.length + index;
|
|
9681
9268
|
this.currentIndexValue.emit(this.currentIndex);
|
|
9682
9269
|
}
|
|
9683
|
-
this.
|
|
9270
|
+
if (this.autoScroll) {
|
|
9271
|
+
this.reInitiateSlideInterval();
|
|
9272
|
+
}
|
|
9684
9273
|
}
|
|
9685
9274
|
/**
|
|
9686
9275
|
* @return {?}
|
|
@@ -9736,8 +9325,8 @@ class SlidersNgContentLibComponent extends WidgetBaseComponent {
|
|
|
9736
9325
|
SlidersNgContentLibComponent.decorators = [
|
|
9737
9326
|
{ type: Component, args: [{
|
|
9738
9327
|
selector: 'sb-uic-sliders-ng-content',
|
|
9739
|
-
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",
|
|
9740
|
-
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}}"]
|
|
9328
|
+
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",
|
|
9329
|
+
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}}"]
|
|
9741
9330
|
}] }
|
|
9742
9331
|
];
|
|
9743
9332
|
/** @nocollapse */
|
|
@@ -9750,8 +9339,10 @@ SlidersNgContentLibComponent.propDecorators = {
|
|
|
9750
9339
|
styleData: [{ type: Input }],
|
|
9751
9340
|
title: [{ type: Input }],
|
|
9752
9341
|
loadNgContentData: [{ type: Input }],
|
|
9342
|
+
autoScroll: [{ type: Input }],
|
|
9753
9343
|
currentIndexValue: [{ type: Output }],
|
|
9754
|
-
id: [{ type: HostBinding, args: ['id',] }]
|
|
9344
|
+
id: [{ type: HostBinding, args: ['id',] }],
|
|
9345
|
+
currentIndex: [{ type: Input }]
|
|
9755
9346
|
};
|
|
9756
9347
|
if (false) {
|
|
9757
9348
|
/** @type {?} */
|
|
@@ -9763,6 +9354,8 @@ if (false) {
|
|
|
9763
9354
|
/** @type {?} */
|
|
9764
9355
|
SlidersNgContentLibComponent.prototype.loadNgContentData;
|
|
9765
9356
|
/** @type {?} */
|
|
9357
|
+
SlidersNgContentLibComponent.prototype.autoScroll;
|
|
9358
|
+
/** @type {?} */
|
|
9766
9359
|
SlidersNgContentLibComponent.prototype.currentIndexValue;
|
|
9767
9360
|
/** @type {?} */
|
|
9768
9361
|
SlidersNgContentLibComponent.prototype.id;
|
|
@@ -9836,11 +9429,27 @@ SlidersNgContentLibModule.decorators = [
|
|
|
9836
9429
|
* @fileoverview added by tsickle
|
|
9837
9430
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9838
9431
|
*/
|
|
9839
|
-
class
|
|
9432
|
+
class ScrollableItemModule {
|
|
9433
|
+
}
|
|
9434
|
+
ScrollableItemModule.decorators = [
|
|
9435
|
+
{ type: NgModule, args: [{
|
|
9436
|
+
declarations: [ScrollableItemDirective],
|
|
9437
|
+
imports: [
|
|
9438
|
+
CommonModule,
|
|
9439
|
+
],
|
|
9440
|
+
exports: [ScrollableItemDirective],
|
|
9441
|
+
},] }
|
|
9442
|
+
];
|
|
9443
|
+
|
|
9444
|
+
/**
|
|
9445
|
+
* @fileoverview added by tsickle
|
|
9446
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9447
|
+
*/
|
|
9448
|
+
class UserContentRatingLibModule {
|
|
9840
9449
|
}
|
|
9841
|
-
|
|
9450
|
+
UserContentRatingLibModule.decorators = [
|
|
9842
9451
|
{ type: NgModule, args: [{
|
|
9843
|
-
declarations: [
|
|
9452
|
+
declarations: [UserContentRatingLibComponent],
|
|
9844
9453
|
imports: [
|
|
9845
9454
|
CommonModule,
|
|
9846
9455
|
MatIconModule,
|
|
@@ -9849,10 +9458,11 @@ UserContentRatingModule.decorators = [
|
|
|
9849
9458
|
SlidersLibModule,
|
|
9850
9459
|
CardsModule,
|
|
9851
9460
|
AvatarPhotoLibModule,
|
|
9852
|
-
SlidersNgContentLibModule
|
|
9461
|
+
SlidersNgContentLibModule,
|
|
9462
|
+
ScrollableItemModule
|
|
9853
9463
|
],
|
|
9854
|
-
exports: [
|
|
9855
|
-
providers: [RatingService],
|
|
9464
|
+
exports: [UserContentRatingLibComponent],
|
|
9465
|
+
providers: [RatingService, UserContentRatingLibService],
|
|
9856
9466
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
9857
9467
|
},] }
|
|
9858
9468
|
];
|
|
@@ -9867,5 +9477,5 @@ UserContentRatingModule.decorators = [
|
|
|
9867
9477
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9868
9478
|
*/
|
|
9869
9479
|
|
|
9870
|
-
export { CalenderModule, CardsModule, CommonMethodsService, CommonStripModule, CompetencyPassbookModule, ConsumptionComponent, ConsumptionModule, ConsumptionService, ContentStripWithTabsLibModule, DataPointsModule, HttpLoaderFactory, MyHammerConfig, ROOT_WIDGET_CONFIG, SlidersLibModule,
|
|
9480
|
+
export { AnnouncementsModule, CalenderModule, CardsModule, CommonMethodsService, CommonStripModule, CompetencyPassbookModule, ConsumptionComponent, ConsumptionModule, ConsumptionService, ContentStripWithTabsLibModule, DataPointsModule, HttpLoaderFactory, MyHammerConfig, ROOT_WIDGET_CONFIG, SlidersLibModule, UserContentRatingLibModule, WIDGET_REGISTERED_LIB_MODULES, WIDGET_REGISTRATION_LIB_CONFIG, ContentStripWithTabsLibComponent as ɵa, WidgetContentService as ɵb, PipePublicURLModule as ɵba, PipePublicURL as ɵbb, DisplayContentTypeLibModule as ɵbc, DisplayContentTypeLibComponent as ɵbd, DefaultThumbnailModule as ɵbe, DefaultThumbnailDirective as ɵbf, PipeDurationTransformModule as ɵbg, PipeDurationTransformPipe as ɵbh, CompetencyPassbookComponent as ɵbi, CompetencyPassbookService as ɵbj, PillsModule as ɵbk, PillsComponent as ɵbl, UserContentRatingLibComponent as ɵbm, ScrollableItemDirective as ɵbn, RatingService as ɵbo, UserContentRatingLibService as ɵbp, AvatarPhotoLibModule as ɵbq, AvatarPhotoLibComponent as ɵbr, MyHammerConfig$1 as ɵbs, SlidersNgContentLibModule as ɵbt, SlidersNgContentLibComponent as ɵbu, ScrollableItemModule as ɵbv, WidgetUserService as ɵc, MultilingualTranslationsService as ɵd, ConfigurationsService as ɵe, HorizontalScrollerV2Module as ɵf, HorizontalScrollerV2Component as ɵg, SlidersLibComponent as ɵh, NavigationModule as ɵi, NavigationDirective as ɵj, ImageResponsiveModule as ɵk, ImageResponsiveDirective as ɵl, DataPointsComponent as ɵm, InsiteDataService as ɵn, SkeletonLoaderLibModule as ɵo, SkeletonLoaderLibComponent as ɵp, CalenderComponent as ɵq, CalenderDayComponent as ɵr, CommonStripComponent as ɵs, AnnouncementsComponent as ɵt, CardResourceComponent as ɵu, CardsComponent as ɵv, CardPortraitComponent as ɵw, CardUserComponent as ɵx, CardLandscapeComponent as ɵy, CardWideComponent as ɵz };
|
|
9871
9481
|
//# sourceMappingURL=sunbird-cb-consumption.js.map
|