@sunbird-cb/cbp-ai 0.0.1

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.
Files changed (128) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/ai-cbp-routing.module.mjs +56 -0
  3. package/esm2022/lib/ai-cbp.component.mjs +14 -0
  4. package/esm2022/lib/ai-cbp.module.mjs +263 -0
  5. package/esm2022/lib/ai-cbp.service.mjs +14 -0
  6. package/esm2022/lib/components/add-course/add-course.component.mjs +444 -0
  7. package/esm2022/lib/components/add-designation/add-designation.component.mjs +460 -0
  8. package/esm2022/lib/components/add-personalisation/add-personalisation.component.mjs +33 -0
  9. package/esm2022/lib/components/approval-request-form/approval-request-form.component.mjs +392 -0
  10. package/esm2022/lib/components/approval-requests/approval-requests.component.mjs +398 -0
  11. package/esm2022/lib/components/dashboard/dashboard.component.mjs +265 -0
  12. package/esm2022/lib/components/delete-role-mapping/delete-role-mapping.component.mjs +53 -0
  13. package/esm2022/lib/components/delete-role-mapping-popup/delete-role-mapping-popup.component.mjs +39 -0
  14. package/esm2022/lib/components/edit-cbp-plan/edit-cbp-plan.component.mjs +699 -0
  15. package/esm2022/lib/components/gap-analysis-recommended-course/gap-analysis-recommended-course.component.mjs +188 -0
  16. package/esm2022/lib/components/generate-course-recommendation/generate-course-recommendation.component.mjs +1949 -0
  17. package/esm2022/lib/components/list-popup/list-popup.component.mjs +32 -0
  18. package/esm2022/lib/components/review-request/review-request.component.mjs +138 -0
  19. package/esm2022/lib/components/role-mapping-generation/role-mapping-generation.component.mjs +1082 -0
  20. package/esm2022/lib/components/role-mapping-list/role-mapping-list.component.mjs +714 -0
  21. package/esm2022/lib/components/suggest-more-courses/suggest-more-courses.component.mjs +370 -0
  22. package/esm2022/lib/components/update-designation-hierarchy/update-designation-hierarchy.component.mjs +235 -0
  23. package/esm2022/lib/components/view-cbp-plan/view-cbp-plan.component.mjs +125 -0
  24. package/esm2022/lib/components/view-course-recommendation/view-course-recommendation.component.mjs +397 -0
  25. package/esm2022/lib/components/view-final-cbp-plan/view-final-cbp-plan.component.mjs +883 -0
  26. package/esm2022/lib/modules/initial-screen/initial-screen.component.mjs +127 -0
  27. package/esm2022/lib/modules/shared/constant/app.constant.mjs +2036 -0
  28. package/esm2022/lib/modules/shared/directives/clickoutside.directive.mjs +38 -0
  29. package/esm2022/lib/modules/shared/directives/directive.module.mjs +21 -0
  30. package/esm2022/lib/modules/shared/pipes/order-by-name.pipe.mjs +23 -0
  31. package/esm2022/lib/modules/shared/services/event.service.mjs +24 -0
  32. package/esm2022/lib/modules/shared/services/events.mjs +125 -0
  33. package/esm2022/lib/modules/shared/services/init.service.mjs +41 -0
  34. package/esm2022/lib/modules/shared/services/role-mapping.service.mjs +261 -0
  35. package/esm2022/lib/modules/shared/services/shared.service.mjs +869 -0
  36. package/esm2022/lib/modules/upload-document-page/progress-dialog/progress-dialog.component.mjs +53 -0
  37. package/esm2022/lib/modules/upload-document-page/upload-dialog/upload-dialog.component.mjs +186 -0
  38. package/esm2022/lib/modules/upload-document-page/upload-document-page.component.mjs +367 -0
  39. package/esm2022/lib/pipe-public-URL/pipe-public-URL.module.mjs +20 -0
  40. package/esm2022/lib/pipe-public-URL/pipe-public-URL.pipe.mjs +23 -0
  41. package/esm2022/public-api.mjs +14 -0
  42. package/esm2022/sunbird-cb-cbp-ai.mjs +5 -0
  43. package/fesm2022/sunbird-cb-cbp-ai.mjs +12952 -0
  44. package/fesm2022/sunbird-cb-cbp-ai.mjs.map +1 -0
  45. package/index.d.ts +6 -0
  46. package/lib/ai-cbp-routing.module.d.ts +8 -0
  47. package/lib/ai-cbp-routing.module.d.ts.map +1 -0
  48. package/lib/ai-cbp.component.d.ts +7 -0
  49. package/lib/ai-cbp.component.d.ts.map +1 -0
  50. package/lib/ai-cbp.module.d.ts +68 -0
  51. package/lib/ai-cbp.module.d.ts.map +1 -0
  52. package/lib/ai-cbp.service.d.ts +7 -0
  53. package/lib/ai-cbp.service.d.ts.map +1 -0
  54. package/lib/components/add-course/add-course.component.d.ts +67 -0
  55. package/lib/components/add-course/add-course.component.d.ts.map +1 -0
  56. package/lib/components/add-designation/add-designation.component.d.ts +52 -0
  57. package/lib/components/add-designation/add-designation.component.d.ts.map +1 -0
  58. package/lib/components/add-personalisation/add-personalisation.component.d.ts +16 -0
  59. package/lib/components/add-personalisation/add-personalisation.component.d.ts.map +1 -0
  60. package/lib/components/approval-request-form/approval-request-form.component.d.ts +48 -0
  61. package/lib/components/approval-request-form/approval-request-form.component.d.ts.map +1 -0
  62. package/lib/components/approval-requests/approval-requests.component.d.ts +80 -0
  63. package/lib/components/approval-requests/approval-requests.component.d.ts.map +1 -0
  64. package/lib/components/dashboard/dashboard.component.d.ts +55 -0
  65. package/lib/components/dashboard/dashboard.component.d.ts.map +1 -0
  66. package/lib/components/delete-role-mapping/delete-role-mapping.component.d.ts +18 -0
  67. package/lib/components/delete-role-mapping/delete-role-mapping.component.d.ts.map +1 -0
  68. package/lib/components/delete-role-mapping-popup/delete-role-mapping-popup.component.d.ts +18 -0
  69. package/lib/components/delete-role-mapping-popup/delete-role-mapping-popup.component.d.ts.map +1 -0
  70. package/lib/components/edit-cbp-plan/edit-cbp-plan.component.d.ts +94 -0
  71. package/lib/components/edit-cbp-plan/edit-cbp-plan.component.d.ts.map +1 -0
  72. package/lib/components/gap-analysis-recommended-course/gap-analysis-recommended-course.component.d.ts +35 -0
  73. package/lib/components/gap-analysis-recommended-course/gap-analysis-recommended-course.component.d.ts.map +1 -0
  74. package/lib/components/generate-course-recommendation/generate-course-recommendation.component.d.ts +198 -0
  75. package/lib/components/generate-course-recommendation/generate-course-recommendation.component.d.ts.map +1 -0
  76. package/lib/components/list-popup/list-popup.component.d.ts +13 -0
  77. package/lib/components/list-popup/list-popup.component.d.ts.map +1 -0
  78. package/lib/components/review-request/review-request.component.d.ts +39 -0
  79. package/lib/components/review-request/review-request.component.d.ts.map +1 -0
  80. package/lib/components/role-mapping-generation/role-mapping-generation.component.d.ts +99 -0
  81. package/lib/components/role-mapping-generation/role-mapping-generation.component.d.ts.map +1 -0
  82. package/lib/components/role-mapping-list/role-mapping-list.component.d.ts +83 -0
  83. package/lib/components/role-mapping-list/role-mapping-list.component.d.ts.map +1 -0
  84. package/lib/components/suggest-more-courses/suggest-more-courses.component.d.ts +48 -0
  85. package/lib/components/suggest-more-courses/suggest-more-courses.component.d.ts.map +1 -0
  86. package/lib/components/update-designation-hierarchy/update-designation-hierarchy.component.d.ts +41 -0
  87. package/lib/components/update-designation-hierarchy/update-designation-hierarchy.component.d.ts.map +1 -0
  88. package/lib/components/view-cbp-plan/view-cbp-plan.component.d.ts +29 -0
  89. package/lib/components/view-cbp-plan/view-cbp-plan.component.d.ts.map +1 -0
  90. package/lib/components/view-course-recommendation/view-course-recommendation.component.d.ts +49 -0
  91. package/lib/components/view-course-recommendation/view-course-recommendation.component.d.ts.map +1 -0
  92. package/lib/components/view-final-cbp-plan/view-final-cbp-plan.component.d.ts +73 -0
  93. package/lib/components/view-final-cbp-plan/view-final-cbp-plan.component.d.ts.map +1 -0
  94. package/lib/modules/initial-screen/initial-screen.component.d.ts +85 -0
  95. package/lib/modules/initial-screen/initial-screen.component.d.ts.map +1 -0
  96. package/lib/modules/shared/constant/app.constant.d.ts +457 -0
  97. package/lib/modules/shared/constant/app.constant.d.ts.map +1 -0
  98. package/lib/modules/shared/directives/clickoutside.directive.d.ts +13 -0
  99. package/lib/modules/shared/directives/clickoutside.directive.d.ts.map +1 -0
  100. package/lib/modules/shared/directives/directive.module.d.ts +8 -0
  101. package/lib/modules/shared/directives/directive.module.d.ts.map +1 -0
  102. package/lib/modules/shared/pipes/order-by-name.pipe.d.ts +8 -0
  103. package/lib/modules/shared/pipes/order-by-name.pipe.d.ts.map +1 -0
  104. package/lib/modules/shared/services/event.service.d.ts +12 -0
  105. package/lib/modules/shared/services/event.service.d.ts.map +1 -0
  106. package/lib/modules/shared/services/events.d.ts +200 -0
  107. package/lib/modules/shared/services/events.d.ts.map +1 -0
  108. package/lib/modules/shared/services/init.service.d.ts +13 -0
  109. package/lib/modules/shared/services/init.service.d.ts.map +1 -0
  110. package/lib/modules/shared/services/role-mapping.service.d.ts +21 -0
  111. package/lib/modules/shared/services/role-mapping.service.d.ts.map +1 -0
  112. package/lib/modules/shared/services/shared.service.d.ts +108 -0
  113. package/lib/modules/shared/services/shared.service.d.ts.map +1 -0
  114. package/lib/modules/upload-document-page/progress-dialog/progress-dialog.component.d.ts +14 -0
  115. package/lib/modules/upload-document-page/progress-dialog/progress-dialog.component.d.ts.map +1 -0
  116. package/lib/modules/upload-document-page/upload-dialog/upload-dialog.component.d.ts +29 -0
  117. package/lib/modules/upload-document-page/upload-dialog/upload-dialog.component.d.ts.map +1 -0
  118. package/lib/modules/upload-document-page/upload-document-page.component.d.ts +64 -0
  119. package/lib/modules/upload-document-page/upload-document-page.component.d.ts.map +1 -0
  120. package/lib/pipe-public-URL/pipe-public-URL.module.d.ts +9 -0
  121. package/lib/pipe-public-URL/pipe-public-URL.module.d.ts.map +1 -0
  122. package/lib/pipe-public-URL/pipe-public-URL.pipe.d.ts +11 -0
  123. package/lib/pipe-public-URL/pipe-public-URL.pipe.d.ts.map +1 -0
  124. package/package.json +28 -0
  125. package/public-api.d.ts +11 -0
  126. package/public-api.d.ts.map +1 -0
  127. package/sunbird-cb-cbp-ai-0.0.1.tgz +0 -0
  128. package/sunbird-cb-cbp-ai.d.ts.map +1 -0
