@sunbird-cb/toc 0.0.3-2.1 → 0.0.3-mauritius
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/esm2022/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.mjs +16 -6
- package/esm2022/lib/_collection/_common/content-toc/content-toc.component.mjs +11 -7
- package/esm2022/lib/_collection/_common/content-toc/karma-points/karma-points.component.mjs +47 -3
- package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.component.mjs +6 -3
- package/esm2022/lib/_services/viewer-route-util.mjs +2 -2
- package/esm2022/lib/components/app-toc-cios-home/app-toc-cios-home.component.mjs +4 -3
- package/esm2022/lib/components/app-toc-home/app-toc-home.component.mjs +7 -6
- package/esm2022/lib/components/app-toc-home-v2/app-toc-home-v2.component.mjs +42 -34
- package/esm2022/lib/components/public-survey-form/public-survey-form.component.mjs +5 -3
- package/fesm2022/sunbird-cb-toc.mjs +131 -58
- package/fesm2022/sunbird-cb-toc.mjs.map +1 -1
- package/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.d.ts +5 -3
- package/lib/_collection/_common/content-toc/content-toc.component.d.ts +5 -3
- package/lib/_collection/_common/content-toc/karma-points/karma-points.component.d.ts +3 -1
- package/lib/_collection/sliders-dynamic/sliders-dynamic.component.d.ts +2 -1
- package/lib/components/app-toc-cios-home/app-toc-cios-home.component.d.ts +1 -0
- package/lib/components/app-toc-home/app-toc-home.component.d.ts +3 -2
- package/lib/components/app-toc-home-v2/app-toc-home-v2.component.d.ts +3 -2
- package/lib/components/public-survey-form/public-survey-form.component.d.ts +1 -0
- package/package.json +2 -2
- package/sunbird-cb-toc-0.0.3-mauritius.tgz +0 -0
- package/sunbird-cb-toc-0.0.32.1.tgz +0 -0
|
@@ -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 } from '@sunbird-cb/utils-v2';
|
|
8
|
+
import { LoggerService, ConfigurationsService, WidgetContentService, DomainConfService } 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,6 +63,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
|
|
|
63
63
|
private resetRatingsService;
|
|
64
64
|
private contentSvc;
|
|
65
65
|
private activatedRoute;
|
|
66
|
+
domainConfService: DomainConfService;
|
|
66
67
|
condition: any;
|
|
67
68
|
kparray: any;
|
|
68
69
|
content: NsContent.IContent | null;
|
|
@@ -84,6 +85,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
|
|
|
84
85
|
showMarketPlaceCertificate: boolean;
|
|
85
86
|
languageList: any[];
|
|
86
87
|
lockCertificate: boolean;
|
|
88
|
+
fromMDO: boolean;
|
|
87
89
|
trigerCompletionSurveyForm: EventEmitter<boolean>;
|
|
88
90
|
summaryElem: ElementRef;
|
|
89
91
|
objectivesElem: ElementRef;
|
|
@@ -146,7 +148,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
|
|
|
146
148
|
refreshratingSub: any;
|
|
147
149
|
pageConfigData: any;
|
|
148
150
|
environment: any;
|
|
149
|
-
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);
|
|
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
152
|
ngOnInit(): void;
|
|
151
153
|
ngAfterViewInit(): void;
|
|
152
154
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -180,6 +182,6 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
|
|
|
180
182
|
navigateToNewVersion(): void;
|
|
181
183
|
ngOnDestroy(): void;
|
|
182
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocAboutComponent, never>;
|
|
183
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppTocAboutComponent, "ws-widget-app-toc-about", never, { "condition": { "alias": "condition"; "required": false; }; "kparray": { "alias": "kparray"; "required": false; }; "content": { "alias": "content"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "config": { "alias": "config"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "showReviews": { "alias": "showReviews"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "fromViewer": { "alias": "fromViewer"; "required": false; }; "selectedBatchData": { "alias": "selectedBatchData"; "required": false; }; "selectedTabValue": { "alias": "selectedTabValue"; "required": false; }; "fromMarketPlace": { "alias": "fromMarketPlace"; "required": false; }; "showMarketPlaceCertificate": { "alias": "showMarketPlaceCertificate"; "required": false; }; "languageList": { "alias": "languageList"; "required": false; }; "lockCertificate": { "alias": "lockCertificate"; "required": false; }; }, { "trigerCompletionSurveyForm": "trigerCompletionSurveyForm"; }, never, never, false, never>;
|
|
185
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppTocAboutComponent, "ws-widget-app-toc-about", never, { "condition": { "alias": "condition"; "required": false; }; "kparray": { "alias": "kparray"; "required": false; }; "content": { "alias": "content"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "config": { "alias": "config"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "showReviews": { "alias": "showReviews"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "fromViewer": { "alias": "fromViewer"; "required": false; }; "selectedBatchData": { "alias": "selectedBatchData"; "required": false; }; "selectedTabValue": { "alias": "selectedTabValue"; "required": false; }; "fromMarketPlace": { "alias": "fromMarketPlace"; "required": false; }; "showMarketPlaceCertificate": { "alias": "showMarketPlaceCertificate"; "required": false; }; "languageList": { "alias": "languageList"; "required": false; }; "lockCertificate": { "alias": "lockCertificate"; "required": false; }; "fromMDO": { "alias": "fromMDO"; "required": false; }; }, { "trigerCompletionSurveyForm": "trigerCompletionSurveyForm"; }, never, never, false, never>;
|
|
184
186
|
}
|
|
185
187
|
export {};
|
|
@@ -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, EventService, UtilityService } from '@sunbird-cb/utils-v2';
|
|
3
|
+
import { ConfigurationsService, DomainConfService, 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,6 +25,7 @@ export declare class ContentTocComponent implements OnInit, AfterViewInit, OnCha
|
|
|
25
25
|
private eventSvc;
|
|
26
26
|
private viewerDataSvc;
|
|
27
27
|
private samuhikCharchaSvc;
|
|
28
|
+
domainConfService: DomainConfService;
|
|
28
29
|
private environment;
|
|
29
30
|
tabChangeValue: any;
|
|
30
31
|
content: any;
|
|
@@ -54,6 +55,7 @@ export declare class ContentTocComponent implements OnInit, AfterViewInit, OnCha
|
|
|
54
55
|
sideNavBarOpened: boolean;
|
|
55
56
|
languageList: any[];
|
|
56
57
|
lockCertificate: boolean;
|
|
58
|
+
fromMDO: boolean;
|
|
57
59
|
playResumeForAI: EventEmitter<any>;
|
|
58
60
|
enrollUserToAI: EventEmitter<any>;
|
|
59
61
|
trigerCompletionSurveyForm: EventEmitter<boolean>;
|
|
@@ -92,7 +94,7 @@ export declare class ContentTocComponent implements OnInit, AfterViewInit, OnCha
|
|
|
92
94
|
showAssignmentsTab: boolean;
|
|
93
95
|
enableSamuhikCharchaTab: boolean;
|
|
94
96
|
samuhikConfig: any;
|
|
95
|
-
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);
|
|
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
98
|
ngOnInit(): void;
|
|
97
99
|
ngAfterViewInit(): void;
|
|
98
100
|
get getCurrentTimeInUTC(): string;
|
|
@@ -125,5 +127,5 @@ export declare class ContentTocComponent implements OnInit, AfterViewInit, OnCha
|
|
|
125
127
|
clearCommentIdFromUrl(): void;
|
|
126
128
|
resumeContentCall(): void;
|
|
127
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTocComponent, never>;
|
|
128
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTocComponent, "ws-widget-content-toc", never, { "content": { "alias": "content"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "initialRouteData": { "alias": "initialRouteData"; "required": false; }; "changeTab": { "alias": "changeTab"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "contentTabFlag": { "alias": "contentTabFlag"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "fromViewer": { "alias": "fromViewer"; "required": false; }; "hierarchyMapData": { "alias": "hierarchyMapData"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; "kparray": { "alias": "kparray"; "required": false; }; "selectedBatchData": { "alias": "selectedBatchData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "isEnrolled": { "alias": "isEnrolled"; "required": false; }; "playResourceId": { "alias": "playResourceId"; "required": false; }; "sideNavBarOpened": { "alias": "sideNavBarOpened"; "required": false; }; "languageList": { "alias": "languageList"; "required": false; }; "lockCertificate": { "alias": "lockCertificate"; "required": false; }; }, { "playResumeForAI": "playResumeForAI"; "enrollUserToAI": "enrollUserToAI"; "trigerCompletionSurveyForm": "trigerCompletionSurveyForm"; "resumeContent": "resumeContent"; }, never, never, false, never>;
|
|
130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTocComponent, "ws-widget-content-toc", never, { "content": { "alias": "content"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "initialRouteData": { "alias": "initialRouteData"; "required": false; }; "changeTab": { "alias": "changeTab"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "contentTabFlag": { "alias": "contentTabFlag"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "fromViewer": { "alias": "fromViewer"; "required": false; }; "hierarchyMapData": { "alias": "hierarchyMapData"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; "kparray": { "alias": "kparray"; "required": false; }; "selectedBatchData": { "alias": "selectedBatchData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "isEnrolled": { "alias": "isEnrolled"; "required": false; }; "playResourceId": { "alias": "playResourceId"; "required": false; }; "sideNavBarOpened": { "alias": "sideNavBarOpened"; "required": false; }; "languageList": { "alias": "languageList"; "required": false; }; "lockCertificate": { "alias": "lockCertificate"; "required": false; }; "fromMDO": { "alias": "fromMDO"; "required": false; }; }, { "playResumeForAI": "playResumeForAI"; "enrollUserToAI": "enrollUserToAI"; "trigerCompletionSurveyForm": "trigerCompletionSurveyForm"; "resumeContent": "resumeContent"; }, never, never, false, never>;
|
|
129
131
|
}
|
|
@@ -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
|
}
|
|
@@ -49,6 +49,7 @@ export declare class AppTocCiosHomeComponent implements OnInit, AfterViewInit {
|
|
|
49
49
|
currentLang: any;
|
|
50
50
|
discussWidgetData: NsDiscussionV2.ICommentWidgetData;
|
|
51
51
|
showProviderTips: boolean;
|
|
52
|
+
fromMDO: boolean;
|
|
52
53
|
handleScroll(): void;
|
|
53
54
|
constructor(route: ActivatedRoute, commonSvc: CommonMethodsService, translate: TranslateService, configSvc: ConfigurationsService, events: EventService, langtranslations: MultilingualTranslationsService, contentSvc: WidgetContentService, certSvc: CertificateService, loader: LoaderService, matDialog: MatDialog, snackBar: MatSnackBar, netCoreService: NetCoreService, environment: any);
|
|
54
55
|
ngOnInit(): void;
|
|
@@ -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, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
|
|
10
|
+
import { ConfigurationsService, DataTransferService, DomainConfService, 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,6 +63,7 @@ export declare class AppTocHomeComponent implements OnInit, OnDestroy, AfterView
|
|
|
63
63
|
private matSnackbarNew;
|
|
64
64
|
private userServiceLib;
|
|
65
65
|
netCoreService: NetCoreService;
|
|
66
|
+
domainConfService: DomainConfService;
|
|
66
67
|
show: boolean;
|
|
67
68
|
changeTab: boolean;
|
|
68
69
|
skeletonLoader: boolean;
|
|
@@ -215,7 +216,7 @@ export declare class AppTocHomeComponent implements OnInit, OnDestroy, AfterView
|
|
|
215
216
|
value: string;
|
|
216
217
|
}[];
|
|
217
218
|
handleScroll(): void;
|
|
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);
|
|
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);
|
|
219
220
|
ngOnInit(): void;
|
|
220
221
|
getKarmapointsLimit(): void;
|
|
221
222
|
isCourseCompletedOnThisMonth(): void;
|
|
@@ -8,7 +8,7 @@ import { Subscription, Observable } from 'rxjs';
|
|
|
8
8
|
import { NsContent } from '../../_services/widget-content.model';
|
|
9
9
|
import { WidgetContentService } from '../../_services/widget-content.service';
|
|
10
10
|
import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
|
|
11
|
-
import { ConfigurationsService, DataTransferService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
|
|
11
|
+
import { ConfigurationsService, DataTransferService, DomainConfService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
|
|
12
12
|
import { ContentLanguageService, WidgetContentLibService, WidgetUserServiceLib } from '@sunbird-cb/consumption';
|
|
13
13
|
import { NsAppToc } from '../../models/app-toc.model';
|
|
14
14
|
import { AppTocService } from '../../services/app-toc.service';
|
|
@@ -63,6 +63,7 @@ export declare class AppTocHomeV2Component implements OnInit, OnDestroy, AfterVi
|
|
|
63
63
|
netCoreService: NetCoreService;
|
|
64
64
|
appTocV2Svc: AppTocV2Service;
|
|
65
65
|
private location;
|
|
66
|
+
domainConfSvc: DomainConfService;
|
|
66
67
|
environment: any;
|
|
67
68
|
queryParamsData: {
|
|
68
69
|
[key: string]: string;
|
|
@@ -224,7 +225,7 @@ export declare class AppTocHomeV2Component implements OnInit, OnDestroy, AfterVi
|
|
|
224
225
|
private lastProgressRefreshTime;
|
|
225
226
|
private isRefreshingProgress;
|
|
226
227
|
handleScroll(): void;
|
|
227
|
-
constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, contentLangSvc: ContentLanguageService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, appTocV2Svc: AppTocV2Service, location: Location, environment: any);
|
|
228
|
+
constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, contentLangSvc: ContentLanguageService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, appTocV2Svc: AppTocV2Service, location: Location, domainConfSvc: DomainConfService, environment: any);
|
|
228
229
|
getKarmapointsLimit(): void;
|
|
229
230
|
isCourseCompletedOnThisMonth(): void;
|
|
230
231
|
filteredAcbpList(res: any): any;
|
|
@@ -23,6 +23,7 @@ export declare class PublicSurveyFormComponent implements OnInit {
|
|
|
23
23
|
childFields: any[];
|
|
24
24
|
surveyFormIsValid: boolean;
|
|
25
25
|
addLoader: number;
|
|
26
|
+
forPreview: boolean;
|
|
26
27
|
constructor(snackBar: MatLegacySnackBar, dialogRef: MatLegacyDialogRef<PublicSurveyFormComponent>, data: any, fb: FormBuilder, appTocSvc: AppTocService, translate: TranslateService);
|
|
27
28
|
ngOnInit(): void;
|
|
28
29
|
getSurveyFormData(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sunbird-cb/toc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-mauritius",
|
|
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.
|
|
15
|
+
"@sunbird-cb/utils-v2": "0.0.2-cbrelease-4.8.35-mauritius",
|
|
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
|
|
Binary file
|