@sunbird-cb/toc 0.0.35-mauritius → 0.0.36

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.
@@ -5,7 +5,7 @@ import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack
5
5
  import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
6
6
  import { NsContent } from '../../../../_services/widget-content.model';
7
7
  import { RatingService } from '../../../../_services/rating.service';
8
- import { LoggerService, ConfigurationsService, WidgetContentService, DomainConfService } from '@sunbird-cb/utils-v2';
8
+ import { LoggerService, ConfigurationsService, WidgetContentService } from '@sunbird-cb/utils-v2';
9
9
  import { AppTocService } from '../../../../services/app-toc.service';
10
10
  import { TimerService } from '../../../../services/timer.service';
11
11
  import { HandleClaimService } from '../content-services/handle-claim.service';
@@ -63,7 +63,6 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
63
63
  private resetRatingsService;
64
64
  private contentSvc;
65
65
  private activatedRoute;
66
- domainConfService: DomainConfService;
67
66
  condition: any;
68
67
  kparray: any;
69
68
  content: NsContent.IContent | null;
@@ -148,7 +147,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
148
147
  refreshratingSub: any;
149
148
  pageConfigData: any;
150
149
  environment: any;
151
- constructor(ratingService: RatingService, loggerService: LoggerService, dialog: MatDialog, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, timerService: TimerService, tocSvc: AppTocService, configService: ConfigurationsService, discussUtilitySvc: DiscussUtilsService, router: Router, reviewDataService: ReviewComponentDataService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, contentSvc: WidgetContentService, activatedRoute: ActivatedRoute, domainConfService: DomainConfService, environment: any);
150
+ constructor(ratingService: RatingService, loggerService: LoggerService, dialog: MatDialog, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, timerService: TimerService, tocSvc: AppTocService, configService: ConfigurationsService, discussUtilitySvc: DiscussUtilsService, router: Router, reviewDataService: ReviewComponentDataService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, contentSvc: WidgetContentService, activatedRoute: ActivatedRoute, environment: any);
152
151
  ngOnInit(): void;
153
152
  ngAfterViewInit(): void;
154
153
  ngOnChanges(changes: SimpleChanges): void;
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
- import { ConfigurationsService, DomainConfService, EventService, UtilityService } from '@sunbird-cb/utils-v2';
3
+ import { ConfigurationsService, EventService, UtilityService } from '@sunbird-cb/utils-v2';
4
4
  import { Subscription } from 'rxjs';
5
5
  import { LoadCheckService } from '../../../services/load-check.service';
6
6
  import { MatLegacyTabGroup as MatTabGroup, MatLegacyTabChangeEvent as MatTabChangeEvent } from '@angular/material/legacy-tabs';
@@ -25,7 +25,6 @@ export declare class ContentTocComponent implements OnInit, AfterViewInit, OnCha
25
25
  private eventSvc;
26
26
  private viewerDataSvc;
27
27
  private samuhikCharchaSvc;
28
- domainConfService: DomainConfService;
29
28
  private environment;
30
29
  tabChangeValue: any;
31
30
  content: any;
@@ -94,7 +93,7 @@ export declare class ContentTocComponent implements OnInit, AfterViewInit, OnCha
94
93
  showAssignmentsTab: boolean;
95
94
  enableSamuhikCharchaTab: boolean;
96
95
  samuhikConfig: any;
97
- constructor(route: ActivatedRoute, utilityService: UtilityService, loadCheckService: LoadCheckService, configService: ConfigurationsService, dialog: MatDialog, tocSvc: AppTocService, actionSVC: ActionService, router: Router, eventSvc: EventService, viewerDataSvc: ViewerDataService, samuhikCharchaSvc: SamuhikCharchaService, domainConfService: DomainConfService, environment: any);
96
+ constructor(route: ActivatedRoute, utilityService: UtilityService, loadCheckService: LoadCheckService, configService: ConfigurationsService, dialog: MatDialog, tocSvc: AppTocService, actionSVC: ActionService, router: Router, eventSvc: EventService, viewerDataSvc: ViewerDataService, samuhikCharchaSvc: SamuhikCharchaService, environment: any);
98
97
  ngOnInit(): void;
99
98
  ngAfterViewInit(): void;
100
99
  get getCurrentTimeInUTC(): string;
