@sunbird-cb/consumption 0.0.36 → 0.0.37
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 +56 -12
- 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/cards/card-karma-programs/card-karma-programs.component.js +7 -3
- package/esm2015/lib/_common/cards/cards.component.js +5 -5
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +4 -4
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +17 -4
- package/esm2015/lib/_services/common-methods.service.js +25 -1
- package/esm5/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +7 -3
- package/esm5/lib/_common/cards/cards.component.js +3 -5
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +4 -4
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +17 -4
- package/esm5/lib/_services/common-methods.service.js +30 -1
- package/fesm2015/sunbird-cb-consumption.js +53 -12
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +56 -12
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/cards/card-karma-programs/card-karma-programs.component.d.ts +1 -0
- package/lib/_services/common-methods.service.d.ts +1 -0
- package/package.json +1 -1
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -5771,6 +5771,7 @@
|
|
|
5771
5771
|
* @return {?}
|
|
5772
5772
|
*/
|
|
5773
5773
|
function (results) {
|
|
5774
|
+
debugger;
|
|
5774
5775
|
if (results.result && results.result.content) {
|
|
5775
5776
|
/** @type {?} */
|
|
5776
5777
|
var showViewMore = Boolean(results.result.content && results.result.content.length > 5 && strip.stripConfig && strip.stripConfig.postCardForSearch);
|
|
@@ -5802,6 +5803,21 @@
|
|
|
5802
5803
|
: null;
|
|
5803
5804
|
resolve({ results: results, viewMoreUrl: viewMoreUrl });
|
|
5804
5805
|
}
|
|
5806
|
+
else if (results.result && results.result.data) {
|
|
5807
|
+
/** @type {?} */
|
|
5808
|
+
var showViewMore = Boolean(results.data && results.result.data && results.result.data.length > 5 && strip.stripConfig && strip.stripConfig.postCardForSearch);
|
|
5809
|
+
/** @type {?} */
|
|
5810
|
+
var viewMoreUrl = showViewMore ? {
|
|
5811
|
+
path: strip.viewMoreUrl && strip.viewMoreUrl.path || '',
|
|
5812
|
+
queryParams: {
|
|
5813
|
+
tab: 'Learn',
|
|
5814
|
+
q: strip.viewMoreUrl && strip.viewMoreUrl.queryParams,
|
|
5815
|
+
f: {},
|
|
5816
|
+
},
|
|
5817
|
+
}
|
|
5818
|
+
: null;
|
|
5819
|
+
resolve({ results: results, viewMoreUrl: viewMoreUrl });
|
|
5820
|
+
}
|
|
5805
5821
|
}), (/**
|
|
5806
5822
|
* @param {?} error
|
|
5807
5823
|
* @return {?}
|
|
@@ -5847,7 +5863,6 @@
|
|
|
5847
5863
|
* @return {?}
|
|
5848
5864
|
*/
|
|
5849
5865
|
function (results) {
|
|
5850
|
-
console.log(results, 'results=========');
|
|
5851
5866
|
/** @type {?} */
|
|
5852
5867
|
var showViewMore = Boolean(results.result.data && results.result.data.orgList.length > 5 && strip.stripConfig && strip.stripConfig.postCardForSearch);
|
|
5853
5868
|
/** @type {?} */
|
|
@@ -5957,7 +5972,6 @@
|
|
|
5957
5972
|
return [4 /*yield*/, this.getRequestMethod(strip, strip.request.bookmarkRead, strip.request.apiUrl, calculateParentStatus)];
|
|
5958
5973
|
case 2:
|
|
5959
5974
|
response = _a.sent();
|
|
5960
|
-
console.log('calling after - response, ', response);
|
|
5961
5975
|
content = response.results.result.data.orgList;
|
|
5962
5976
|
if (response) {
|
|
5963
5977
|
this.processStrip(strip, this.transformAllContentsToWidgets(content, strip), 'done', calculateParentStatus, response);
|
|
@@ -6109,7 +6123,6 @@
|
|
|
6109
6123
|
return [4 /*yield*/, this.getRequestMethod(strip, strip.request.playlistRead, strip.request.apiUrl, calculateParentStatus)];
|
|
6110
6124
|
case 2:
|
|
6111
6125
|
response = _a.sent();
|
|
6112
|
-
console.log('calling after - response, ', response);
|
|
6113
6126
|
if (response && response.results.result.content) {
|
|
6114
6127
|
content = response.results.result.content;
|
|
6115
6128
|
this.processStrip(strip, this.transformAllContentsToWidgets(content, strip), 'done', calculateParentStatus, response);
|
|
@@ -7667,6 +7680,35 @@
|
|
|
7667
7680
|
},
|
|
7668
7681
|
}); }));
|
|
7669
7682
|
};
|
|
7683
|
+
/**
|
|
7684
|
+
* @param {?} str
|
|
7685
|
+
* @param {?=} type
|
|
7686
|
+
* @return {?}
|
|
7687
|
+
*/
|
|
7688
|
+
CommonMethodsService.prototype.handleCapitalize = /**
|
|
7689
|
+
* @param {?} str
|
|
7690
|
+
* @param {?=} type
|
|
7691
|
+
* @return {?}
|
|
7692
|
+
*/
|
|
7693
|
+
function (str, type) {
|
|
7694
|
+
/** @type {?} */
|
|
7695
|
+
var returnValue = '';
|
|
7696
|
+
if (str) {
|
|
7697
|
+
if (type === 'name') {
|
|
7698
|
+
returnValue = str.split(' ').map((/**
|
|
7699
|
+
* @param {?} _str
|
|
7700
|
+
* @return {?}
|
|
7701
|
+
*/
|
|
7702
|
+
function (_str) {
|
|
7703
|
+
return _str.charAt(0).toUpperCase() + _str.slice(1);
|
|
7704
|
+
})).join(' ');
|
|
7705
|
+
}
|
|
7706
|
+
else {
|
|
7707
|
+
returnValue = str && (str.charAt(0).toUpperCase() + str.slice(1));
|
|
7708
|
+
}
|
|
7709
|
+
}
|
|
7710
|
+
return returnValue;
|
|
7711
|
+
};
|
|
7670
7712
|
CommonMethodsService.decorators = [
|
|
7671
7713
|
{ type: core.Injectable, args: [{
|
|
7672
7714
|
providedIn: 'root'
|
|
@@ -8825,14 +8867,12 @@
|
|
|
8825
8867
|
switch (_a.label) {
|
|
8826
8868
|
case 0:
|
|
8827
8869
|
userProfile = this.configSvc.userProfile;
|
|
8828
|
-
debugger;
|
|
8829
8870
|
if (!content.externalId) return [3 /*break*/, 1];
|
|
8830
8871
|
extUrl = content.redirectUrl.replace('<username>', userProfile.userId);
|
|
8831
8872
|
// const url = this.router.serializeUrl(
|
|
8832
8873
|
// this.router.createUrlTree([extUrl])
|
|
8833
8874
|
// );
|
|
8834
|
-
|
|
8835
|
-
window.open(content.redirectUrl);
|
|
8875
|
+
this.router.navigate(["app/toc/ext/" + content.contentId]);
|
|
8836
8876
|
return [3 /*break*/, 3];
|
|
8837
8877
|
case 1: return [4 /*yield*/, this.contSvc.getResourseLink(content)];
|
|
8838
8878
|
case 2:
|
|
@@ -8886,7 +8926,7 @@
|
|
|
8886
8926
|
CardsComponent.decorators = [
|
|
8887
8927
|
{ type: core.Component, args: [{
|
|
8888
8928
|
selector: 'sb-uic-cards',
|
|
8889
|
-
template: "<div class=\"widget-card-content-new\">\n <ng-container *ngIf=\"widgetData && (((widgetData?.deletedMode || 'none') === 'hide' && !!!isLiveOrMarkForDeletion)\n ? false\n : !((widgetData?.intranetMode || 'none') === 'hide' && !!showIntranetContent))\"\n [ngSwitch]=\"( (widgetData && widgetData?.cardSubType) || 'cardPortraitLib')\">\n <ng-container *ngSwitchDefault [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'user-card'\" [ngTemplateOutlet]=\"cardUser\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib'\" [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib-skeleton'\" [ngTemplateOutlet]=\"cardLandscapeLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib'\" [ngTemplateOutlet]=\"cardLandscapeLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib-skeleton'\" [ngTemplateOutlet]=\"cardWideLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib'\" [ngTemplateOutlet]=\"cardWideLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2'\" [ngTemplateOutlet]=\"cardWideV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2-skeleton'\" [ngTemplateOutlet]=\"cardWideV2Skeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-lib'\" [ngTemplateOutlet]=\"cardMdo\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-lib-skeleton'\" [ngTemplateOutlet]=\"cardMdoSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib'\" [ngTemplateOutlet]=\"cardKarmaProgram\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-skeleton'\" [ngTemplateOutlet]=\"
|
|
8929
|
+
template: "<div class=\"widget-card-content-new\">\n <ng-container *ngIf=\"widgetData && (((widgetData?.deletedMode || 'none') === 'hide' && !!!isLiveOrMarkForDeletion)\n ? false\n : !((widgetData?.intranetMode || 'none') === 'hide' && !!showIntranetContent))\"\n [ngSwitch]=\"( (widgetData && widgetData?.cardSubType) || 'cardPortraitLib')\">\n <ng-container *ngSwitchDefault [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'user-card'\" [ngTemplateOutlet]=\"cardUser\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib'\" [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib-skeleton'\" [ngTemplateOutlet]=\"cardLandscapeLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib'\" [ngTemplateOutlet]=\"cardLandscapeLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib-skeleton'\" [ngTemplateOutlet]=\"cardWideLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib'\" [ngTemplateOutlet]=\"cardWideLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2'\" [ngTemplateOutlet]=\"cardWideV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2-skeleton'\" [ngTemplateOutlet]=\"cardWideV2Skeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-lib'\" [ngTemplateOutlet]=\"cardMdo\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-lib-skeleton'\" [ngTemplateOutlet]=\"cardMdoSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib'\" [ngTemplateOutlet]=\"cardKarmaProgram\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-skeleton'\" [ngTemplateOutlet]=\"cardKarmaProgramSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-v2'\" [ngTemplateOutlet]=\"cardKarmaProgramV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-v2-skeleton'\" [ngTemplateOutlet]=\"cardKarmaProgramV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-ext-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitExtLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-ext-lib'\" [ngTemplateOutlet]=\"cardPortraitExtLib\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #cardPortraitLibSkeleton>\n <sb-uic-card-portrait [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardPortraitLib>\n <sb-uic-card-portrait \n [cbPlanMapData]=\"cbPlanMapData\"\n (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardLandscapeLibSkeleton>\n <sb-uic-card-landscape [widgetData]=\"widgetData\" \n [cbPlanMapData]=\"cbPlanMapData\" [isCardLoading]=\"true\"></sb-uic-card-landscape>\n</ng-template>\n<ng-template #cardLandscapeLib>\n <sb-uic-card-landscape\n (contentData)=\"getRedirectUrlData($event)\"\n (triggerTelemetry)=\"raiseCardClick($event)\"\n [widgetData]=\"widgetData\"\n [cbPlanMapData]=\"cbPlanMapData\"\n [isCardLoading]=\"false\">\n </sb-uic-card-landscape>\n</ng-template>\n\n<ng-template #cardWideLib>\n <sb-uic-card-wide (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n<ng-template #cardWideLibSkeleton>\n <sb-uic-card-wide [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n\n<ng-template #cardWideV2Skeleton>\n <sb-uic-card-wide-v2 [widgetData]=\"widgetData\" [isCardLoading]=\"true\" ></sb-uic-card-wide-v2>\n</ng-template>\n<ng-template #cardWideV2>\n <sb-uic-card-wide-v2\n (contentData)=\"getRedirectUrlData($event)\"\n (triggerTelemetry)=\"raiseCardClick($event)\"\n [cbPlanMapData]=\"cbPlanMapData\"\n [isCardLoading]=\"false\"\n [widgetData]=\"widgetData\">\n </sb-uic-card-wide-v2>\n</ng-template>\n\n<ng-template #cardUser>\n <sb-uic-card-user [widgetData]=\"widgetData\"></sb-uic-card-user>\n</ng-template>\n<ng-template #cardMdo>\n <sb-uic-card-mdo-channel [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\n</ng-template>\n<ng-template #cardMdoSkeleton>\n <sb-uic-card-mdo-channel [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\n</ng-template>\n<ng-template #cardKarmaProgramSkeleton>\n <sb-uic-card-karma-programs [randomColorApply]=\"true\" \n [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-karma-programs>\n</ng-template>\n<ng-template #cardKarmaProgram>\n <sb-uic-card-karma-programs [randomColorApply]=\"true\" \n [isCardLoading]=\"false\" [widgetData]=\"widgetData\"></sb-uic-card-karma-programs>\n</ng-template>\n<ng-template #cardKarmaProgramV2>\n <!-- <sb-uic-card-karma-programs-v2 [widgetData]=\"widgetData\"><sb-uic-card-karma-programs-v2> -->\n</ng-template>\n\n<!-- cios card -->\n<ng-template #cardPortraitExtLibSkeleton>\n <sb-uic-card-portrait-ext [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait-ext>\n</ng-template>\n<ng-template #cardPortraitExtLib>\n <sb-uic-card-portrait-ext \n [cbPlanMapData]=\"cbPlanMapData\"\n (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait-ext>\n</ng-template>",
|
|
8890
8930
|
styles: [""]
|
|
8891
8931
|
}] }
|
|
8892
8932
|
];
|
|
@@ -10364,6 +10404,7 @@
|
|
|
10364
10404
|
this.router = router;
|
|
10365
10405
|
this.randomColorApply = false;
|
|
10366
10406
|
this.userData = new core.EventEmitter();
|
|
10407
|
+
this.isCardLoading = false;
|
|
10367
10408
|
this.widgetType = '';
|
|
10368
10409
|
this.widgetSubType = '';
|
|
10369
10410
|
this.randomColors = [
|
|
@@ -10455,7 +10496,7 @@
|
|
|
10455
10496
|
CardKarmaProgramsComponent.decorators = [
|
|
10456
10497
|
{ type: core.Component, args: [{
|
|
10457
10498
|
selector: 'sb-uic-card-karma-programs',
|
|
10458
|
-
template: "<mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\" [ngStyle]=\"{'background': widgetData?.content?.bgColor}\">\n
|
|
10499
|
+
template: "<ng-container *ngIf=\"!isCardLoading\">\n <mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\" [ngStyle]=\"{'background': widgetData?.content?.bgColor}\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData?.content\">\n <a (click)=\"redirectTo(widgetData?.content);$event.stopPropagation();\">\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div class=\"flex flex-col h-full\">\n <div class=\"image-container\">\n <ng-container *ngIf=\"widgetData?.content?.posterImage\">\n <img mat-card-image [src]=\"widgetData?.content?.posterImage | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData?.content?.title\" />\n </ng-container>\n <ng-container *ngIf=\"!widgetData?.content?.posterImage\">\n <ng-container *ngIf=\"widgetData?.content?.imgSource && widgetData?.content?.imgSource?.length; else defaultImg\">\n <img mat-card-image [src]=\"widgetData?.content?.imgSource[0] | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData?.content?.title\" />\n </ng-container>\n <ng-template #defaultImg>\n <img mat-card-image [src]=\"defaultThumbnail\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\"\n [alt]=\"widgetData?.content?.title\" />\n </ng-template>\n </ng-container>\n </div>\n <div class=\"title-container\">\n <div class=\"flex px-2\">\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\n class=\"flex-1 text-start mat-subheading-2 title-text ws-mat-white-text\">\n {{ widgetData?.content?.title }}\n </div>\n </div>\n <div class=\"flex px-2\">\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\n class=\"flex-1 text-start margin-remove margin-top-xxs mat-subheading-2 title-text ws-mat-white-text\">\n {{ widgetData?.content?.children?.length}} Programs\n </div>\n </div>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n </mat-card>\n</ng-container>\n<ng-container *ngIf=\"isCardLoading\">\n <mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\" >\n <div class=\"display-contents\">\n <ng-container >\n <a >\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div class=\"flex flex-col h-full\">\n <div class=\"image-container\">\n <ng-container >\n <sb-uic-skeleton-loader [width]=\"'100%'\" [height]=\"'100%'\" class=\"w-full h-full\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </ng-container>\n </div>\n <div class=\"title-container\">\n <div class=\"flex px-2\">\n <div class=\"flex-1 text-start mat-subheading-2 title-text ws-mat-white-text\">\n <sb-uic-skeleton-loader [width]=\"'100%'\" [height]=\"'100%'\" class=\"w-full h-full\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n <div class=\"flex px-2\">\n <div class=\"flex-1 text-start margin-remove margin-top-xxs mat-subheading-2 title-text ws-mat-white-text\">\n <sb-uic-skeleton-loader [width]=\"'120px'\" [height]=\"'100%'\" class=\"w-full h-full\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n </mat-card>\n</ng-container>",
|
|
10459
10500
|
styles: [".card-channels-container{position:relative;width:245px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;min-height:217px;height:217px;max-height:217px;margin:20px 8px;background:#1a4ca1;border-radius:12px}.card-channels-container .min-top{background:inherit;margin-bottom:0;height:inherit}.card-channels-container .image-container{background-color:#fff;width:inherit;height:139px;max-height:139px;overflow:hidden;display:flex;align-items:center;justify-content:center;border-top-left-radius:12px;border-top-right-radius:12px}.card-channels-container .card-img{max-height:100%;min-height:100%;display:block;-o-object-fit:fill;object-fit:fill}.card-channels-container .mat-subheading-1{font:600 14px/24px Montserrat}.card-channels-container .title-container{background:inherit}.card-channels-container .description-text{position:relative;overflow:hidden;height:51px}.card-channels-container .title-text{word-break:break-all;white-space:initial;margin:8px 0;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;min-height:24px}"]
|
|
10460
10501
|
}] }
|
|
10461
10502
|
];
|
|
@@ -10471,7 +10512,8 @@
|
|
|
10471
10512
|
CardKarmaProgramsComponent.propDecorators = {
|
|
10472
10513
|
widgetData: [{ type: core.Input }],
|
|
10473
10514
|
randomColorApply: [{ type: core.Input }],
|
|
10474
|
-
userData: [{ type: core.Output }]
|
|
10515
|
+
userData: [{ type: core.Output }],
|
|
10516
|
+
isCardLoading: [{ type: core.Input }]
|
|
10475
10517
|
};
|
|
10476
10518
|
return CardKarmaProgramsComponent;
|
|
10477
10519
|
}());
|
|
@@ -10483,6 +10525,8 @@
|
|
|
10483
10525
|
/** @type {?} */
|
|
10484
10526
|
CardKarmaProgramsComponent.prototype.userData;
|
|
10485
10527
|
/** @type {?} */
|
|
10528
|
+
CardKarmaProgramsComponent.prototype.isCardLoading;
|
|
10529
|
+
/** @type {?} */
|
|
10486
10530
|
CardKarmaProgramsComponent.prototype.defaultThumbnail;
|
|
10487
10531
|
/** @type {?} */
|
|
10488
10532
|
CardKarmaProgramsComponent.prototype.sourceLogos;
|
|
@@ -11064,7 +11108,7 @@
|
|
|
11064
11108
|
addfilter = {};
|
|
11065
11109
|
if (this.providerId) {
|
|
11066
11110
|
addfilter = {
|
|
11067
|
-
"
|
|
11111
|
+
"createdFor": [
|
|
11068
11112
|
this.providerId
|
|
11069
11113
|
],
|
|
11070
11114
|
};
|
|
@@ -11104,7 +11148,7 @@
|
|
|
11104
11148
|
function (partialSum, data) { return partialSum + data.count; }), 0);
|
|
11105
11149
|
this.selectedValue = this.competencyArea[0].name.toLowerCase();
|
|
11106
11150
|
addFilter = {
|
|
11107
|
-
"
|
|
11151
|
+
"createdFor": [
|
|
11108
11152
|
this.providerId
|
|
11109
11153
|
]
|
|
11110
11154
|
};
|
|
@@ -11177,7 +11221,7 @@
|
|
|
11177
11221
|
var addfilter = {};
|
|
11178
11222
|
if (this.providerId) {
|
|
11179
11223
|
addfilter = {
|
|
11180
|
-
"
|
|
11224
|
+
"createdFor": [
|
|
11181
11225
|
this.providerId
|
|
11182
11226
|
],
|
|
11183
11227
|
};
|