@sunbird-cb/consumption 0.0.3 → 0.0.5

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 (51) hide show
  1. package/bundles/sunbird-cb-consumption.umd.js +30 -30
  2. package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-consumption.umd.min.js +2 -2
  4. package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
  5. package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +2 -2
  6. package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +2 -2
  7. package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +2 -2
  8. package/esm2015/lib/_common/cards/card-user/card-user.component.js +2 -2
  9. package/esm2015/lib/_common/cards/cards.component.js +3 -3
  10. package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +2 -2
  11. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +4 -4
  12. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
  13. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +2 -2
  14. package/esm2015/lib/_common/sliders/sliders.component.js +3 -3
  15. package/esm2015/lib/_models/content-strip-multiple.model.js +1 -1
  16. package/esm2015/lib/_services/configurations.service.js +1 -1
  17. package/esm2015/lib/_services/widget-content.service.js +3 -3
  18. package/esm2015/lib/registration-lib.config.js +1 -1
  19. package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +2 -2
  20. package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +2 -2
  21. package/esm5/lib/_common/cards/card-resource/card-resource.component.js +2 -2
  22. package/esm5/lib/_common/cards/card-user/card-user.component.js +2 -2
  23. package/esm5/lib/_common/cards/cards.component.js +3 -3
  24. package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +2 -2
  25. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +4 -4
  26. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
  27. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +2 -2
  28. package/esm5/lib/_common/sliders/sliders.component.js +3 -3
  29. package/esm5/lib/_models/content-strip-multiple.model.js +1 -1
  30. package/esm5/lib/_services/configurations.service.js +1 -1
  31. package/esm5/lib/_services/widget-content.service.js +3 -3
  32. package/esm5/lib/registration-lib.config.js +1 -1
  33. package/fesm2015/sunbird-cb-consumption.js +3 -3
  34. package/fesm2015/sunbird-cb-consumption.js.map +1 -1
  35. package/fesm5/sunbird-cb-consumption.js +3 -3
  36. package/fesm5/sunbird-cb-consumption.js.map +1 -1
  37. package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +1 -1
  38. package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +1 -1
  39. package/lib/_common/cards/card-resource/card-resource.component.d.ts +1 -1
  40. package/lib/_common/cards/card-user/card-user.component.d.ts +1 -1
  41. package/lib/_common/cards/cards.component.d.ts +2 -2
  42. package/lib/_common/competency-passbook/competency-passbook.component.d.ts +1 -1
  43. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +2 -2
  44. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +1 -1
  45. package/lib/_common/sliders/sliders.component.d.ts +2 -2
  46. package/lib/_models/content-strip-multiple.model.d.ts +1 -1
  47. package/lib/_services/configurations.service.d.ts +1 -1
  48. package/lib/_services/widget-content.service.d.ts +1 -1
  49. package/lib/registration-lib.config.d.ts +1 -1
  50. package/package.json +3 -3
  51. package/sunbird-cb-consumption.metadata.json +1 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/material'), require('@sunbird-cb/resolver'), require('@angular/common/http'), require('@sunbird-cb/utils'), require('lodash'), require('moment'), require('@ngx-translate/core'), require('dayjs'), require('@ngx-translate/http-loader'), require('@angular/cdk/layout'), require('@angular/platform-browser'), require('hammerjs'), require('@angular/forms')) :