@@ -11,6 +11,7 @@ export declare class KarmaPointsComponent implements OnInit, OnChanges {
11
11
  data: any;
12
12
  pCategory: string;
13
13
  condition: any;
14
+ baseContentReadData: any;
14
15
  clickClaimKarmaPoints: EventEmitter<string>;
15
16
  kpData: any;
16
17
  btnCategory: string;
@@ -20,10 +21,11 @@ export declare class KarmaPointsComponent implements OnInit, OnChanges {
20
21
  ngOnInit(): void;
21
22
  ngOnChanges(changes: SimpleChanges): void;
22
23
  getKPData(btnType: string): void;
24
+ addBadgeSlide(): void;
23
25
  onClickOfClaim(): void;
24
26
  constructNudgeData(): void;
25
27
  getDynamicText(helText: string): string;
26
28
  translateLabels(label: string, type: any): any;
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<KarmaPointsComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<KarmaPointsComponent, "ws-widget-karma-points", never, { "content": { "alias": "content"; "required": false; }; "data": { "alias": "data"; "required": false; }; "pCategory": { "alias": "pCategory"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; "btnCategory": { "alias": "btnCategory"; "required": false; }; }, { "clickClaimKarmaPoints": "clickClaimKarmaPoints"; }, never, never, false, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<KarmaPointsComponent, "ws-widget-karma-points", never, { "content": { "alias": "content"; "required": false; }; "data": { "alias": "data"; "required": false; }; "pCategory": { "alias": "pCategory"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "btnCategory": { "alias": "btnCategory"; "required": false; }; }, { "clickClaimKarmaPoints": "clickClaimKarmaPoints"; }, never, never, false, never>;
29
31
  }
@@ -9,6 +9,7 @@ export declare class SlidersDynamicComponent implements OnInit {
9
9
  private translate;
10
10
  private langTranslations;
11
11
  widgetData: ICarousel;
12
+ baseContentReadData: any;
12
13
  id: string;
13
14
  currentIndex: number;
14
15
  slideInterval: Subscription | null;
@@ -21,5 +22,5 @@ export declare class SlidersDynamicComponent implements OnInit {
21
22
  raiseTelemetry(bannerUrl: string | undefined): void;
22
23
  translateLabels(label: string, type: any): any;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SlidersDynamicComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<SlidersDynamicComponent, "ws-widget-sliders-dynamic", never, { "widgetData": { "alias": "widgetData"; "required": false; }; }, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlidersDynamicComponent, "ws-widget-sliders-dynamic", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; }, {}, never, never, false, never>;
25
26
  }
@@ -7,7 +7,7 @@ import { Subscription, Observable } from 'rxjs';
7
7
  import { NsContent } from '../../_services/widget-content.model';
8
8
  import { WidgetContentService } from '../../_services/widget-content.service';
9
9
  import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
10
- import { ConfigurationsService, DataTransferService, DomainConfService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
10
+ import { ConfigurationsService, DataTransferService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
11
11
  import { WidgetContentLibService, WidgetUserServiceLib } from '@sunbird-cb/consumption';
12
12
  import { NsAppToc } from '../../models/app-toc.model';
13
13
  import { AppTocService } from '../../services/app-toc.service';
@@ -63,7 +63,6 @@ export declare class AppTocHomeComponent implements OnInit, OnDestroy, AfterView
63
63
  private matSnackbarNew;
64
64
  private userServiceLib;
65
65
  netCoreService: NetCoreService;
66
- domainConfService: DomainConfService;
67
66
  show: boolean;
68
67
  changeTab: boolean;
69
68
  skeletonLoader: boolean;
@@ -216,7 +215,7 @@ export declare class AppTocHomeComponent implements OnInit, OnDestroy, AfterView
216
215
  value: string;
217
216
  }[];
218
217
  handleScroll(): void;
219
- constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, authAccessControlSvc: AccessControlService, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, domainConfService: DomainConfService, environment: any);
218
+ constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, authAccessControlSvc: AccessControlService, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, environment: any);
220
219
  ngOnInit(): void;
221
220
  getKarmapointsLimit(): void;
222
221
  isCourseCompletedOnThisMonth(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunbird-cb/toc",
3
- "version": "0.0.35-mauritius",
3
+ "version": "0.0.36",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -12,7 +12,7 @@
12
12
  "@angular/material": "^16.2.14",
13
13
  "@ngx-translate/core": "^15.0.0",
14
14
  "@sunbird-cb/design-system": "0.0.3",
15
- "@sunbird-cb/utils-v2": "0.0.2-cbrelease-4.8.35-mauritius",
15
+ "@sunbird-cb/utils-v2": "0.0.2-cbrelease-4.8.31",
16
16
  "@sunbird-cb/resolver-v2": "0.0.7-ang-13-16",
17
17
  "@sunbird-cb/consumption": "0.0.32-cbrelease-4.8.32",
18
18
  "@sunbird-cb/discussion-v2": "0.0.8-cbrelease-4.8.28"
Binary file