@sunbird-cb/consumption 0.0.13 → 0.0.14

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