3
- typeof define === 'function' && define.amd ? define('@sunbird-cb/consumption', ['exports', '@angular/core', '@angular/common', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/material', '@sunbird-cb/resolver', '@angular/common/http', '@sunbird-cb/utils', 'lodash', 'moment', '@ngx-translate/core', 'dayjs', '@ngx-translate/http-loader', '@angular/cdk/layout', '@angular/platform-browser', 'hammerjs', '@angular/forms'], factory) :
4
- (global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb'].consumption = {}), global.ng.core, global.ng.common, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.material, global['@sunbird-cb/resolver'], global.ng.common.http, global['@sunbird-cb/utils'], global.lodash, global.moment, global.core$1, global.dayjs_, global.httpLoader, global.ng.cdk.layout, global.ng.platformBrowser, global.hammerjs, global.ng.forms));
5
- }(this, (function (exports, core, common, router, rxjs, operators, material, resolver, http, utils, lodash, moment$1, core$1, dayjs_, httpLoader, layout, platformBrowser, Hammer, forms) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/material'), require('@sunbird-cb/resolver-v2'), require('@angular/common/http'), require('@sunbird-cb/utils-v2'), require('lodash'), require('moment'), require('@ngx-translate/core'), require('dayjs'), require('@ngx-translate/http-loader'), require('@angular/cdk/layout'), require('@angular/platform-browser'), require('hammerjs'), require('@angular/forms')) :
3
+ typeof define === 'function' && define.amd ? define('@sunbird-cb/consumption', ['exports', '@angular/core', '@angular/common', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/material', '@sunbird-cb/resolver-v2', '@angular/common/http', '@sunbird-cb/utils-v2', 'lodash', 'moment', '@ngx-translate/core', 'dayjs', '@ngx-translate/http-loader', '@angular/cdk/layout', '@angular/platform-browser', 'hammerjs', '@angular/forms'], factory) :
4
+ (global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb'].consumption = {}), global.ng.core, global.ng.common, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.material, global['@sunbird-cb/resolver-v2'], global.ng.common.http, global.utilsV2, global.lodash, global.moment, global.core$1, global.dayjs_, global.httpLoader, global.ng.cdk.layout, global.ng.platformBrowser, global.hammerjs, global.ng.forms));
5
+ }(this, (function (exports, core, common, router, rxjs, operators, material, resolverV2, http, utilsV2, lodash, moment$1, core$1, dayjs_, httpLoader, layout, platformBrowser, Hammer, forms) { 'use strict';
6
6
 
7
7
  Hammer = Hammer && Hammer.hasOwnProperty('default') ? Hammer['default'] : Hammer;
8
8
 
@@ -2617,9 +2617,9 @@
2617
2617
  /** @nocollapse */
2618
2618
  WidgetContentService.ctorParameters = function () { return [
2619
2619
  { type: http.HttpClient },
2620
- { type: utils.ConfigurationsService }
2620
+ { type: utilsV2.ConfigurationsService }
2621
2621
  ]; };
2622
- /** @nocollapse */ WidgetContentService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function WidgetContentService_Factory() { return new WidgetContentService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(utils.ConfigurationsService)); }, token: WidgetContentService, providedIn: "root" });
2622
+ /** @nocollapse */ WidgetContentService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function WidgetContentService_Factory() { return new WidgetContentService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(utilsV2.ConfigurationsService)); }, token: WidgetContentService, providedIn: "root" });
2623
2623
  return WidgetContentService;
2624
2624
  }());
2625
2625
  if (false) {
@@ -5003,11 +5003,11 @@
5003
5003
  index: tabEvent.index,
5004
5004
  };
5005
5005
  this.eventSvc.raiseInteractTelemetry({
5006
- type: utils.WsEvents.EnumInteractTypes.CLICK,
5007
- subType: utils.WsEvents.EnumInteractSubTypes.HOME_PAGE_STRIP_TABS,
5006
+ type: utilsV2.WsEvents.EnumInteractTypes.CLICK,
5007
+ subType: utilsV2.WsEvents.EnumInteractSubTypes.HOME_PAGE_STRIP_TABS,
5008
5008
  id: lodash.camelCase(data.label) + "-tab",
5009
5009
  }, {}, {
5010
- module: utils.WsEvents.EnumTelemetrymodules.HOME,
5010
+ module: utilsV2.WsEvents.EnumTelemetrymodules.HOME,
5011
5011
  });
5012
5012
  /** @type {?} */
5013
5013
  var currentTabFromMap = stripMap.tabs && stripMap.tabs[tabEvent.index];
@@ -5655,7 +5655,7 @@
5655
5655
  ContentStripWithTabsLibComponent.decorators = [
5656
5656
  { type: core.Component, args: [{
5657
5657
  selector: 'sb-uic-content-strip-with-tabs',
5658
- template: "<ng-container *ngIf=\"!contentAvailable; else otherTemplate\"></ng-container>\n<ng-template #otherTemplate>\n <!-- <div *ngIf=\"showParentLoader\" class=\"text-center my-2\">\n <mat-spinner class=\"inline-block\"></mat-spinner>\n </div> -->\n <ng-container *ngIf=\"showParentError\" [wsResolverWidget]=\"widgetData.errorWidget\"></ng-container>\n <ng-container *ngIf=\"showParentNoData\" [wsResolverWidget]=\"widgetData.noDataWidget\"></ng-container>\n <ng-container *ngFor=\"let key of stripsKeyOrder; let i = index; trackBy: identify\">\n <ng-container *ngIf=\"isStripShowing(stripsResultDataMap[key])\">\n <a name=\"{{stripsResultDataMap[key]?.stripTitle}}\" [class]=\"key\">\n <div *ngIf=\"stripsResultDataMap && (getLength(stripsResultDataMap[key]) ||\n stripsResultDataMap[key]?.showOnNoData ||\n stripsResultDataMap[key]?.showOnLoader ||\n stripsResultDataMap[key]?.showOnError)\n \" [ngClass]=\"\n !widgetData?.isChannelStrip ? 'xs:px-8 sx:px-10ss' : i > 0 ? 'mt-12' : ''\n \" [id]=\"key\" [ngClass]=\"!widgetData?.isChannelStrip ? margin-bottom-custom : margin-bottom-xs\">\n <div [ngClass]=\"{ pad: stripsResultDataMap[key]?.stripBackground }\"\n [ngStyle]=\"{ 'background-color': stripsResultDataMap[key]?.stripBackground }\">\n <div class=\"flex flex-col pl-4 pr-4 md:pr-0 md:pl-0 \" [ngClass]=\"\n !widgetData?.isChannelStrip\n ? ''\n : stripsResultDataMap[key]?.stripTitle\n ? 'mb-8'\n : ''\n \">\n <div class=\"flex flex-1 items-center\">\n <p class=\"mat-subheading-1 margin-remove inline-block \" *ngIf=\"stripsResultDataMap[key]?.stripTitle\">\n <span class=\"capitalize\" *ngIf=\"stripsResultDataMap[key]?.disableTranslate\">\n {{stripsResultDataMap[key]?.stripTitle}}\n </span>\n <span *ngIf=\"!stripsResultDataMap[key]?.disableTranslate\">\n {{ translateLabels(stripsResultDataMap[key]?.stripTitle, 'home') }}\n </span>\n </p>\n\n <button *ngIf=\"stripsResultDataMap[key]?.stripInfo?.icon\" type=\"button\" mat-icon-button\n (click)=\"toggleInfo(stripsResultDataMap[key])\" i18n-matTooltip matTooltip=\"info\"\n class=\"margin-left-xs\">\n <mat-icon>{{ stripsResultDataMap[key]?.stripInfo?.icon.icon }}</mat-icon>\n </button>\n <a *ngIf=\"stripsResultDataMap[key]?.stripTitleLink?.link\"\n [routerLink]=\"stripsResultDataMap[key]?.stripTitleLink?.link\"\n [queryParams]=\"stripsResultDataMap[key]?.stripTitleLink?.link?.queryParams\">\n <mat-icon class=\"ws-mat-primary-primary-text ws-mat-default-text\" [color]=\"'accent'\">{{\n stripsResultDataMap[key]?.stripTitleLink?.icon }}</mat-icon>\n </a>\n <span class=\"spacer\"></span>\n <!-- viewAll start-->\n <div *ngIf=\"checkCondition(widgetData , stripsResultDataMap[key])\"\n class=\"ml-4 view-more ws-mat-default-text\">\n <a class=\"flex ws-mat-default-text items-center justify-center mat-body-1\" [routerLink]=\"stripsResultDataMap[key]?.viewMoreUrl?.path\"\n [queryParams]=\"stripsResultDataMap[key]?.viewMoreUrl?.queryParams\">\n <span i18n class=\"ws-mat-default-text\">{{translateLabels(widgetData.strips[0].viewMoreUrl.viewMoreText,'home') || 'See all'}}</span>\n <mat-icon class=\"ws-mat-default-text mat-icon notranslate material-icons mat-icon-no-color\" color=\"accent\">navigate_next</mat-icon>\n </a>\n </div>\n <!-- viewAll end-->\n </div>\n <button mat-icon-button (click)=\"setHiddenForStrip(key)\" *ngIf=\"stripsResultDataMap[key]?.canHideStrip\">\n <mat-icon>close</mat-icon>\n </button>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"stripsResultDataMap[key]?.mode === 'accordion' && isMobile\"\n (click)=\"showAccordionData = !showAccordionData\">{{ showAccordionData ? 'expand_less' : 'expand_more' }}\n </mat-icon>\n </div>\n\n <div class=\"mb-4\" *ngIf=\"checkVisible(stripsResultDataMap[key])\">\n <ng-container [wsResolverWidget]=\"getdata(stripsResultDataMap[key])\">\n </ng-container>\n </div>\n\n <ng-container *ngIf=\"stripsResultDataMap[key]?.showOnNoData\"\n [wsResolverWidget]=\"stripsResultDataMap[key]?.noDataWidget\"></ng-container>\n <ng-container *ngIf=\"stripsResultDataMap[key]?.showOnError\"\n [wsResolverWidget]=\"stripsResultDataMap[key]?.errorWidget\"></ng-container>\n <!-- IF no errors then proceed to show tabs or non tabs strip -->\n <ng-container *ngIf=\"!stripsResultDataMap[key]?.showOnNoData && !stripsResultDataMap[key]?.showOnError\">\n <ng-container *ngIf=\"stripsResultDataMap[key].tabs && stripsResultDataMap[key].tabs.length\">\n <mat-tab-group animationDuration=\"0ms\" [selectedIndex]=\"getSelectedIndex(stripsResultDataMap[key], key)\"\n class=\"mat-tab-labels w-full strips-tabgroup\" dynamicHeight\n (selectedTabChange)=\"tabClicked($event, stripsResultDataMap[key], key)\">\n <mat-tab label=\"{{tab?.label}}\" *ngFor=\"let tab of stripsResultDataMap[key].tabs; let last = last;\">\n <ng-template mat-tab-label>\n <span>{{ translateLabels(tab?.label, 'home') }} &nbsp;</span>\n <span *ngIf=\"tab?.showTabDataCount && tab?.widgets?.length\">({{tab?.widgets?.length}})</span>\n </ng-template>\n <div>\n <!-- <ng-container [ngTemplateOutlet]=\"loader\" *ngIf=\"stripsResultDataMap[key]?.showOnLoader\">\n </ng-container> -->\n <div *ngIf=\"stripsResultDataMap && stripsResultDataMap[key]?.showOnLoader ||\n !tab.fetchTabStatus\"\n class=\"text-center my-2\">\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\"\n [loadStatus]=\"'fetching'\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of stripsResultDataMap[key]?.loaderWidgets; trackBy: tracker\">\n <ng-container [wsResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </div>\n <div *ngIf=\"((tab?.fetchTabStatus && tab?.fetchTabStatus === 'done') &&\n (!tab?.widgets || !tab?.widgets?.length))\">\n <ng-container *ngIf=\"tab?.value === 'inprogress'; else msgTemp\">\n <div class=\"w-full flex flex-col items-center justify-center\">\n <img alt=\"\" class=\"mt-4 mb-4\" src=\"assets/icons/home/nodataDefault.svg\">\n <div class=\"mat-subheading-1 text-center info-content\">{{ 'contentstripmultiple.getReadyForLearningAdventure' | translate }} -\n <a class=\"click-here\" [routerLink]=\"'/page/learn'\">{{ 'contentstripmultiple.clickHere' | translate }}</a> {{ 'contentstripmultiple.toEnrollNextCourse' | translate }}</div>\n </div>\n </ng-container>\n <ng-template #msgTemp>\n <div class=\"w-full flex flex-col items-center justify-center\">\n <img alt=\"\" class=\"mt-4 mb-4\" src=\"assets/icons/home/nodataDefault.png\">\n <div class=\"mat-subheading-1 text-center\">{{ translateLabels(tab.nodataMsg, 'home') }}</div>\n </div>\n </ng-template>\n </div>\n <ng-container *ngIf=\"(tab?.fetchTabStatus === 'done' || tab?.widgets?.length)\">\n <ng-container *ngIf=\"!tab?.tabLoading\">\n\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\" [widgetsLength]=\"tab?.widgets?.length\"\n *ngIf=\"getContineuLearningLenth(stripsResultDataMap[key]) && showAccordion(key)\"\n [loadStatus]=\"'done'\" [defaultMaxWidgets]=\"tab?.maxWidgets ||\n stripsResultDataMap[key]?.sliderConfig?.maxWidgets || defaultMaxWidgets\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of tab?.widgets| slice:0:(tab?.maxWidgets ||\n stripsResultDataMap[key]?.sliderConfig?.maxWidgets || defaultMaxWidgets); trackBy: tracker\">\n <ng-container [wsResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </ng-container>\n </ng-container>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n <ng-container *ngIf=\"!stripsResultDataMap[key].tabs || !stripsResultDataMap[key].tabs.length\">\n <div *ngIf=\"stripsResultDataMap && stripsResultDataMap[key]?.showOnLoader\" class=\"text-center my-2\">\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\"\n [loadStatus]=\"'fetching'\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of stripsResultDataMap[key]?.loaderWidgets; trackBy: tracker\">\n <ng-container [wsResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </div>\n <div class=\"\">\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\"\n *ngIf=\"getContineuLearningLenth(stripsResultDataMap[key]) && showAccordion(key)\" [widgetsLength]=\"stripsResultDataMap[key]?.widgets?.length\" [loadStatus]=\"'done'\" [defaultMaxWidgets]=\"stripsResultDataMap[key].sliderConfig?.maxWidgets || defaultMaxWidgets\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of stripsResultDataMap[key]?.widgets| slice:0:(stripsResultDataMap[key].sliderConfig?.maxWidgets || defaultMaxWidgets); trackBy: tracker\">\n <!-- <ng-container *ngIf=\"widget.widgetData.context.pageSection === 'continueLearning' \"> -->\n <!-- <ng-container *ngIf=\"widget.widgetData.content.completionPercentage !== 100\"\n [wsResolverWidget]=\"widget\"></ng-container> -->\n <ng-container [wsResolverWidget]=\"widget\"></ng-container>\n <!-- </ng-container> -->\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </a>\n\n </ng-container>\n </ng-container>\n</ng-template>",
5658
+ template: "<ng-container *ngIf=\"!contentAvailable; else otherTemplate\"></ng-container>\n<ng-template #otherTemplate>\n <!-- <div *ngIf=\"showParentLoader\" class=\"text-center my-2\">\n <mat-spinner class=\"inline-block\"></mat-spinner>\n </div> -->\n <ng-container *ngIf=\"showParentError\" [sbUiResolverWidget]=\"widgetData.errorWidget\"></ng-container>\n <ng-container *ngIf=\"showParentNoData\" [sbUiResolverWidget]=\"widgetData.noDataWidget\"></ng-container>\n <ng-container *ngFor=\"let key of stripsKeyOrder; let i = index; trackBy: identify\">\n <ng-container *ngIf=\"isStripShowing(stripsResultDataMap[key])\">\n <a name=\"{{stripsResultDataMap[key]?.stripTitle}}\" [class]=\"key\">\n <div *ngIf=\"stripsResultDataMap && (getLength(stripsResultDataMap[key]) ||\n stripsResultDataMap[key]?.showOnNoData ||\n stripsResultDataMap[key]?.showOnLoader ||\n stripsResultDataMap[key]?.showOnError)\n \" [ngClass]=\"\n !widgetData?.isChannelStrip ? 'xs:px-8 sx:px-10ss' : i > 0 ? 'mt-12' : ''\n \" [id]=\"key\" [ngClass]=\"!widgetData?.isChannelStrip ? margin-bottom-custom : margin-bottom-xs\">\n <div [ngClass]=\"{ pad: stripsResultDataMap[key]?.stripBackground }\"\n [ngStyle]=\"{ 'background-color': stripsResultDataMap[key]?.stripBackground }\">\n <div class=\"flex flex-col pl-4 pr-4 md:pr-0 md:pl-0 \" [ngClass]=\"\n !widgetData?.isChannelStrip\n ? ''\n : stripsResultDataMap[key]?.stripTitle\n ? 'mb-8'\n : ''\n \">\n <div class=\"flex flex-1 items-center\">\n <p class=\"mat-subheading-1 margin-remove inline-block \" *ngIf=\"stripsResultDataMap[key]?.stripTitle\">\n <span class=\"capitalize\" *ngIf=\"stripsResultDataMap[key]?.disableTranslate\">\n {{stripsResultDataMap[key]?.stripTitle}}\n </span>\n <span *ngIf=\"!stripsResultDataMap[key]?.disableTranslate\">\n {{ translateLabels(stripsResultDataMap[key]?.stripTitle, 'home') }}\n </span>\n </p>\n\n <button *ngIf=\"stripsResultDataMap[key]?.stripInfo?.icon\" type=\"button\" mat-icon-button\n (click)=\"toggleInfo(stripsResultDataMap[key])\" i18n-matTooltip matTooltip=\"info\"\n class=\"margin-left-xs\">\n <mat-icon>{{ stripsResultDataMap[key]?.stripInfo?.icon.icon }}</mat-icon>\n </button>\n <a *ngIf=\"stripsResultDataMap[key]?.stripTitleLink?.link\"\n [routerLink]=\"stripsResultDataMap[key]?.stripTitleLink?.link\"\n [queryParams]=\"stripsResultDataMap[key]?.stripTitleLink?.link?.queryParams\">\n <mat-icon class=\"ws-mat-primary-primary-text ws-mat-default-text\" [color]=\"'accent'\">{{\n stripsResultDataMap[key]?.stripTitleLink?.icon }}</mat-icon>\n </a>\n <span class=\"spacer\"></span>\n <!-- viewAll start-->\n <div *ngIf=\"checkCondition(widgetData , stripsResultDataMap[key])\"\n class=\"ml-4 view-more ws-mat-default-text\">\n <a class=\"flex ws-mat-default-text items-center justify-center mat-body-1\" [routerLink]=\"stripsResultDataMap[key]?.viewMoreUrl?.path\"\n [queryParams]=\"stripsResultDataMap[key]?.viewMoreUrl?.queryParams\">\n <span i18n class=\"ws-mat-default-text\">{{translateLabels(widgetData.strips[0].viewMoreUrl.viewMoreText,'home') || 'See all'}}</span>\n <mat-icon class=\"ws-mat-default-text mat-icon notranslate material-icons mat-icon-no-color\" color=\"accent\">navigate_next</mat-icon>\n </a>\n </div>\n <!-- viewAll end-->\n </div>\n <button mat-icon-button (click)=\"setHiddenForStrip(key)\" *ngIf=\"stripsResultDataMap[key]?.canHideStrip\">\n <mat-icon>close</mat-icon>\n </button>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"stripsResultDataMap[key]?.mode === 'accordion' && isMobile\"\n (click)=\"showAccordionData = !showAccordionData\">{{ showAccordionData ? 'expand_less' : 'expand_more' }}\n </mat-icon>\n </div>\n\n <div class=\"mb-4\" *ngIf=\"checkVisible(stripsResultDataMap[key])\">\n <ng-container [sbUiResolverWidget]=\"getdata(stripsResultDataMap[key])\">\n </ng-container>\n </div>\n\n <ng-container *ngIf=\"stripsResultDataMap[key]?.showOnNoData\"\n [sbUiResolverWidget]=\"stripsResultDataMap[key]?.noDataWidget\"></ng-container>\n <ng-container *ngIf=\"stripsResultDataMap[key]?.showOnError\"\n [sbUiResolverWidget]=\"stripsResultDataMap[key]?.errorWidget\"></ng-container>\n <!-- IF no errors then proceed to show tabs or non tabs strip -->\n <ng-container *ngIf=\"!stripsResultDataMap[key]?.showOnNoData && !stripsResultDataMap[key]?.showOnError\">\n <ng-container *ngIf=\"stripsResultDataMap[key].tabs && stripsResultDataMap[key].tabs.length\">\n <mat-tab-group animationDuration=\"0ms\" [selectedIndex]=\"getSelectedIndex(stripsResultDataMap[key], key)\"\n class=\"mat-tab-labels w-full strips-tabgroup\" dynamicHeight\n (selectedTabChange)=\"tabClicked($event, stripsResultDataMap[key], key)\">\n <mat-tab label=\"{{tab?.label}}\" *ngFor=\"let tab of stripsResultDataMap[key].tabs; let last = last;\">\n <ng-template mat-tab-label>\n <span>{{ translateLabels(tab?.label, 'home') }} &nbsp;</span>\n <span *ngIf=\"tab?.showTabDataCount && tab?.widgets?.length\">({{tab?.widgets?.length}})</span>\n </ng-template>\n <div>\n <!-- <ng-container [ngTemplateOutlet]=\"loader\" *ngIf=\"stripsResultDataMap[key]?.showOnLoader\">\n </ng-container> -->\n <div *ngIf=\"stripsResultDataMap && stripsResultDataMap[key]?.showOnLoader ||\n !tab.fetchTabStatus\"\n class=\"text-center my-2\">\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\"\n [loadStatus]=\"'fetching'\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of stripsResultDataMap[key]?.loaderWidgets; trackBy: tracker\">\n <ng-container [sbUiResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </div>\n <div *ngIf=\"((tab?.fetchTabStatus && tab?.fetchTabStatus === 'done') &&\n (!tab?.widgets || !tab?.widgets?.length))\">\n <ng-container *ngIf=\"tab?.value === 'inprogress'; else msgTemp\">\n <div class=\"w-full flex flex-col items-center justify-center\">\n <img alt=\"\" class=\"mt-4 mb-4\" src=\"assets/icons/home/nodataDefault.svg\">\n <div class=\"mat-subheading-1 text-center info-content\">{{ 'contentstripmultiple.getReadyForLearningAdventure' | translate }} -\n <a class=\"click-here\" [routerLink]=\"'/page/learn'\">{{ 'contentstripmultiple.clickHere' | translate }}</a> {{ 'contentstripmultiple.toEnrollNextCourse' | translate }}</div>\n </div>\n </ng-container>\n <ng-template #msgTemp>\n <div class=\"w-full flex flex-col items-center justify-center\">\n <img alt=\"\" class=\"mt-4 mb-4\" src=\"assets/icons/home/nodataDefault.png\">\n <div class=\"mat-subheading-1 text-center\">{{ translateLabels(tab.nodataMsg, 'home') }}</div>\n </div>\n </ng-template>\n </div>\n <ng-container *ngIf=\"(tab?.fetchTabStatus === 'done' || tab?.widgets?.length)\">\n <ng-container *ngIf=\"!tab?.tabLoading\">\n\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\" [widgetsLength]=\"tab?.widgets?.length\"\n *ngIf=\"getContineuLearningLenth(stripsResultDataMap[key]) && showAccordion(key)\"\n [loadStatus]=\"'done'\" [defaultMaxWidgets]=\"tab?.maxWidgets ||\n stripsResultDataMap[key]?.sliderConfig?.maxWidgets || defaultMaxWidgets\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of tab?.widgets| slice:0:(tab?.maxWidgets ||\n stripsResultDataMap[key]?.sliderConfig?.maxWidgets || defaultMaxWidgets); trackBy: tracker\">\n <ng-container [sbUiResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </ng-container>\n </ng-container>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n <ng-container *ngIf=\"!stripsResultDataMap[key].tabs || !stripsResultDataMap[key].tabs.length\">\n <div *ngIf=\"stripsResultDataMap && stripsResultDataMap[key]?.showOnLoader\" class=\"text-center my-2\">\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\"\n [loadStatus]=\"'fetching'\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of stripsResultDataMap[key]?.loaderWidgets; trackBy: tracker\">\n <ng-container [sbUiResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </div>\n <div class=\"\">\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\"\n *ngIf=\"getContineuLearningLenth(stripsResultDataMap[key]) && showAccordion(key)\" [widgetsLength]=\"stripsResultDataMap[key]?.widgets?.length\" [loadStatus]=\"'done'\" [defaultMaxWidgets]=\"stripsResultDataMap[key].sliderConfig?.maxWidgets || defaultMaxWidgets\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of stripsResultDataMap[key]?.widgets| slice:0:(stripsResultDataMap[key].sliderConfig?.maxWidgets || defaultMaxWidgets); trackBy: tracker\">\n <!-- <ng-container *ngIf=\"widget.widgetData.context.pageSection === 'continueLearning' \"> -->\n <!-- <ng-container *ngIf=\"widget.widgetData.content.completionPercentage !== 100\"\n [sbUiResolverWidget]=\"widget\"></ng-container> -->\n <ng-container [sbUiResolverWidget]=\"widget\"></ng-container>\n <!-- </ng-container> -->\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </a>\n\n </ng-container>\n </ng-container>\n</ng-template>",
5659
5659
  styles: [".view-more{display:flex;align-items:center;text-align:center;height:40px;justify-content:center}.view-more .icon{font-size:24px;width:24px;height:24px;border:1px solid;border-radius:50%;padding:8px;margin-bottom:8px}.margin-bottom-custom{margin-bottom:60px}.view-more:hover{background-color:#dcdfe5}::ng-deep.strips-tabgroup .mat-tab-header{border-bottom:2px solid rgba(0,0,0,.12)}::ng-deep.strips-tabgroup .mat-tab-body{padding:20px 0!important;box-sizing:border-box;overflow-y:initial!important}::ng-deep.strips-tabgroup .mat-tab-body-wrapper{overflow:inherit!important}::ng-deep.strips-tabgroup .mat-tab-label{border-bottom:0 solid rgba(0,0,0,.1);margin-right:0;opacity:1}::ng-deep.strips-tabgroup .mat-tab-label .mat-tab-label-content{text-transform:inherit;font:400 14px/20px Lato}::ng-deep.strips-tabgroup .mat-tab-label-active .mat-tab-label-content{font-weight:700!important}.click-here{color:#1b4ca1}.info-content{opacity:1;color:rgba(0,0,0,.87);font:700 14px/20px Lato-Bold;text-align:center}"]
5660
5660
  }] }
5661
5661
  ];
@@ -5663,10 +5663,10 @@
5663
5663
  ContentStripWithTabsLibComponent.ctorParameters = function () { return [
5664
5664
  { type: undefined, decorators: [{ type: core.Inject, args: ['environment',] }] },
5665
5665
  { type: WidgetContentService },
5666
- { type: utils.LoggerService },
5667
- { type: utils.EventService },
5668
- { type: utils.ConfigurationsService },
5669
- { type: utils.UtilityService },
5666
+ { type: utilsV2.LoggerService },
5667
+ { type: utilsV2.EventService },
5668
+ { type: utilsV2.ConfigurationsService },
5669
+ { type: utilsV2.UtilityService },
5670
5670
  { type: WidgetUserService },
5671
5671
  { type: core$1.TranslateService },
5672
5672
  { type: MultilingualTranslationsService }
@@ -5678,7 +5678,7 @@
5678
5678
  id: [{ type: core.HostBinding, args: ['id',] }]
5679
5679
  };
5680
5680
  return ContentStripWithTabsLibComponent;
5681
- }(resolver.WidgetBaseComponent));
5681
+ }(resolverV2.WidgetBaseComponent));
5682
5682
  if (false) {
5683
5683
  /** @type {?} */
5684
5684
  ContentStripWithTabsLibComponent.prototype.widgetData;
@@ -5783,7 +5783,7 @@
5783
5783
  common.CommonModule,
5784
5784
  router.RouterModule,
5785
5785
  HorizontalScrollerV2Module,
5786
- resolver.WidgetResolverModule,
5786
+ resolverV2.WidgetResolverModule,
5787
5787
  material.MatProgressSpinnerModule,
5788
5788
  material.MatToolbarModule,
5789
5789
  material.MatIconModule,
@@ -5960,7 +5960,7 @@
5960
5960
  bannerRedirectUrl: bannerUrl,
5961
5961
  }, {
5962
5962
  pageIdExt: 'banner',
5963
- module: utils.WsEvents.EnumTelemetrymodules.CONTENT,
5963
+ module: utilsV2.WsEvents.EnumTelemetrymodules.CONTENT,
5964
5964
  });
