@sunbird-cb/consumption 0.0.86 → 0.0.87
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 +70 -9
- 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/strips/content-strip-facet-filter/content-strip-facet-filter.component.js +59 -5
- package/esm2015/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.module.js +3 -1
- package/esm2015/lib/_common/user-progress/user-progress.component.js +7 -6
- package/esm5/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.component.js +65 -5
- package/esm5/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.module.js +3 -1
- package/esm5/lib/_common/user-progress/user-progress.component.js +7 -6
- package/fesm2015/sunbird-cb-consumption.js +65 -10
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +71 -10
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.component.d.ts +5 -1
- package/package.json +1 -1
- package/sunbird-cb-consumption.metadata.json +1 -1
package/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.component.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { WidgetUserService } from '../../../_services/widget-user.service';
|
|
|
9
9
|
import { MatTabChangeEvent } from '@angular/material';
|
|
10
10
|
import { TranslateService } from '@ngx-translate/core';
|
|
11
11
|
import { Router } from '@angular/router';
|
|
12
|
+
import { FormBuilder } from '@angular/forms';
|
|
12
13
|
interface IStripUnitContentData {
|
|
13
14
|
key: string;
|
|
14
15
|
canHideStrip: boolean;
|
|
@@ -58,6 +59,7 @@ export declare class ContentStripFacetFilterComponent extends WidgetBaseComponen
|
|
|
58
59
|
private userSvc;
|
|
59
60
|
private translate;
|
|
60
61
|
private langtranslations;
|
|
62
|
+
private _fb;
|
|
61
63
|
widgetData: NsContentStripWithFacets.IContentStripMultiple;
|
|
62
64
|
emptyResponse: EventEmitter<any>;
|
|
63
65
|
viewAllResponse: EventEmitter<any>;
|
|
@@ -86,7 +88,8 @@ export declare class ContentStripFacetFilterComponent extends WidgetBaseComponen
|
|
|
86
88
|
enrollInterval: any;
|
|
87
89
|
todaysEvents: any;
|
|
88
90
|
enrollmentMapData: any;
|
|
89
|
-
|
|
91
|
+
facetForm: any;
|
|
92
|
+
constructor(environment: any, contentSvc: WidgetContentService, loggerSvc: LoggerService, eventSvc: EventService, configSvc: ConfigurationsService, utilitySvc: UtilityService, router: Router, userSvc: WidgetUserService, translate: TranslateService, langtranslations: MultilingualTranslationsService, _fb: FormBuilder);
|
|
90
93
|
ngOnDestroy(): void;
|
|
91
94
|
ngOnInit(): void;
|
|
92
95
|
private initData;
|
|
@@ -123,5 +126,6 @@ export declare class ContentStripFacetFilterComponent extends WidgetBaseComponen
|
|
|
123
126
|
mapAllDataWithFacets(strip: any, content: any, facets: any, calculateParentStatus: any): void;
|
|
124
127
|
private transformContentsToWidgets;
|
|
125
128
|
getorgData(eventData: any, stripMap: any, tabIndex: any): void;
|
|
129
|
+
resetFilter(stripMap: any, tabIndex: any, pillIndex: any): void;
|
|
126
130
|
}
|
|
127
131
|
export {};
|