@sunbird-cb/consumption 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sunbird-cb-consumption.umd.js +24 -24
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +2 -2
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +2 -2
- package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +2 -2
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +2 -2
- package/esm2015/lib/_common/cards/cards.component.js +2 -2
- 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 +2 -2
- package/esm2015/lib/_common/sliders/sliders.component.js +2 -2
- package/esm2015/lib/_services/configurations.service.js +1 -1
- package/esm2015/lib/_services/widget-content.service.js +3 -3
- package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +2 -2
- package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +2 -2
- package/esm5/lib/_common/cards/card-user/card-user.component.js +2 -2
- package/esm5/lib/_common/cards/cards.component.js +2 -2
- 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 +2 -2
- package/esm5/lib/_common/sliders/sliders.component.js +2 -2
- package/esm5/lib/_services/configurations.service.js +1 -1
- package/esm5/lib/_services/widget-content.service.js +3 -3
- package/fesm2015/sunbird-cb-consumption.js +1 -1
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +1 -1
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +1 -1
- package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +1 -1
- package/lib/_common/cards/card-user/card-user.component.d.ts +1 -1
- package/lib/_common/cards/cards.component.d.ts +1 -1
- package/lib/_common/competency-passbook/competency-passbook.component.d.ts +1 -1
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +1 -1
- package/lib/_common/sliders/sliders.component.d.ts +1 -1
- package/lib/_services/configurations.service.d.ts +1 -1
- package/lib/_services/widget-content.service.d.ts +1 -1
- package/package.json +3 -3
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/material'), require('@sunbird-cb/resolver-v2'), require('@angular/common/http'), require('@sunbird-cb/utils'), require('lodash'), require('moment'), require('@ngx-translate/core'), require('dayjs'), require('@ngx-translate/http-loader'), require('@angular/cdk/layout'), require('@angular/platform-browser'), require('hammerjs'), require('@angular/forms')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@sunbird-cb/consumption', ['exports', '@angular/core', '@angular/common', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/material', '@sunbird-cb/resolver-v2', '@angular/common/http', '@sunbird-cb/utils', 'lodash', 'moment', '@ngx-translate/core', 'dayjs', '@ngx-translate/http-loader', '@angular/cdk/layout', '@angular/platform-browser', 'hammerjs', '@angular/forms'], factory) :
|
|
4
|
-
(global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb'].consumption = {}), global.ng.core, global.ng.common, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.material, global['@sunbird-cb/resolver-v2'], global.ng.common.http, global
|
|
5
|
-
}(this, (function (exports, core, common, router, rxjs, operators, material, resolverV2, http,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/material'), require('@sunbird-cb/resolver-v2'), require('@angular/common/http'), require('@sunbird-cb/utils-v2'), require('lodash'), require('moment'), require('@ngx-translate/core'), require('dayjs'), require('@ngx-translate/http-loader'), require('@angular/cdk/layout'), require('@angular/platform-browser'), require('hammerjs'), require('@angular/forms')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@sunbird-cb/consumption', ['exports', '@angular/core', '@angular/common', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/material', '@sunbird-cb/resolver-v2', '@angular/common/http', '@sunbird-cb/utils-v2', 'lodash', 'moment', '@ngx-translate/core', 'dayjs', '@ngx-translate/http-loader', '@angular/cdk/layout', '@angular/platform-browser', 'hammerjs', '@angular/forms'], factory) :
|
|
4
|
+
(global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb'].consumption = {}), global.ng.core, global.ng.common, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.material, global['@sunbird-cb/resolver-v2'], global.ng.common.http, global.utilsV2, global.lodash, global.moment, global.core$1, global.dayjs_, global.httpLoader, global.ng.cdk.layout, global.ng.platformBrowser, global.hammerjs, global.ng.forms));
|
|
5
|
+
}(this, (function (exports, core, common, router, rxjs, operators, material, resolverV2, http, utilsV2, lodash, moment$1, core$1, dayjs_, httpLoader, layout, platformBrowser, Hammer, forms) { 'use strict';
|
|
6
6
|
|
|
7
7
|
Hammer = Hammer && Hammer.hasOwnProperty('default') ? Hammer['default'] : Hammer;
|
|
8
8
|
|
|
@@ -2617,9 +2617,9 @@
|
|
|
2617
2617
|
/** @nocollapse */
|
|
2618
2618
|
WidgetContentService.ctorParameters = function () { return [
|
|
2619
2619
|
{ type: http.HttpClient },
|
|
2620
|
-
{ type:
|
|
2620
|
+
{ type: utilsV2.ConfigurationsService }
|
|
2621
2621
|
]; };
|
|
2622
|
-
/** @nocollapse */ WidgetContentService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function WidgetContentService_Factory() { return new WidgetContentService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(
|
|
2622
|
+
/** @nocollapse */ WidgetContentService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function WidgetContentService_Factory() { return new WidgetContentService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(utilsV2.ConfigurationsService)); }, token: WidgetContentService, providedIn: "root" });
|
|
2623
2623
|
return WidgetContentService;
|
|
2624
2624
|
}());
|
|
2625
2625
|
if (false) {
|
|
@@ -5003,11 +5003,11 @@
|
|
|
5003
5003
|
index: tabEvent.index,
|
|
5004
5004
|
};
|
|
5005
5005
|
this.eventSvc.raiseInteractTelemetry({
|
|
5006
|
-
type:
|
|
5007
|
-
subType:
|
|
5006
|
+
type: utilsV2.WsEvents.EnumInteractTypes.CLICK,
|
|
5007
|
+
subType: utilsV2.WsEvents.EnumInteractSubTypes.HOME_PAGE_STRIP_TABS,
|
|
5008
5008
|
id: lodash.camelCase(data.label) + "-tab",
|
|
5009
5009
|
}, {}, {
|
|
5010
|
-
module:
|
|
5010
|
+
module: utilsV2.WsEvents.EnumTelemetrymodules.HOME,
|
|
5011
5011
|
});
|
|
5012
5012
|
/** @type {?} */
|
|
5013
5013
|
var currentTabFromMap = stripMap.tabs && stripMap.tabs[tabEvent.index];
|
|
@@ -5663,10 +5663,10 @@
|
|
|
5663
5663
|
ContentStripWithTabsLibComponent.ctorParameters = function () { return [
|
|
5664
5664
|
{ type: undefined, decorators: [{ type: core.Inject, args: ['environment',] }] },
|
|
5665
5665
|
{ type: WidgetContentService },
|
|
5666
|
-
{ type:
|
|
5667
|
-
{ type:
|
|
5668
|
-
{ type:
|
|
5669
|
-
{ type:
|
|
5666
|
+
{ type: utilsV2.LoggerService },
|
|
5667
|
+
{ type: utilsV2.EventService },
|
|
5668
|
+
{ type: utilsV2.ConfigurationsService },
|
|
5669
|
+
{ type: utilsV2.UtilityService },
|
|
5670
5670
|
{ type: WidgetUserService },
|
|
5671
5671
|
{ type: core$1.TranslateService },
|
|
5672
5672
|
{ type: MultilingualTranslationsService }
|
|
@@ -5960,7 +5960,7 @@
|
|
|
5960
5960
|
bannerRedirectUrl: bannerUrl,
|
|
5961
5961
|
}, {
|
|
5962
5962
|
pageIdExt: 'banner',
|
|
5963
|
-
module:
|
|
5963
|
+
module: utilsV2.WsEvents.EnumTelemetrymodules.CONTENT,
|
|
5964
5964
|
});
|
|
5965
5965
|
};
|
|
5966
5966
|
/**
|
|
@@ -5983,8 +5983,8 @@
|
|
|
5983
5983
|
];
|
|
5984
5984
|
/** @nocollapse */
|
|
5985
5985
|
SlidersLibComponent.ctorParameters = function () { return [
|
|
5986
|
-
{ type:
|
|
5987
|
-
{ type:
|
|
5986
|
+
{ type: utilsV2.EventService },
|
|
5987
|
+
{ type: utilsV2.ValueService }
|
|
5988
5988
|
]; };
|
|
5989
5989
|
SlidersLibComponent.propDecorators = {
|
|
5990
5990
|
widgetData: [{ type: core.Input }],
|
|
@@ -6753,7 +6753,7 @@
|
|
|
6753
6753
|
];
|
|
6754
6754
|
/** @nocollapse */
|
|
6755
6755
|
CardsComponent.ctorParameters = function () { return [
|
|
6756
|
-
{ type:
|
|
6756
|
+
{ type: utilsV2.UtilityService },
|
|
6757
6757
|
{ type: ConfigurationsService },
|
|
6758
6758
|
{ type: WidgetContentService },
|
|
6759
6759
|
{ type: router.Router }
|
|
@@ -6928,10 +6928,10 @@
|
|
|
6928
6928
|
/** @nocollapse */
|
|
6929
6929
|
CardPortraitComponent.ctorParameters = function () { return [
|
|
6930
6930
|
{ type: material.MatSnackBar },
|
|
6931
|
-
{ type:
|
|
6931
|
+
{ type: utilsV2.EventService },
|
|
6932
6932
|
{ type: core$1.TranslateService },
|
|
6933
6933
|
{ type: MultilingualTranslationsService },
|
|
6934
|
-
{ type:
|
|
6934
|
+
{ type: utilsV2.ConfigurationsService }
|
|
6935
6935
|
]; };
|
|
6936
6936
|
CardPortraitComponent.propDecorators = {
|
|
6937
6937
|
widgetData: [{ type: core.Input }],
|
|
@@ -7454,10 +7454,10 @@
|
|
|
7454
7454
|
/** @nocollapse */
|
|
7455
7455
|
CardUserComponent.ctorParameters = function () { return [
|
|
7456
7456
|
{ type: material.MatSnackBar },
|
|
7457
|
-
{ type:
|
|
7457
|
+
{ type: utilsV2.EventService },
|
|
7458
7458
|
{ type: core$1.TranslateService },
|
|
7459
7459
|
{ type: MultilingualTranslationsService },
|
|
7460
|
-
{ type:
|
|
7460
|
+
{ type: utilsV2.ConfigurationsService }
|
|
7461
7461
|
]; };
|
|
7462
7462
|
CardUserComponent.propDecorators = {
|
|
7463
7463
|
widgetData: [{ type: core.Input }],
|
|
@@ -7646,10 +7646,10 @@
|
|
|
7646
7646
|
/** @nocollapse */
|
|
7647
7647
|
CardLandscapeComponent.ctorParameters = function () { return [
|
|
7648
7648
|
{ type: material.MatSnackBar },
|
|
7649
|
-
{ type:
|
|
7649
|
+
{ type: utilsV2.EventService },
|
|
7650
7650
|
{ type: core$1.TranslateService },
|
|
7651
7651
|
{ type: MultilingualTranslationsService },
|
|
7652
|
-
{ type:
|
|
7652
|
+
{ type: utilsV2.ConfigurationsService }
|
|
7653
7653
|
]; };
|
|
7654
7654
|
CardLandscapeComponent.propDecorators = {
|
|
7655
7655
|
widgetData: [{ type: core.Input }],
|
|
@@ -8161,7 +8161,7 @@
|
|
|
8161
8161
|
];
|
|
8162
8162
|
/** @nocollapse */
|
|
8163
8163
|
CompetencyPassbookComponent.ctorParameters = function () { return [
|
|
8164
|
-
{ type:
|
|
8164
|
+
{ type: utilsV2.ConfigurationsService },
|
|
8165
8165
|
{ type: WidgetContentService },
|
|
8166
8166
|
{ type: CompetencyPassbookService },
|
|
8167
8167
|
{ type: router.Router }
|