@sunbird-cb/consumption 0.0.1 → 0.0.3

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 (34) hide show
  1. package/bundles/sunbird-cb-consumption.umd.js +416 -96
  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/competency-passbook/competency-passbook.component.js +2 -2
  6. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +165 -3
  7. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
  8. package/esm2015/lib/_common/data-points/data-points.component.js +62 -5
  9. package/esm2015/lib/_common/data-points/data-points.module.js +6 -2
  10. package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +1 -2
  11. package/esm2015/lib/_services/insite-data.service.js +45 -0
  12. package/esm2015/lib/_services/widget-content.service.js +12 -1
  13. package/esm2015/sunbird-cb-consumption.js +21 -20
  14. package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +2 -2
  15. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +205 -3
  16. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
  17. package/esm5/lib/_common/data-points/data-points.component.js +63 -5
  18. package/esm5/lib/_common/data-points/data-points.module.js +6 -2
  19. package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +1 -2
  20. package/esm5/lib/_services/insite-data.service.js +48 -0
  21. package/esm5/lib/_services/widget-content.service.js +17 -1
  22. package/esm5/sunbird-cb-consumption.js +21 -20
  23. package/fesm2015/sunbird-cb-consumption.js +343 -72
  24. package/fesm2015/sunbird-cb-consumption.js.map +1 -1
  25. package/fesm5/sunbird-cb-consumption.js +398 -79
  26. package/fesm5/sunbird-cb-consumption.js.map +1 -1
  27. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +7 -1
  28. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +3 -0
  29. package/lib/_common/data-points/data-points.component.d.ts +7 -1
  30. package/lib/_services/insite-data.service.d.ts +7 -0
  31. package/lib/_services/widget-content.service.d.ts +1 -0
  32. package/package.json +3 -2
  33. package/sunbird-cb-consumption.d.ts +20 -19
  34. package/sunbird-cb-consumption.metadata.json +1 -1
@@ -472,7 +472,6 @@
472
472
  var cardWidth = void 0;
473
473
  /** @type {?} */
474
474
  var arrLength_1;