5965
5965
  };
5966
5966
  /**
@@ -5983,8 +5983,8 @@
5983
5983
  ];
5984
5984
  /** @nocollapse */
5985
5985
  SlidersLibComponent.ctorParameters = function () { return [
5986
- { type: utils.EventService },
5987
- { type: utils.ValueService }
5986
+ { type: utilsV2.EventService },
5987
+ { type: utilsV2.ValueService }
5988
5988
  ]; };
5989
5989
  SlidersLibComponent.propDecorators = {
5990
5990
  widgetData: [{ type: core.Input }],
@@ -5993,7 +5993,7 @@
5993
5993
  id: [{ type: core.HostBinding, args: ['id',] }]
5994
5994
  };
5995
5995
  return SlidersLibComponent;
5996
- }(resolver.WidgetBaseComponent));
5996
+ }(resolverV2.WidgetBaseComponent));
5997
5997
  if (false) {
5998
5998
  /** @type {?} */
5999
5999
  SlidersLibComponent.prototype.widgetData;
@@ -6753,7 +6753,7 @@
6753
6753
  ];
6754
6754
  /** @nocollapse */
6755
6755
  CardsComponent.ctorParameters = function () { return [
6756
- { type: utils.UtilityService },
6756
+ { type: utilsV2.UtilityService },
6757
6757
  { type: ConfigurationsService },
6758
6758
  { type: WidgetContentService },
6759
6759
  { type: router.Router }
@@ -6762,7 +6762,7 @@
6762
6762
  widgetData: [{ type: core.Input }]
6763
6763
  };
6764
6764
  return CardsComponent;
6765
- }(resolver.WidgetBaseComponent));
6765
+ }(resolverV2.WidgetBaseComponent));
6766
6766
  if (false) {
6767
6767
  /** @type {?} */
6768
6768
  CardsComponent.prototype.widgetData;
@@ -6817,7 +6817,7 @@
6817
6817
  widgetData: [{ type: core.Input }]
6818
6818
  };
