@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
package/index.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@sunbird-cb/cbp-ai" />
5
+ export * from './public-api';
6
+ //# sourceMappingURL=sunbird-cb-cbp-ai.d.ts.map
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class AiCbpRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiCbpRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AiCbpRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<AiCbpRoutingModule>;
7
+ }
8
+ //# sourceMappingURL=ai-cbp-routing.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-cbp-routing.module.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/cbp-ai/src/lib/ai-cbp-routing.module.ts"],"names":[],"mappings":";;AA2CA,qBAIa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAAI"}
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AiCbpComponent {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiCbpComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiCbpComponent, "lib-ai-cbp", never, {}, {}, never, never, false, never>;
6
+ }
7
+ //# sourceMappingURL=ai-cbp.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-cbp.component.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/cbp-ai/src/lib/ai-cbp.component.ts"],"names":[],"mappings":";AAEA,qBAMa,cAAc;;yCAAd,cAAc;2CAAd,cAAc;CAI1B"}
@@ -0,0 +1,68 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ai-cbp.component";
3
+ import * as i2 from "./components/approval-request-form/approval-request-form.component";
4
+ import * as i3 from "./components/review-request/review-request.component";
5
+ import * as i4 from "./components/approval-requests/approval-requests.component";
6
+ import * as i5 from "./components/dashboard/dashboard.component";
7
+ import * as i6 from "./components/update-designation-hierarchy/update-designation-hierarchy.component";
8
+ import * as i7 from "./components/add-course/add-course.component";
9
+ import * as i8 from "./components/gap-analysis-recommended-course/gap-analysis-recommended-course.component";
10
+ import * as i9 from "./modules/shared/pipes/order-by-name.pipe";
11
+ import * as i10 from "./modules/upload-document-page/upload-document-page.component";
12
+ import * as i11 from "./modules/upload-document-page/upload-dialog/upload-dialog.component";
13
+ import * as i12 from "./modules/initial-screen/initial-screen.component";
14
+ import * as i13 from "./modules/upload-document-page/progress-dialog/progress-dialog.component";
15
+ import * as i14 from "./components/delete-role-mapping-popup/delete-role-mapping-popup.component";
16
+ import * as i15 from "./components/list-popup/list-popup.component";
17
+ import * as i16 from "./components/suggest-more-courses/suggest-more-courses.component";
18
+ import * as i17 from "./components/add-designation/add-designation.component";
19
+ import * as i18 from "./components/add-personalisation/add-personalisation.component";
20
+ import * as i19 from "./components/view-cbp-plan/view-cbp-plan.component";
21
+ import * as i20 from "./components/edit-cbp-plan/edit-cbp-plan.component";
22
+ import * as i21 from "./components/generate-course-recommendation/generate-course-recommendation.component";
23
+ import * as i22 from "./components/view-course-recommendation/view-course-recommendation.component";
24
+ import * as i23 from "./components/delete-role-mapping/delete-role-mapping.component";
25
+ import * as i24 from "./components/view-final-cbp-plan/view-final-cbp-plan.component";
26
+ import * as i25 from "./components/role-mapping-generation/role-mapping-generation.component";
27
+ import * as i26 from "./components/role-mapping-list/role-mapping-list.component";
28
+ import * as i27 from "@angular/common";
29
+ import * as i28 from "@angular/router";
30
+ import * as i29 from "@angular/material/sidenav";
31
+ import * as i30 from "@angular/material/legacy-list";
32
+ import * as i31 from "@angular/material/legacy-card";
33
+ import * as i32 from "@angular/forms";
34
+ import * as i33 from "@angular/material/legacy-form-field";
35
+ import * as i34 from "@angular/material/legacy-input";
36
+ import * as i35 from "@angular/material/legacy-button";
37
+ import * as i36 from "@angular/material/icon";
38
+ import * as i37 from "@angular/material/grid-list";
39
+ import * as i38 from "@angular/material/legacy-radio";
40
+ import * as i39 from "@angular/material/dialog";
41
+ import * as i40 from "@angular/material/legacy-chips";
42
+ import * as i41 from "@angular/material/legacy-select";
43
+ import * as i42 from "@angular/material/legacy-checkbox";
44
+ import * as i43 from "@angular/material/progress-bar";
45
+ import * as i44 from "@angular/material/progress-spinner";
46
+ import * as i45 from "@angular/material/snack-bar";
47
+ import * as i46 from "@angular/material/table";
48
+ import * as i47 from "@angular/material/paginator";
49
+ import * as i48 from "@angular/material/menu";
50
+ import * as i49 from "@angular/material/tooltip";
51
+ import * as i50 from "@angular/material/tabs";
52
+ import * as i51 from "ngx-markdown";
53
+ import * as i52 from "@angular/cdk/drag-drop";
54
+ import * as i53 from "@angular/material/datepicker";
55
+ import * as i54 from "@angular/material/core";
56
+ import * as i55 from "ngx-daterangepicker-material";
57
+ import * as i56 from "ngx-bootstrap/pagination";
58
+ import * as i57 from "ngx-toastr";
59
+ import * as i58 from "@ng-bootstrap/ng-bootstrap";
60
+ import * as i59 from "./modules/shared/directives/directive.module";
61
+ import * as i60 from "./pipe-public-URL/pipe-public-URL.module";
62
+ import * as i61 from "./ai-cbp-routing.module";
63
+ export declare class AiCbpModule {
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiCbpModule, never>;
65
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AiCbpModule, [typeof i1.AiCbpComponent, typeof i2.ApprovalRequestFormComponent, typeof i3.ReviewRequestComponent, typeof i4.ApprovalRequestsComponent, typeof i5.DashboardComponent, typeof i6.UpdateDesignationHierarchyComponent, typeof i7.AddCourseComponent, typeof i8.GapAnalysisRecommendedCourseComponent, typeof i9.OrderByNamePipe, typeof i10.UploadDocumentPageComponent, typeof i11.UploadDialogComponent, typeof i12.InitialScreenComponent, typeof i13.ProgressDialogComponent, typeof i14.DeleteRoleMappingPopupComponent, typeof i15.ListPopupComponent, typeof i16.SuggestMoreCoursesComponent, typeof i17.AddDesignationComponent, typeof i18.AddPersonalisationComponent, typeof i19.ViewCbpPlanComponent, typeof i20.EditCbpPlanComponent, typeof i21.GenerateCourseRecommendationComponent, typeof i21.RegenerateConfirmationDialog, typeof i22.ViewCourseRecommendationComponent, typeof i23.DeleteRoleMappingComponent, typeof i24.ViewFinalCbpPlanComponent, typeof i25.RoleMappingGenerationComponent, typeof i26.RoleMappingListComponent], [typeof i27.CommonModule, typeof i28.RouterModule, typeof i29.MatSidenavModule, typeof i30.MatLegacyListModule, typeof i31.MatLegacyCardModule, typeof i32.FormsModule, typeof i33.MatLegacyFormFieldModule, typeof i34.MatLegacyInputModule, typeof i35.MatLegacyButtonModule, typeof i36.MatIconModule, typeof i37.MatGridListModule, typeof i38.MatLegacyRadioModule, typeof i39.MatDialogModule, typeof i40.MatLegacyChipsModule, typeof i41.MatLegacySelectModule, typeof i42.MatLegacyCheckboxModule, typeof i43.MatProgressBarModule, typeof i32.ReactiveFormsModule, typeof i44.MatProgressSpinnerModule, typeof i45.MatSnackBarModule, typeof i46.MatTableModule, typeof i47.MatPaginatorModule, typeof i48.MatMenuModule, typeof i49.MatTooltipModule, typeof i50.MatTabsModule, typeof i51.MarkdownModule, typeof i52.DragDropModule, typeof i53.MatDatepickerModule, typeof i54.MatNativeDateModule, typeof i55.NgxDaterangepickerMd, typeof i56.PaginationModule, typeof i57.ToastrModule, typeof i58.NgbModalModule, typeof i59.DirectiveModule, typeof i60.PipePublicURLModule, typeof i61.AiCbpRoutingModule], [typeof i1.AiCbpComponent, typeof i2.ApprovalRequestFormComponent, typeof i3.ReviewRequestComponent, typeof i4.ApprovalRequestsComponent, typeof i5.DashboardComponent, typeof i6.UpdateDesignationHierarchyComponent, typeof i7.AddCourseComponent, typeof i8.GapAnalysisRecommendedCourseComponent, typeof i9.OrderByNamePipe, typeof i10.UploadDocumentPageComponent, typeof i11.UploadDialogComponent, typeof i12.InitialScreenComponent, typeof i13.ProgressDialogComponent, typeof i14.DeleteRoleMappingPopupComponent, typeof i15.ListPopupComponent, typeof i16.SuggestMoreCoursesComponent, typeof i17.AddDesignationComponent, typeof i18.AddPersonalisationComponent, typeof i19.ViewCbpPlanComponent, typeof i20.EditCbpPlanComponent, typeof i21.GenerateCourseRecommendationComponent, typeof i21.RegenerateConfirmationDialog, typeof i22.ViewCourseRecommendationComponent, typeof i23.DeleteRoleMappingComponent, typeof i24.ViewFinalCbpPlanComponent, typeof i25.RoleMappingGenerationComponent, typeof i26.RoleMappingListComponent]>;
66
+ static ɵinj: i0.ɵɵInjectorDeclaration<AiCbpModule>;
67
+ }
68
+ //# sourceMappingURL=ai-cbp.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-cbp.module.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/cbp-ai/src/lib/ai-cbp.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEA,qBA6Fa,WAAW;yCAAX,WAAW;0CAAX,WAAW;0CAAX,WAAW;CAAI"}
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AiCbpService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiCbpService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<AiCbpService>;
6
+ }
7
+ //# sourceMappingURL=ai-cbp.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-cbp.service.d.ts","sourceRoot":"","sources":["../../../../library/sunbird-cb/cbp-ai/src/lib/ai-cbp.service.ts"],"names":[],"mappings":";AAEA,qBAGa,YAAY;;yCAAZ,YAAY;6CAAZ,YAAY;CAGxB"}
@@ -0,0 +1,67 @@
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
3
+ import { MatDialogRef } from '@angular/material/dialog';
4
+ import { MatSnackBar } from '@angular/material/snack-bar';
5
+ import { HttpClient } from '@angular/common/http';
6
+ import { SharedService } from '../../modules/shared/services/shared.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class AddCourseComponent implements OnInit {
9
+ dialogRef: MatDialogRef<AddCourseComponent>;
10
+ data: any;
11
+ sharedService: SharedService;
12
+ private fb;
13
+ snackBar: MatSnackBar;
14
+ private http;
15
+ private cdRef;
16
+ courseForm: FormGroup;
17
+ loading: boolean;
18
+ planData: any;
19
+ competenciesData: any[];
20
+ availableThemes: any[];
21
+ availableSubThemes: any[];
22
+ filteredThemes: any[];
23
+ filteredSubThemes: string[];
24
+ selectedCompetencyType: string;
25
+ selectedTheme: string;
26
+ selectedSubTheme: string;
27
+ manualTheme: string;
28
+ manualSubTheme: string;
29
+ themeSearchText: string;
30
+ subThemeSearchText: string;
31
+ competenciesCount: {
32
+ total: number;
33
+ behavioral: number;
34
+ functional: number;
35
+ domain: number;
36
+ };
37
+ isCompetencyPrefilled: boolean;
38
+ prefilledCompetencyType: string;
39
+ prefilledTheme: string;
40
+ prefilledSubTheme: string;
41
+ constructor(dialogRef: MatDialogRef<AddCourseComponent>, data: any, sharedService: SharedService, fb: FormBuilder, snackBar: MatSnackBar, http: HttpClient, cdRef: ChangeDetectorRef);
42
+ ngOnInit(): void;
43
+ checkForPrefilledData(): void;
44
+ loadCompetenciesData(): void;
45
+ handlePrefilledBehavioralFunctional(): void;
46
+ addPrefilledCompetency(): void;
47
+ initializeForm(): void;
48
+ cancelForm(): void;
49
+ get competenciesArray(): FormArray;
50
+ updateCompetencyCounts(): void;
51
+ onCompetencyTypeChange(type: string): void;
52
+ onThemeChange(themeName: string): void;
53
+ onSubThemeChange(subThemeName: string): void;
54
+ filterThemes(searchText: string): void;
55
+ filterSubThemes(searchText: string): void;
56
+ addCompetency(): void;
57
+ resetCompetencyForm(): void;
58
+ canAddCompetency(): boolean;
59
+ canSaveCourse(): boolean;
60
+ getCompetenciesByType(type: string): any[];
61
+ deleteCompetency(comp: any): void;
62
+ saveCourse(): void;
63
+ closeDialog(): void;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddCourseComponent, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddCourseComponent, "app-add-course", never, {}, {}, never, never, false, never>;
66
+ }
67
+ //# sourceMappingURL=add-course.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-course.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-c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,aAAa,EAC3B,EAAE,EAAE,WAAW,EAChB,QAAQ,EAAE,WAAW,EACpB,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,iBAAiB;IAKlC,QAAQ;IAMR,qBAAqB;IAuDrB,oBAAoB;IAiBpB,mCAAmC;IAoEnC,sBAAsB;IAyBtB,cAAc;IAqBd,UAAU;IAIV,IAAI,iBAAiB,IAAI,SAAS,CAEjC;IAED,sBAAsB;IAWtB,sBAAsB,CAAC,IAAI,EAAE,MAAM;IAsCnC,aAAa,CAAC,SAAS,EAAE,MAAM;IAoB/B,gBAAgB,CAAC,YAAY,EAAE,MAAM;IAIrC,YAAY,CAAC,UAAU,EAAE,MAAM;IAW/B,eAAe,CAAC,UAAU,EAAE,MAAM;IAWlC,aAAa;IAyCb,mBAAmB;IAwBnB,gBAAgB,IAAI,OAAO;IAY3B,aAAa,IAAI,OAAO;IAYxB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE;IAI1C,gBAAgB,CAAC,IAAI,KAAA;IAYrB,UAAU;IAgDV,WAAW;yCApeA,kBAAkB;2CAAlB,kBAAkB;CAue9B"}
@@ -0,0 +1,52 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
+ import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
4
+ import { MatSnackBar } from '@angular/material/snack-bar';
5
+ import { SharedService } from '../../modules/shared/services/shared.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class AddDesignationComponent {
8
+ dialogRef: MatDialogRef<AddDesignationComponent>;
9
+ data: any;
10
+ private fb;
11
+ private cdRef;
12
+ private sharedService;
13
+ private snackBar;
14
+ designationForm: FormGroup;
15
+ maxFileSizeMB: number;
16
+ allowedTypes: string[];
17
+ uploadError: string | null;
18
+ uploadedFile: File | null;
19
+ cbpPlanFinalObj: any;
20
+ loading: boolean;
21
+ designationRef?: ElementRef;
22
+ desigantionFilterEnable: boolean;
23
+ isLoadingMoreDesignations: boolean;
24
+ designationOffset: number;
25
+ odcsDesignationCount: number;
26
+ defaultSearchDesignationCount: number;
27
+ designationListLoadCount: number;
28
+ designationDefaultLoadCount: number;
29
+ noMoreLegacyDesignations: boolean;
30
+ designationSearchText: string;
31
+ designationInitInProgress: boolean;
32
+ scrollListenerAttached: boolean;
33
+ masterData: any;
34
+ constructor(dialogRef: MatDialogRef<AddDesignationComponent>, data: any, fb: FormBuilder, cdRef: ChangeDetectorRef, sharedService: SharedService, snackBar: MatSnackBar);
35
+ ngOnInit(): void;
36
+ private getDesignationSafe;
37
+ initializeForm(): void;
38
+ onFileChange(event: any): void;
39
+ cancelForm(): void;
40
+ saveDesignation(): void;
41
+ closeDialog(): void;
42
+ getDesignation(searchText?: string, offset?: number): void;
43
+ checkCurrentDesignationPresent(): void;
44
+ onDesignationDropdownClosed(): void;
45
+ designationSearch(evt: any): void;
46
+ setupScrollListener(opened: boolean): void;
47
+ onDesignationSelectScroll(event: any): void;
48
+ get searchDesignationControl(): FormControl;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddDesignationComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddDesignationComponent, "app-add-designation", never, {}, {}, never, never, false, never>;
51
+ }
52
+ //# sourceMappingURL=add-designation.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-designation.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/add-designation/add-designation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAa,UAAU,EAA6B,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,SAAS,EAAyB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CA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yBAAyB,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAkC3C,IAAI,wBAAwB,IAAI,WAAW,CAE1C;yCAhfU,uBAAuB;2CAAvB,uBAAuB;CAmfnC"}
@@ -0,0 +1,16 @@
1
+ import { MatDialogRef, MatDialog } from '@angular/material/dialog';
2
+ import { SharedService } from '../../modules/shared/services/shared.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AddPersonalisationComponent {
5
+ dialogRef: MatDialogRef<AddPersonalisationComponent>;
6
+ data: any;
7
+ private sharedService;
8
+ private dialog;
9
+ constructor(dialogRef: MatDialogRef<AddPersonalisationComponent>, data: any, sharedService: SharedService, dialog: MatDialog);
10
+ saveRoleMapping(): void;
11
+ closeDialog(): void;
12
+ cancelForm(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddPersonalisationComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddPersonalisationComponent, "app-add-personalisation", never, {}, {}, never, never, false, never>;
15
+ }
16
+ //# sourceMappingURL=add-personalisation.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-personalisation.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/add-personalisation/add-personalisation.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAmB,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAG7E,qBAKa,2BAA2B;IAEnB,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC;IACrC,IAAI,EAAE,GAAG;IAAE,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,MAAM;gBAD9E,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC,EACrC,IAAI,EAAE,GAAG,EAAU,aAAa,EAAE,aAAa,EAAU,MAAM,EAAE,SAAS;IAI5G,eAAe;IAIf,WAAW;IAIX,UAAU;yCAfC,2BAA2B;2CAA3B,2BAA2B;CAkBvC"}
@@ -0,0 +1,48 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
+ import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
4
+ import { MatSnackBar } from '@angular/material/snack-bar';
5
+ import { SharedService } from '../../modules/shared/services/shared.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ApprovalRequestFormComponent {
8
+ dialogRef: MatDialogRef<ApprovalRequestFormComponent>;
9
+ data: any;
10
+ private fb;
11
+ private cdRef;
12
+ private sharedService;
13
+ private snackBar;
14
+ approvalRequestForm: FormGroup;
15
+ cbpPlanFinalObj: any;
16
+ loading: boolean;
17
+ mdoRef?: ElementRef;
18
+ mdoFilterEnable: boolean;
19
+ isLoadingMoremdos: boolean;
20
+ mdoOffset: number;
21
+ odcsmdoCount: number;
22
+ defaultSearchmdoCount: number;
23
+ mdoListLoadCount: number;
24
+ mdoDefaultLoadCount: number;
25
+ noMoreLegacymdos: boolean;
26
+ mdoSearchText: string;
27
+ mdoInitInProgress: boolean;
28
+ scrollListenerAttached: boolean;
29
+ masterData: any;
30
+ role_mapping_ids: any[];
31
+ constructor(dialogRef: MatDialogRef<ApprovalRequestFormComponent>, data: any, fb: FormBuilder, cdRef: ChangeDetectorRef, sharedService: SharedService, snackBar: MatSnackBar);
32
+ ngOnInit(): void;
33
+ private getmdoSafe;
34
+ initializeForm(): void;
35
+ cancelForm(): void;
36
+ savemdo(): void;
37
+ closeDialog(): void;
38
+ getmdo(searchText?: string, offset?: number): void;
39
+ checkCurrentmdoPresent(): void;
40
+ onmdoDropdownClosed(): void;
41
+ mdoSearch(evt: any): void;
42
+ setupScrollListener(opened: boolean): void;
43
+ onmdoSelectScroll(event: any): void;
44
+ get searchmdoControl(): FormControl;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalRequestFormComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalRequestFormComponent, "app-approval-request-form", never, {}, {}, never, never, false, never>;
47
+ }
48
+ //# sourceMappingURL=approval-request-form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"approval-request-form.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/approval-request-form/approval-request-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAa,UAAU,EAA6B,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,SAAS,EAAyB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAC7E,qBAKa,4BAA4B;IAkBpB,SAAS,EAAE,YAAY,CAAC,4BAA4B,CAAC;IACtC,IAAI,EAAE,GAAG;IACzC,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,QAAQ;IAtBlB,mBAAmB,EAAE,SAAS,CAAC;IAC/B,eAAe,EAAE,GAAG,CAAA;IACpB,OAAO,UAAQ;IACyB,MAAM,CAAC,EAAE,UAAU,CAAA;IAC3D,eAAe,UAAQ;IACvB,iBAAiB,UAAS;IAC1B,SAAS,SAAI;IACb,YAAY,SAAI;IAChB,qBAAqB,SAAI;IACzB,gBAAgB,SAAK;IACrB,mBAAmB,SAAK;IACxB,gBAAgB,UAAQ;IACxB,aAAa,SAAK;IAClB,iBAAiB,UAAQ;IACzB,sBAAsB,UAAQ;IAC9B,UAAU,EAAE,GAAG,CAAK;IACpB,gBAAgB,QAAK;gBACF,SAAS,EAAE,YAAY,CAAC,4BAA4B,CAAC,EACtC,IAAI,EAAE,GAAG,EACjC,EAAE,EAAE,WAAW,EACf,KAAK,EAAE,iBAAiB,EACxB,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,WAAW;IAS/B,QAAQ;IA6CR,OAAO,CAAC,UAAU;IAQlB,cAAc;IAUd,UAAU;IAIV,OAAO;IAqDP,WAAW;IAIX,MAAM,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI;IA+GpD,sBAAsB;IAqBpB,mBAAmB,IAAI,IAAI;IAiB3B,SAAS,CAAC,GAAG,EAAE,GAAG;IAgBlB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAuD1C,iBAAiB,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAkCnC,IAAI,gBAAgB,IAAI,WAAW,CAElC;yCA5ZU,4BAA4B;2CAA5B,4BAA4B;CA+ZxC"}
@@ -0,0 +1,80 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { MatSnackBar } from '@angular/material/snack-bar';
3
+ import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
4
+ import { Router } from '@angular/router';
5
+ import { MatPaginator } from '@angular/material/paginator';
6
+ import { MatTableDataSource } from '@angular/material/table';
7
+ import { SharedService } from '../../modules/shared/services/shared.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ApprovalRequestsComponent {
10
+ dialog: MatDialog;
11
+ sharedService: SharedService;
12
+ snackBar: MatSnackBar;
13
+ private fb;
14
+ router: Router;
15
+ paginator: MatPaginator;
16
+ dataSource: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
17
+ selectedMinistryType: string;
18
+ ministryData: any;
19
+ ministryFullData: any;
20
+ roleMappingForm: FormGroup;
21
+ disableBtn: boolean;
22
+ searchText: string;
23
+ displayedColumns: string[];
24
+ cbpFinalObj: any;
25
+ departmentData: any;
26
+ approvalRequests: any[];
27
+ loading: boolean;
28
+ filteredMinistryData: any;
29
+ searchControl: FormControl;
30
+ panelOpen: boolean;
31
+ departmentPanelOpen: boolean;
32
+ filteredList: any[];
33
+ filteredDepartmentList: any[];
34
+ loginUserOrgIds: any[];
35
+ originalMinistryData: any[];
36
+ cbpPlanFinalObj: any;
37
+ filterForm: FormGroup;
38
+ status: {
39
+ code: string;
40
+ label: string;
41
+ }[];
42
+ time: {
43
+ code: string;
44
+ label: string;
45
+ }[];
46
+ filteredStatus: {
47
+ code: string;
48
+ label: string;
49
+ }[];
50
+ filteredTime: {
51
+ code: string;
52
+ label: string;
53
+ }[];
54
+ constructor(dialog: MatDialog, sharedService: SharedService, snackBar: MatSnackBar, fb: FormBuilder, router: Router);
55
+ ngOnInit(): void;
56
+ ngAfterViewInit(): void;
57
+ getApprovalRequests(): void;
58
+ filteredapprovalRequests(): any[];
59
+ deleteDocument(docToDelete: any): void;
60
+ applyFilters(): void;
61
+ onMinistryTypeChange(event: any): void;
62
+ onMinistryChange(event: any): void;
63
+ filterMinistryData(searchText: any): void;
64
+ getMinistryData(): void;
65
+ routeToMain(): void;
66
+ viewSummary(doc: any): void;
67
+ viewRequest(request: any): void;
68
+ revokeApprovalRequest(request: any): void;
69
+ onOpened(opened: boolean): void;
70
+ onOpenedDepartment(opened: boolean): void;
71
+ filterData(event: any): void;
72
+ filterDepartmentData(event: any): void;
73
+ getUserProfileData(): void;
74
+ routeToInitial(): void;
75
+ filterList(value: string, type: string): void;
76
+ clearSearch(): void;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalRequestsComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalRequestsComponent, "app-approval-requests", never, {}, {}, never, never, false, never>;
79
+ }
80
+ //# sourceMappingURL=approval-requests.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"approval-requests.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/approval-requests/approval-requests.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OA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AAQ;IAqBR,eAAe;IAIf,mBAAmB;IA4BnB,wBAAwB;IAsCxB,cAAc,CAAC,WAAW,EAAE,GAAG;IAwC/B,YAAY;IASZ,oBAAoB,CAAC,KAAK,KAAA;IAa1B,gBAAgB,CAAC,KAAK,EAAE,GAAG;IA8B3B,kBAAkB,CAAC,UAAU,KAAA;IAc7B,eAAe;IA6Bf,WAAW;IAIX,WAAW,CAAC,GAAG,KAAA;IAcf,WAAW,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAM/B,qBAAqB,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAyBzC,QAAQ,CAAC,MAAM,EAAE,OAAO;IAIxB,kBAAkB,CAAC,MAAM,EAAE,OAAO;IAIlC,UAAU,CAAC,KAAK,KAAA;IAahB,oBAAoB,CAAC,KAAK,KAAA;IAa1B,kBAAkB;IAmBlB,cAAc;IAKd,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IActC,WAAW;yCAtaA,yBAAyB;2CAAzB,yBAAyB;CA2arC"}
@@ -0,0 +1,55 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { SharedService } from '../../modules/shared/services/shared.service';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
4
+ import { MatSnackBar } from '@angular/material/snack-bar';
5
+ import { Router } from '@angular/router';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DashboardComponent implements OnInit {
8
+ private fb;
9
+ private sharedService;
10
+ private snackBar;
11
+ router: Router;
12
+ userProfile: any;
13
+ isSuperAdmin: boolean;
14
+ selected: any;
15
+ filtersForm: FormGroup;
16
+ ministriesList: {
17
+ id: number;
18
+ name: string;
19
+ }[];
20
+ departmentsList: {
21
+ id: number;
22
+ name: string;
23
+ }[];
24
+ selectedMinistryType: string;
25
+ selectedMinistryId: string;
26
+ panelOpen: boolean;
27
+ departmentPanelOpen: boolean;
28
+ filteredList: any[];
29
+ filteredDepartmentList: any[];
30
+ ministryData: any;
31
+ ministryFullData: any;
32
+ departmentData: any[];
33
+ selectedMinistryObj: {};
34
+ apiLoading: boolean;
35
+ loginUserOrgIds: any[];
36
+ dashboardData: any;
37
+ gapAnalysisData: any;
38
+ dashboardResponseObj: {};
39
+ cbpFinalObj: any;
40
+ constructor(fb: FormBuilder, sharedService: SharedService, snackBar: MatSnackBar, router: Router);
41
+ ngOnInit(): void;
42
+ getDashboardData(val: any): void;
43
+ onOpened(opened: boolean): void;
44
+ onOpenedDepartment(opened: boolean): void;
45
+ filterData(event: any): void;
46
+ filterDepartmentData(event: any): void;
47
+ onMinistryChange(event: any): void;
48
+ onDepartmentChange(): void;
49
+ onMinistryTypeChange(event: any): Promise<void>;
50
+ getMinistryData(): void;
51
+ routeToInitial(): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "app-dashboard", never, {}, {}, never, never, false, never>;
54
+ }
55
+ //# sourceMappingURL=dashboard.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/dashboard/dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;;AAEzC,qBAKa,kBAAmB,YAAW,MAAM;IAmCnC,OAAO,CAAC,EAAE;IAAe,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,QAAQ;IAAsB,MAAM,EAAE,MAAM;IAlC/H,WAAW,EAAE,GAAG,CAAA;IAChB,YAAY,UAAQ;IACpB,QAAQ,EAAE,GAAG,CAGX;IACF,WAAW,EAAG,SAAS,CAAC;IACxB,cAAc;;;QAIZ;IAEF,eAAe;;;QAIb;IACF,oBAAoB,SAAa;IACjC,kBAAkB,SAAK;IACvB,SAAS,UAAS;IAClB,mBAAmB,UAAQ;IAC3B,YAAY,QAAM;IAClB,sBAAsB,QAAM;IAC5B,YAAY,EAAE,GAAG,CAAK;IACtB,gBAAgB,EAAE,GAAG,CAAK;IAC1B,cAAc,QAAK;IACnB,mBAAmB,KAAK;IACxB,UAAU,UAAQ;IAClB,eAAe,QAAK;IACpB,aAAa,EAAE,GAAG,CAAA;IAClB,eAAe,EAAE,GAAG,CAAA;IACpB,oBAAoB,KAAK;IACzB,WAAW,EAAE,GAAG,CAAK;gBACD,EAAE,EAAE,WAAW,EAAU,aAAa,EAAE,aAAa,EAAU,QAAQ,EAAE,WAAW,EAAS,MAAM,EAAE,MAAM;IAC/H,QAAQ;IAqDR,gBAAgB,CAAC,GAAG,KAAA;IA8CpB,QAAQ,CAAC,MAAM,EAAE,OAAO;IAIxB,kBAAkB,CAAC,MAAM,EAAE,OAAO;IAIlC,UAAU,CAAC,KAAK,KAAA;IAahB,oBAAoB,CAAC,KAAK,KAAA;IAa1B,gBAAgB,CAAC,KAAK,EAAE,GAAG;IA6B3B,kBAAkB;IAQZ,oBAAoB,CAAC,KAAK,KAAA;IA+BhC,eAAe;IAgCf,cAAc;yCA7QH,kBAAkB;2CAAlB,kBAAkB;CAgR9B"}
@@ -0,0 +1,18 @@
1
+ import { MatDialogRef } 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 DeleteRoleMappingComponent {
6
+ dialogRef: MatDialogRef<DeleteRoleMappingComponent>;
7
+ data: any;
8
+ private sharedService;
9
+ private snackBar;
10
+ loading: boolean;
11
+ planData: any;
12
+ constructor(dialogRef: MatDialogRef<DeleteRoleMappingComponent>, data: any, sharedService: SharedService, snackBar: MatSnackBar);
13
+ deleteRoleMapping(): void;
14
+ cancel(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeleteRoleMappingComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeleteRoleMappingComponent, "app-delete-role-mapping", never, {}, {}, never, never, false, never>;
17
+ }
18
+ //# sourceMappingURL=delete-role-mapping.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-role-mapping.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/delete-role-mapping/delete-role-mapping.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAE7E,qBAKa,0BAA0B;IAIjB,SAAS,EAAE,YAAY,CAAC,0BAA0B,CAAC;IACrC,IAAI,EAAE,GAAG;IAAE,OAAO,CAAC,aAAa;IAChE,OAAO,CAAC,QAAQ;IAJlB,OAAO,UAAQ;IACf,QAAQ,EAAC,GAAG,CAAA;gBACQ,SAAS,EAAE,YAAY,CAAC,0BAA0B,CAAC,EACrC,IAAI,EAAE,GAAG,EAAU,aAAa,EAAE,aAAa,EACvE,QAAQ,EAAC,WAAW;IAI9B,iBAAiB;IAuBjB,MAAM;yCAjCK,0BAA0B;2CAA1B,0BAA0B;CAoCtC"}
@@ -0,0 +1,18 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { SharedService } from '../../modules/shared/services/shared.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DeleteRoleMappingPopupComponent {
5
+ dialogRef: MatDialogRef<DeleteRoleMappingPopupComponent>;
6
+ data: any;
7
+ sharedService: SharedService;
8
+ planData: any;
9
+ isViewCourse: boolean;
10
+ constructor(dialogRef: MatDialogRef<DeleteRoleMappingPopupComponent>, data: any, sharedService: SharedService);
11
+ confirmDelete(): void;
12
+ regenerateRoleMapping(): void;
13
+ cancel(event: any): void;
14
+ cancelCourse(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeleteRoleMappingPopupComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeleteRoleMappingPopupComponent, "app-delete-role-mapping-popup", never, {}, {}, never, never, false, never>;
17
+ }
18
+ //# sourceMappingURL=delete-role-mapping-popup.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-role-mapping-popup.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/delete-role-mapping-popup/delete-role-mapping-popup.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAmB,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAE7E,qBAKa,+BAA+B;IAKjC,SAAS,EAAE,YAAY,CAAC,+BAA+B,CAAC;IAC/B,IAAI,EAAE,GAAG;IAClC,aAAa,EAAE,aAAa;IANrC,QAAQ,EAAC,GAAG,CAAC;IACb,YAAY,UAAS;gBAGZ,SAAS,EAAE,YAAY,CAAC,+BAA+B,CAAC,EAC/B,IAAI,EAAE,GAAG,EAClC,aAAa,EAAE,aAAa;IAKrC,aAAa;IAIb,qBAAqB;IAIrB,MAAM,CAAC,KAAK,KAAA;IAKZ,YAAY;yCAzBD,+BAA+B;2CAA/B,+BAA+B;CA4B3C"}
@@ -0,0 +1,94 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
3
+ import { FormBuilder, FormGroup, FormArray, FormControl } from '@angular/forms';
4
+ import { MatSnackBar } from '@angular/material/snack-bar';
5
+ import { HttpClient } from '@angular/common/http';
6
+ import { SharedService } from '../../modules/shared/services/shared.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class EditCbpPlanComponent implements OnInit {
9
+ dialogRef: MatDialogRef<EditCbpPlanComponent>;
10
+ data: any;
11
+ private fb;
12
+ private cdRef;
13
+ private sharedService;
14
+ private snackBar;
15
+ private http;
16
+ selectedValue: string;
17
+ searchText: string;
18
+ planData: any;
19
+ competenciesCount: {
20
+ total: number;
21
+ behavioral: number;
22
+ functional: number;
23
+ domain: number;
24
+ };
25
+ cbpForm: FormGroup;
26
+ loading: boolean;
27
+ competenciesData: any[];
28
+ availableThemes: any[];
29
+ availableSubThemes: any[];
30
+ filteredThemes: any[];
31
+ filteredSubThemes: string[];
32
+ selectedCompetencyType: string;
33
+ selectedTheme: string;
34
+ selectedSubTheme: string;
35
+ manualTheme: string;
36
+ manualSubTheme: string;
37
+ themeSearchText: string;
38
+ subThemeSearchText: string;
39
+ editDomainCompetencyFlag: boolean;
40
+ editCompetencyIndex: number;
41
+ originalCompetencyValueArr: any;
42
+ desigantionFilterEnable: boolean;
43
+ isLoadingMoreDesignations: boolean;
44
+ designationOffset: number;
45
+ odcsDesignationCount: number;
46
+ defaultSearchDesignationCount: number;
47
+ designationListLoadCount: number;
48
+ designationDefaultLoadCount: number;
49
+ noMoreLegacyDesignations: boolean;
50
+ designationSearchText: string;
51
+ designationInitInProgress: boolean;
52
+ scrollListenerAttached: boolean;
53
+ dialogContent: ElementRef;
54
+ designationRef?: ElementRef;
55
+ masterData: any;
56
+ constructor(dialogRef: MatDialogRef<EditCbpPlanComponent>, data: any, fb: FormBuilder, cdRef: ChangeDetectorRef, sharedService: SharedService, snackBar: MatSnackBar, http: HttpClient);
57
+ ngOnInit(): void;
58
+ loadCompetenciesData(): void;
59
+ updateCompetencyCounts(): void;
60
+ initializeForm(): void;
61
+ private getDesignationSafe;
62
+ get roleResponsibilities(): FormArray;
63
+ searchData(): void;
64
+ applyFilter(): void;
65
+ getCompetenciesByType(type: string): any[];
66
+ closeDialog(): void;
67
+ saveRoleMapping(): void;
68
+ cancelForm(): void;
69
+ private markFormGroupPristineUntouched;
70
+ get competenciesArray(): any;
71
+ onCompetencyTypeChange(type: string): void;
72
+ onThemeChange(themeName: string): void;
73
+ onSubThemeChange(subThemeName: string): void;
74
+ addCompetency(): void;
75
+ resetCompetencyForm(): void;
76
+ filterThemes(searchText: string): void;
77
+ filterSubThemes(searchText: string): void;
78
+ canAddCompetency(): boolean;
79
+ deleteCompetency(comp: any): void;
80
+ editCompetency(comp: any): void;
81
+ cancelUpdate(): void;
82
+ updateCompetency(): void;
83
+ getDesignation(searchText?: string, offset?: number): void;
84
+ ensureSelectedDesignationExists(): void;
85
+ checkCurrentDesignationPresent(): void;
86
+ onDesignationDropdownClosed(): void;
87
+ designationSearch(evt: any): void;
88
+ setupScrollListener(opened: boolean): void;
89
+ onDesignationSelectScroll(event: any): void;
90
+ get searchDesignationControl(): FormControl;
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditCbpPlanComponent, never>;
92
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditCbpPlanComponent, "app-edit-cbp-plan", never, {}, {}, never, never, false, never>;
93
+ }
94
+ //# sourceMappingURL=edit-cbp-plan.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-cbp-plan.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/components/edit-cbp-plan/edit-cbp-plan.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAa,UAAU,EAAU,MAAM,EAAa,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAc,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;;AAC7E,qBAKa,oBAAqB,YAAW,MAAM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