@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.
- package/bundles/sunbird-cb-consumption.umd.js +416 -96
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +2 -2
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +165 -3
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
- package/esm2015/lib/_common/data-points/data-points.component.js +62 -5
- package/esm2015/lib/_common/data-points/data-points.module.js +6 -2
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +1 -2
- package/esm2015/lib/_services/insite-data.service.js +45 -0
- package/esm2015/lib/_services/widget-content.service.js +12 -1
- package/esm2015/sunbird-cb-consumption.js +21 -20
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +2 -2
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +205 -3
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
- package/esm5/lib/_common/data-points/data-points.component.js +63 -5
- package/esm5/lib/_common/data-points/data-points.module.js +6 -2
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +1 -2
- package/esm5/lib/_services/insite-data.service.js +48 -0
- package/esm5/lib/_services/widget-content.service.js +17 -1
- package/esm5/sunbird-cb-consumption.js +21 -20
- package/fesm2015/sunbird-cb-consumption.js +343 -72
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +398 -79
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +7 -1
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +3 -0
- package/lib/_common/data-points/data-points.component.d.ts +7 -1
- package/lib/_services/insite-data.service.d.ts +7 -0
- package/lib/_services/widget-content.service.d.ts +1 -0
- package/package.json +3 -2
- package/sunbird-cb-consumption.d.ts +20 -19
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -17,7 +17,7 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
|
17
17
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
18
18
|
import { HammerGestureConfig, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser';
|
|
19
19
|
import Hammer from 'hammerjs';
|
|
20
|
-
import {
|
|
20
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @fileoverview added by tsickle
|
|
@@ -233,7 +233,6 @@ class HorizontalScrollerV2Component {
|
|
|
233
233
|
let cardWidth;
|
|
234
234
|
/** @type {?} */
|
|
235
235
|
let arrLength;
|
|
236
|
-
console.log('this.cardSubType-->', this.cardSubType);
|
|
237
236
|
if (this.cardSubType !== 'card-wide-v2') {
|
|
238
237
|
cardWidth = this.cardSubType === 'standard' ? 245 :
|
|
239
238
|
((document.getElementsByClassName(this.cardSubType) &&
|
|
@@ -1412,6 +1411,8 @@ const API_END_POINTS = {
|
|
|
1412
1411
|
READ_COURSE_KARMAPOINTS: '/apis/proxies/v8/karmapoints/user/course/read',
|
|
1413
1412
|
CLAIM_KARMAPOINTS: '/apis/proxies/v8/claimkarmapoints',
|
|
1414
1413
|
USER_KARMA_POINTS: '/apis/proxies/v8/user/totalkarmapoints',
|
|
1414
|
+
AGGREGATION_SEARCH: '/apis/proxies/v8/content/aggregation/search',
|
|
1415
|
+
FEATURE_SEARCH: '/apis/proxies/v8/featured/content/search',
|
|
1415
1416
|
};
|
|
1416
1417
|
class WidgetContentService {
|
|
1417
1418
|
/**
|
|
@@ -2108,6 +2109,15 @@ class WidgetContentService {
|
|
|
2108
2109
|
}
|
|
2109
2110
|
return true;
|
|
2110
2111
|
}
|
|
2112
|
+
/**
|
|
2113
|
+
* @param {?} apiUrl
|
|
2114
|
+
* @param {?} req
|
|
2115
|
+
* @return {?}
|
|
2116
|
+
*/
|
|
2117
|
+
postApiMethod(apiUrl, req) {
|
|
2118
|
+
req.query = req.query || '';
|
|
2119
|
+
return this.http.post(apiUrl, req);
|
|
2120
|
+
}
|
|
2111
2121
|
}
|
|
2112
2122
|
WidgetContentService.decorators = [
|
|
2113
2123
|
{ type: Injectable, args: [{
|
|
@@ -3192,6 +3202,8 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
3192
3202
|
this.userSvc = userSvc;
|
|
3193
3203
|
this.translate = translate;
|
|
3194
3204
|
this.langtranslations = langtranslations;
|
|
3205
|
+
this.emptyResponse = new EventEmitter();
|
|
3206
|
+
this.providerId = '';
|
|
3195
3207
|
this.id = `ws-strip-miltiple_${Math.random()}`;
|
|
3196
3208
|
this.stripsResultDataMap = {};
|
|
3197
3209
|
this.stripsKeyOrder = [];
|
|
@@ -3552,6 +3564,8 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
3552
3564
|
this.fetchFromSearchV6(strip, calculateParentStatus);
|
|
3553
3565
|
this.fetchFromTrendingContent(strip, calculateParentStatus);
|
|
3554
3566
|
this.fetchAllCbpPlans(strip, calculateParentStatus);
|
|
3567
|
+
this.fetchAllTopContent(strip, calculateParentStatus);
|
|
3568
|
+
this.fetchAllFeaturedContent(strip, calculateParentStatus);
|
|
3555
3569
|
// this.enrollInterval = setInterval(() => {
|
|
3556
3570
|
// this.fetchAllCbpPlans(strip, calculateParentStatus)
|
|
3557
3571
|
// }, 1000)
|
|
@@ -4182,7 +4196,9 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
4182
4196
|
(strip.request.searchV6 && Object.keys(strip.request.searchV6).length) ||
|
|
4183
4197
|
(strip.request.enrollmentList && Object.keys(strip.request.enrollmentList).length) ||
|
|
4184
4198
|
(strip.request.cbpList && Object.keys(strip.request.cbpList).length) ||
|
|
4185
|
-
(strip.request.trendingSearch && Object.keys(strip.request.trendingSearch).length)
|
|
4199
|
+
(strip.request.trendingSearch && Object.keys(strip.request.trendingSearch).length) ||
|
|
4200
|
+
(strip.request.topContent && Object.keys(strip.request.topContent).length) ||
|
|
4201
|
+
(strip.request.featureContent && Object.keys(strip.request.featureContent).length))) {
|
|
4186
4202
|
return true;
|
|
4187
4203
|
}
|
|
4188
4204
|
return false;
|
|
@@ -4588,6 +4604,156 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
4588
4604
|
if (index >= 0) { }
|
|
4589
4605
|
return get(item, 'widgetData.content.identifier');
|
|
4590
4606
|
}
|
|
4607
|
+
/**
|
|
4608
|
+
* @param {?} strip
|
|
4609
|
+
* @param {?=} calculateParentStatus
|
|
4610
|
+
* @return {?}
|
|
4611
|
+
*/
|
|
4612
|
+
fetchAllTopContent(strip, calculateParentStatus = true) {
|
|
4613
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4614
|
+
if (strip.request && strip.request.topContent && Object.keys(strip.request.topContent).length) {
|
|
4615
|
+
/** @type {?} */
|
|
4616
|
+
let originalFilters = [];
|
|
4617
|
+
if (strip.request &&
|
|
4618
|
+
strip.request.topContent &&
|
|
4619
|
+
strip.request.topContent.request &&
|
|
4620
|
+
strip.request.topContent.request.filters) {
|
|
4621
|
+
originalFilters = strip.request.topContent.request.filters;
|
|
4622
|
+
strip.request.topContent.request.filters = this.postMethodFilters(strip.request.topContent.request.filters);
|
|
4623
|
+
}
|
|
4624
|
+
try {
|
|
4625
|
+
/** @type {?} */
|
|
4626
|
+
const response = yield this.postRequestMethod(strip, strip.request.topContent, strip.request.apiUrl, calculateParentStatus);
|
|
4627
|
+
// console.log('calling after - response, ', response)
|
|
4628
|
+
if (response && response.results) {
|
|
4629
|
+
// console.log('calling after-- ')
|
|
4630
|
+
if (response.results.result.content) {
|
|
4631
|
+
this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
4632
|
+
}
|
|
4633
|
+
else {
|
|
4634
|
+
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|
|
4635
|
+
this.emptyResponse.emit(true);
|
|
4636
|
+
}
|
|
4637
|
+
}
|
|
4638
|
+
else {
|
|
4639
|
+
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|
|
4640
|
+
this.emptyResponse.emit(true);
|
|
4641
|
+
}
|
|
4642
|
+
}
|
|
4643
|
+
catch (error) {
|
|
4644
|
+
// Handle errors
|
|
4645
|
+
// console.error('Error:', error);
|
|
4646
|
+
}
|
|
4647
|
+
}
|
|
4648
|
+
});
|
|
4649
|
+
}
|
|
4650
|
+
/**
|
|
4651
|
+
* @param {?} strip
|
|
4652
|
+
* @param {?=} calculateParentStatus
|
|
4653
|
+
* @return {?}
|
|
4654
|
+
*/
|
|
4655
|
+
fetchAllFeaturedContent(strip, calculateParentStatus = true) {
|
|
4656
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4657
|
+
if (strip.request && strip.request.featureContent && Object.keys(strip.request.featureContent).length) {
|
|
4658
|
+
/** @type {?} */
|
|
4659
|
+
let originalFilters = [];
|
|
4660
|
+
if (strip.request &&
|
|
4661
|
+
strip.request.featureContent &&
|
|
4662
|
+
strip.request.featureContent.request &&
|
|
4663
|
+
strip.request.featureContent.request.filters) {
|
|
4664
|
+
originalFilters = strip.request.featureContent.request.filters;
|
|
4665
|
+
strip.request.featureContent.request.filters = this.checkForDateFilters(strip.request.featureContent.request.filters);
|
|
4666
|
+
strip.request.featureContent.request.filters = this.getFiltersFromArray(strip.request.featureContent.request.filters);
|
|
4667
|
+
}
|
|
4668
|
+
try {
|
|
4669
|
+
/** @type {?} */
|
|
4670
|
+
const response = yield this.postRequestMethod(strip, strip.request.featureContent.request, strip.request.featureContent.path, calculateParentStatus);
|
|
4671
|
+
// console.log('calling after - response, ', response)
|
|
4672
|
+
if (response && response.results) {
|
|
4673
|
+
// console.log('calling after-- ')
|
|
4674
|
+
if (response.results.result.content) {
|
|
4675
|
+
this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
|
|
4676
|
+
}
|
|
4677
|
+
else {
|
|
4678
|
+
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|
|
4679
|
+
}
|
|
4680
|
+
}
|
|
4681
|
+
else {
|
|
4682
|
+
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|
|
4683
|
+
}
|
|
4684
|
+
}
|
|
4685
|
+
catch (error) {
|
|
4686
|
+
// Handle errors
|
|
4687
|
+
// console.error('Error:', error);
|
|
4688
|
+
}
|
|
4689
|
+
}
|
|
4690
|
+
});
|
|
4691
|
+
}
|
|
4692
|
+
/**
|
|
4693
|
+
* @param {?} strip
|
|
4694
|
+
* @param {?} request
|
|
4695
|
+
* @param {?} apiUrl
|
|
4696
|
+
* @param {?} calculateParentStatus
|
|
4697
|
+
* @return {?}
|
|
4698
|
+
*/
|
|
4699
|
+
postRequestMethod(strip, request, apiUrl, calculateParentStatus) {
|
|
4700
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4701
|
+
/** @type {?} */
|
|
4702
|
+
const originalFilters = [];
|
|
4703
|
+
return new Promise((/**
|
|
4704
|
+
* @param {?} resolve
|
|
4705
|
+
* @param {?} reject
|
|
4706
|
+
* @return {?}
|
|
4707
|
+
*/
|
|
4708
|
+
(resolve, reject) => {
|
|
4709
|
+
if (request && request) {
|
|
4710
|
+
this.contentSvc.postApiMethod(apiUrl, request).subscribe((/**
|
|
4711
|
+
* @param {?} results
|
|
4712
|
+
* @return {?}
|
|
4713
|
+
*/
|
|
4714
|
+
results => {
|
|
4715
|
+
/** @type {?} */
|
|
4716
|
+
const showViewMore = Boolean(results.result.content && results.result.content.length > 5 && strip.stripConfig && strip.stripConfig.postCardForSearch);
|
|
4717
|
+
/** @type {?} */
|
|
4718
|
+
const viewMoreUrl = showViewMore
|
|
4719
|
+
? {
|
|
4720
|
+
path: strip.viewMoreUrl && strip.viewMoreUrl.path || '',
|
|
4721
|
+
queryParams: {
|
|
4722
|
+
tab: 'Learn',
|
|
4723
|
+
q: strip.viewMoreUrl && strip.viewMoreUrl.queryParams,
|
|
4724
|
+
f: request &&
|
|
4725
|
+
request.searchV6 &&
|
|
4726
|
+
request.searchV6.request &&
|
|
4727
|
+
request.searchV6.request.filters
|
|
4728
|
+
? JSON.stringify(this.transformSearchV6FiltersV2(originalFilters))
|
|
4729
|
+
: {},
|
|
4730
|
+
},
|
|
4731
|
+
}
|
|
4732
|
+
: null;
|
|
4733
|
+
resolve({ results, viewMoreUrl });
|
|
4734
|
+
}), (/**
|
|
4735
|
+
* @param {?} error
|
|
4736
|
+
* @return {?}
|
|
4737
|
+
*/
|
|
4738
|
+
(error) => {
|
|
4739
|
+
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|
|
4740
|
+
reject(error);
|
|
4741
|
+
}));
|
|
4742
|
+
}
|
|
4743
|
+
}));
|
|
4744
|
+
});
|
|
4745
|
+
}
|
|
4746
|
+
/**
|
|
4747
|
+
* @param {?} filters
|
|
4748
|
+
* @return {?}
|
|
4749
|
+
*/
|
|
4750
|
+
postMethodFilters(filters) {
|
|
4751
|
+
if (filters.organisation &&
|
|
4752
|
+
filters.organisation.indexOf('<orgID>') >= 0) {
|
|
4753
|
+
filters.organisation = this.providerId;
|
|
4754
|
+
}
|
|
4755
|
+
return filters;
|
|
4756
|
+
}
|
|
4591
4757
|
}
|
|
4592
4758
|
ContentStripWithTabsLibComponent.decorators = [
|
|
4593
4759
|
{ type: Component, args: [{
|
|
@@ -4610,12 +4776,18 @@ ContentStripWithTabsLibComponent.ctorParameters = () => [
|
|
|
4610
4776
|
];
|
|
4611
4777
|
ContentStripWithTabsLibComponent.propDecorators = {
|
|
4612
4778
|
widgetData: [{ type: Input }],
|
|
4779
|
+
emptyResponse: [{ type: Output }],
|
|
4780
|
+
providerId: [{ type: Input }],
|
|
4613
4781
|
id: [{ type: HostBinding, args: ['id',] }]
|
|
4614
4782
|
};
|
|
4615
4783
|
if (false) {
|
|
4616
4784
|
/** @type {?} */
|
|
4617
4785
|
ContentStripWithTabsLibComponent.prototype.widgetData;
|
|
4618
4786
|
/** @type {?} */
|
|
4787
|
+
ContentStripWithTabsLibComponent.prototype.emptyResponse;
|
|
4788
|
+
/** @type {?} */
|
|
4789
|
+
ContentStripWithTabsLibComponent.prototype.providerId;
|
|
4790
|
+
/** @type {?} */
|
|
4619
4791
|
ContentStripWithTabsLibComponent.prototype.id;
|
|
4620
4792
|
/** @type {?} */
|
|
4621
4793
|
ContentStripWithTabsLibComponent.prototype.stripsResultDataMap;
|
|
@@ -5179,14 +5351,62 @@ SlidersLibModule.decorators = [
|
|
|
5179
5351
|
},] }
|
|
5180
5352
|
];
|
|
5181
5353
|
|
|
5354
|
+
/**
|
|
5355
|
+
* @fileoverview added by tsickle
|
|
5356
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5357
|
+
*/
|
|
5358
|
+
/** @type {?} */
|
|
5359
|
+
const API_END_POINTS$2 = {
|
|
5360
|
+
PROVIDER_INSIGHTS: `/apis/proxies/v8/microsite/read/insights`
|
|
5361
|
+
};
|
|
5362
|
+
class InsiteDataService {
|
|
5363
|
+
/**
|
|
5364
|
+
* @param {?} http
|
|
5365
|
+
*/
|
|
5366
|
+
constructor(http) {
|
|
5367
|
+
this.http = http;
|
|
5368
|
+
}
|
|
5369
|
+
/**
|
|
5370
|
+
* @param {?} request
|
|
5371
|
+
* @return {?}
|
|
5372
|
+
*/
|
|
5373
|
+
fetchSearchData(request) {
|
|
5374
|
+
return this.http.post(API_END_POINTS$2.PROVIDER_INSIGHTS, request);
|
|
5375
|
+
}
|
|
5376
|
+
}
|
|
5377
|
+
InsiteDataService.decorators = [
|
|
5378
|
+
{ type: Injectable, args: [{
|
|
5379
|
+
providedIn: 'root'
|
|
5380
|
+
},] }
|
|
5381
|
+
];
|
|
5382
|
+
/** @nocollapse */
|
|
5383
|
+
InsiteDataService.ctorParameters = () => [
|
|
5384
|
+
{ type: HttpClient }
|
|
5385
|
+
];
|
|
5386
|
+
/** @nocollapse */ InsiteDataService.ngInjectableDef = ɵɵdefineInjectable({ factory: function InsiteDataService_Factory() { return new InsiteDataService(ɵɵinject(HttpClient)); }, token: InsiteDataService, providedIn: "root" });
|
|
5387
|
+
if (false) {
|
|
5388
|
+
/**
|
|
5389
|
+
* @type {?}
|
|
5390
|
+
* @private
|
|
5391
|
+
*/
|
|
5392
|
+
InsiteDataService.prototype.http;
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5182
5395
|
/**
|
|
5183
5396
|
* @fileoverview added by tsickle
|
|
5184
5397
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5185
5398
|
*/
|
|
5186
5399
|
class DataPointsComponent {
|
|
5187
|
-
|
|
5400
|
+
/**
|
|
5401
|
+
* @param {?} insightSvc
|
|
5402
|
+
*/
|
|
5403
|
+
constructor(insightSvc) {
|
|
5404
|
+
this.insightSvc = insightSvc;
|
|
5188
5405
|
this.layoutType = '';
|
|
5406
|
+
this.fetchDataFromApi = false;
|
|
5407
|
+
this.providerId = '';
|
|
5189
5408
|
this.customArray = [];
|
|
5409
|
+
this.isDataLoading = false;
|
|
5190
5410
|
}
|
|
5191
5411
|
/**
|
|
5192
5412
|
* @return {?}
|
|
@@ -5195,6 +5415,10 @@ class DataPointsComponent {
|
|
|
5195
5415
|
if (this.objectData && this.layoutType === 'gridLayout') {
|
|
5196
5416
|
this.customArray = this.createCustomArray(this.objectData.metrics);
|
|
5197
5417
|
}
|
|
5418
|
+
if (this.fetchDataFromApi) {
|
|
5419
|
+
this.isDataLoading = true;
|
|
5420
|
+
this.getInsiteData();
|
|
5421
|
+
}
|
|
5198
5422
|
}
|
|
5199
5423
|
/**
|
|
5200
5424
|
* @param {?} arr
|
|
@@ -5208,19 +5432,56 @@ class DataPointsComponent {
|
|
|
5208
5432
|
}
|
|
5209
5433
|
return nByn;
|
|
5210
5434
|
}
|
|
5435
|
+
/**
|
|
5436
|
+
* @return {?}
|
|
5437
|
+
*/
|
|
5438
|
+
getInsiteData() {
|
|
5439
|
+
/** @type {?} */
|
|
5440
|
+
let request = {
|
|
5441
|
+
"request": {
|
|
5442
|
+
"filters": {
|
|
5443
|
+
"organisations": [
|
|
5444
|
+
this.providerId
|
|
5445
|
+
]
|
|
5446
|
+
}
|
|
5447
|
+
}
|
|
5448
|
+
};
|
|
5449
|
+
this.insightSvc.fetchSearchData(request).subscribe((/**
|
|
5450
|
+
* @param {?} res
|
|
5451
|
+
* @return {?}
|
|
5452
|
+
*/
|
|
5453
|
+
(res) => {
|
|
5454
|
+
if (res && res.result && res.result.response && res.result.response.nudges && res.result.response.nudges.length) {
|
|
5455
|
+
res.result.response.nudges.forEach((/**
|
|
5456
|
+
* @param {?} nudgeData
|
|
5457
|
+
* @return {?}
|
|
5458
|
+
*/
|
|
5459
|
+
(nudgeData) => {
|
|
5460
|
+
if (this.providerId && this.providerId === nudgeData.orgId) {
|
|
5461
|
+
this.objectData = nudgeData.data;
|
|
5462
|
+
}
|
|
5463
|
+
}));
|
|
5464
|
+
}
|
|
5465
|
+
this.isDataLoading = false;
|
|
5466
|
+
}));
|
|
5467
|
+
}
|
|
5211
5468
|
}
|
|
5212
5469
|
DataPointsComponent.decorators = [
|
|
5213
5470
|
{ type: Component, args: [{
|
|
5214
5471
|
selector: 'sb-uic-data-points',
|
|
5215
|
-
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\"
|
|
5472
|
+
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>",
|
|
5216
5473
|
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}}"]
|
|
5217
5474
|
}] }
|
|
5218
5475
|
];
|
|
5219
5476
|
/** @nocollapse */
|
|
5220
|
-
DataPointsComponent.ctorParameters = () => [
|
|
5477
|
+
DataPointsComponent.ctorParameters = () => [
|
|
5478
|
+
{ type: InsiteDataService }
|
|
5479
|
+
];
|
|
5221
5480
|
DataPointsComponent.propDecorators = {
|
|
5222
5481
|
objectData: [{ type: Input }],
|
|
5223
|
-
layoutType: [{ type: Input }]
|
|
5482
|
+
layoutType: [{ type: Input }],
|
|
5483
|
+
fetchDataFromApi: [{ type: Input }],
|
|
5484
|
+
providerId: [{ type: Input }]
|
|
5224
5485
|
};
|
|
5225
5486
|
if (false) {
|
|
5226
5487
|
/** @type {?} */
|
|
@@ -5228,9 +5489,79 @@ if (false) {
|
|
|
5228
5489
|
/** @type {?} */
|
|
5229
5490
|
DataPointsComponent.prototype.layoutType;
|
|
5230
5491
|
/** @type {?} */
|
|
5492
|
+
DataPointsComponent.prototype.fetchDataFromApi;
|
|
5493
|
+
/** @type {?} */
|
|
5494
|
+
DataPointsComponent.prototype.providerId;
|
|
5495
|
+
/** @type {?} */
|
|
5231
5496
|
DataPointsComponent.prototype.customArray;
|
|
5497
|
+
/** @type {?} */
|
|
5498
|
+
DataPointsComponent.prototype.isDataLoading;
|
|
5499
|
+
/** @type {?} */
|
|
5500
|
+
DataPointsComponent.prototype.insightSvc;
|
|
5501
|
+
}
|
|
5502
|
+
|
|
5503
|
+
/**
|
|
5504
|
+
* @fileoverview added by tsickle
|
|
5505
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5506
|
+
*/
|
|
5507
|
+
class SkeletonLoaderLibComponent {
|
|
5508
|
+
constructor() {
|
|
5509
|
+
this.bindingClass = '';
|
|
5510
|
+
this.height = '';
|
|
5511
|
+
this.width = '';
|
|
5512
|
+
}
|
|
5513
|
+
/**
|
|
5514
|
+
* @return {?}
|
|
5515
|
+
*/
|
|
5516
|
+
ngOnInit() {
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
SkeletonLoaderLibComponent.decorators = [
|
|
5520
|
+
{ type: Component, args: [{
|
|
5521
|
+
selector: 'sb-uic-skeleton-loader',
|
|
5522
|
+
template: "<div [ngClass]=\"bindingClass\" class=\"skeleton-box\" [style.height]=\"height\" [style.width]=\"width\"></div>",
|
|
5523
|
+
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%)}}"]
|
|
5524
|
+
}] }
|
|
5525
|
+
];
|
|
5526
|
+
/** @nocollapse */
|
|
5527
|
+
SkeletonLoaderLibComponent.ctorParameters = () => [];
|
|
5528
|
+
SkeletonLoaderLibComponent.propDecorators = {
|
|
5529
|
+
bindingClass: [{ type: Input }],
|
|
5530
|
+
height: [{ type: Input }],
|
|
5531
|
+
width: [{ type: Input }]
|
|
5532
|
+
};
|
|
5533
|
+
if (false) {
|
|
5534
|
+
/** @type {?} */
|
|
5535
|
+
SkeletonLoaderLibComponent.prototype.bindingClass;
|
|
5536
|
+
/** @type {?} */
|
|
5537
|
+
SkeletonLoaderLibComponent.prototype.height;
|
|
5538
|
+
/** @type {?} */
|
|
5539
|
+
SkeletonLoaderLibComponent.prototype.width;
|
|
5232
5540
|
}
|
|
5233
5541
|
|
|
5542
|
+
/**
|
|
5543
|
+
* @fileoverview added by tsickle
|
|
5544
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5545
|
+
*/
|
|
5546
|
+
class SkeletonLoaderLibModule {
|
|
5547
|
+
}
|
|
5548
|
+
SkeletonLoaderLibModule.decorators = [
|
|
5549
|
+
{ type: NgModule, args: [{
|
|
5550
|
+
declarations: [SkeletonLoaderLibComponent],
|
|
5551
|
+
imports: [
|
|
5552
|
+
CommonModule,
|
|
5553
|
+
FormsModule,
|
|
5554
|
+
ReactiveFormsModule,
|
|
5555
|
+
MatDialogModule,
|
|
5556
|
+
MatIconModule,
|
|
5557
|
+
],
|
|
5558
|
+
exports: [
|
|
5559
|
+
SkeletonLoaderLibComponent,
|
|
5560
|
+
],
|
|
5561
|
+
entryComponents: [SkeletonLoaderLibComponent],
|
|
5562
|
+
},] }
|
|
5563
|
+
];
|
|
5564
|
+
|
|
5234
5565
|
/**
|
|
5235
5566
|
* @fileoverview added by tsickle
|
|
5236
5567
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -5241,9 +5572,11 @@ DataPointsModule.decorators = [
|
|
|
5241
5572
|
{ type: NgModule, args: [{
|
|
5242
5573
|
declarations: [DataPointsComponent],
|
|
5243
5574
|
imports: [
|
|
5244
|
-
CommonModule
|
|
5575
|
+
CommonModule,
|
|
5576
|
+
SkeletonLoaderLibModule
|
|
5245
5577
|
],
|
|
5246
5578
|
exports: [DataPointsComponent],
|
|
5579
|
+
providers: [InsiteDataService]
|
|
5247
5580
|
},] }
|
|
5248
5581
|
];
|
|
5249
5582
|
|
|
@@ -6101,68 +6434,6 @@ if (false) {
|
|
|
6101
6434
|
CardUserComponent.prototype.configSvc;
|
|
6102
6435
|
}
|
|
6103
6436
|
|
|
6104
|
-
/**
|
|
6105
|
-
* @fileoverview added by tsickle
|
|
6106
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6107
|
-
*/
|
|
6108
|
-
class SkeletonLoaderLibComponent {
|
|
6109
|
-
constructor() {
|
|
6110
|
-
this.bindingClass = '';
|
|
6111
|
-
this.height = '';
|
|
6112
|
-
this.width = '';
|
|
6113
|
-
}
|
|
6114
|
-
/**
|
|
6115
|
-
* @return {?}
|
|
6116
|
-
*/
|
|
6117
|
-
ngOnInit() {
|
|
6118
|
-
}
|
|
6119
|
-
}
|
|
6120
|
-
SkeletonLoaderLibComponent.decorators = [
|
|
6121
|
-
{ type: Component, args: [{
|
|
6122
|
-
selector: 'sb-uic-skeleton-loader',
|
|
6123
|
-
template: "<div [ngClass]=\"bindingClass\" class=\"skeleton-box\" [style.height]=\"height\" [style.width]=\"width\"></div>",
|
|
6124
|
-
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%)}}"]
|
|
6125
|
-
}] }
|
|
6126
|
-
];
|
|
6127
|
-
/** @nocollapse */
|
|
6128
|
-
SkeletonLoaderLibComponent.ctorParameters = () => [];
|
|
6129
|
-
SkeletonLoaderLibComponent.propDecorators = {
|
|
6130
|
-
bindingClass: [{ type: Input }],
|
|
6131
|
-
height: [{ type: Input }],
|
|
6132
|
-
width: [{ type: Input }]
|
|
6133
|
-
};
|
|
6134
|
-
if (false) {
|
|
6135
|
-
/** @type {?} */
|
|
6136
|
-
SkeletonLoaderLibComponent.prototype.bindingClass;
|
|
6137
|
-
/** @type {?} */
|
|
6138
|
-
SkeletonLoaderLibComponent.prototype.height;
|
|
6139
|
-
/** @type {?} */
|
|
6140
|
-
SkeletonLoaderLibComponent.prototype.width;
|
|
6141
|
-
}
|
|
6142
|
-
|
|
6143
|
-
/**
|
|
6144
|
-
* @fileoverview added by tsickle
|
|
6145
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6146
|
-
*/
|
|
6147
|
-
class SkeletonLoaderLibModule {
|
|
6148
|
-
}
|
|
6149
|
-
SkeletonLoaderLibModule.decorators = [
|
|
6150
|
-
{ type: NgModule, args: [{
|
|
6151
|
-
declarations: [SkeletonLoaderLibComponent],
|
|
6152
|
-
imports: [
|
|
6153
|
-
CommonModule,
|
|
6154
|
-
FormsModule,
|
|
6155
|
-
ReactiveFormsModule,
|
|
6156
|
-
MatDialogModule,
|
|
6157
|
-
MatIconModule,
|
|
6158
|
-
],
|
|
6159
|
-
exports: [
|
|
6160
|
-
SkeletonLoaderLibComponent,
|
|
6161
|
-
],
|
|
6162
|
-
entryComponents: [SkeletonLoaderLibComponent],
|
|
6163
|
-
},] }
|
|
6164
|
-
];
|
|
6165
|
-
|
|
6166
6437
|
/**
|
|
6167
6438
|
* @fileoverview added by tsickle
|
|
6168
6439
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -6726,7 +6997,7 @@ class CompetencyPassbookComponent {
|
|
|
6726
6997
|
CompetencyPassbookComponent.decorators = [
|
|
6727
6998
|
{ type: Component, args: [{
|
|
6728
6999
|
selector: 'sb-uic-competency-passbook',
|
|
6729
|
-
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
|
|
7000
|
+
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>",
|
|
6730
7001
|
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}"]
|
|
6731
7002
|
}] }
|
|
6732
7003
|
];
|
|
@@ -6936,5 +7207,5 @@ CommonMethodsService.ctorParameters = () => [];
|
|
|
6936
7207
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6937
7208
|
*/
|
|
6938
7209
|
|
|
6939
|
-
export { CardsModule, CommonMethodsService, CompetencyPassbookModule, ConsumptionComponent, ConsumptionModule, ConsumptionService, ContentStripWithTabsLibModule, DataPointsModule, HttpLoaderFactory, MyHammerConfig, ROOT_WIDGET_CONFIG, SlidersLibModule, WIDGET_REGISTERED_LIB_MODULES, WIDGET_REGISTRATION_LIB_CONFIG, ContentStripWithTabsLibComponent as ɵa, WidgetContentService as ɵb,
|
|
7210
|
+
export { CardsModule, CommonMethodsService, CompetencyPassbookModule, ConsumptionComponent, ConsumptionModule, ConsumptionService, ContentStripWithTabsLibModule, DataPointsModule, HttpLoaderFactory, MyHammerConfig, ROOT_WIDGET_CONFIG, SlidersLibModule, WIDGET_REGISTERED_LIB_MODULES, WIDGET_REGISTRATION_LIB_CONFIG, ContentStripWithTabsLibComponent as ɵa, WidgetContentService as ɵb, DefaultThumbnailDirective as ɵba, PipeDurationTransformModule as ɵbb, PipeDurationTransformPipe as ɵbc, CompetencyPassbookComponent as ɵbd, CompetencyPassbookService as ɵbe, PillsModule as ɵbf, PillsComponent as ɵbg, WidgetUserService as ɵc, MultilingualTranslationsService as ɵd, ConfigurationsService as ɵe, HorizontalScrollerV2Module as ɵf, HorizontalScrollerV2Component as ɵg, SlidersLibComponent as ɵh, NavigationModule as ɵi, NavigationDirective as ɵj, ImageResponsiveModule as ɵk, ImageResponsiveDirective as ɵl, DataPointsComponent as ɵm, InsiteDataService as ɵn, SkeletonLoaderLibModule as ɵo, SkeletonLoaderLibComponent as ɵp, CardResourceComponent as ɵq, CardsComponent as ɵr, CardPortraitComponent as ɵs, CardUserComponent as ɵt, CardLandscapeComponent as ɵu, PipePublicURLModule as ɵv, PipePublicURL as ɵw, DisplayContentTypeLibModule as ɵx, DisplayContentTypeLibComponent as ɵy, DefaultThumbnailModule as ɵz };
|
|
6940
7211
|
//# sourceMappingURL=sunbird-cb-consumption.js.map
|