6819
6819
  return CardResourceComponent;
6820
- }(resolver.WidgetBaseComponent));
6820
+ }(resolverV2.WidgetBaseComponent));
6821
6821
  if (false) {
6822
6822
  /** @type {?} */
6823
6823
  CardResourceComponent.prototype.widgetData;
@@ -6928,10 +6928,10 @@
6928
6928
  /** @nocollapse */
6929
6929
  CardPortraitComponent.ctorParameters = function () { return [
6930
6930
  { type: material.MatSnackBar },
6931
- { type: utils.EventService },
6931
+ { type: utilsV2.EventService },
6932
6932
  { type: core$1.TranslateService },
6933
6933
  { type: MultilingualTranslationsService },
6934
- { type: utils.ConfigurationsService }
6934
+ { type: utilsV2.ConfigurationsService }
6935
6935
  ]; };
6936
6936
  CardPortraitComponent.propDecorators = {
6937
6937
  widgetData: [{ type: core.Input }],
@@ -7454,10 +7454,10 @@
7454
7454
  /** @nocollapse */
7455
7455
  CardUserComponent.ctorParameters = function () { return [
7456
7456
  { type: material.MatSnackBar },
7457
- { type: utils.EventService },
7457
+ { type: utilsV2.EventService },
7458
7458
  { type: core$1.TranslateService },
7459
7459
  { type: MultilingualTranslationsService },
7460
- { type: utils.ConfigurationsService }
7460
+ { type: utilsV2.ConfigurationsService }
7461
7461
  ]; };
7462
7462
  CardUserComponent.propDecorators = {
7463
7463
  widgetData: [{ type: core.Input }],
@@ -7646,10 +7646,10 @@
7646
7646
  /** @nocollapse */
7647
7647
  CardLandscapeComponent.ctorParameters = function () { return [
7648
7648
  { type: material.MatSnackBar },
7649
- { type: utils.EventService },
7649
+ { type: utilsV2.EventService },
7650
7650
  { type: core$1.TranslateService },
7651
7651
  { type: MultilingualTranslationsService },
7652
- { type: utils.ConfigurationsService }
7652
+ { type: utilsV2.ConfigurationsService }
7653
7653
  ]; };
7654
7654
  CardLandscapeComponent.propDecorators = {
7655
7655
  widgetData: [{ type: core.Input }],
@@ -8161,7 +8161,7 @@
8161
8161
  ];
8162
8162
  /** @nocollapse */
8163
8163
  CompetencyPassbookComponent.ctorParameters = function () { return [
8164
- { type: utils.ConfigurationsService },
8164
+ { type: utilsV2.ConfigurationsService },
8165
8165
  { type: WidgetContentService },
8166
8166
  { type: CompetencyPassbookService },
8167
8167
  { type: router.Router }