475
- console.log('this.cardSubType-->', this.cardSubType);
476
475
  if (this.cardSubType !== 'card-wide-v2') {
477
476
  cardWidth = this.cardSubType === 'standard' ? 245 :
478
477
  ((document.getElementsByClassName(this.cardSubType) &&
@@ -1658,6 +1657,8 @@
1658
1657
  READ_COURSE_KARMAPOINTS: '/apis/proxies/v8/karmapoints/user/course/read',
1659
1658
  CLAIM_KARMAPOINTS: '/apis/proxies/v8/claimkarmapoints',
1660
1659
  USER_KARMA_POINTS: '/apis/proxies/v8/user/totalkarmapoints',
1660
+ AGGREGATION_SEARCH: '/apis/proxies/v8/content/aggregation/search',
1661
+ FEATURE_SEARCH: '/apis/proxies/v8/featured/content/search',
1661
1662
  };
1662
1663
  var WidgetContentService = /** @class */ (function () {
1663
1664
  function WidgetContentService(http, configSvc) {
@@ -2594,6 +2595,20 @@
2594
2595
  }
2595
2596
  return true;
2596
2597
  };
2598
+ /**
2599
+ * @param {?} apiUrl
2600
+ * @param {?} req
2601
+ * @return {?}
2602
+ */
2603
+ WidgetContentService.prototype.postApiMethod = /**
2604
+ * @param {?} apiUrl
2605
+ * @param {?} req
2606
+ * @return {?}
2607
+ */
2608
+ function (apiUrl, req) {
2609
+ req.query = req.query || '';
2610
+ return this.http.post(apiUrl, req);
2611
+ };
2597
2612
  WidgetContentService.decorators = [
2598
2613
  { type: core.Injectable, args: [{
2599
2614
  providedIn: 'root',
@@ -3770,6 +3785,8 @@
3770
3785
  _this.userSvc = userSvc;
3771
3786
  _this.translate = translate;
3772
3787
  _this.langtranslations = langtranslations;
3788
+ _this.emptyResponse = new core.EventEmitter();
3789
+ _this.providerId = '';
3773
3790
  _this.id = "ws-strip-miltiple_" + Math.random();
3774
3791
  _this.stripsResultDataMap = {};
3775
3792
  _this.stripsKeyOrder = [];
@@ -4227,6 +4244,8 @@
4227
4244
  this.fetchFromSearchV6(strip, calculateParentStatus);
4228
4245
  this.fetchFromTrendingContent(strip, calculateParentStatus);
4229
4246
  this.fetchAllCbpPlans(strip, calculateParentStatus);
4247
+ this.fetchAllTopContent(strip, calculateParentStatus);
4248
+ this.fetchAllFeaturedContent(strip, calculateParentStatus);
4230
4249
  // this.enrollInterval = setInterval(() => {
4231
4250
  // this.fetchAllCbpPlans(strip, calculateParentStatus)
4232
4251
  // }, 1000)
@@ -4953,7 +4972,9 @@
4953
4972
  (strip.request.searchV6 && Object.keys(strip.request.searchV6).length) ||
4954
4973
  (strip.request.enrollmentList && Object.keys(strip.request.enrollmentList).length) ||
4955
4974
  (strip.request.cbpList && Object.keys(strip.request.cbpList).length) ||
4956
- (strip.request.trendingSearch && Object.keys(strip.request.trendingSearch).length))) {
4975
+ (strip.request.trendingSearch && Object.keys(strip.request.trendingSearch).length) ||
4976
+ (strip.request.topContent && Object.keys(strip.request.topContent).length) ||
4977
+ (strip.request.featureContent && Object.keys(strip.request.featureContent).length))) {
4957
4978
  return true;
4958
4979
  }
4959
4980
  return false;
@@ -5441,6 +5462,196 @@
5441
5462
  if (index >= 0) { }
5442
5463
  return lodash.get(item, 'widgetData.content.identifier');
5443
5464
  };
5465
+ /**
5466
+ * @param {?} strip
5467
+ * @param {?=} calculateParentStatus
5468
+ * @return {?}
5469
+ */
5470
+ ContentStripWithTabsLibComponent.prototype.fetchAllTopContent = /**
5471
+ * @param {?} strip
5472
+ * @param {?=} calculateParentStatus
5473
+ * @return {?}
5474
+ */
5475
+ function (strip, calculateParentStatus) {
5476
+ if (calculateParentStatus === void 0) { calculateParentStatus = true; }
5477
+ return __awaiter(this, void 0, void 0, function () {
5478
+ var originalFilters, response, error_5;
5479
+ return __generator(this, function (_a) {
5480
+ switch (_a.label) {
5481
+ case 0:
5482
+ if (!(strip.request && strip.request.topContent && Object.keys(strip.request.topContent).length)) return [3 /*break*/, 4];
5483
+ originalFilters = [];
5484
+ if (strip.request &&
5485
+ strip.request.topContent &&
5486
+ strip.request.topContent.request &&
5487
+ strip.request.topContent.request.filters) {
5488
+ originalFilters = strip.request.topContent.request.filters;
5489
+ strip.request.topContent.request.filters = this.postMethodFilters(strip.request.topContent.request.filters);
5490
+ }
5491
+ _a.label = 1;
5492
+ case 1:
5493
+ _a.trys.push([1, 3, , 4]);
5494
+ return [4 /*yield*/, this.postRequestMethod(strip, strip.request.topContent, strip.request.apiUrl, calculateParentStatus)];
5495
+ case 2:
5496
+ response = _a.sent();
5497
+ // console.log('calling after - response, ', response)
5498
+ if (response && response.results) {
5499
+ // console.log('calling after-- ')
5500
+ if (response.results.result.content) {
5501
+ this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
5502
+ }
5503
+ else {
5504
+ this.processStrip(strip, [], 'error', calculateParentStatus, null);
5505
+ this.emptyResponse.emit(true);
5506
+ }
5507
+ }
5508
+ else {
5509
+ this.processStrip(strip, [], 'error', calculateParentStatus, null);
5510
+ this.emptyResponse.emit(true);
5511
+ }
5512
+ return [3 /*break*/, 4];
5513
+ case 3:
5514
+ error_5 = _a.sent();
5515
+ return [3 /*break*/, 4];
5516
+ case 4: return [2 /*return*/];
5517
+ }
5518
+ });
5519
+ });
5520
+ };
5521
+ /**
5522
+ * @param {?} strip
5523
+ * @param {?=} calculateParentStatus
5524
+ * @return {?}
5525
+ */
5526
+ ContentStripWithTabsLibComponent.prototype.fetchAllFeaturedContent = /**
5527
+ * @param {?} strip
5528
+ * @param {?=} calculateParentStatus
5529
+ * @return {?}
5530
+ */
5531
+ function (strip, calculateParentStatus) {
5532
+ if (calculateParentStatus === void 0) { calculateParentStatus = true; }
5533
+ return __awaiter(this, void 0, void 0, function () {
5534
+ var originalFilters, response, error_6;
5535
+ return __generator(this, function (_a) {
5536
+ switch (_a.label) {
5537
+ case 0:
5538
+ if (!(strip.request && strip.request.featureContent && Object.keys(strip.request.featureContent).length)) return [3 /*break*/, 4];
5539
+ originalFilters = [];
5540
+ if (strip.request &&
5541
+ strip.request.featureContent &&
5542
+ strip.request.featureContent.request &&
5543
+ strip.request.featureContent.request.filters) {
5544
+ originalFilters = strip.request.featureContent.request.filters;
5545
+ strip.request.featureContent.request.filters = this.checkForDateFilters(strip.request.featureContent.request.filters);
5546
+ strip.request.featureContent.request.filters = this.getFiltersFromArray(strip.request.featureContent.request.filters);
5547
+ }
5548
+ _a.label = 1;
5549
+ case 1:
5550
+ _a.trys.push([1, 3, , 4]);
5551
+ return [4 /*yield*/, this.postRequestMethod(strip, strip.request.featureContent.request, strip.request.featureContent.path, calculateParentStatus)];
5552
+ case 2:
5553
+ response = _a.sent();
5554
+ // console.log('calling after - response, ', response)
5555
+ if (response && response.results) {
5556
+ // console.log('calling after-- ')
5557
+ if (response.results.result.content) {
5558
+ this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
5559
+ }
5560
+ else {
5561
+ this.processStrip(strip, [], 'error', calculateParentStatus, null);
5562
+ }
5563
+ }
5564
+ else {
5565
+ this.processStrip(strip, [], 'error', calculateParentStatus, null);
5566
+ }
5567
+ return [3 /*break*/, 4];
5568
+ case 3:
5569
+ error_6 = _a.sent();
5570
+ return [3 /*break*/, 4];
5571
+ case 4: return [2 /*return*/];
5572
+ }
5573
+ });
5574
+ });
5575
+ };
5576
+ /**
5577
+ * @param {?} strip
5578
+ * @param {?} request
5579
+ * @param {?} apiUrl
5580
+ * @param {?} calculateParentStatus
5581
+ * @return {?}
5582
+ */
5583
+ ContentStripWithTabsLibComponent.prototype.postRequestMethod = /**
5584
+ * @param {?} strip
5585
+ * @param {?} request
5586
+ * @param {?} apiUrl
5587
+ * @param {?} calculateParentStatus
5588
+ * @return {?}
5589
+ */
5590
+ function (strip, request, apiUrl, calculateParentStatus) {
5591
+ return __awaiter(this, void 0, void 0, function () {
5592
+ var originalFilters;
5593
+ var _this = this;
5594
+ return __generator(this, function (_a) {
5595
+ originalFilters = [];
5596
+ return [2 /*return*/, new Promise((/**
5597
+ * @param {?} resolve
5598
+ * @param {?} reject
5599
+ * @return {?}
5600
+ */
5601
+ function (resolve, reject) {
5602
+ if (request && request) {
5603
+ _this.contentSvc.postApiMethod(apiUrl, request).subscribe((/**
5604
+ * @param {?} results
5605
+ * @return {?}
5606
+ */
5607
+ function (results) {
5608
+ /** @type {?} */
5609
+ var showViewMore = Boolean(results.result.content && results.result.content.length > 5 && strip.stripConfig && strip.stripConfig.postCardForSearch);
5610
+ /** @type {?} */
5611
+ var viewMoreUrl = showViewMore
5612
+ ? {
5613
+ path: strip.viewMoreUrl && strip.viewMoreUrl.path || '',
5614
+ queryParams: {
5615
+ tab: 'Learn',
5616
+ q: strip.viewMoreUrl && strip.viewMoreUrl.queryParams,
5617
+ f: request &&
5618
+ request.searchV6 &&
5619
+ request.searchV6.request &&
5620
+ request.searchV6.request.filters
5621
+ ? JSON.stringify(_this.transformSearchV6FiltersV2(originalFilters))
5622
+ : {},
5623
+ },
5624
+ }
5625
+ : null;
5626
+ resolve({ results: results, viewMoreUrl: viewMoreUrl });
5627
+ }), (/**
5628
+ * @param {?} error
5629
+ * @return {?}
5630
+ */
5631
+ function (error) {
5632
+ _this.processStrip(strip, [], 'error', calculateParentStatus, null);
5633
+ reject(error);
5634
+ }));
5635
+ }
5636
+ }))];
5637
+ });
5638
+ });
5639
+ };
5640
+ /**
5641
+ * @param {?} filters
5642
+ * @return {?}
5643
+ */
5644
+ ContentStripWithTabsLibComponent.prototype.postMethodFilters = /**
5645
+ * @param {?} filters
5646
+ * @return {?}
5647
+ */
5648
+ function (filters) {
5649
+ if (filters.organisation &&
5650
+ filters.organisation.indexOf('<orgID>') >= 0) {
5651
+ filters.organisation = this.providerId;
5652
+ }
5653
+ return filters;
5654
+ };
5444
5655
  ContentStripWithTabsLibComponent.decorators = [
5445
5656
  { type: core.Component, args: [{
5446
5657
  selector: 'sb-uic-content-strip-with-tabs',
@@ -5462,6 +5673,8 @@
5462
5673
  ]; };
5463
5674
  ContentStripWithTabsLibComponent.propDecorators = {
5464
5675
  widgetData: [{ type: core.Input }],
5676
+ emptyResponse: [{ type: core.Output }],
5677
+ providerId: [{ type: core.Input }],
5465
5678
  id: [{ type: core.HostBinding, args: ['id',] }]
5466
5679
  };
5467
5680
  return ContentStripWithTabsLibComponent;
@@ -5470,6 +5683,10 @@
5470
5683
  /** @type {?} */
5471
5684
  ContentStripWithTabsLibComponent.prototype.widgetData;
5472
5685
  /** @type {?} */
5686
+ ContentStripWithTabsLibComponent.prototype.emptyResponse;
5687
+ /** @type {?} */
5688
+ ContentStripWithTabsLibComponent.prototype.providerId;
5689
+ /** @type {?} */
5473
5690
  ContentStripWithTabsLibComponent.prototype.id;
5474
5691
  /** @type {?} */
5475
5692
  ContentStripWithTabsLibComponent.prototype.stripsResultDataMap;
@@ -6097,14 +6314,61 @@
6097
6314
  return SlidersLibModule;
6098
6315
  }());
6099
6316
 
6317
+ /**
6318
+ * @fileoverview added by tsickle
6319
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6320
+ */
6321
+ /** @type {?} */
6322
+ var API_END_POINTS$2 = {
6323
+ PROVIDER_INSIGHTS: "/apis/proxies/v8/microsite/read/insights"
6324
+ };
6325
+ var InsiteDataService = /** @class */ (function () {
6326
+ function InsiteDataService(http) {
6327
+ this.http = http;
6328
+ }
6329
+ /**
6330
+ * @param {?} request
6331
+ * @return {?}
6332
+ */
6333
+ InsiteDataService.prototype.fetchSearchData = /**
6334
+ * @param {?} request
6335
+ * @return {?}
6336
+ */
6337
+ function (request) {
6338
+ return this.http.post(API_END_POINTS$2.PROVIDER_INSIGHTS, request);
6339
+ };
6340
+ InsiteDataService.decorators = [
6341
+ { type: core.Injectable, args: [{
6342
+ providedIn: 'root'
6343
+ },] }
6344
+ ];
6345
+ /** @nocollapse */
6346
+ InsiteDataService.ctorParameters = function () { return [
6347
+ { type: http.HttpClient }
6348
+ ]; };
6349
+ /** @nocollapse */ InsiteDataService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function InsiteDataService_Factory() { return new InsiteDataService(core.ɵɵinject(http.HttpClient)); }, token: InsiteDataService, providedIn: "root" });
6350
+ return InsiteDataService;
6351
+ }());
6352
+ if (false) {
6353
+ /**
6354
+ * @type {?}
6355
+ * @private
6356
+ */
6357
+ InsiteDataService.prototype.http;
6358
+ }
6359
+
6100
6360
  /**
6101
6361
  * @fileoverview added by tsickle
6102
6362
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6103
6363
  */
6104
6364
  var DataPointsComponent = /** @class */ (function () {
6105
- function DataPointsComponent() {
6365
+ function DataPointsComponent(insightSvc) {
6366
+ this.insightSvc = insightSvc;
6106
6367
  this.layoutType = '';
6368
+ this.fetchDataFromApi = false;
6369
+ this.providerId = '';
6107
6370
  this.customArray = [];
6371
+ this.isDataLoading = false;
6108
6372
  }
6109
6373
  /**
6110
6374
  * @return {?}
@@ -6116,6 +6380,10 @@
6116
6380
  if (this.objectData && this.layoutType === 'gridLayout') {
6117
6381
  this.customArray = this.createCustomArray(this.objectData.metrics);
6118
6382
  }
6383
+ if (this.fetchDataFromApi) {
6384
+ this.isDataLoading = true;
6385
+ this.getInsiteData();
6386
+ }
6119
6387
  };
6120
6388
  /**
6121
6389
  * @param {?} arr
@@ -6133,18 +6401,59 @@
6133
6401
  }
6134
6402
  return nByn;
6135
6403
  };
6404
+ /**
6405
+ * @return {?}
6406
+ */
6407
+ DataPointsComponent.prototype.getInsiteData = /**
6408
+ * @return {?}
6409
+ */
6410
+ function () {
6411
+ var _this = this;
6412
+ /** @type {?} */
6413
+ var request = {
6414
+ "request": {
6415
+ "filters": {
6416
+ "organisations": [
6417
+ this.providerId
6418
+ ]
6419
+ }
6420
+ }
6421
+ };
6422
+ this.insightSvc.fetchSearchData(request).subscribe((/**
6423
+ * @param {?} res
6424
+ * @return {?}
6425
+ */
6426
+ function (res) {
6427
+ if (res && res.result && res.result.response && res.result.response.nudges && res.result.response.nudges.length) {
6428
+ res.result.response.nudges.forEach((/**
6429
+ * @param {?} nudgeData
6430
+ * @return {?}
6431
+ */
6432
+ function (nudgeData) {
6433
+ if (_this.providerId && _this.providerId === nudgeData.orgId) {
6434
+ _this.objectData = nudgeData.data;
6435
+ }
6436
+ }));
6437
+ }
6438
+ _this.isDataLoading = false;
6439
+ }));
6440
+ };
6136
6441
  DataPointsComponent.decorators = [
6137
6442
  { type: core.Component, args: [{
6138
6443
  selector: 'sb-uic-data-points',
6139
- template: "<div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows'\">\n <div *ngFor=\"let obj of objectData\" class=\"\">\n <div class=\"element-div\" [ngClass]=\"{'linebreak': obj?.linebreak}\">\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <img class=\"objIcon\" [src]=\"obj.icon\" [style.color]=\"obj?.iconColor\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" >{{obj?.value}}</div>\n <div [style.color]=\"obj?.labelColor\" class=\"objDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleRow'\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div {{obj?.background}} flex-item\">\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"mobjIcon\" [src]=\"obj.icon\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\">{{obj?.value}}</div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"top-container\">\n <div class=\"flex-container\" *ngFor=\"let chunk of customArray\">\n <div *ngFor=\"let item of chunk\">\n <div class=\"flex-item\">\n <div class=\"flex flex-row gap-5 infra-element-div\">\n <div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\">{{item?.value}}</div>\n <div [style.color]=\"item?.labelColor\" class=\"custom-opacity infra-objDescription padding-top-s\">{{item?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n </div> \n</div>",
6444
+ template: "<div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows' && !isDataLoading\">\n <div *ngFor=\"let obj of objectData\" class=\"\">\n <div class=\"element-div\" [ngClass]=\"{'linebreak': obj?.linebreak}\">\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <img class=\"objIcon\" [src]=\"obj.icon\" [style.color]=\"obj?.iconColor\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" >{{obj?.value | number: '1.1-2'}}</div>\n <div [style.color]=\"obj?.labelColor\" class=\"objDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleRow'\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div {{obj?.background}} flex-item\">\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"mobjIcon\" [src]=\"obj.icon\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\">{{obj?.value | number: '1.1-2'}}</div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"top-container\">\n <div class=\"flex-container\" *ngFor=\"let chunk of customArray\">\n <div *ngFor=\"let item of chunk\">\n <div class=\"flex-item\">\n <div class=\"flex flex-row gap-5 infra-element-div\">\n <div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\">{{item?.value}}</div>\n <div [style.color]=\"item?.labelColor\" class=\"custom-opacity infra-objDescription padding-top-s\">{{item?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n </div> \n</div>\n\n\n<!-- skeleton loaders -->\n\n<ng-container>\n <div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows' && isDataLoading\">\n <div *ngFor=\"let obj of [0,1,2,3]\" class=\"\">\n <div class=\"element-div linebreak\" >\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'32px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'150px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-container>",
6140
6445
  styles: [".white{color:#fff}.custom-opacity{opacity:.7}.black{color:#000}.objIcon{width:32px;height:32px}.mobjIcon{width:24px;height:24px}.objHeader{font-family:Montserrat;font-size:24px;font-weight:600;line-height:29.26px;text-align:left}.mobjHeader{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.mobjDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.metrics-web{height:inherit;overflow-y:auto}.element-div{padding:25px 0;margin:0 25px}.linebreak{border-bottom:1px solid rgba(0,0,0,.16)}.melement-div{padding:16px;border-radius:15px;width:249px}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-element-div{min-width:325px;padding:25px 0;align-items:baseline}.infra-objIcon{width:32px;height:32px}.infra-objHeader{font-family:Montserrat;font-size:36px;font-weight:600;line-height:29.26px;text-align:left}.infra-objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.flex-container{display:flex}.top-container{overflow-x:auto;width:100%}.flex-item{flex:0 0 auto;white-space:nowrap;min-width:200px}@media screen and (max-width:768px){.infra-objIcon{width:24px;height:24px}.infra-objHeader{font-size:24px}.infra-element-div{min-width:250px;padding:15px 0 25px}}"]
6141
6446
  }] }
6142
6447
  ];
6143
6448
  /** @nocollapse */
6144
- DataPointsComponent.ctorParameters = function () { return []; };
6449
+ DataPointsComponent.ctorParameters = function () { return [
6450
+ { type: InsiteDataService }
6451
+ ]; };
6145
6452
  DataPointsComponent.propDecorators = {
6146
6453
  objectData: [{ type: core.Input }],
6147
- layoutType: [{ type: core.Input }]
6454
+ layoutType: [{ type: core.Input }],
6455
+ fetchDataFromApi: [{ type: core.Input }],
6456
+ providerId: [{ type: core.Input }]
6148
6457
  };
6149
6458
  return DataPointsComponent;
6150
6459
  }());
@@ -6154,9 +6463,86 @@
6154
6463
  /** @type {?} */
6155
6464
  DataPointsComponent.prototype.layoutType;
6156
6465
  /** @type {?} */
6466
+ DataPointsComponent.prototype.fetchDataFromApi;
6467
+ /** @type {?} */
6468
+ DataPointsComponent.prototype.providerId;
6469
+ /** @type {?} */
6157
6470
  DataPointsComponent.prototype.customArray;
6471
+ /** @type {?} */
6472
+ DataPointsComponent.prototype.isDataLoading;
6473
+ /** @type {?} */
6474
+ DataPointsComponent.prototype.insightSvc;
6475
+ }
6476
+
6477
+ /**
6478
+ * @fileoverview added by tsickle
6479
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6480
+ */
6481
+ var SkeletonLoaderLibComponent = /** @class */ (function () {
6482
+ function SkeletonLoaderLibComponent() {
6483
+ this.bindingClass = '';
6484
+ this.height = '';
6485
+ this.width = '';
6486
+ }
6487
+ /**
6488
+ * @return {?}
6489
+ */
6490
+ SkeletonLoaderLibComponent.prototype.ngOnInit = /**
6491
+ * @return {?}
6492
+ */
6493
+ function () {
6494
+ };
6495
+ SkeletonLoaderLibComponent.decorators = [
6496
+ { type: core.Component, args: [{
6497
+ selector: 'sb-uic-skeleton-loader',
6498
+ template: "<div [ngClass]=\"bindingClass\" class=\"skeleton-box\" [style.height]=\"height\" [style.width]=\"width\"></div>",
6499
+ styles: [".skeleton-box{position:relative;overflow:hidden;background-color:#dddbdd}.skeleton-box::after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0));animation:1s infinite shimmer;content:\"\"}@keyframes shimmer{100%{transform:translateX(100%)}}"]
6500
+ }] }
6501
+ ];
6502
+ /** @nocollapse */
6503
+ SkeletonLoaderLibComponent.ctorParameters = function () { return []; };
6504
+ SkeletonLoaderLibComponent.propDecorators = {
6505
+ bindingClass: [{ type: core.Input }],
6506
+ height: [{ type: core.Input }],
6507
+ width: [{ type: core.Input }]
6508
+ };
6509
+ return SkeletonLoaderLibComponent;
6510
+ }());
6511
+ if (false) {
6512
+ /** @type {?} */
6513
+ SkeletonLoaderLibComponent.prototype.bindingClass;
6514
+ /** @type {?} */
6515
+ SkeletonLoaderLibComponent.prototype.height;
6516
+ /** @type {?} */
6517
+ SkeletonLoaderLibComponent.prototype.width;
6158
6518
  }
6159
6519
 
6520
+ /**
6521
+ * @fileoverview added by tsickle
6522
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6523
+ */
6524
+ var SkeletonLoaderLibModule = /** @class */ (function () {
6525
+ function SkeletonLoaderLibModule() {
6526
+ }
6527
+ SkeletonLoaderLibModule.decorators = [
6528
+ { type: core.NgModule, args: [{
6529
+ declarations: [SkeletonLoaderLibComponent],
6530
+ imports: [
6531
+ common.CommonModule,
6532
+ forms.FormsModule,
6533
+ forms.ReactiveFormsModule,
6534
+ material.MatDialogModule,
6535
+ material.MatIconModule,
6536
+ ],
6537
+ exports: [
6538
+ SkeletonLoaderLibComponent,
6539
+ ],
6540
+ entryComponents: [SkeletonLoaderLibComponent],
6541
+ },] }
6542
+ ];
6543
+ return SkeletonLoaderLibModule;
6544
+ }());
6545
+
6160
6546
  /**
6161
6547
  * @fileoverview added by tsickle
6162
6548
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -6168,9 +6554,11 @@
6168
6554
  { type: core.NgModule, args: [{
6169
6555
  declarations: [DataPointsComponent],
6170
6556
  imports: [
6171
- common.CommonModule
6557
+ common.CommonModule,
6558
+ SkeletonLoaderLibModule
6172
6559
  ],
6173
6560
  exports: [DataPointsComponent],
6561
+ providers: [InsiteDataService]
6174
6562
  },] }
6175
6563
  ];
6176
6564
  return DataPointsModule;
@@ -7119,75 +7507,6 @@
7119
7507
  CardUserComponent.prototype.configSvc;
7120
7508
  }
7121
7509
 
7122
- /**
7123
- * @fileoverview added by tsickle
7124
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7125
- */
7126
- var SkeletonLoaderLibComponent = /** @class */ (function () {
7127
- function SkeletonLoaderLibComponent() {
7128
- this.bindingClass = '';
7129
- this.height = '';
7130
- this.width = '';
7131
- }
7132
- /**
7133
- * @return {?}
7134
- */
7135
- SkeletonLoaderLibComponent.prototype.ngOnInit = /**
7136
- * @return {?}
7137
- */
7138
- function () {
7139
- };
7140
- SkeletonLoaderLibComponent.decorators = [
7141
- { type: core.Component, args: [{
7142
- selector: 'sb-uic-skeleton-loader',
7143
- template: "<div [ngClass]=\"bindingClass\" class=\"skeleton-box\" [style.height]=\"height\" [style.width]=\"width\"></div>",
7144
- styles: [".skeleton-box{position:relative;overflow:hidden;background-color:#dddbdd}.skeleton-box::after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0));animation:1s infinite shimmer;content:\"\"}@keyframes shimmer{100%{transform:translateX(100%)}}"]
7145
- }] }
7146
- ];
7147
- /** @nocollapse */
7148
- SkeletonLoaderLibComponent.ctorParameters = function () { return []; };
7149
- SkeletonLoaderLibComponent.propDecorators = {
7150
- bindingClass: [{ type: core.Input }],
7151
- height: [{ type: core.Input }],
7152
- width: [{ type: core.Input }]
7153
- };
7154
- return SkeletonLoaderLibComponent;
7155
- }());
7156
- if (false) {
7157
- /** @type {?} */
7158
- SkeletonLoaderLibComponent.prototype.bindingClass;
7159
- /** @type {?} */
7160
- SkeletonLoaderLibComponent.prototype.height;
7161
- /** @type {?} */
7162
- SkeletonLoaderLibComponent.prototype.width;
7163
- }
7164
-
7165
- /**
7166
- * @fileoverview added by tsickle
7167
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7168
- */
7169
- var SkeletonLoaderLibModule = /** @class */ (function () {
7170
- function SkeletonLoaderLibModule() {
7171
- }
7172
- SkeletonLoaderLibModule.decorators = [
7173
- { type: core.NgModule, args: [{
7174
- declarations: [SkeletonLoaderLibComponent],
7175
- imports: [
7176
- common.CommonModule,
7177
- forms.FormsModule,
7178
- forms.ReactiveFormsModule,
7179
- material.MatDialogModule,
7180
- material.MatIconModule,
7181
- ],
7182
- exports: [
7183
- SkeletonLoaderLibComponent,
7184
- ],
7185
- entryComponents: [SkeletonLoaderLibComponent],
7186
- },] }
7187
- ];
7188
- return SkeletonLoaderLibModule;
7189
- }());
7190
-
7191
7510
  /**
7192
7511
  * @fileoverview added by tsickle
7193
7512
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -7836,7 +8155,7 @@
7836
8155
  CompetencyPassbookComponent.decorators = [
7837
8156
  { type: core.Component, args: [{
7838
8157
  selector: 'sb-uic-competency-passbook',
7839
- template: " <div class=\"competency-title\">{{objectData?.title}} \n <span class=\"competency-count\">\n ({{competencyStrength}})\n </span>\n</div>\n<div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"competencyArea\" \n [isLoading]=\"loadCompetencyArea\" (pillClick)=\"competencyChange($event)\" [selectedValue]=\"selectedValue\"></sb-uic-pills>\n</div>\n<div class=\"grid grid-cols-1 md:grid-cols-3 w-full grid-flow-row gap-5\" *ngIf=\"!loadCometency\">\n <div *ngFor=\"let obj of competencyTheme| slice:0:competencyThemeLength\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center\">\n <div class=\"name\">{{allcompetencyTheme[obj?.name]?.name}}</div>\n <div class=\"flex items-baseline\">\n <img src=\"assets/icons/competency/cp-arrow.svg\" class=\"arrow-img cursor-pointer\" alt=\"cp arrow img\" (click)=\"navigateToCompetency(obj)\" />\n </div>\n </div>\n </div>\n <div class=\"flex flex-row pt-3 pb-3 description\">\n {{ allcompetencyTheme[obj.name]?.description }} \n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\">school</mat-icon>\n <div class=\"no-of-contents\">{{obj.count}} Contents</div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <ng-container *ngFor=\"let child of allcompetencyTheme[obj.name]?.children| slice:0: allcompetencyTheme[obj.name]?.viewMore ? allcompetencyTheme[obj.name]?.children?.length : 3; let i = index\">\n <div class=\"chip rounded-full p-2 text-xs chip-ellipsis\" [title]=\"child?.name\" >\n {{ child.name }}\n </div>\n </ng-container>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && !allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View more\n </div>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View less\n </div>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"competencyTheme.length > 6\">\n <div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"showAllTheme\" (pillClick)=\"displayAllTheme($event)\"></sb-uic-pills>\n </div>\n</ng-container> \n\n<ng-container *ngIf=\"loadCometency\">\n\n<div class=\"grid grid-cols-1 md:grid-cols-3 w-full grid-flow-row gap-5\">\n <div *ngFor=\"let obj of [0,1,2,3,4,5]\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center w-full\">\n <div class=\"name w-full\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n <div class=\"pt-3 pb-3 description\">\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'24px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></mat-icon>\n <div class=\"no-of-contents\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n</ng-container>",
8158
+ template: " <div class=\"competency-title\">{{objectData?.title}} \n <span class=\"competency-count\">\n ({{competencyStrength}})\n </span>\n</div>\n<div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"competencyArea\" \n [isLoading]=\"loadCompetencyArea\" (pillClick)=\"competencyChange($event)\" [selectedValue]=\"selectedValue\"></sb-uic-pills>\n</div>\n<div class=\"grid grid-cols-1 md:grid-cols-3 w-full grid-flow-row gap-5\" *ngIf=\"!loadCometency\">\n <div *ngFor=\"let obj of competencyTheme| slice:0:competencyThemeLength\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center\">\n <div class=\"name\">{{allcompetencyTheme[obj?.name]?.name}}</div>\n <!-- <div class=\"flex items-baseline\">\n <img src=\"assets/icons/competency/cp-arrow.svg\" class=\"arrow-img cursor-pointer\" alt=\"cp arrow img\" (click)=\"navigateToCompetency(obj)\" />\n </div> -->\n </div>\n </div>\n <div class=\"flex flex-row pt-3 pb-3 description\">\n {{ allcompetencyTheme[obj.name]?.description }} \n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\">school</mat-icon>\n <div class=\"no-of-contents\">{{obj.count}} Contents</div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <ng-container *ngFor=\"let child of allcompetencyTheme[obj.name]?.children| slice:0: allcompetencyTheme[obj.name]?.viewMore ? allcompetencyTheme[obj.name]?.children?.length : 3; let i = index\">\n <div class=\"chip rounded-full p-2 text-xs chip-ellipsis\" [title]=\"child?.name\" >\n {{ child.name }}\n </div>\n </ng-container>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && !allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View more\n </div>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View less\n </div>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"competencyTheme.length > 6 && !loadCometency\">\n <div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"showAllTheme\" (pillClick)=\"displayAllTheme($event)\"></sb-uic-pills>\n </div>\n</ng-container> \n\n<ng-container *ngIf=\"loadCometency\">\n\n<div class=\"grid grid-cols-1 md:grid-cols-3 w-full grid-flow-row gap-5\">\n <div *ngFor=\"let obj of [0,1,2,3,4,5]\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center w-full\">\n <div class=\"name w-full\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n <div class=\"pt-3 pb-3 description\">\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'24px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></mat-icon>\n <div class=\"no-of-contents\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n</ng-container>",
7840
8159
  styles: [".competencies-backgroud{background-color:#1b2133}.competency-title{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left;color:#fff}.competency-count{color:#f3962f}.filter-button{padding:12px 16px;border-radius:50px;border:1px solid #fff;font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;background-color:transparent;color:#fff;cursor:pointer}.filter-button.active{background:#1b4ca1}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-background{background:#1b4ca1}.competency-theme{height:16px;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#f8b861}.details{background-color:#fff;border-radius:12px;position:relative;top:-8px;min-height:278px}.name{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.description{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left;height:42px;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.no-of-contents{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;color:#1b4ca1}.content-icon{color:#1b4ca1}.line{border-top:1px solid #e2dddd}.chip{padding:8px 16px;gap:8px;border-radius:50px;border:1px solid #1b4ca1;color:#1b4ca1;font-family:Lato;font-size:14px;font-weight:700;text-align:center}.chip-ellipsis{white-space:nowrap;max-width:110px;overflow:hidden;text-overflow:ellipsis}.info-btn{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;opacity:.7;padding:12px 5px}.hide{display:none}.behavioral{background-color:#f8b861}.functional{background-color:#e24577}.domain{background-color:#7b47a4}"]
7841
8160
  }] }
7842
8161
  ];
@@ -8079,12 +8398,13 @@
8079
8398
  exports.WIDGET_REGISTRATION_LIB_CONFIG = WIDGET_REGISTRATION_LIB_CONFIG;
8080
8399
  exports.ɵa = ContentStripWithTabsLibComponent;
8081
8400
  exports.ɵb = WidgetContentService;
8082
- exports.ɵba = SkeletonLoaderLibModule;
8083
- exports.ɵbb = SkeletonLoaderLibComponent;
8084
- exports.ɵbc = CompetencyPassbookComponent;
8085
- exports.ɵbd = CompetencyPassbookService;
8086
- exports.ɵbe = PillsModule;
8087
- exports.ɵbf = PillsComponent;
8401
+ exports.ɵba = DefaultThumbnailDirective;
8402
+ exports.ɵbb = PipeDurationTransformModule;
8403
+ exports.ɵbc = PipeDurationTransformPipe;
8404
+ exports.ɵbd = CompetencyPassbookComponent;
8405
+ exports.ɵbe = CompetencyPassbookService;
8406
+ exports.ɵbf = PillsModule;
8407
+ exports.ɵbg = PillsComponent;
8088
8408
  exports.ɵc = WidgetUserService;
8089
8409
  exports.ɵd = MultilingualTranslationsService;
8090
8410
  exports.ɵe = ConfigurationsService;
@@ -8096,19 +8416,19 @@
8096
8416
  exports.ɵk = ImageResponsiveModule;
8097
8417
  exports.ɵl = ImageResponsiveDirective;
8098
8418
  exports.ɵm = DataPointsComponent;
8099
- exports.ɵn = CardResourceComponent;
8100
- exports.ɵo = CardsComponent;
8101
- exports.ɵp = CardPortraitComponent;
8102
- exports.ɵq = CardUserComponent;
8103
- exports.ɵr = CardLandscapeComponent;
8104
- exports.ɵs = PipePublicURLModule;
8105
- exports.ɵt = PipePublicURL;
8106
- exports.ɵu = DisplayContentTypeLibModule;
8107
- exports.ɵv = DisplayContentTypeLibComponent;
8108
- exports.ɵw = DefaultThumbnailModule;
8109
- exports.ɵx = DefaultThumbnailDirective;
8110
- exports.ɵy = PipeDurationTransformModule;
8111
- exports.ɵz = PipeDurationTransformPipe;
8419
+ exports.ɵn = InsiteDataService;
8420
+ exports.ɵo = SkeletonLoaderLibModule;
8421
+ exports.ɵp = SkeletonLoaderLibComponent;
8422
+ exports.ɵq = CardResourceComponent;
8423
+ exports.ɵr = CardsComponent;
8424
+ exports.ɵs = CardPortraitComponent;
8425
+ exports.ɵt = CardUserComponent;
8426
+ exports.ɵu = CardLandscapeComponent;
8427
+ exports.ɵv = PipePublicURLModule;
8428
+ exports.ɵw = PipePublicURL;
8429
+ exports.ɵx = DisplayContentTypeLibModule;
8430
+ exports.ɵy = DisplayContentTypeLibComponent;
8431
+ exports.ɵz = DefaultThumbnailModule;
8112
8432
 
8113
8433
  Object.defineProperty(exports, '__esModule', { value: true });
8114
8434