@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.
@@ -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
- constructor(environment: any, contentSvc: WidgetContentService, loggerSvc: LoggerService, eventSvc: EventService, configSvc: ConfigurationsService, utilitySvc: UtilityService, router: Router, userSvc: WidgetUserService, translate: TranslateService, langtranslations: MultilingualTranslationsService);
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunbird-cb/consumption",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^8.2.14",
6
6
  "@angular/core": "^8.2.14",