@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';
|
|
@@ -182,7 +182,11 @@ var HorizontalScrollerV2Component = /** @class */ (function () {
|
|
|
182
182
|
left: this.horizontalScrollElem.nativeElement.scrollLeft - clientWidth,
|
|
183
183
|
behavior: 'smooth',
|
|
184
184
|
});
|
|
185
|
-
|
|
185
|
+
/** @type {?} */
|
|
186
|
+
var elem = this.horizontalScrollElem.nativeElement;
|
|
187
|
+
if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
|
|
188
|
+
this.activeNav -= 1;
|
|
189
|
+
}
|
|
186
190
|
}
|
|
187
191
|
};
|
|
188
192
|
/**
|
|
@@ -202,7 +206,11 @@ var HorizontalScrollerV2Component = /** @class */ (function () {
|
|
|
202
206
|
left: this.horizontalScrollElem.nativeElement.scrollLeft + clientWidth,
|
|
203
207
|
behavior: 'smooth',
|
|
204
208
|
});
|
|
205
|
-
|
|
209
|
+
/** @type {?} */
|
|
210
|
+
var elem = this.horizontalScrollElem.nativeElement;
|
|
211
|
+
if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
|
|
212
|
+
this.activeNav += 1;
|
|
213
|
+
}
|
|
206
214
|
}
|
|
207
215
|
};
|
|
208
216
|
/**
|
|
@@ -5852,7 +5860,7 @@ var SlidersLibComponent = /** @class */ (function (_super) {
|
|
|
5852
5860
|
SlidersLibComponent.decorators = [
|
|
5853
5861
|
{ type: Component, args: [{
|
|
5854
5862
|
selector: 'sb-uic-sliders',
|
|
5855
|
-
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\"
|
|
5863
|
+
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",
|
|
5856
5864
|
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}}"]
|
|
5857
5865
|
}] }
|
|
5858
5866
|
];
|
|
@@ -6328,8 +6336,8 @@ var DataPointsComponent = /** @class */ (function () {
|
|
|
6328
6336
|
DataPointsComponent.decorators = [
|
|
6329
6337
|
{ type: Component, args: [{
|
|
6330
6338
|
selector: 'sb-uic-data-points',
|
|
6331
|
-
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
|
|
6332
|
-
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}}"]
|
|
6339
|
+
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",
|
|
6340
|
+
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}}"]
|
|
6333
6341
|
}] }
|
|
6334
6342
|
];
|
|
6335
6343
|
/** @nocollapse */
|
|
@@ -7774,6 +7782,73 @@ var CommonStripModule = /** @class */ (function () {
|
|
|
7774
7782
|
return CommonStripModule;
|
|
7775
7783
|
}());
|
|
7776
7784
|
|
|
7785
|
+
/**
|
|
7786
|
+
* @fileoverview added by tsickle
|
|
7787
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7788
|
+
*/
|
|
7789
|
+
var AnnouncementsComponent = /** @class */ (function () {
|
|
7790
|
+
function AnnouncementsComponent() {
|
|
7791
|
+
}
|
|
7792
|
+
/**
|
|
7793
|
+
* @return {?}
|
|
7794
|
+
*/
|
|
7795
|
+
AnnouncementsComponent.prototype.ngOnInit = /**
|
|
7796
|
+
* @return {?}
|
|
7797
|
+
*/
|
|
7798
|
+
function () {
|
|
7799
|
+
};
|
|
7800
|
+
/**
|
|
7801
|
+
* @param {?} item
|
|
7802
|
+
* @return {?}
|
|
7803
|
+
*/
|
|
7804
|
+
AnnouncementsComponent.prototype.viewMoreOrLess = /**
|
|
7805
|
+
* @param {?} item
|
|
7806
|
+
* @return {?}
|
|
7807
|
+
*/
|
|
7808
|
+
function (item) {
|
|
7809
|
+
if (item.value.length > 152) {
|
|
7810
|
+
item.expanded = !item.expanded;
|
|
7811
|
+
}
|
|
7812
|
+
};
|
|
7813
|
+
AnnouncementsComponent.decorators = [
|
|
7814
|
+
{ type: Component, args: [{
|
|
7815
|
+
selector: 'sb-uic-announcements',
|
|
7816
|
+
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>",
|
|
7817
|
+
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}}"]
|
|
7818
|
+
}] }
|
|
7819
|
+
];
|
|
7820
|
+
/** @nocollapse */
|
|
7821
|
+
AnnouncementsComponent.ctorParameters = function () { return []; };
|
|
7822
|
+
AnnouncementsComponent.propDecorators = {
|
|
7823
|
+
objectData: [{ type: Input }]
|
|
7824
|
+
};
|
|
7825
|
+
return AnnouncementsComponent;
|
|
7826
|
+
}());
|
|
7827
|
+
if (false) {
|
|
7828
|
+
/** @type {?} */
|
|
7829
|
+
AnnouncementsComponent.prototype.objectData;
|
|
7830
|
+
}
|
|
7831
|
+
|
|
7832
|
+
/**
|
|
7833
|
+
* @fileoverview added by tsickle
|
|
7834
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7835
|
+
*/
|
|
7836
|
+
var AnnouncementsModule = /** @class */ (function () {
|
|
7837
|
+
function AnnouncementsModule() {
|
|
7838
|
+
}
|
|
7839
|
+
AnnouncementsModule.decorators = [
|
|
7840
|
+
{ type: NgModule, args: [{
|
|
7841
|
+
declarations: [AnnouncementsComponent],
|
|
7842
|
+
imports: [
|
|
7843
|
+
CommonModule,
|
|
7844
|
+
SkeletonLoaderLibModule
|
|
7845
|
+
],
|
|
7846
|
+
exports: [AnnouncementsComponent],
|
|
7847
|
+
},] }
|
|
7848
|
+
];
|
|
7849
|
+
return AnnouncementsModule;
|
|
7850
|
+
}());
|
|
7851
|
+
|
|
7777
7852
|
/**
|
|
7778
7853
|
* @fileoverview added by tsickle
|
|
7779
7854
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -7793,7 +7868,8 @@ var ConsumptionModule = /** @class */ (function () {
|
|
|
7793
7868
|
SlidersLibModule,
|
|
7794
7869
|
DataPointsModule,
|
|
7795
7870
|
CalenderModule,
|
|
7796
|
-
CommonStripModule
|
|
7871
|
+
CommonStripModule,
|
|
7872
|
+
AnnouncementsModule
|
|
7797
7873
|
],
|
|
7798
7874
|
},] }
|
|
7799
7875
|
];
|
|
@@ -7959,7 +8035,7 @@ var CardsComponent = /** @class */ (function (_super) {
|
|
|
7959
8035
|
CardsComponent.decorators = [
|
|
7960
8036
|
{ type: Component, args: [{
|
|
7961
8037
|
selector: 'sb-uic-cards',
|
|
7962
|
-
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",
|
|
8038
|
+
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",
|
|
7963
8039
|
styles: [""]
|
|
7964
8040
|
}] }
|
|
7965
8041
|
];
|
|
@@ -8663,7 +8739,7 @@ var CardUserComponent = /** @class */ (function () {
|
|
|
8663
8739
|
CardUserComponent.decorators = [
|
|
8664
8740
|
{ type: Component, args: [{
|
|
8665
8741
|
selector: 'sb-uic-card-user',
|
|
8666
|
-
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>",
|
|
8742
|
+
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>",
|
|
8667
8743
|
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}"]
|
|
8668
8744
|
}] }
|
|
8669
8745
|
];
|
|
@@ -9026,7 +9102,7 @@ var CardWideComponent = /** @class */ (function () {
|
|
|
9026
9102
|
{ type: Component, args: [{
|
|
9027
9103
|
selector: 'sb-uic-card-wide',
|
|
9028
9104
|
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",
|
|
9029
|
-
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}"]
|
|
9105
|
+
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}}"]
|
|
9030
9106
|
}] }
|
|
9031
9107
|
];
|
|
9032
9108
|
/** @nocollapse */
|
|
@@ -9923,664 +9999,155 @@ if (false) {
|
|
|
9923
9999
|
* @fileoverview added by tsickle
|
|
9924
10000
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9925
10001
|
*/
|
|
9926
|
-
var
|
|
9927
|
-
function
|
|
10002
|
+
var ScrollableItemDirective = /** @class */ (function () {
|
|
10003
|
+
function ScrollableItemDirective(el) {
|
|
10004
|
+
this.el = el;
|
|
10005
|
+
}
|
|
10006
|
+
/**
|
|
10007
|
+
* @param {?} blockValue
|
|
10008
|
+
* @return {?}
|
|
10009
|
+
*/
|
|
10010
|
+
ScrollableItemDirective.prototype.scrollIntoView = /**
|
|
10011
|
+
* @param {?} blockValue
|
|
10012
|
+
* @return {?}
|
|
10013
|
+
*/
|
|
10014
|
+
function (blockValue) {
|
|
10015
|
+
this.el.nativeElement.scrollIntoView({ behavior: 'smooth', block: blockValue });
|
|
10016
|
+
};
|
|
10017
|
+
ScrollableItemDirective.decorators = [
|
|
10018
|
+
{ type: Directive, args: [{
|
|
10019
|
+
selector: '[sbUicScrollableItem]'
|
|
10020
|
+
},] }
|
|
10021
|
+
];
|
|
10022
|
+
/** @nocollapse */
|
|
10023
|
+
ScrollableItemDirective.ctorParameters = function () { return [
|
|
10024
|
+
{ type: ElementRef }
|
|
10025
|
+
]; };
|
|
10026
|
+
ScrollableItemDirective.propDecorators = {
|
|
10027
|
+
key: [{ type: Input, args: ['sbUicScrollableItem',] }]
|
|
10028
|
+
};
|
|
10029
|
+
return ScrollableItemDirective;
|
|
10030
|
+
}());
|
|
10031
|
+
if (false) {
|
|
10032
|
+
/** @type {?} */
|
|
10033
|
+
ScrollableItemDirective.prototype.key;
|
|
10034
|
+
/**
|
|
10035
|
+
* @type {?}
|
|
10036
|
+
* @private
|
|
10037
|
+
*/
|
|
10038
|
+
ScrollableItemDirective.prototype.el;
|
|
10039
|
+
}
|
|
10040
|
+
|
|
10041
|
+
/**
|
|
10042
|
+
* @fileoverview added by tsickle
|
|
10043
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10044
|
+
*/
|
|
10045
|
+
/** @type {?} */
|
|
10046
|
+
var API_END_POINTS$4 = {
|
|
10047
|
+
TOP_REVIEWS: "/apis/proxies/v8/ratings/v1/topReviews"
|
|
10048
|
+
};
|
|
10049
|
+
var UserContentRatingLibService = /** @class */ (function () {
|
|
10050
|
+
function UserContentRatingLibService(http) {
|
|
10051
|
+
this.http = http;
|
|
10052
|
+
}
|
|
10053
|
+
/**
|
|
10054
|
+
* @param {?} doId
|
|
10055
|
+
* @return {?}
|
|
10056
|
+
*/
|
|
10057
|
+
UserContentRatingLibService.prototype.fetchTopReviews = /**
|
|
10058
|
+
* @param {?} doId
|
|
10059
|
+
* @return {?}
|
|
10060
|
+
*/
|
|
10061
|
+
function (doId) {
|
|
10062
|
+
return this.http.get(API_END_POINTS$4.TOP_REVIEWS + "/" + doId);
|
|
10063
|
+
};
|
|
10064
|
+
UserContentRatingLibService.decorators = [
|
|
10065
|
+
{ type: Injectable, args: [{
|
|
10066
|
+
providedIn: 'root'
|
|
10067
|
+
},] }
|
|
10068
|
+
];
|
|
10069
|
+
/** @nocollapse */
|
|
10070
|
+
UserContentRatingLibService.ctorParameters = function () { return [
|
|
10071
|
+
{ type: HttpClient }
|
|
10072
|
+
]; };
|
|
10073
|
+
/** @nocollapse */ UserContentRatingLibService.ngInjectableDef = ɵɵdefineInjectable({ factory: function UserContentRatingLibService_Factory() { return new UserContentRatingLibService(ɵɵinject(HttpClient)); }, token: UserContentRatingLibService, providedIn: "root" });
|
|
10074
|
+
return UserContentRatingLibService;
|
|
10075
|
+
}());
|
|
10076
|
+
if (false) {
|
|
10077
|
+
/**
|
|
10078
|
+
* @type {?}
|
|
10079
|
+
* @private
|
|
10080
|
+
*/
|
|
10081
|
+
UserContentRatingLibService.prototype.http;
|
|
10082
|
+
}
|
|
10083
|
+
|
|
10084
|
+
/**
|
|
10085
|
+
* @fileoverview added by tsickle
|
|
10086
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10087
|
+
*/
|
|
10088
|
+
var UserContentRatingLibComponent = /** @class */ (function () {
|
|
10089
|
+
function UserContentRatingLibComponent(ratingService, userRatingSvc) {
|
|
9928
10090
|
this.ratingService = ratingService;
|
|
10091
|
+
this.userRatingSvc = userRatingSvc;
|
|
9929
10092
|
this.currentIndex = 0;
|
|
9930
|
-
this.
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
"borderRadius": "0",
|
|
9936
|
-
"customHeight": "424px",
|
|
9937
|
-
"arrowsPlacement": "middle-inline",
|
|
9938
|
-
"responsive": {
|
|
9939
|
-
"bannerMetaClass": "inline-meta",
|
|
9940
|
-
"customHeight": "232px",
|
|
9941
|
-
"bannerMetaAlign": "right",
|
|
9942
|
-
"navigationArrows": "visible",
|
|
9943
|
-
"dots": "hidden",
|
|
9944
|
-
"arrowsPlacement": "middle-inline"
|
|
9945
|
-
}
|
|
9946
|
-
};
|
|
9947
|
-
this.sliders = [
|
|
9948
|
-
{
|
|
9949
|
-
"active": true,
|
|
9950
|
-
"banners": {
|
|
9951
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9952
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9953
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9954
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9955
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9956
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
9957
|
-
},
|
|
9958
|
-
"redirectUrl": "",
|
|
9959
|
-
"queryParams": {},
|
|
9960
|
-
"title": ""
|
|
9961
|
-
},
|
|
9962
|
-
{
|
|
9963
|
-
"active": true,
|
|
9964
|
-
"banners": {
|
|
9965
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
9966
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
9967
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
9968
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
9969
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png",
|
|
9970
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051312372424704125/artifact/do_114051312372424704125_1715248147439_l.png"
|
|
9971
|
-
},
|
|
9972
|
-
"redirectUrl": "",
|
|
9973
|
-
"queryParams": {},
|
|
9974
|
-
"title": ""
|
|
9975
|
-
},
|
|
9976
|
-
{
|
|
9977
|
-
"active": true,
|
|
9978
|
-
"banners": {
|
|
9979
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
9980
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
9981
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
9982
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
9983
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png",
|
|
9984
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051314864234496126/artifact/do_114051314864234496126_1715248438443_l.png"
|
|
9985
|
-
},
|
|
9986
|
-
"redirectUrl": "",
|
|
9987
|
-
"queryParams": {},
|
|
9988
|
-
"title": ""
|
|
9989
|
-
},
|
|
9990
|
-
{
|
|
9991
|
-
"active": true,
|
|
9992
|
-
"banners": {
|
|
9993
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9994
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9995
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9996
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9997
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
9998
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
9999
|
-
},
|
|
10000
|
-
"redirectUrl": "",
|
|
10001
|
-
"queryParams": {},
|
|
10002
|
-
"title": ""
|
|
10003
|
-
},
|
|
10004
|
-
{
|
|
10005
|
-
"active": true,
|
|
10006
|
-
"banners": {
|
|
10007
|
-
"l": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10008
|
-
"m": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10009
|
-
"s": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10010
|
-
"xl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10011
|
-
"xs": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png",
|
|
10012
|
-
"xxl": "https://portal.karmayogi.nic.in/content-store/content/do_114051307572264960124/artifact/do_114051307572264960124_1715247613335_l.png"
|
|
10013
|
-
},
|
|
10014
|
-
"redirectUrl": "",
|
|
10015
|
-
"queryParams": {},
|
|
10016
|
-
"title": ""
|
|
10017
|
-
}
|
|
10018
|
-
];
|
|
10019
|
-
this.contentCard = {
|
|
10020
|
-
"content": {
|
|
10021
|
-
"identifier": "do_113990515935854592111",
|
|
10022
|
-
"competencies_v5": [
|
|
10023
|
-
{
|
|
10024
|
-
"competencyArea": "Behavioural",
|
|
10025
|
-
"competencyAreaId": 1,
|
|
10026
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10027
|
-
"competencyTheme": "Collaboration",
|
|
10028
|
-
"competencyThemeId": 25,
|
|
10029
|
-
"competecnyThemeDescription": "Collaboration competency Theme",
|
|
10030
|
-
"competencyThemeType": "Core",
|
|
10031
|
-
"competencySubTheme": "Diversity & Inclusion",
|
|
10032
|
-
"competencySubThemeId": 27,
|
|
10033
|
-
"competecnySubThemeDescription": "Diversity & Inclusion Competency Sub-Theme"
|
|
10034
|
-
}
|
|
10035
|
-
],
|
|
10036
|
-
"description": "Invite only program",
|
|
10037
|
-
"organisation": [
|
|
10038
|
-
"Ministry of Finance"
|
|
10039
|
-
],
|
|
10040
|
-
"creatorLogo": null,
|
|
10041
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
10042
|
-
"duration": "2280",
|
|
10043
|
-
"additionalTags": null,
|
|
10044
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113990515935854592111/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
10045
|
-
"primaryCategory": "Program",
|
|
10046
|
-
"name": "Invite only program",
|
|
10047
|
-
"avgRating": null,
|
|
10048
|
-
"contentType": "Course"
|
|
10049
|
-
},
|
|
10050
|
-
"cardSubType": "card-wide-lib",
|
|
10051
|
-
"cardCustomeClass": "",
|
|
10052
|
-
"context": {
|
|
10053
|
-
"pageSection": "featuredContents",
|
|
10054
|
-
"position": 3
|
|
10055
|
-
},
|
|
10056
|
-
"review": "Credit",
|
|
10057
|
-
"rating": 5.0,
|
|
10058
|
-
"userDetails": {
|
|
10059
|
-
"firstName": "Agri usertwo",
|
|
10060
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
10061
|
-
"profileImageUrl": null
|
|
10062
|
-
}
|
|
10063
|
-
};
|
|
10064
|
-
this.widgetData = {
|
|
10065
|
-
cardSubType: ''
|
|
10066
|
-
};
|
|
10067
|
-
this.responseData = [
|
|
10068
|
-
{
|
|
10069
|
-
"review": "Credit",
|
|
10070
|
-
"rating": 5.0,
|
|
10071
|
-
"userDetails": {
|
|
10072
|
-
"firstName": "Agri usertwo",
|
|
10073
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
10074
|
-
"profileImageUrl": null
|
|
10075
|
-
},
|
|
10076
|
-
"content": {
|
|
10077
|
-
"identifier": "do_113990515935854592111",
|
|
10078
|
-
"competencies_v5": [
|
|
10079
|
-
{
|
|
10080
|
-
"competencyArea": "Behavioural",
|
|
10081
|
-
"competencyAreaId": 1,
|
|
10082
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10083
|
-
"competencyTheme": "Collaboration",
|
|
10084
|
-
"competencyThemeId": 25,
|
|
10085
|
-
"competecnyThemeDescription": "Collaboration competency Theme",
|
|
10086
|
-
"competencyThemeType": "Core",
|
|
10087
|
-
"competencySubTheme": "Diversity & Inclusion",
|
|
10088
|
-
"competencySubThemeId": 27,
|
|
10089
|
-
"competecnySubThemeDescription": "Diversity & Inclusion Competency Sub-Theme"
|
|
10090
|
-
}
|
|
10091
|
-
],
|
|
10092
|
-
"description": "Invite only program",
|
|
10093
|
-
"organisation": [
|
|
10094
|
-
"Ministry of Finance"
|
|
10095
|
-
],
|
|
10096
|
-
"creatorLogo": null,
|
|
10097
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
10098
|
-
"duration": "2280",
|
|
10099
|
-
"additionalTags": null,
|
|
10100
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113990515935854592111/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
10101
|
-
"primaryCategory": "Program",
|
|
10102
|
-
"name": "Invite only program",
|
|
10103
|
-
"avgRating": null,
|
|
10104
|
-
"contentType": "Course"
|
|
10105
|
-
},
|
|
10106
|
-
"cardSubType": "card-wide-lib",
|
|
10107
|
-
"cardCustomeClass": "",
|
|
10108
|
-
"context": {
|
|
10109
|
-
"pageSection": "featuredContents",
|
|
10110
|
-
"position": 3
|
|
10111
|
-
}
|
|
10112
|
-
},
|
|
10113
|
-
{
|
|
10114
|
-
"review": "Abc xyz1",
|
|
10115
|
-
"rating": 5.0,
|
|
10116
|
-
"userDetails": {
|
|
10117
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10118
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10119
|
-
"profileImageUrl": null
|
|
10120
|
-
},
|
|
10121
|
-
"cardSubType": "card-wide-lib",
|
|
10122
|
-
"cardCustomeClass": "",
|
|
10123
|
-
"context": {
|
|
10124
|
-
"pageSection": "featuredContents",
|
|
10125
|
-
"position": 3
|
|
10126
|
-
},
|
|
10127
|
-
"content": {
|
|
10128
|
-
"identifier": "do_113987549775609856182_rc",
|
|
10129
|
-
"competencies_v5": [
|
|
10130
|
-
{
|
|
10131
|
-
"competencyArea": "Domain",
|
|
10132
|
-
"competencyAreaId": 145,
|
|
10133
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10134
|
-
"competencyTheme": "Account Management",
|
|
10135
|
-
"competencyThemeId": 148,
|
|
10136
|
-
"competecnyThemeDescription": "Account Management competency Theme",
|
|
10137
|
-
"competencyThemeType": "Core",
|
|
10138
|
-
"competencySubTheme": "Account Management",
|
|
10139
|
-
"competencySubThemeId": 149,
|
|
10140
|
-
"competecnySubThemeDescription": "Account Management Competency Sub-Theme"
|
|
10141
|
-
}
|
|
10142
|
-
],
|
|
10143
|
-
"description": "Course Check for MDO Specific All Users 09 Feb",
|
|
10144
|
-
"organisation": [
|
|
10145
|
-
"Ministry of Finance"
|
|
10146
|
-
],
|
|
10147
|
-
"creatorLogo": null,
|
|
10148
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_11395704427130060819/artifact/do_11395704427130060819_1703740756028_capture71703740758098.png",
|
|
10149
|
-
"duration": "606",
|
|
10150
|
-
"additionalTags": null,
|
|
10151
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113987549775609856182_rc/artifact/do_11395704427130060819_1703740756028_capture71703740758098.thumb.png",
|
|
10152
|
-
"primaryCategory": "Course",
|
|
10153
|
-
"name": "Course Check for MDO Specific All Users 09 Feb",
|
|
10154
|
-
"avgRating": 5.0,
|
|
10155
|
-
"contentType": "Course"
|
|
10156
|
-
}
|
|
10157
|
-
},
|
|
10158
|
-
{
|
|
10159
|
-
"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",
|
|
10160
|
-
"rating": 5.0,
|
|
10161
|
-
"userDetails": {
|
|
10162
|
-
"firstName": "Agri usertwo",
|
|
10163
|
-
"userId": "f00473e1-54e8-40b7-b541-461250f298d1",
|
|
10164
|
-
"profileImageUrl": null
|
|
10165
|
-
},
|
|
10166
|
-
"cardSubType": "card-wide-lib",
|
|
10167
|
-
"cardCustomeClass": "",
|
|
10168
|
-
"context": {
|
|
10169
|
-
"pageSection": "featuredContents",
|
|
10170
|
-
"position": 3
|
|
10171
|
-
},
|
|
10172
|
-
"content": {
|
|
10173
|
-
"identifier": "do_114006606955921408144",
|
|
10174
|
-
"competencies_v5": [
|
|
10175
|
-
{
|
|
10176
|
-
"competencyArea": "Behavioural",
|
|
10177
|
-
"competencyAreaId": 1,
|
|
10178
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10179
|
-
"competencyTheme": "Collaborative Leadership",
|
|
10180
|
-
"competencyThemeId": 46,
|
|
10181
|
-
"competecnyThemeDescription": "Collaborative Leadership competency Theme",
|
|
10182
|
-
"competencyThemeType": "Leadership",
|
|
10183
|
-
"competencySubTheme": "Influencing and Negotiation",
|
|
10184
|
-
"competencySubThemeId": 47,
|
|
10185
|
-
"competecnySubThemeDescription": "Influencing and Negotiation Competency Sub-Theme"
|
|
10186
|
-
}
|
|
10187
|
-
],
|
|
10188
|
-
"description": "test Scrom",
|
|
10189
|
-
"organisation": [
|
|
10190
|
-
"Ministry of Finance"
|
|
10191
|
-
],
|
|
10192
|
-
"creatorLogo": null,
|
|
10193
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139430185765847041226/artifact/do_1139430185765847041226_1702028635111_maxresdefault.jpg",
|
|
10194
|
-
"duration": "180",
|
|
10195
|
-
"additionalTags": null,
|
|
10196
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_114006606955921408144/artifact/do_1139430185765847041226_1702028635111_maxresdefault.thumb.jpg",
|
|
10197
|
-
"primaryCategory": "Course",
|
|
10198
|
-
"name": "Large PDF test Cases",
|
|
10199
|
-
"avgRating": 4.0,
|
|
10200
|
-
"contentType": "Course"
|
|
10201
|
-
}
|
|
10202
|
-
},
|
|
10203
|
-
{
|
|
10204
|
-
"review": "Good courseQA",
|
|
10205
|
-
"rating": 5.0,
|
|
10206
|
-
"userDetails": {
|
|
10207
|
-
"firstName": "Public User QA env",
|
|
10208
|
-
"userId": "0517056e-b57b-49ca-a44c-cdc3a251dd3e",
|
|
10209
|
-
"profileImageUrl": null
|
|
10210
|
-
},
|
|
10211
|
-
"cardSubType": "card-wide-lib",
|
|
10212
|
-
"cardCustomeClass": "",
|
|
10213
|
-
"context": {
|
|
10214
|
-
"pageSection": "featuredContents",
|
|
10215
|
-
"position": 3
|
|
10216
|
-
},
|
|
10217
|
-
"content": {
|
|
10218
|
-
"identifier": "do_113902049969004544112",
|
|
10219
|
-
"competencies_v5": [
|
|
10220
|
-
{
|
|
10221
|
-
"competencyArea": "Domain",
|
|
10222
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10223
|
-
"competencyAreaId": 145,
|
|
10224
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10225
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10226
|
-
"competencyThemeId": 186,
|
|
10227
|
-
"competencyThemeType": "Core",
|
|
10228
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10229
|
-
"competencySubThemeId": 187,
|
|
10230
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10231
|
-
},
|
|
10232
|
-
{
|
|
10233
|
-
"competencyArea": "Domain",
|
|
10234
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10235
|
-
"competencyAreaId": 145,
|
|
10236
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10237
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10238
|
-
"competencyThemeId": 184,
|
|
10239
|
-
"competencyThemeType": "Core",
|
|
10240
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10241
|
-
"competencySubThemeId": 185,
|
|
10242
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10243
|
-
}
|
|
10244
|
-
],
|
|
10245
|
-
"description": "QATestCourse2",
|
|
10246
|
-
"organisation": [
|
|
10247
|
-
"Ministry of Finance"
|
|
10248
|
-
],
|
|
10249
|
-
"creatorLogo": null,
|
|
10250
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10251
|
-
"duration": "540",
|
|
10252
|
-
"additionalTags": null,
|
|
10253
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10254
|
-
"primaryCategory": "Course",
|
|
10255
|
-
"name": "QATestCourse2",
|
|
10256
|
-
"avgRating": 5.0,
|
|
10257
|
-
"contentType": "Course"
|
|
10258
|
-
}
|
|
10259
|
-
},
|
|
10260
|
-
{
|
|
10261
|
-
"review": "ok",
|
|
10262
|
-
"rating": 5.0,
|
|
10263
|
-
"userDetails": {
|
|
10264
|
-
"firstName": "qatestcreator",
|
|
10265
|
-
"userId": "54548483-0708-417c-ac9f-9b2260e13962",
|
|
10266
|
-
"profileImageUrl": null
|
|
10267
|
-
},
|
|
10268
|
-
"cardSubType": "card-wide-lib",
|
|
10269
|
-
"cardCustomeClass": "",
|
|
10270
|
-
"context": {
|
|
10271
|
-
"pageSection": "featuredContents",
|
|
10272
|
-
"position": 3
|
|
10273
|
-
},
|
|
10274
|
-
"content": {
|
|
10275
|
-
"identifier": "do_113902049969004544112",
|
|
10276
|
-
"competencies_v5": [
|
|
10277
|
-
{
|
|
10278
|
-
"competencyArea": "Domain",
|
|
10279
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10280
|
-
"competencyAreaId": 145,
|
|
10281
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10282
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10283
|
-
"competencyThemeId": 186,
|
|
10284
|
-
"competencyThemeType": "Core",
|
|
10285
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10286
|
-
"competencySubThemeId": 187,
|
|
10287
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10288
|
-
},
|
|
10289
|
-
{
|
|
10290
|
-
"competencyArea": "Domain",
|
|
10291
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10292
|
-
"competencyAreaId": 145,
|
|
10293
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10294
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10295
|
-
"competencyThemeId": 184,
|
|
10296
|
-
"competencyThemeType": "Core",
|
|
10297
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10298
|
-
"competencySubThemeId": 185,
|
|
10299
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10300
|
-
}
|
|
10301
|
-
],
|
|
10302
|
-
"description": "QATestCourse2",
|
|
10303
|
-
"organisation": [
|
|
10304
|
-
"Ministry of Finance"
|
|
10305
|
-
],
|
|
10306
|
-
"creatorLogo": null,
|
|
10307
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10308
|
-
"duration": "540",
|
|
10309
|
-
"additionalTags": null,
|
|
10310
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10311
|
-
"primaryCategory": "Course",
|
|
10312
|
-
"name": "QATestCourse2",
|
|
10313
|
-
"avgRating": 5.0,
|
|
10314
|
-
"contentType": "Course"
|
|
10315
|
-
}
|
|
10316
|
-
},
|
|
10317
|
-
{
|
|
10318
|
-
"review": "nic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic onenic one",
|
|
10319
|
-
"rating": 5.0,
|
|
10320
|
-
"userDetails": {
|
|
10321
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10322
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10323
|
-
"profileImageUrl": null
|
|
10324
|
-
},
|
|
10325
|
-
"cardSubType": "card-wide-lib",
|
|
10326
|
-
"cardCustomeClass": "",
|
|
10327
|
-
"context": {
|
|
10328
|
-
"pageSection": "featuredContents",
|
|
10329
|
-
"position": 3
|
|
10330
|
-
},
|
|
10331
|
-
"content": {
|
|
10332
|
-
"identifier": "do_113902049969004544112",
|
|
10333
|
-
"competencies_v5": [
|
|
10334
|
-
{
|
|
10335
|
-
"competencyArea": "Domain",
|
|
10336
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10337
|
-
"competencyAreaId": 145,
|
|
10338
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10339
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10340
|
-
"competencyThemeId": 186,
|
|
10341
|
-
"competencyThemeType": "Core",
|
|
10342
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10343
|
-
"competencySubThemeId": 187,
|
|
10344
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10345
|
-
},
|
|
10346
|
-
{
|
|
10347
|
-
"competencyArea": "Domain",
|
|
10348
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10349
|
-
"competencyAreaId": 145,
|
|
10350
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10351
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10352
|
-
"competencyThemeId": 184,
|
|
10353
|
-
"competencyThemeType": "Core",
|
|
10354
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10355
|
-
"competencySubThemeId": 185,
|
|
10356
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10357
|
-
}
|
|
10358
|
-
],
|
|
10359
|
-
"description": "QATestCourse2",
|
|
10360
|
-
"organisation": [
|
|
10361
|
-
"Ministry of Finance"
|
|
10362
|
-
],
|
|
10363
|
-
"creatorLogo": null,
|
|
10364
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10365
|
-
"duration": "540",
|
|
10366
|
-
"additionalTags": null,
|
|
10367
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10368
|
-
"primaryCategory": "Course",
|
|
10369
|
-
"name": "QATestCourse2",
|
|
10370
|
-
"avgRating": 5.0,
|
|
10371
|
-
"contentType": "Course"
|
|
10372
|
-
}
|
|
10373
|
-
},
|
|
10374
|
-
{
|
|
10375
|
-
"review": "Checking Ratings and alignment under Overview",
|
|
10376
|
-
"rating": 5.0,
|
|
10377
|
-
"userDetails": {
|
|
10378
|
-
"firstName": "Get Started User Five",
|
|
10379
|
-
"userId": "e6a9d4b6-b30a-405f-9bcb-166038600218",
|
|
10380
|
-
"profileImageUrl": null
|
|
10381
|
-
},
|
|
10382
|
-
"cardSubType": "card-wide-lib",
|
|
10383
|
-
"cardCustomeClass": "",
|
|
10384
|
-
"context": {
|
|
10385
|
-
"pageSection": "featuredContents",
|
|
10386
|
-
"position": 3
|
|
10387
|
-
},
|
|
10388
|
-
"content": {
|
|
10389
|
-
"identifier": "do_113902049969004544112",
|
|
10390
|
-
"competencies_v5": [
|
|
10391
|
-
{
|
|
10392
|
-
"competencyArea": "Domain",
|
|
10393
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10394
|
-
"competencyAreaId": 145,
|
|
10395
|
-
"competencyTheme": "Communication Backbone System Maintenance",
|
|
10396
|
-
"competencyThemeDescription": "Communication Backbone System Maintenance competency Theme",
|
|
10397
|
-
"competencyThemeId": 186,
|
|
10398
|
-
"competencyThemeType": "Core",
|
|
10399
|
-
"competencySubTheme": "Communication Backbone System Maintenance",
|
|
10400
|
-
"competencySubThemeId": 187,
|
|
10401
|
-
"competencySubThemeDescription": "Communication Backbone System Maintenance Competency Sub-Theme"
|
|
10402
|
-
},
|
|
10403
|
-
{
|
|
10404
|
-
"competencyArea": "Domain",
|
|
10405
|
-
"competencyAreaDescription": "Domain Competency Area",
|
|
10406
|
-
"competencyAreaId": 145,
|
|
10407
|
-
"competencyTheme": "Communication Auxiliary Systems Maintenance",
|
|
10408
|
-
"competencyThemeDescription": "Communication Auxiliary Systems Maintenance competency Theme",
|
|
10409
|
-
"competencyThemeId": 184,
|
|
10410
|
-
"competencyThemeType": "Core",
|
|
10411
|
-
"competencySubTheme": "Communication Auxiliary Systems Maintenance",
|
|
10412
|
-
"competencySubThemeId": 185,
|
|
10413
|
-
"competencySubThemeDescription": "Communication Auxiliary Systems Maintenance Competency Sub-Theme"
|
|
10414
|
-
}
|
|
10415
|
-
],
|
|
10416
|
-
"description": "QATestCourse2",
|
|
10417
|
-
"organisation": [
|
|
10418
|
-
"Ministry of Finance"
|
|
10419
|
-
],
|
|
10420
|
-
"creatorLogo": null,
|
|
10421
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10422
|
-
"duration": "540",
|
|
10423
|
-
"additionalTags": null,
|
|
10424
|
-
"appIcon": "https://portal.karmayogiqa.nic.in/content-store/content/do_113902071254761472117/artifact/do_113902071254761472117_1697030308090_screenshotfrom202310101224021697030170978.png",
|
|
10425
|
-
"primaryCategory": "Course",
|
|
10426
|
-
"name": "QATestCourse2",
|
|
10427
|
-
"avgRating": 5.0,
|
|
10428
|
-
"contentType": "Course"
|
|
10429
|
-
}
|
|
10430
|
-
},
|
|
10431
|
-
{
|
|
10432
|
-
"review": "Testing rating 123",
|
|
10433
|
-
"rating": 5.0,
|
|
10434
|
-
"userDetails": {
|
|
10435
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10436
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10437
|
-
"profileImageUrl": null
|
|
10438
|
-
},
|
|
10439
|
-
"cardSubType": "card-wide-lib",
|
|
10440
|
-
"cardCustomeClass": "",
|
|
10441
|
-
"context": {
|
|
10442
|
-
"pageSection": "featuredContents",
|
|
10443
|
-
"position": 3
|
|
10444
|
-
},
|
|
10445
|
-
"content": {
|
|
10446
|
-
"identifier": "do_1139400923254046721119",
|
|
10447
|
-
"competencies_v5": [
|
|
10448
|
-
{
|
|
10449
|
-
"competencyArea": "Functional",
|
|
10450
|
-
"competencyAreaDescription": "Functional Competency Area",
|
|
10451
|
-
"competencyAreaId": 56,
|
|
10452
|
-
"competencyTheme": "Administration Matters",
|
|
10453
|
-
"competencyThemeDescription": "Administration Matters competency Theme",
|
|
10454
|
-
"competencyThemeId": 140,
|
|
10455
|
-
"competencyThemeType": "Core",
|
|
10456
|
-
"competencySubTheme": "Handling Miscellaneous Matters (Car, Residence, Personal Staff etc.)",
|
|
10457
|
-
"competencySubThemeId": 143,
|
|
10458
|
-
"competencySubThemeDescription": "Handling Miscellaneous Matters (Car, Residence, Personal Staff etc.) Competency Sub-Theme"
|
|
10459
|
-
}
|
|
10460
|
-
],
|
|
10461
|
-
"description": "Youtube Links",
|
|
10462
|
-
"organisation": [
|
|
10463
|
-
"Ministry of Finance"
|
|
10464
|
-
],
|
|
10465
|
-
"creatorLogo": null,
|
|
10466
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139400694644490241113/artifact/do_1139400694644490241113_1701668637063_effective-communication.png",
|
|
10467
|
-
"duration": "420",
|
|
10468
|
-
"additionalTags": null,
|
|
10469
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_1139400923254046721119/artifact/do_1139400694644490241113_1701668637063_effective-communication.thumb.png",
|
|
10470
|
-
"primaryCategory": "Course",
|
|
10471
|
-
"name": "Course New 04 Dec",
|
|
10472
|
-
"avgRating": 5.0,
|
|
10473
|
-
"contentType": "Course"
|
|
10474
|
-
}
|
|
10475
|
-
},
|
|
10476
|
-
{
|
|
10477
|
-
"review": "nice1",
|
|
10478
|
-
"rating": 5.0,
|
|
10479
|
-
"userDetails": {
|
|
10480
|
-
"firstName": "Qa test user one @#$ 123",
|
|
10481
|
-
"userId": "7fd686b6-d5b2-4e0a-a43f-d6e57cd2ea09",
|
|
10482
|
-
"profileImageUrl": null
|
|
10483
|
-
},
|
|
10484
|
-
"cardSubType": "card-wide-lib",
|
|
10485
|
-
"cardCustomeClass": "",
|
|
10486
|
-
"context": {
|
|
10487
|
-
"pageSection": "featuredContents",
|
|
10488
|
-
"position": 3
|
|
10489
|
-
},
|
|
10490
|
-
"content": {
|
|
10491
|
-
"identifier": "do_1139967854457651201519_rc",
|
|
10492
|
-
"competencies_v5": [
|
|
10493
|
-
{
|
|
10494
|
-
"competencyArea": "Behavioural",
|
|
10495
|
-
"competencyAreaId": 1,
|
|
10496
|
-
"competencyAreaDescription": "Behavioural Competency Area",
|
|
10497
|
-
"competencyTheme": "Personal Effectiveness",
|
|
10498
|
-
"competencyThemeId": 7,
|
|
10499
|
-
"competecnyThemeDescription": "Personal Effectiveness competency Theme",
|
|
10500
|
-
"competencyThemeType": "Core",
|
|
10501
|
-
"competencySubTheme": "Resilience",
|
|
10502
|
-
"competencySubThemeId": 9,
|
|
10503
|
-
"competecnySubThemeDescription": "Resilience Competency Sub-Theme"
|
|
10504
|
-
}
|
|
10505
|
-
],
|
|
10506
|
-
"description": "Sub:- Vikas- New Program '22/02/24' ",
|
|
10507
|
-
"organisation": [
|
|
10508
|
-
"Ministry of Finance"
|
|
10509
|
-
],
|
|
10510
|
-
"creatorLogo": null,
|
|
10511
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_1139946848192430081395/artifact/do_1139946848192430081395_1708335549501_digitalindiaandegovernance1708335549950.jpg",
|
|
10512
|
-
"duration": "12761",
|
|
10513
|
-
"additionalTags": null,
|
|
10514
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_1139967854457651201519_rc/artifact/do_1139946848192430081395_1708335549501_digitalindiaandegovernance1708335549950.thumb.jpg",
|
|
10515
|
-
"primaryCategory": "Program",
|
|
10516
|
-
"name": "Vikas- New Program '22/02/24'",
|
|
10517
|
-
"avgRating": 2.0,
|
|
10518
|
-
"contentType": "Course"
|
|
10519
|
-
}
|
|
10520
|
-
},
|
|
10521
|
-
{
|
|
10522
|
-
"review": "bv",
|
|
10523
|
-
"rating": 5.0,
|
|
10524
|
-
"userDetails": {
|
|
10525
|
-
"firstName": "qa dstuserone",
|
|
10526
|
-
"userId": "31c81730-bf33-437a-a53e-0bd8ac2fc3d6",
|
|
10527
|
-
"profileImageUrl": null
|
|
10528
|
-
},
|
|
10529
|
-
"cardSubType": "card-wide-lib",
|
|
10530
|
-
"cardCustomeClass": "",
|
|
10531
|
-
"context": {
|
|
10532
|
-
"pageSection": "featuredContents",
|
|
10533
|
-
"position": 3
|
|
10534
|
-
},
|
|
10535
|
-
"content": {
|
|
10536
|
-
"identifier": "do_113965740548784128178",
|
|
10537
|
-
"competencies_v5": [
|
|
10538
|
-
{
|
|
10539
|
-
"competencyArea": "Functional",
|
|
10540
|
-
"competencyAreaId": 56,
|
|
10541
|
-
"competencyAreaDescription": "Functional Competency Area",
|
|
10542
|
-
"competencyTheme": "Establishment & HR",
|
|
10543
|
-
"competencyThemeId": 101,
|
|
10544
|
-
"competecnyThemeDescription": "Establishment & HR competency Theme",
|
|
10545
|
-
"competencyThemeType": "Core",
|
|
10546
|
-
"competencySubTheme": "Handling Fundamental Rules /Supplementary Rules",
|
|
10547
|
-
"competencySubThemeId": 104,
|
|
10548
|
-
"competecnySubThemeDescription": "Handling Fundamental Rules /Supplementary Rules Competency Sub-Theme"
|
|
10549
|
-
}
|
|
10550
|
-
],
|
|
10551
|
-
"description": "Course with more subthemes",
|
|
10552
|
-
"organisation": [
|
|
10553
|
-
"Ministry of Finance"
|
|
10554
|
-
],
|
|
10555
|
-
"creatorLogo": null,
|
|
10556
|
-
"posterImage": "https://portal.karmayogiqa.nic.in/content-store/content/do_113921119628378112168/artifact/do_113921119628378112168_1699355423624_capture121699355424283.png",
|
|
10557
|
-
"duration": "540",
|
|
10558
|
-
"additionalTags": [
|
|
10559
|
-
"mostEnrolled"
|
|
10560
|
-
],
|
|
10561
|
-
"appIcon": "https://static.karmayogiprod.nic.in/igotqa/collection/do_113965740548784128178/artifact/do_113921119628378112168_1699355423624_capture121699355424283.thumb.png",
|
|
10562
|
-
"primaryCategory": "Course",
|
|
10563
|
-
"name": "Course with more subthemes",
|
|
10564
|
-
"avgRating": 5.0,
|
|
10565
|
-
"contentType": "Course"
|
|
10566
|
-
}
|
|
10567
|
-
}
|
|
10568
|
-
];
|
|
10093
|
+
this.providerId = '';
|
|
10094
|
+
this.formData = '';
|
|
10095
|
+
this.emptyResponse = new EventEmitter();
|
|
10096
|
+
this.styleData = {};
|
|
10097
|
+
this.contentdata = [];
|
|
10569
10098
|
}
|
|
10570
10099
|
/**
|
|
10571
10100
|
* @return {?}
|
|
10572
10101
|
*/
|
|
10573
|
-
|
|
10102
|
+
UserContentRatingLibComponent.prototype.ngOnInit = /**
|
|
10574
10103
|
* @return {?}
|
|
10575
10104
|
*/
|
|
10576
10105
|
function () {
|
|
10106
|
+
this.styleData = this.formData && this.formData.sliderData && this.formData.sliderData.styleData;
|
|
10107
|
+
this.getTopReviews();
|
|
10108
|
+
};
|
|
10109
|
+
/**
|
|
10110
|
+
* @return {?}
|
|
10111
|
+
*/
|
|
10112
|
+
UserContentRatingLibComponent.prototype.getTopReviews = /**
|
|
10113
|
+
* @return {?}
|
|
10114
|
+
*/
|
|
10115
|
+
function () {
|
|
10116
|
+
var _this = this;
|
|
10117
|
+
this.contentdata = [];
|
|
10118
|
+
this.userRatingSvc.fetchTopReviews(this.providerId).subscribe((/**
|
|
10119
|
+
* @param {?} response
|
|
10120
|
+
* @return {?}
|
|
10121
|
+
*/
|
|
10122
|
+
function (response) {
|
|
10123
|
+
if (response && response.result && response.result.content.length) {
|
|
10124
|
+
response.result.content.forEach((/**
|
|
10125
|
+
* @param {?} contentEle
|
|
10126
|
+
* @return {?}
|
|
10127
|
+
*/
|
|
10128
|
+
function (contentEle) {
|
|
10129
|
+
/** @type {?} */
|
|
10130
|
+
var localData = {};
|
|
10131
|
+
localData['content'] = contentEle.contentInfo;
|
|
10132
|
+
localData['rating'] = contentEle.rating;
|
|
10133
|
+
localData['review'] = contentEle.review;
|
|
10134
|
+
localData['userDetails'] = contentEle.userDetails;
|
|
10135
|
+
localData['cardSubType'] = "card-wide-lib";
|
|
10136
|
+
localData['cardCustomeClass'] = "";
|
|
10137
|
+
_this.contentdata.push(localData);
|
|
10138
|
+
}));
|
|
10139
|
+
}
|
|
10140
|
+
else {
|
|
10141
|
+
_this.emptyResponse.emit(true);
|
|
10142
|
+
}
|
|
10143
|
+
}));
|
|
10577
10144
|
};
|
|
10578
10145
|
/**
|
|
10579
10146
|
* @param {?} ratingIndex
|
|
10580
10147
|
* @param {?} avg
|
|
10581
10148
|
* @return {?}
|
|
10582
10149
|
*/
|
|
10583
|
-
|
|
10150
|
+
UserContentRatingLibComponent.prototype.getRatingIcon = /**
|
|
10584
10151
|
* @param {?} ratingIndex
|
|
10585
10152
|
* @param {?} avg
|
|
10586
10153
|
* @return {?}
|
|
@@ -10593,7 +10160,7 @@ var UserContentRatingComponent = /** @class */ (function () {
|
|
|
10593
10160
|
* @param {?} avg
|
|
10594
10161
|
* @return {?}
|
|
10595
10162
|
*/
|
|
10596
|
-
|
|
10163
|
+
UserContentRatingLibComponent.prototype.getRatingIconClass = /**
|
|
10597
10164
|
* @param {?} ratingIndex
|
|
10598
10165
|
* @param {?} avg
|
|
10599
10166
|
* @return {?}
|
|
@@ -10605,41 +10172,70 @@ var UserContentRatingComponent = /** @class */ (function () {
|
|
|
10605
10172
|
* @param {?} indexValue
|
|
10606
10173
|
* @return {?}
|
|
10607
10174
|
*/
|
|
10608
|
-
|
|
10175
|
+
UserContentRatingLibComponent.prototype.getCurrentIndex = /**
|
|
10609
10176
|
* @param {?} indexValue
|
|
10610
10177
|
* @return {?}
|
|
10611
10178
|
*/
|
|
10612
10179
|
function (indexValue) {
|
|
10613
10180
|
this.currentIndex = indexValue;
|
|
10181
|
+
this.handleScrollClick(indexValue);
|
|
10614
10182
|
};
|
|
10615
|
-
|
|
10183
|
+
/**
|
|
10184
|
+
* @param {?} dataValue
|
|
10185
|
+
* @return {?}
|
|
10186
|
+
*/
|
|
10187
|
+
UserContentRatingLibComponent.prototype.handleScrollClick = /**
|
|
10188
|
+
* @param {?} dataValue
|
|
10189
|
+
* @return {?}
|
|
10190
|
+
*/
|
|
10191
|
+
function (dataValue) {
|
|
10192
|
+
/** @type {?} */
|
|
10193
|
+
var item = this.scrollableItems.find((/**
|
|
10194
|
+
* @param {?} x
|
|
10195
|
+
* @return {?}
|
|
10196
|
+
*/
|
|
10197
|
+
function (x) { return x.key === dataValue; }));
|
|
10198
|
+
item.scrollIntoView("nearest");
|
|
10199
|
+
};
|
|
10200
|
+
UserContentRatingLibComponent.decorators = [
|
|
10616
10201
|
{ type: Component, args: [{
|
|
10617
10202
|
selector: 'sb-uic-user-content-rating',
|
|
10618
|
-
template: "
|
|
10619
|
-
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
|
|
10203
|
+
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",
|
|
10204
|
+
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}"]
|
|
10620
10205
|
}] }
|
|
10621
10206
|
];
|
|
10622
10207
|
/** @nocollapse */
|
|
10623
|
-
|
|
10624
|
-
{ type: RatingService }
|
|
10208
|
+
UserContentRatingLibComponent.ctorParameters = function () { return [
|
|
10209
|
+
{ type: RatingService },
|
|
10210
|
+
{ type: UserContentRatingLibService }
|
|
10625
10211
|
]; };
|
|
10626
|
-
|
|
10212
|
+
UserContentRatingLibComponent.propDecorators = {
|
|
10213
|
+
providerId: [{ type: Input }],
|
|
10214
|
+
formData: [{ type: Input }],
|
|
10215
|
+
emptyResponse: [{ type: Output }],
|
|
10216
|
+
scrollableItems: [{ type: ViewChildren, args: [ScrollableItemDirective,] }]
|
|
10217
|
+
};
|
|
10218
|
+
return UserContentRatingLibComponent;
|
|
10627
10219
|
}());
|
|
10628
10220
|
if (false) {
|
|
10629
10221
|
/** @type {?} */
|
|
10630
|
-
|
|
10222
|
+
UserContentRatingLibComponent.prototype.currentIndex;
|
|
10223
|
+
/** @type {?} */
|
|
10224
|
+
UserContentRatingLibComponent.prototype.providerId;
|
|
10631
10225
|
/** @type {?} */
|
|
10632
|
-
|
|
10226
|
+
UserContentRatingLibComponent.prototype.formData;
|
|
10633
10227
|
/** @type {?} */
|
|
10634
|
-
|
|
10228
|
+
UserContentRatingLibComponent.prototype.emptyResponse;
|
|
10635
10229
|
/** @type {?} */
|
|
10636
|
-
|
|
10230
|
+
UserContentRatingLibComponent.prototype.styleData;
|
|
10637
10231
|
/** @type {?} */
|
|
10638
|
-
|
|
10232
|
+
UserContentRatingLibComponent.prototype.contentdata;
|
|
10639
10233
|
/** @type {?} */
|
|
10640
|
-
|
|
10234
|
+
UserContentRatingLibComponent.prototype.scrollableItems;
|
|
10641
10235
|
/** @type {?} */
|
|
10642
|
-
|
|
10236
|
+
UserContentRatingLibComponent.prototype.ratingService;
|
|
10237
|
+
/** @type {?} */
|
|
10238
|
+
UserContentRatingLibComponent.prototype.userRatingSvc;
|
|
10643
10239
|
}
|
|
10644
10240
|
|
|
10645
10241
|
/**
|
|
@@ -10649,6 +10245,7 @@ if (false) {
|
|
|
10649
10245
|
var AvatarPhotoLibComponent = /** @class */ (function () {
|
|
10650
10246
|
function AvatarPhotoLibComponent() {
|
|
10651
10247
|
this.size = '';
|
|
10248
|
+
this.defaulfColor = '';
|
|
10652
10249
|
this.randomColor = false;
|
|
10653
10250
|
this.showBadge = false;
|
|
10654
10251
|
this.showInitials = false;
|
|
@@ -10684,9 +10281,16 @@ var AvatarPhotoLibComponent = /** @class */ (function () {
|
|
|
10684
10281
|
this.createInititals();
|
|
10685
10282
|
}
|
|
10686
10283
|
if (this.datalen === 1) {
|
|
10687
|
-
this.
|
|
10688
|
-
|
|
10689
|
-
|
|
10284
|
+
if (this.defaulfColor) {
|
|
10285
|
+
this.randomcolors = [
|
|
10286
|
+
this.defaulfColor
|
|
10287
|
+
];
|
|
10288
|
+
}
|
|
10289
|
+
else {
|
|
10290
|
+
this.randomcolors = [
|
|
10291
|
+
'#006400',
|
|
10292
|
+
];
|
|
10293
|
+
}
|
|
10690
10294
|
}
|
|
10691
10295
|
/** @type {?} */
|
|
10692
10296
|
var randomIndex = Math.floor(Math.random() * Math.floor(this.colors.length));
|
|
@@ -10765,6 +10369,7 @@ var AvatarPhotoLibComponent = /** @class */ (function () {
|
|
|
10765
10369
|
photoUrl: [{ type: Input }],
|
|
10766
10370
|
name: [{ type: Input }],
|
|
10767
10371
|
size: [{ type: Input }],
|
|
10372
|
+
defaulfColor: [{ type: Input }],
|
|
10768
10373
|
randomColor: [{ type: Input }],
|
|
10769
10374
|
initials: [{ type: Input }],
|
|
10770
10375
|
showBadge: [{ type: Input }]
|
|
@@ -10781,6 +10386,8 @@ if (false) {
|
|
|
10781
10386
|
/** @type {?} */
|
|
10782
10387
|
AvatarPhotoLibComponent.prototype.size;
|
|
10783
10388
|
/** @type {?} */
|
|
10389
|
+
AvatarPhotoLibComponent.prototype.defaulfColor;
|
|
10390
|
+
/** @type {?} */
|
|
10784
10391
|
AvatarPhotoLibComponent.prototype.randomColor;
|
|
10785
10392
|
/** @type {?} */
|
|
10786
10393
|
AvatarPhotoLibComponent.prototype.initials;
|
|
@@ -10842,6 +10449,7 @@ var SlidersNgContentLibComponent = /** @class */ (function (_super) {
|
|
|
10842
10449
|
_this.valueSvc = valueSvc;
|
|
10843
10450
|
_this.title = '';
|
|
10844
10451
|
_this.loadNgContentData = false;
|
|
10452
|
+
_this.autoScroll = false;
|
|
10845
10453
|
_this.currentIndexValue = new EventEmitter();
|
|
10846
10454
|
_this.id = "banner_" + Math.random();
|
|
10847
10455
|
_this.defaultMenuSubscribe = null;
|
|
@@ -10859,7 +10467,9 @@ var SlidersNgContentLibComponent = /** @class */ (function (_super) {
|
|
|
10859
10467
|
*/
|
|
10860
10468
|
function () {
|
|
10861
10469
|
var _this = this;
|
|
10862
|
-
this.
|
|
10470
|
+
if (this.autoScroll) {
|
|
10471
|
+
this.reInitiateSlideInterval();
|
|
10472
|
+
}
|
|
10863
10473
|
this.defaultMenuSubscribe = this.isLtMedium$.subscribe((/**
|
|
10864
10474
|
* @param {?} isLtMedium
|
|
10865
10475
|
* @return {?}
|
|
@@ -10922,7 +10532,9 @@ var SlidersNgContentLibComponent = /** @class */ (function (_super) {
|
|
|
10922
10532
|
this.currentIndex = this.widgetData.length + index;
|
|
10923
10533
|
this.currentIndexValue.emit(this.currentIndex);
|
|
10924
10534
|
}
|
|
10925
|
-
this.
|
|
10535
|
+
if (this.autoScroll) {
|
|
10536
|
+
this.reInitiateSlideInterval();
|
|
10537
|
+
}
|
|
10926
10538
|
};
|
|
10927
10539
|
Object.defineProperty(SlidersNgContentLibComponent.prototype, "isOpenInNewTab", {
|
|
10928
10540
|
get: /**
|
|
@@ -10991,8 +10603,8 @@ var SlidersNgContentLibComponent = /** @class */ (function (_super) {
|
|
|
10991
10603
|
SlidersNgContentLibComponent.decorators = [
|
|
10992
10604
|
{ type: Component, args: [{
|
|
10993
10605
|
selector: 'sb-uic-sliders-ng-content',
|
|
10994
|
-
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",
|
|
10995
|
-
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}}"]
|
|
10606
|
+
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",
|
|
10607
|
+
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}}"]
|
|
10996
10608
|
}] }
|
|
10997
10609
|
];
|
|
10998
10610
|
/** @nocollapse */
|
|
@@ -11005,8 +10617,10 @@ var SlidersNgContentLibComponent = /** @class */ (function (_super) {
|
|
|
11005
10617
|
styleData: [{ type: Input }],
|
|
11006
10618
|
title: [{ type: Input }],
|
|
11007
10619
|
loadNgContentData: [{ type: Input }],
|
|
10620
|
+
autoScroll: [{ type: Input }],
|
|
11008
10621
|
currentIndexValue: [{ type: Output }],
|
|
11009
|
-
id: [{ type: HostBinding, args: ['id',] }]
|
|
10622
|
+
id: [{ type: HostBinding, args: ['id',] }],
|
|
10623
|
+
currentIndex: [{ type: Input }]
|
|
11010
10624
|
};
|
|
11011
10625
|
return SlidersNgContentLibComponent;
|
|
11012
10626
|
}(WidgetBaseComponent));
|
|
@@ -11020,6 +10634,8 @@ if (false) {
|
|
|
11020
10634
|
/** @type {?} */
|
|
11021
10635
|
SlidersNgContentLibComponent.prototype.loadNgContentData;
|
|
11022
10636
|
/** @type {?} */
|
|
10637
|
+
SlidersNgContentLibComponent.prototype.autoScroll;
|
|
10638
|
+
/** @type {?} */
|
|
11023
10639
|
SlidersNgContentLibComponent.prototype.currentIndexValue;
|
|
11024
10640
|
/** @type {?} */
|
|
11025
10641
|
SlidersNgContentLibComponent.prototype.id;
|
|
@@ -11106,12 +10722,31 @@ var SlidersNgContentLibModule = /** @class */ (function () {
|
|
|
11106
10722
|
* @fileoverview added by tsickle
|
|
11107
10723
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
11108
10724
|
*/
|
|
11109
|
-
var
|
|
11110
|
-
function
|
|
10725
|
+
var ScrollableItemModule = /** @class */ (function () {
|
|
10726
|
+
function ScrollableItemModule() {
|
|
10727
|
+
}
|
|
10728
|
+
ScrollableItemModule.decorators = [
|
|
10729
|
+
{ type: NgModule, args: [{
|
|
10730
|
+
declarations: [ScrollableItemDirective],
|
|
10731
|
+
imports: [
|
|
10732
|
+
CommonModule,
|
|
10733
|
+
],
|
|
10734
|
+
exports: [ScrollableItemDirective],
|
|
10735
|
+
},] }
|
|
10736
|
+
];
|
|
10737
|
+
return ScrollableItemModule;
|
|
10738
|
+
}());
|
|
10739
|
+
|
|
10740
|
+
/**
|
|
10741
|
+
* @fileoverview added by tsickle
|
|
10742
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10743
|
+
*/
|
|
10744
|
+
var UserContentRatingLibModule = /** @class */ (function () {
|
|
10745
|
+
function UserContentRatingLibModule() {
|
|
11111
10746
|
}
|
|
11112
|
-
|
|
10747
|
+
UserContentRatingLibModule.decorators = [
|
|
11113
10748
|
{ type: NgModule, args: [{
|
|
11114
|
-
declarations: [
|
|
10749
|
+
declarations: [UserContentRatingLibComponent],
|
|
11115
10750
|
imports: [
|
|
11116
10751
|
CommonModule,
|
|
11117
10752
|
MatIconModule,
|
|
@@ -11120,14 +10755,15 @@ var UserContentRatingModule = /** @class */ (function () {
|
|
|
11120
10755
|
SlidersLibModule,
|
|
11121
10756
|
CardsModule,
|
|
11122
10757
|
AvatarPhotoLibModule,
|
|
11123
|
-
SlidersNgContentLibModule
|
|
10758
|
+
SlidersNgContentLibModule,
|
|
10759
|
+
ScrollableItemModule
|
|
11124
10760
|
],
|
|
11125
|
-
exports: [
|
|
11126
|
-
providers: [RatingService],
|
|
10761
|
+
exports: [UserContentRatingLibComponent],
|
|
10762
|
+
providers: [RatingService, UserContentRatingLibService],
|
|
11127
10763
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
11128
10764
|
},] }
|
|
11129
10765
|
];
|
|
11130
|
-
return
|
|
10766
|
+
return UserContentRatingLibModule;
|
|
11131
10767
|
}());
|
|
11132
10768
|
|
|
11133
10769
|
/**
|
|
@@ -11140,5 +10776,5 @@ var UserContentRatingModule = /** @class */ (function () {
|
|
|
11140
10776
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
11141
10777
|
*/
|
|
11142
10778
|
|
|
11143
|
-
export { CalenderModule, CardsModule, CommonMethodsService, CommonStripModule, CompetencyPassbookModule, ConsumptionComponent, ConsumptionModule, ConsumptionService, ContentStripWithTabsLibModule, DataPointsModule, HttpLoaderFactory, MyHammerConfig, ROOT_WIDGET_CONFIG, SlidersLibModule,
|
|
10779
|
+
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 };
|
|
11144
10780
|
//# sourceMappingURL=sunbird-cb-consumption.js.map
|