@sunbird-cb/consumption 0.0.23 → 0.0.24
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 +179 -4
- 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 +43 -3
- package/esm2015/lib/_common/cards/cards.component.js +2 -2
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +112 -2
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
- package/esm5/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +50 -3
- package/esm5/lib/_common/cards/cards.component.js +2 -2
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +130 -2
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +1 -1
- package/fesm2015/sunbird-cb-consumption.js +154 -4
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +179 -4
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/cards/card-karma-programs/card-karma-programs.component.d.ts +4 -0
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +2 -0
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +1 -0
- package/package.json +1 -1
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -209,4 +209,4 @@ export var NsContentStripWithTabs;
|
|
|
209
209
|
IContentStripTab.prototype.tabLoading;
|
|
210
210
|
}
|
|
211
211
|
})(NsContentStripWithTabs || (NsContentStripWithTabs = {}));
|
|
212
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
212
|
+
//# sourceMappingURL=data:application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sdWU6IHN0cmluZztcbiAgICBzaG93VGFiRGF0YUNvdW50OiBib29sZWFuO1xuICAgIHJlcXVlc3RSZXF1aXJlZD86IGJvb2xlYW47XG4gICAgY29tcHV0ZURhdGFPbkNsaWNrPzogYm9vbGVhbjtcbiAgICBjb21wdXRlRGF0YU9uQ2xpY2tLZXk/OiBzdHJpbmc7XG4gICAgcmVxdWVzdD86IGFueTtcbiAgICB3aWRnZXRzPzogTnNXaWRnZXRSZXNvbHZlci5JUmVuZGVyQ29uZmlnV2l0aEFueURhdGFbXTtcbiAgICBtYXhXaWRnZXRzPzogbnVtYmVyO1xuICAgIGZldGNoVGFiU3RhdHVzPzogc3RyaW5nO1xuICAgIG5vZGF0YU1zZz86IHN0cmluZztcbiAgICB0YWJMb2FkaW5nPzogYm9vbGVhbjtcbiAgfVxufVxuIl19
|
|
@@ -3677,6 +3677,7 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
3677
3677
|
this.fetchAllCbpPlans(strip, calculateParentStatus);
|
|
3678
3678
|
this.fetchAllTopContent(strip, calculateParentStatus);
|
|
3679
3679
|
this.fetchAllFeaturedContent(strip, calculateParentStatus);
|
|
3680
|
+
this.fetchAllChannela(strip, calculateParentStatus);
|
|
3680
3681
|
// this.enrollInterval = setInterval(() => {
|
|
3681
3682
|
// this.fetchAllCbpPlans(strip, calculateParentStatus)
|
|
3682
3683
|
// }, 1000)
|
|
@@ -4309,7 +4310,8 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
4309
4310
|
(strip.request.cbpList && Object.keys(strip.request.cbpList).length) ||
|
|
4310
4311
|
(strip.request.trendingSearch && Object.keys(strip.request.trendingSearch).length) ||
|
|
4311
4312
|
(strip.request.topContent && Object.keys(strip.request.topContent).length) ||
|
|
4312
|
-
(strip.request.featureContent && Object.keys(strip.request.featureContent).length)
|
|
4313
|
+
(strip.request.featureContent && Object.keys(strip.request.featureContent).length) ||
|
|
4314
|
+
(strip.request.channels && Object.keys(strip.request.channels).length))) {
|
|
4313
4315
|
return true;
|
|
4314
4316
|
}
|
|
4315
4317
|
return false;
|
|
@@ -4881,6 +4883,114 @@ class ContentStripWithTabsLibComponent extends WidgetBaseComponent {
|
|
|
4881
4883
|
this.router.navigate([path], { queryParams: queryParamsData });
|
|
4882
4884
|
}
|
|
4883
4885
|
}
|
|
4886
|
+
/**
|
|
4887
|
+
* @param {?} strip
|
|
4888
|
+
* @param {?=} calculateParentStatus
|
|
4889
|
+
* @return {?}
|
|
4890
|
+
*/
|
|
4891
|
+
fetchAllChannela(strip, calculateParentStatus = true) {
|
|
4892
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4893
|
+
if (strip.request && strip.request.channels && Object.keys(strip.request.channels).length) {
|
|
4894
|
+
/** @type {?} */
|
|
4895
|
+
let originalFilters = [];
|
|
4896
|
+
if (strip.request &&
|
|
4897
|
+
strip.request.channels &&
|
|
4898
|
+
strip.request.channels.request &&
|
|
4899
|
+
strip.request.channels.request.filters) {
|
|
4900
|
+
originalFilters = strip.request.channels.request.filters;
|
|
4901
|
+
strip.request.channels.request.filters = this.postMethodFilters(strip.request.channels.request.filters);
|
|
4902
|
+
}
|
|
4903
|
+
try {
|
|
4904
|
+
/** @type {?} */
|
|
4905
|
+
let data = [
|
|
4906
|
+
{
|
|
4907
|
+
// tslint:disable-next-line: max-line-length
|
|
4908
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4909
|
+
appIcon: '',
|
|
4910
|
+
name: 'Ministry of Consumer Affairs, Food and Public Distribution',
|
|
4911
|
+
programCount: '10',
|
|
4912
|
+
},
|
|
4913
|
+
{
|
|
4914
|
+
// tslint:disable-next-line: max-line-length
|
|
4915
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4916
|
+
appIcon: '',
|
|
4917
|
+
name: 'Ministry of Railways',
|
|
4918
|
+
programCount: '10',
|
|
4919
|
+
},
|
|
4920
|
+
{
|
|
4921
|
+
// tslint:disable-next-line: max-line-length
|
|
4922
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4923
|
+
appIcon: '',
|
|
4924
|
+
name: 'Department of Post',
|
|
4925
|
+
programCount: '10',
|
|
4926
|
+
},
|
|
4927
|
+
{
|
|
4928
|
+
// tslint:disable-next-line: max-line-length
|
|
4929
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4930
|
+
appIcon: '',
|
|
4931
|
+
name: 'NLC India Limited',
|
|
4932
|
+
programCount: '30',
|
|
4933
|
+
},
|
|
4934
|
+
{
|
|
4935
|
+
// tslint:disable-next-line: max-line-length
|
|
4936
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4937
|
+
appIcon: '',
|
|
4938
|
+
name: 'Mission Karmayogi',
|
|
4939
|
+
programCount: '24',
|
|
4940
|
+
},
|
|
4941
|
+
{
|
|
4942
|
+
// tslint:disable-next-line: max-line-length
|
|
4943
|
+
posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
|
|
4944
|
+
appIcon: '',
|
|
4945
|
+
name: 'Mission Karmayogi',
|
|
4946
|
+
programCount: '50',
|
|
4947
|
+
},
|
|
4948
|
+
];
|
|
4949
|
+
/** @type {?} */
|
|
4950
|
+
const response = yield data
|
|
4951
|
+
// console.log('calling after - response, ', response)
|
|
4952
|
+
;
|
|
4953
|
+
// console.log('calling after - response, ', response)
|
|
4954
|
+
if (response) {
|
|
4955
|
+
this.processStrip(strip, this.transformAllContentsToWidgets(response, strip), 'done', calculateParentStatus, response);
|
|
4956
|
+
}
|
|
4957
|
+
else {
|
|
4958
|
+
this.processStrip(strip, [], 'error', calculateParentStatus, null);
|
|
4959
|
+
this.emptyResponse.emit(true);
|
|
4960
|
+
}
|
|
4961
|
+
}
|
|
4962
|
+
catch (error) {
|
|
4963
|
+
this.emptyResponse.emit(true);
|
|
4964
|
+
// Handle errors
|
|
4965
|
+
// console.error('Error:', error);
|
|
4966
|
+
}
|
|
4967
|
+
}
|
|
4968
|
+
});
|
|
4969
|
+
}
|
|
4970
|
+
/**
|
|
4971
|
+
* @private
|
|
4972
|
+
* @param {?} contents
|
|
4973
|
+
* @param {?} strip
|
|
4974
|
+
* @return {?}
|
|
4975
|
+
*/
|
|
4976
|
+
transformAllContentsToWidgets(contents, strip) {
|
|
4977
|
+
return (contents || []).map((/**
|
|
4978
|
+
* @param {?} content
|
|
4979
|
+
* @param {?} idx
|
|
4980
|
+
* @return {?}
|
|
4981
|
+
*/
|
|
4982
|
+
(content, idx) => (content ? {
|
|
4983
|
+
widgetType: 'cardLib',
|
|
4984
|
+
widgetSubType: 'cardContentLib',
|
|
4985
|
+
widgetHostClass: 'mb-2',
|
|
4986
|
+
widgetData: Object.assign({ content }, (content.batch && { batch: content.batch }), { cardSubType: strip.stripConfig && strip.stripConfig.cardSubType, cardCustomeClass: strip.customeClass ? strip.customeClass : '', context: { pageSection: strip.key, position: idx }, intranetMode: strip.stripConfig && strip.stripConfig.intranetMode, deletedMode: strip.stripConfig && strip.stripConfig.deletedMode, contentTags: strip.stripConfig && strip.stripConfig.contentTags }),
|
|
4987
|
+
} : {
|
|
4988
|
+
widgetType: 'card',
|
|
4989
|
+
widgetSubType: 'cardContent',
|
|
4990
|
+
widgetHostClass: 'mb-2',
|
|
4991
|
+
widgetData: {},
|
|
4992
|
+
})));
|
|
4993
|
+
}
|
|
4884
4994
|
/**
|
|
4885
4995
|
* @param {?} event
|
|
4886
4996
|
* @return {?}
|
|
@@ -7179,7 +7289,7 @@ class CardsComponent extends WidgetBaseComponent {
|
|
|
7179
7289
|
CardsComponent.decorators = [
|
|
7180
7290
|
{ type: Component, args: [{
|
|
7181
7291
|
selector: 'sb-uic-cards',
|
|
7182
|
-
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>\n</div>\n\n<ng-template #cardPortraitLibSkeleton>\n <sb-uic-card-portrait [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardPortraitLib>\n <sb-uic-card-portrait (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardLandscapeLibSkeleton>\n <sb-uic-card-landscape [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-landscape>\n</ng-template>\n<ng-template #cardLandscapeLib>\n <sb-uic-card-landscape [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-landscape>\n</ng-template>\n\n<ng-template #cardWideLib>\n <sb-uic-card-wide (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n<ng-template #cardWideLibSkeleton>\n <sb-uic-card-wide [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n\n<ng-template #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 [cbPlanMapData]=\"cbPlanMapData\" [isCardLoading]=\"false\" [widgetData]=\"widgetData\" ></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>",
|
|
7292
|
+
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]=\"cardKarmaProgram\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #cardPortraitLibSkeleton>\n <sb-uic-card-portrait [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardPortraitLib>\n <sb-uic-card-portrait (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardLandscapeLibSkeleton>\n <sb-uic-card-landscape [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-landscape>\n</ng-template>\n<ng-template #cardLandscapeLib>\n <sb-uic-card-landscape (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-landscape>\n</ng-template>\n\n<ng-template #cardWideLib>\n <sb-uic-card-wide (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n<ng-template #cardWideLibSkeleton>\n <sb-uic-card-wide [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n\n<ng-template #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 (contentData)=\"getRedirectUrlData($event)\" [cbPlanMapData]=\"cbPlanMapData\" [isCardLoading]=\"false\" [widgetData]=\"widgetData\" ></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 #cardKarmaProgram>\n <sb-uic-card-karma-programs [randomColorApply]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-karma-programs>\n</ng-template>",
|
|
7183
7293
|
styles: [""]
|
|
7184
7294
|
}] }
|
|
7185
7295
|
];
|
|
@@ -8538,9 +8648,19 @@ class CardKarmaProgramsComponent {
|
|
|
8538
8648
|
this.translate = translate;
|
|
8539
8649
|
this.langtranslations = langtranslations;
|
|
8540
8650
|
this.configSvc = configSvc;
|
|
8651
|
+
this.randomColorApply = false;
|
|
8541
8652
|
this.userData = new EventEmitter();
|
|
8542
8653
|
this.widgetType = '';
|
|
8543
8654
|
this.widgetSubType = '';
|
|
8655
|
+
this.randomColors = [
|
|
8656
|
+
'#EF941D',
|
|
8657
|
+
'#F97440',
|
|
8658
|
+
'#35B5B0',
|
|
8659
|
+
'#9988FF',
|
|
8660
|
+
'#254092',
|
|
8661
|
+
'#926525',
|
|
8662
|
+
'#4F72DF'
|
|
8663
|
+
];
|
|
8544
8664
|
this.langtranslations.languageSelectedObservable.subscribe((/**
|
|
8545
8665
|
* @return {?}
|
|
8546
8666
|
*/
|
|
@@ -8568,6 +8688,23 @@ class CardKarmaProgramsComponent {
|
|
|
8568
8688
|
this.defaultThumbnail = '/assets/instances/eagle/app_logos/default.png';
|
|
8569
8689
|
this.defaultSLogo = '/assets/instances/eagle/app_logos/KarmayogiBharat_Logo.svg';
|
|
8570
8690
|
}
|
|
8691
|
+
this.setRandomColor();
|
|
8692
|
+
}
|
|
8693
|
+
/**
|
|
8694
|
+
* @return {?}
|
|
8695
|
+
*/
|
|
8696
|
+
setRandomColor() {
|
|
8697
|
+
if (this.widgetData && this.widgetData.content) {
|
|
8698
|
+
if (this.randomColorApply) {
|
|
8699
|
+
/** @type {?} */
|
|
8700
|
+
const randomIndex1 = Math.floor(Math.random() * Math.floor(this.randomColors.length));
|
|
8701
|
+
this.widgetData.content['bgColor'] = this.randomColors[randomIndex1];
|
|
8702
|
+
}
|
|
8703
|
+
else {
|
|
8704
|
+
this.widgetData.content['bgColor'] = '#1a4ca1';
|
|
8705
|
+
}
|
|
8706
|
+
}
|
|
8707
|
+
console.log(this.widgetData.content, this.randomColorApply);
|
|
8571
8708
|
}
|
|
8572
8709
|
/**
|
|
8573
8710
|
* @return {?}
|
|
@@ -8590,12 +8727,20 @@ class CardKarmaProgramsComponent {
|
|
|
8590
8727
|
module: camelCase('user'),
|
|
8591
8728
|
});
|
|
8592
8729
|
}
|
|
8730
|
+
/**
|
|
8731
|
+
* @return {?}
|
|
8732
|
+
*/
|
|
8733
|
+
get getRandomColors() {
|
|
8734
|
+
/** @type {?} */
|
|
8735
|
+
const randomIndex1 = Math.floor(Math.random() * Math.floor(this.randomColors.length));
|
|
8736
|
+
return this.randomColors[randomIndex1];
|
|
8737
|
+
}
|
|
8593
8738
|
}
|
|
8594
8739
|
CardKarmaProgramsComponent.decorators = [
|
|
8595
8740
|
{ type: Component, args: [{
|
|
8596
8741
|
selector: 'sb-uic-card-karma-programs',
|
|
8597
|
-
template: "<mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData.content\">\n <a (click)=\"raiseTelemetry();$event.stopPropagation()\" \n [routerLink]=\"['/app/learn/karma-programs/asdfghj/123456/micro-sites']\" role=\"link\"\n i18n-aria-label>\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.name\" />\n </ng-container>\n <ng-container *ngIf=\"!widgetData.content.posterImage\">\n <ng-container *ngIf=\"widgetData.content.appIcon; else defaultImg\">\n <img mat-card-image [src]=\"widgetData.content.appIcon | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-template #defaultImg>\n <img mat-card-image [src]=\"defaultThumbnail\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\"\n [alt]=\"widgetData.content.name\" />\n </ng-template>\n </ng-container>\n </div>\n <div class=\"
|
|
8598
|
-
styles: [".card-channels-container{position:relative;width:282px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;min-height:208px;height:208px;max-height:208px;
|
|
8742
|
+
template: "<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)=\"raiseTelemetry();$event.stopPropagation()\" \n [routerLink]=\"['/app/learn/karma-programs/asdfghj/123456/micro-sites']\" role=\"link\"\n i18n-aria-label>\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.name\" />\n </ng-container>\n <ng-container *ngIf=\"!widgetData.content.posterImage\">\n <ng-container *ngIf=\"widgetData.content.appIcon; else defaultImg\">\n <img mat-card-image [src]=\"widgetData.content.appIcon | pipePublicURL\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData.content.name\" />\n </ng-container>\n <ng-template #defaultImg>\n <img mat-card-image [src]=\"defaultThumbnail\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\"\n [alt]=\"widgetData.content.name\" />\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?.name }}\n </div>\n </div>\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?.programCount}} 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>",
|
|
8743
|
+
styles: [".card-channels-container{position:relative;width:282px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;min-height:208px;height:208px;max-height:208px;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:124px;max-height:124px;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}"]
|
|
8599
8744
|
}] }
|
|
8600
8745
|
];
|
|
8601
8746
|
/** @nocollapse */
|
|
@@ -8607,12 +8752,15 @@ CardKarmaProgramsComponent.ctorParameters = () => [
|
|
|
8607
8752
|
];
|
|
8608
8753
|
CardKarmaProgramsComponent.propDecorators = {
|
|
8609
8754
|
widgetData: [{ type: Input }],
|
|
8755
|
+
randomColorApply: [{ type: Input }],
|
|
8610
8756
|
userData: [{ type: Output }]
|
|
8611
8757
|
};
|
|
8612
8758
|
if (false) {
|
|
8613
8759
|
/** @type {?} */
|
|
8614
8760
|
CardKarmaProgramsComponent.prototype.widgetData;
|
|
8615
8761
|
/** @type {?} */
|
|
8762
|
+
CardKarmaProgramsComponent.prototype.randomColorApply;
|
|
8763
|
+
/** @type {?} */
|
|
8616
8764
|
CardKarmaProgramsComponent.prototype.userData;
|
|
8617
8765
|
/** @type {?} */
|
|
8618
8766
|
CardKarmaProgramsComponent.prototype.defaultThumbnail;
|
|
@@ -8624,6 +8772,8 @@ if (false) {
|
|
|
8624
8772
|
CardKarmaProgramsComponent.prototype.widgetType;
|
|
8625
8773
|
/** @type {?} */
|
|
8626
8774
|
CardKarmaProgramsComponent.prototype.widgetSubType;
|
|
8775
|
+
/** @type {?} */
|
|
8776
|
+
CardKarmaProgramsComponent.prototype.randomColors;
|
|
8627
8777
|
/**
|
|
8628
8778
|
* @type {?}
|
|
8629
8779
|
* @private
|