@@ -0,0 +1,35 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { MatSnackBar } from '@angular/material/snack-bar';
3
+ import { SharedService } from '../../modules/shared/services/shared.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GapAnalysisRecommendedCourseComponent {
6
+ private sharedService;
7
+ private dialog;
8
+ private snackBar;
9
+ planData: any;
10
+ loading: boolean;
11
+ recommended_course_id: string;
12
+ cbpPlanData: any;
13
+ constructor(sharedService: SharedService, dialog: MatDialog, snackBar: MatSnackBar);
14
+ searchText: string;
15
+ filterdCourses: any;
16
+ selectFilterCourses: any;
17
+ competenciesCount: {
18
+ total: number;
19
+ public_courses: number;
20
+ igot: number;
21
+ };
22
+ expandedCompetencies: any;
23
+ ngOnInit(): void;
24
+ updateCompetencyCounts(): void;
25
+ getUserCourse(): void;
26
+ getCompetenciesByType(type: string, index: any): any[];
27
+ getDisplayedCompetencies(type: string, index: number): any[];
28
+ toggleCompetencies(type: string, index: number): void;
29
+ isExpanded(type: string, index: number): boolean;
30
+ hasMoreThanTwo(type: string, index: number): boolean;
31
+ getRemainingCount(type: string, index: number): number;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<GapAnalysisRecommendedCourseComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<GapAnalysisRecommendedCourseComponent, "app-gap-analysis-recommended-course", never, { "planData": { "alias": "planData"; "required": false; }; }, {}, never, never, false, never>;
34
+ }
35
+ //# sourceMappingURL=gap-analysis-recommended-course.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gap-analysis-recommended-course.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/gap-analysis-recommended-course/gap-analysis-recommended-course.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAE7E,qBAKa,qCAAqC;IAMnC,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,MAAM;IAAa,OAAO,CAAC,QAAQ;IAJrF,QAAQ,EAAC,GAAG,CAAA;IACrB,OAAO,UAAM;IACb,qBAAqB,SAAG;IACxB,WAAW,EAAC,GAAG,CAAA;gBACM,aAAa,EAAE,aAAa,EAAU,MAAM,EAAE,SAAS,EAAU,QAAQ,EAAE,WAAW;IAG3G,UAAU,SAAK;IACf,cAAc,EAAE,GAAG,CAAA;IACnB,mBAAmB,EAAC,GAAG,CAAK;IAC5B,iBAAiB;;;;MAAsC;IACvD,oBAAoB,EAAE,GAAG,CAAM;IAC/B,QAAQ;IAiDR,sBAAsB;IActB,aAAa;IAmCb,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,KAAA,GAAG,GAAG,EAAE;IAyDjD,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,GAAG,EAAE;IAW5D,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAKrD,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAKhD,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAIpD,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;yCAlM3C,qCAAqC;2CAArC,qCAAqC;CAwMjD"}
@@ -0,0 +1,198 @@
1
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
+ import { ElementRef } from '@angular/core';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
4
+ import { MatSnackBar } from '@angular/material/snack-bar';
5
+ import { MatTabChangeEvent } from '@angular/material/tabs';
6
+ import { SharedService } from '../../modules/shared/services/shared.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class GenerateCourseRecommendationComponent {
9
+ dialogRef: MatDialogRef<GenerateCourseRecommendationComponent>;
10
+ data: any;
11
+ sharedService: SharedService;
12
+ private snackBar;
13
+ dialog: MatDialog;
14
+ private fb;
15
+ pdfContent: ElementRef;
16
+ planData: any;
17
+ loading: boolean;
18
+ dataLoaded: boolean;
19
+ isRegeneratingWithProgress: boolean;
20
+ recommended_course_id: string;
21
+ currentProcessingStage: string;
22
+ progressPercentage: number;
23
+ processingStages: string[];
24
+ stageStartTime: number;
25
+ constructor(dialogRef: MatDialogRef<GenerateCourseRecommendationComponent>, data: any, sharedService: SharedService, snackBar: MatSnackBar, dialog: MatDialog, fb: FormBuilder);
26
+ searchText: string;
27
+ filterdCourses: any;
28
+ originalData: any;
29
+ selectFilterCourses: any;
30
+ suggestedCourses: any;
31
+ userAddedCourses: any;
32
+ mode: string;
33
+ cbp_plan_id: string;
34
+ expandedCompetencies: any;
35
+ outerTabActiveIndex: number;
36
+ innerTabActiveIndex: number;
37
+ outerTabActiveText: string;
38
+ innerTabActiveText: string;
39
+ selectedCategory: string;
40
+ competencyCoveredCount: number;
41
+ overallCoverage: any;
42
+ behavioralCompetencyCoveredCount: number;
43
+ behavioralTotalCompetencies: number;
44
+ behavioralCoverage: any;
45
+ functionalCompetencyCoveredCount: number;
46
+ functionalTotalCompetencies: number;
47
+ functionalCoverage: any;
48
+ domainCompetencyCoveredCount: number;
49
+ domainTotalCompetencies: number;
50
+ domainCoverage: any;
51
+ competencyNotMatchedByCategory: any[];
52
+ competencyMatchedByCategory: any[];
53
+ menuItems: {
54
+ key: string;
55
+ label: string;
56
+ }[];
57
+ behaviouralNotMatched: any[];
58
+ functionalNotMatched: any[];
59
+ domainNotMatched: any[];
60
+ selectedThemeFilter: string;
61
+ originalFilteredCourses: any[];
62
+ isRegenerating: boolean;
63
+ isPDFDownload: boolean;
64
+ behaviouralMatched: any[];
65
+ functionalMatched: any[];
66
+ domainMatched: any[];
67
+ filterForm: FormGroup;
68
+ competenciesType: string[];
69
+ ratings: string[];
70
+ languages: string[];
71
+ durations: string[];
72
+ providers: any[];
73
+ filteredCompetency: string[];
74
+ filteredRatings: string[];
75
+ filteredLanguages: string[];
76
+ filteredDurations: string[];
77
+ filteredProviders: any[];
78
+ fullCourseList: any[];
79
+ selectedCompetency: string;
80
+ selectedRating: string | null;
81
+ selectedLanguage: string | null;
82
+ selectedDuration: string | null;
83
+ selectedProvider: string | null;
84
+ selectCategory(category: string): void;
85
+ ngOnInit(): void;
86
+ applyFilter(value: any): void;
87
+ searchData(): void;
88
+ selectedFilterCourses(event: any, item: any): void;
89
+ closeDialog(): void;
90
+ saveCourses(): void;
91
+ getCourses(): void;
92
+ getSuggestedCourse(): void;
93
+ getUserCourse(): void;
94
+ checkIfCourseExists(item: any): boolean;
95
+ selectAllCourses(event: any): void;
96
+ getSectors(sector: any): string;
97
+ filterData(searchText: string): any[];
98
+ flattenObjectToString(obj: any): string;
99
+ suggestMoreCourses(): void;
100
+ generateCourseRecommendation(element: any): void;
101
+ getCompetenciesByType(type: string, index: any): any[];
102
+ getCompetenciesByBehviouralType(index: any): string;
103
+ getDisplayedCompetencies(type: string, index: number): any[];
104
+ toggleCompetencies(type: string, index: number): void;
105
+ isExpanded(type: string, index: number): boolean;
106
+ hasMoreThanTwo(type: string, index: number): boolean;
107
+ getRemainingCount(type: string, index: number): number;
108
+ onOuterTabChange(event: MatTabChangeEvent): void;
109
+ onInnerTabChange(event: MatTabChangeEvent): void;
110
+ getAllAvailableCourses(): any[];
111
+ /**
112
+ * Rebuild filterdCourses array with all available course types
113
+ * This ensures consistency across the application
114
+ */
115
+ rebuildFilteredCourses(): void;
116
+ behavioralFilter(data: any[]): any[];
117
+ behavioralCompetencyFilter(data: any[]): string[];
118
+ functionalCompetencyFilter(data: any[]): any;
119
+ domainCompetencyFilter(data: any[]): any;
120
+ functionalFilter(data: any[]): any[];
121
+ domainFilter(data: any[]): any[];
122
+ gapAnalysisStats(): void;
123
+ getMatchedCompetencyStats(primaryArray: any[], secondaryArray: any[]): any;
124
+ getCompetencyByCategoryNotMatching(categoryType: any): string[];
125
+ compareStringArrays(arr1: string[], arr2: string[]): string[];
126
+ addCourse(missingCompetency?: string, competencyType?: string): void;
127
+ filterOnCompetencyTheme(themeItem: any): void;
128
+ clearThemeFilter(): void;
129
+ isThemeSelected(theme: string): boolean;
130
+ /**
131
+ * Add course for the currently selected theme filter with prefilled competency data
132
+ */
133
+ addCourseForSelectedTheme(): void;
134
+ getDuration(time: any): string;
135
+ getBehaviouralMatched(): void;
136
+ getFunctionalMatched(): any[];
137
+ getDomainMatched(): void;
138
+ downloadPDF(): void;
139
+ redirectToToc(item: any): void;
140
+ /**
141
+ * Initialize gap analysis stats after initial data load
142
+ */
143
+ initializeGapAnalysisStats(): void;
144
+ /**
145
+ * Update gap analysis stats after courses are updated (like suggested courses added)
146
+ */
147
+ updateGapAnalysisAfterCoursesUpdate(): void;
148
+ /**
149
+ * Regenerate course recommendations by deleting existing recommendations and generating new ones
150
+ */
151
+ regenerateCourseRecommendations(): Promise<void>;
152
+ /**
153
+ * Show confirmation dialog for regenerate action
154
+ */
155
+ private showConfirmationDialog;
156
+ /**
157
+ * Delete existing course recommendations for the current role mapping
158
+ */
159
+ private deleteCourseRecommendations;
160
+ /**
161
+ * Generate new course recommendations during regeneration
162
+ */
163
+ private generateNewCourseRecommendations;
164
+ /**
165
+ * Enhanced course generation specifically for regeneration with progressive loading
166
+ */
167
+ private getRecommendedCourseForRegeneration;
168
+ startRegenerativeProgressiveLoading(): void;
169
+ simulateRegenerativeProgressiveStages(): void;
170
+ /**
171
+ * Refresh the component data after regeneration
172
+ */
173
+ private refreshComponent;
174
+ /**
175
+ * Load component data (separated from ngOnInit for reuse)
176
+ */
177
+ private loadComponentData;
178
+ startProgressiveLoading(): void;
179
+ simulateProgressiveStages(): void;
180
+ getRecommendedCourseWithProgress(role_mapping_id: string): Promise<any>;
181
+ resetFilters(): void;
182
+ filterList(value: string, type: string): void;
183
+ normalizeCompetency(value: string): string;
184
+ applyFilters(): void;
185
+ matchRating(course: any, selectedRatings: string[]): boolean;
186
+ matchDuration(durationInSeconds: number | string, selectedRanges: string[]): boolean;
187
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenerateCourseRecommendationComponent, never>;
188
+ static ɵcmp: i0.ɵɵComponentDeclaration<GenerateCourseRecommendationComponent, "app-generate-course-recommendation", never, {}, {}, never, never, false, never>;
189
+ }
190
+ export declare class RegenerateConfirmationDialog {
191
+ dialogRef: MatDialogRef<RegenerateConfirmationDialog>;
192
+ constructor(dialogRef: MatDialogRef<RegenerateConfirmationDialog>);
193
+ onCancel(): void;
194
+ onConfirm(): void;
195
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegenerateConfirmationDialog, never>;
196
+ static ɵcmp: i0.ɵɵComponentDeclaration<RegenerateConfirmationDialog, "regenerate-confirmation-dialog", never, {}, {}, never, never, false, never>;
197
+ }
198
+ //# sourceMappingURL=generate-course-recommendation.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-course-recommendation.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/generate-course-recommendation/generate-course-recommendation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAgC,UAAU,EAA6B,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,SAAS,EAAsC,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAK3D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAC7E,qBAKa,qCAAqC;IAoB7B,SAAS,EAAE,YAAY,CAAC,qCAAqC,CAAC;IAC/C,IAAI,EAAE,GAAG;IAAS,aAAa,EAAE,aAAa;IAC9E,OAAO,CAAC,QAAQ;IAAsB,MAAM,EAAE,SAAS;IACvD,OAAO,CAAC,EAAE;IAtBgC,UAAU,EAAG,UAAU,CAAC;IACpE,QAAQ,EAAE,GAAG,CAAA;IACb,OAAO,UAAQ;IACf,UAAU,UAAQ;IAClB,0BAA0B,UAAQ;IAClC,qBAAqB,SAAK;IAG1B,sBAAsB,EAAE,MAAM,CAAM;IACpC,kBAAkB,EAAE,MAAM,CAAK;IAC/B,gBAAgB,WAOd;IACF,cAAc,EAAE,MAAM,CAAK;gBACR,SAAS,EAAE,YAAY,C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O,CAAC,2BAA2B;IAwBnC;;OAEG;IACH,OAAO,CAAC,gCAAgC;IAKxC;;OAEG;IACH,OAAO,CAAC,mCAAmC;IA6J3C,mCAAmC;IAOnC,qCAAqC;IA6BrC;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAmBxB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAuCzB,uBAAuB;IAOvB,yBAAyB;IA+BzB,gCAAgC,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAkEvE,YAAY,IAAI,IAAI;IA6BpB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAsBtC,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAY1C,YAAY,IAAI,IAAI;IAoEpB,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,OAAO;IAsC5D,aAAa,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,OAAO;yCA1jEzE,qCAAqC;2CAArC,qCAAqC;CA0kEjD;AAGD,qBAkGa,4BAA4B;IAE9B,SAAS,EAAE,YAAY,CAAC,4BAA4B,CAAC;gBAArD,SAAS,EAAE,YAAY,CAAC,4BAA4B,CAAC;IAG9D,QAAQ,IAAI,IAAI;IAIhB,SAAS,IAAI,IAAI;yCATN,4BAA4B;2CAA5B,4BAA4B;CAcxC"}
@@ -0,0 +1,13 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListPopupComponent {
4
+ dialogRef: MatDialogRef<ListPopupComponent>;
5
+ data: any;
6
+ listData: any;
7
+ listType: any;
8
+ constructor(dialogRef: MatDialogRef<ListPopupComponent>, data: any);
9
+ closeDialog(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListPopupComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListPopupComponent, "app-list-popup", never, {}, {}, never, never, false, never>;
12
+ }
13
+ //# sourceMappingURL=list-popup.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-popup.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/list-popup/list-popup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,0BAA0B,CAAC;;AAKzE,qBAKa,kBAAkB;IAGT,SAAS,EAAE,YAAY,CAAC,kBAAkB,CAAC;IAC7B,IAAI,EAAE,GAAG;IAH3C,QAAQ,EAAC,GAAG,CAAA;IACZ,QAAQ,EAAC,GAAG,CAAA;gBACQ,SAAS,EAAE,YAAY,CAAC,kBAAkB,CAAC,EAC7B,IAAI,EAAE,GAAG;IAS3C,WAAW;yCAbA,kBAAkB;2CAAlB,kBAAkB;CAgB9B"}
@@ -0,0 +1,39 @@
1
+ import { SharedService } from '../../modules/shared/services/shared.service';
2
+ import { MatSnackBar } from '@angular/material/snack-bar';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { MatTableDataSource } from '@angular/material/table';
5
+ import { MatPaginator } from '@angular/material/paginator';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ReviewRequestComponent {
8
+ sharedService: SharedService;
9
+ private snackBar;
10
+ private route;
11
+ private router;
12
+ request: any;
13
+ searchText: string;
14
+ expandedResponsibilityRows: {
15
+ [id: string]: boolean;
16
+ };
17
+ expandedActivityRows: {
18
+ [id: string]: boolean;
19
+ };
20
+ paginator: MatPaginator;
21
+ loading: boolean;
22
+ activeTab: string;
23
+ displayedColumns: string[];
24
+ dataSource: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
25
+ constructor(sharedService: SharedService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router);
26
+ ngOnInit(): void;
27
+ getRequestDetails(requestId: any): void;
28
+ toggleResponsibilityExpand(id: string): void;
29
+ isResponisbilityExpanded(id: string): boolean;
30
+ toggleActivityExpand(id: string): void;
31
+ isActivityExpanded(id: string): boolean;
32
+ getCompetenciesByType(competencies: any[], type: string): any[];
33
+ backToApprovalRequest(): void;
34
+ applyFilter(): void;
35
+ clearSearch(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReviewRequestComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReviewRequestComponent, "app-review-request", never, {}, {}, never, never, false, never>;
38
+ }
39
+ //# sourceMappingURL=review-request.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"review-request.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/review-request/review-request.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;;AAE3D,qBAKa,sBAAsB;IAmBd,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,QAAQ;IAAe,OAAO,CAAC,KAAK;IAAkB,OAAO,CAAC,MAAM;IAlB7H,OAAO,EAAE,GAAG,CACV;IACF,UAAU,SAAK;IACf,0BAA0B,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAM;IAC3D,oBAAoB,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAM;IAC5B,SAAS,EAAG,YAAY,CAAC;IAClD,OAAO,UAAQ;IACf,SAAS,SAAY;IACrB,gBAAgB,EAAE,MAAM,EAAE,CAOxB;IACF,UAAU,yFAAmC;gBAE1B,aAAa,EAAE,aAAa,EAAU,QAAQ,EAAE,WAAW,EAAU,KAAK,EAAE,cAAc,EAAU,MAAM,EAAE,MAAM;IAIrI,QAAQ;IAUR,iBAAiB,CAAC,SAAS,KAAA;IAwB3B,0BAA0B,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAI5C,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAkB7C,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAItC,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAIvC,qBAAqB,CAAC,YAAY,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE;IAI/D,qBAAqB;IAIrB,WAAW;IAsCX,WAAW;yCArIA,sBAAsB;2CAAtB,sBAAsB;CA+IlC"}
@@ -0,0 +1,99 @@
1
+ import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { MatSnackBar } from '@angular/material/snack-bar';
4
+ import { MatDialog } from '@angular/material/dialog';
5
+ import { Router } from '@angular/router';
6
+ import { SharedService } from '../../modules/shared/services/shared.service';
7
+ import { RoleMappingService } from '../../modules/shared/services/role-mapping.service';
8
+ import { EventService } from '../../modules/shared/services/event.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class RoleMappingGenerationComponent implements OnInit, OnChanges, OnDestroy {
11
+ private eventSvc;
12
+ sharedService: SharedService;
13
+ private fb;
14
+ private snackBar;
15
+ dialog: MatDialog;
16
+ roleMappingService: RoleMappingService;
17
+ private router;
18
+ pdfContent: ElementRef;
19
+ loginStatusFlag: boolean;
20
+ title: string;
21
+ isMaintenancePage: any;
22
+ selectedValue: string;
23
+ searchText: string;
24
+ dataSource: any;
25
+ displayedColumns: string[];
26
+ selectedMinistryType: string;
27
+ ministryData: any;
28
+ ministryFullData: any;
29
+ roleMappingForm: FormGroup;
30
+ disableBtn: boolean;
31
+ sectorData: {
32
+ value: string;
33
+ }[];
34
+ departmentData: any[];
35
+ loading: boolean;
36
+ maxFileSizeMB: number;
37
+ allowedTypes: string[];
38
+ uploadError: string | null;
39
+ uploadedFile: File[] | null;
40
+ login: boolean;
41
+ cbpFinalObj: any;
42
+ selectedMinistryId: string;
43
+ originalFormValues: any;
44
+ chunks: string[];
45
+ fullJson: string;
46
+ parsedData: any;
47
+ currentProcessingStage: string;
48
+ processingStages: string[];
49
+ successRoleMapping: EventEmitter<any>;
50
+ alreadyAvailableRoleMapping: EventEmitter<any>;
51
+ loginSuccess: EventEmitter<any>;
52
+ selectedMinistryObj: any;
53
+ loginUserOrgIds: any[];
54
+ panelOpen: boolean;
55
+ departmentPanelOpen: boolean;
56
+ filteredList: any[];
57
+ filteredDepartmentList: any[];
58
+ originalMinistryData: any[];
59
+ apiLoading: boolean;
60
+ firstApiResponse: any;
61
+ documents: any[];
62
+ disableUploadDocument: boolean;
63
+ disableUploadDocumentOriginal: boolean;
64
+ private destroy$;
65
+ constructor(eventSvc: EventService, sharedService: SharedService, fb: FormBuilder, snackBar: MatSnackBar, dialog: MatDialog, roleMappingService: RoleMappingService, router: Router);
66
+ ngOnInit(): void;
67
+ getUploadedDocuments(): void;
68
+ editMinistryForm(): Promise<void>;
69
+ ngOnChanges(): void;
70
+ getChangedFields(original: any, current: any): string[];
71
+ onGenerateRoleMapping(): any;
72
+ getMinistryData(): void;
73
+ onMinistryTypeChange(event: any): Promise<void>;
74
+ onMinistryChange(event: any): void;
75
+ searchData(): void;
76
+ applyFilter(): void;
77
+ downloadPDF(): void;
78
+ onFileChange(event: any): void;
79
+ loginStatus(event: any): void;
80
+ generateFinalRoleMapping(): void;
81
+ generateFinalRoleMappingWithStream(): void;
82
+ updateProcessingStage(): void;
83
+ getProgressPercentage(): number;
84
+ onStreamEnd(): void;
85
+ getDisplayProgressPercentage(): number;
86
+ handleStreamError(err: any): void;
87
+ removeFile(index: number): void;
88
+ getUserProfileData(): void;
89
+ onOpened(opened: boolean): void;
90
+ onOpenedDepartment(opened: boolean): void;
91
+ filterData(event: any): void;
92
+ filterDepartmentData(event: any): void;
93
+ ngOnDestroy(): void;
94
+ onDepartmentChange(): void;
95
+ goToUploadDocument(): void;
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleMappingGenerationComponent, never>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<RoleMappingGenerationComponent, "app-role-mapping-generation", never, { "loginStatusFlag": { "alias": "loginStatusFlag"; "required": false; }; }, { "successRoleMapping": "successRoleMapping"; "alreadyAvailableRoleMapping": "alreadyAvailableRoleMapping"; "loginSuccess": "loginSuccess"; }, never, never, false, never>;
98
+ }
99
+ //# sourceMappingURL=role-mapping-generation.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-mapping-generation.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/role-mapping-generation/role-mapping-generation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAS,SAAS,EAAE,SAAS,EAAE,MAAM,EAAqB,MAAM,eAAe,CAAC;AAE5H,OAAO,EAAE,WAAW,EAAe,SAAS,EAAc,MAAM,gBAAgB,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAIrD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;;AAC3E,qBAKa,8BAA+B,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAmF/E,OAAO,CAAC,QAAQ;IACT,aAAa,EAAE,aAAa;IACnC,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ;IACT,MAAM,EAAE,SAAS;IACjB,kBAAkB,EAAE,kBAAkB;IAC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3B,EAAE,EAAE,WAAW,EACf,QAAQ,EAAE,WAAW,EACtB,MAAM,EAAE,SAAS,EACjB,kBAAkB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM;IAOxB,QAAQ;IAsER,oBAAoB;IAyBd,gBAAgB;IA4ItB,WAAW;IAKX,gBAAgB,CAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,MAAM,EAAE;IAuBvD,qBAAqB,IAAI,GAAG;IAqF5B,eAAe;IAyBT,oBAAoB,CAAC,KAAK,KAAA;IAkDhC,gBAAgB,CAAC,KAAK,EAAE,GAAG;IAsC3B,UAAU;IAIV,WAAW;IAIX,WAAW;IAsBX,YAAY,CAAC,KAAK,EAAE,GAAG;IAkFvB,WAAW,CAAC,KAAK,KAAA;IAYjB,wBAAwB;IAyLxB,kCAAkC;IAyFlC,qBAAqB;IAsBrB,qBAAqB,IAAI,MAAM;IA2B/B,WAAW;IAgCX,4BAA4B,IAAI,MAAM;IAQtC,iBAAiB,CAAC,GAAG,EAAE,GAAG;IAmE1B,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAmB/B,kBAAkB;IAkBlB,QAAQ,CAAC,MAAM,EAAE,OAAO;IAIxB,kBAAkB,CAAC,MAAM,EAAE,OAAO;IAIlC,UAAU,CAAC,KAAK,KAAA;IAahB,oBAAoB,CAAC,KAAK,KAAA;IAa1B,WAAW;IAKX,kBAAkB;IAoBjB,kBAAkB;yCAvrCR,8BAA8B;2CAA9B,8BAA8B;CA+rC1C"}
@@ -0,0 +1,83 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
+ import { MatPaginator } from '@angular/material/paginator';
4
+ import { MatDialog } from '@angular/material/dialog';
5
+ import { SelectionModel } from '@angular/cdk/collections';
6
+ import { SharedService } from '../../modules/shared/services/shared.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class RoleMappingListComponent {
9
+ sharedService: SharedService;
10
+ private dialog;
11
+ formData: any;
12
+ searchText: string;
13
+ selectedValue: string;
14
+ displayedColumns: string[];
15
+ dataSource: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
16
+ originalDataSource: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
17
+ filteredData: any[];
18
+ originalData: any[];
19
+ searchResults: any[];
20
+ paginator: MatPaginator;
21
+ expandedResponsibilityRows: {
22
+ [id: string]: boolean;
23
+ };
24
+ expandedActivityRows: {
25
+ [id: string]: boolean;
26
+ };
27
+ activeRowElement: any;
28
+ cbpFinalObj: any;
29
+ loading: boolean;
30
+ selection: SelectionModel<any>;
31
+ matchedRoleMapping: number;
32
+ unMatchedRoleMapping: number;
33
+ matchedRoleMappingIds: any[];
34
+ matchedDesignationNames: string[];
35
+ moveToInitialScreen: EventEmitter<any>;
36
+ activeTab: 'matched' | 'unmatched';
37
+ matchedDesignationSet: Set<string>;
38
+ masterData: any[];
39
+ tabFilteredData: any[];
40
+ constructor(sharedService: SharedService, dialog: MatDialog);
41
+ ngAfterViewInit(): void;
42
+ ngOnInit(): void;
43
+ getCompetenciesByType(competencies: any[], type: string): any[];
44
+ viewDetails(element: any): void;
45
+ deleteItem(element: any): void;
46
+ searchData(): void;
47
+ applyFilter(): void;
48
+ clearSearch(): void;
49
+ refreshRoleMappingData(): void;
50
+ private updateDataSource;
51
+ editRoleMapping(element: any): void;
52
+ viewCBPPlan(element: any): void;
53
+ generateCourseRecommendation(element: any): void;
54
+ viewCourseRecommendation(element: any): void;
55
+ /**
56
+ * Filter data by designation name only
57
+ * Supports single and multiple word searches
58
+ */
59
+ filterByDesignationName(searchText: string): any[];
60
+ flattenObjectToString(obj: any): string;
61
+ getSectors(sector: any): string;
62
+ toggleResponsibilityExpand(id: string): void;
63
+ isResponisbilityExpanded(id: string): boolean;
64
+ toggleActivityExpand(id: string): void;
65
+ isActivityExpanded(id: string): boolean;
66
+ addMoreDesignation(): void;
67
+ deleteRoleMapping(element: any): void;
68
+ viewFinalCBPPlan(context: string): void;
69
+ moveToInitialScreenLayout(event: any): void;
70
+ openFullList(element: any, type: 'role_responsibilities' | 'activities'): void;
71
+ loadRoleMappingList(): void;
72
+ toggleRow(row: any): void;
73
+ isAllSelected(): boolean;
74
+ isSomeSelected(): boolean;
75
+ toggleAllRows(event: any): void;
76
+ setDataSoure(tab?: 'matched' | 'unmatched'): void;
77
+ applyAllFilters(): void;
78
+ sendForApprovalForm(): void;
79
+ hasSelectableRows(): boolean;
80
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleMappingListComponent, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<RoleMappingListComponent, "app-role-mapping-list", never, { "formData": { "alias": "formData"; "required": false; }; }, { "moveToInitialScreen": "moveToInitialScreen"; }, never, never, false, never>;
82
+ }
83
+ //# sourceMappingURL=role-mapping-list.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-mapping-list.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/role-mapping-list/role-mapping-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAA4B,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AASrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAC7E,qBAKa,wBAAwB;IAsC1B,aAAa,EAAE,aAAa;IACnC,OAAO,CAAC,MAAM;IAtCP,QAAQ,EAAE,GAAG,CAAK;IAC3B,UAAU,SAAK;IACf,aAAa,SAAK;IAElB,gBAAgB,EAAE,MAAM,EAAE,CAQxB;IACF,UAAU,yFAAmC;IAC7C,kBAAkB,yFAAmC;IACrD,YAAY,QAA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G,EAAE,GAAG,GAAG,MAAM;IAwBvC,UAAU,CAAC,MAAM,KAAA;IAOjB,0BAA0B,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAI5C,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAkB7C,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAItC,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAMvC,kBAAkB;IAmBlB,iBAAiB,CAAC,OAAO,KAAA;IAwDzB,gBAAgB,CAAC,OAAO,EAAE,MAAM;IAuBhC,yBAAyB,CAAC,KAAK,KAAA;IAI/B,YAAY,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,uBAAuB,GAAG,YAAY;IAiBvE,mBAAmB;IAmLnB,SAAS,CAAC,GAAG,EAAE,GAAG;IAOlB,aAAa;IAMb,cAAc;IAMd,aAAa,CAAC,KAAK,EAAE,GAAG;IAQxB,YAAY,CAAC,GAAG,CAAC,EAAE,SAAS,GAAG,WAAW;IAU1C,eAAe;IA2Cf,mBAAmB;IAwBnB,iBAAiB;yCAjyBN,wBAAwB;2CAAxB,wBAAwB;CAsyBpC"}
@@ -0,0 +1,48 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { MatSnackBar } from '@angular/material/snack-bar';
4
+ import { SharedService } from '../../modules/shared/services/shared.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SuggestMoreCoursesComponent implements OnInit {
7
+ dialogRef: MatDialogRef<SuggestMoreCoursesComponent>;
8
+ data: any;
9
+ sharedService: SharedService;
10
+ snackBar: MatSnackBar;
11
+ searchText: string;
12
+ suggestedCourses: any;
13
+ originalData: any;
14
+ selectFilterCourses: any;
15
+ planData: any;
16
+ loading: boolean;
17
+ currentPage: number;
18
+ pageSize: number;
19
+ totalCount: number;
20
+ totalPages: number;
21
+ constructor(dialogRef: MatDialogRef<SuggestMoreCoursesComponent>, data: any, sharedService: SharedService, snackBar: MatSnackBar);
22
+ ngOnInit(): void;
23
+ applyFilter(): void;
24
+ searchData(): void;
25
+ loadAllCourses(): void;
26
+ cancel(): void;
27
+ onPageChange(page: number): void;
28
+ performSearch(): void;
29
+ goToFirstPage(): void;
30
+ goToPreviousPage(): void;
31
+ goToNextPage(): void;
32
+ goToLastPage(): void;
33
+ clearSearch(): void;
34
+ get hasPreviousPage(): boolean;
35
+ get hasNextPage(): boolean;
36
+ get startItem(): number;
37
+ get endItem(): number;
38
+ filterData(searchText: string): any[];
39
+ flattenObjectToString(obj: any): string;
40
+ addCourses(): void;
41
+ selectAllCourses(event: any): void;
42
+ selectedFilterCourses(event: any, item: any): void;
43
+ checkIfCourseExists(item: any): boolean;
44
+ onImgError(event: Event): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuggestMoreCoursesComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuggestMoreCoursesComponent, "app-suggest-more-courses", never, {}, {}, never, never, false, never>;
47
+ }
48
+ //# sourceMappingURL=suggest-more-courses.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suggest-more-courses.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/suggest-more-courses/suggest-more-courses.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAmB,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAE7E,qBAKa,2BAA4B,YAAW,MAAM;IAc/C,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC;IAC3B,IAAI,EAAE,GAAG;IAClC,aAAa,EAAE,aAAa;IAC5B,QAAQ,EAAE,WAAW;IAhB9B,UAAU,SAAK;IACf,gBAAgB,EAAC,GAAG,CAAK;IACzB,YAAY,EAAC,GAAG,CAAK;IACrB,mBAAmB,EAAC,GAAG,CAAK;IAC5B,QAAQ,EAAC,GAAG,CAAK;IACjB,OAAO,UAAM;IAGb,WAAW,SAAI;IACf,QAAQ,SAAK;IACb,UAAU,SAAI;IACd,UAAU,SAAI;gBAEL,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC,EAC3B,IAAI,EAAE,GAAG,EAClC,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,WAAW;IAM9B,QAAQ;IAGR,WAAW;IAKX,UAAU;IAgBV,cAAc;IAsDd,MAAM;IAKN,YAAY,CAAC,IAAI,EAAE,MAAM;IAYzB,aAAa;IA6Db,aAAa;IAIb,gBAAgB;IAIhB,YAAY;IAIZ,YAAY;IAIZ,WAAW;IAOX,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,EAAE;IASrC,qBAAqB,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM;IAwBvC,UAAU;IAgGV,gBAAgB,CAAC,KAAK,KAAA;IAWtB,qBAAqB,CAAC,KAAK,KAAA,EAAE,IAAI,KAAA;IAejC,mBAAmB,CAAC,IAAI,KAAA;IAQxB,UAAU,CAAC,KAAK,EAAE,KAAK;yCA7XZ,2BAA2B;2CAA3B,2BAA2B;CAiYvC"}
@@ -0,0 +1,41 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { SharedService } from '../../modules/shared/services/shared.service';
5
+ import { MatSnackBar } from '@angular/material/snack-bar';
6
+ import * as i0 from "@angular/core";
7
+ export interface Designation {
8
+ id: string;
9
+ name: string;
10
+ sort_order: number;
11
+ }
12
+ export declare class UpdateDesignationHierarchyComponent implements OnInit {
13
+ private http;
14
+ sharedService: SharedService;
15
+ private snackBar;
16
+ openDropdownId: string | null;
17
+ isOpen: boolean;
18
+ state_center_id: string;
19
+ department_id: string;
20
+ designations: any[];
21
+ role_mapping_generation: any;
22
+ loading: boolean;
23
+ closeDrawer: EventEmitter<void>;
24
+ submitted: EventEmitter<any>;
25
+ numbers: number[];
26
+ constructor(http: HttpClient, sharedService: SharedService, snackBar: MatSnackBar);
27
+ ngOnInit(): void;
28
+ drop(event: CdkDragDrop<Designation[]>): void;
29
+ private updateSortOrderByIndex;
30
+ submit(): void;
31
+ cancel(): void;
32
+ refreshRoleMappingData(): void;
33
+ toggleDropdown(item: any, event: Event): void;
34
+ selectNumber(item: any, num: number, event: Event): void;
35
+ filterNumbers(item: any): void;
36
+ onOrderChange(item: any): void;
37
+ trackById(index: number, item: any): any;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpdateDesignationHierarchyComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<UpdateDesignationHierarchyComponent, "app-update-designation-hierarchy", never, {}, { "closeDrawer": "closeDrawer"; "submitted": "submitted"; }, never, never, false, never>;
40
+ }
41
+ //# sourceMappingURL=update-designation-hierarchy.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-designation-hierarchy.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/update-designation-hierarchy/update-designation-hierarchy.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAGZ,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;;AAE1D,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAMa,mCAAoC,YAAW,MAAM;IAapD,OAAO,CAAC,IAAI;IAAqB,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,QAAQ;IAZ3F,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrC,MAAM,UAAQ;IACd,eAAe,EAAG,MAAM,CAAC;IACzB,aAAa,EAAG,MAAM,CAAC;IACvB,YAAY,EAAE,GAAG,EAAE,CAAM;IACzB,uBAAuB,EAAE,GAAG,CAAA;IAC5B,OAAO,UAAQ;IACL,WAAW,qBAA4B;IACvC,SAAS,oBAA2B;IAE9C,OAAO,EAAE,MAAM,EAAE,CAAM;gBAEH,IAAI,EAAE,UAAU,EAAS,aAAa,EAAE,aAAa,EAAU,QAAQ,EAAE,WAAW;IAExG,QAAQ,IAAI,IAAI;IAWhB,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,WAAW,EAAE,CAAC;IAmBtC,OAAO,CAAC,sBAAsB;IAM9B,MAAM;IAuDN,MAAM;IAKN,sBAAsB;IA4ExB,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK;IAsBtC,YAAY,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;IAiBjD,aAAa,CAAC,IAAI,EAAE,GAAG;IAWvB,aAAa,CAAC,IAAI,EAAE,GAAG;IAUvB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;yCAvPrB,mCAAmC;2CAAnC,mCAAmC;CA4P/C"}
@@ -0,0 +1,29 @@
1
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
+ import { ElementRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ViewCbpPlanComponent {
5
+ dialogRef: MatDialogRef<ViewCbpPlanComponent>;
6
+ data: any;
7
+ private dialog;
8
+ pdfContent: ElementRef;
9
+ selectedValue: string;
10
+ searchText: string;
11
+ planData: any;
12
+ competenciesCount: {
13
+ total: number;
14
+ behavioral: number;
15
+ functional: number;
16
+ domain: number;
17
+ };
18
+ constructor(dialogRef: MatDialogRef<ViewCbpPlanComponent>, data: any, dialog: MatDialog);
19
+ searchData(): void;
20
+ applyFilter(): void;
21
+ getCompetenciesByType(competencies: any[], type: string): any[];
22
+ closeDialog(): void;
23
+ editCBPPlan(): void;
24
+ generateCourseRecommendation(): void;
25
+ downloadPDF(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewCbpPlanComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewCbpPlanComponent, "app-view-cbp-plan", never, {}, {}, never, never, false, never>;
28
+ }
29
+ //# sourceMappingURL=view-cbp-plan.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-cbp-plan.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/view-cbp-plan/view-cbp-plan.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAa,UAAU,EAAqB,MAAM,eAAe,CAAC;;AAIzE,qBAKa,oBAAoB;IAOtB,SAAS,EAAE,YAAY,CAAC,oBAAoB,CAAC;IACpB,IAAI,EAAE,GAAG;IACzC,OAAO,CAAC,MAAM;IAR4B,UAAU,EAAG,UAAU,CAAC;IACpE,aAAa,SAAK;IAClB,UAAU,SAAK;IACf,QAAQ,EAAC,GAAG,CAAA;IACZ,iBAAiB;;;;;MAAkD;gBAE1D,SAAS,EAAE,YAAY,CAAC,oBAAoB,CAAC,EACpB,IAAI,EAAE,GAAG,EACjC,MAAM,EAAE,SAAS;IAkB3B,UAAU;IAIV,WAAW;IAIX,qBAAqB,CAAC,YAAY,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE;IAI/D,WAAW;IAIX,WAAW;IAmBX,4BAA4B;IA0B5B,WAAW;yCAxFA,oBAAoB;2CAApB,oBAAoB;CAyHhC"}