@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,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./clickoutside.directive";
3
+ export declare class DirectiveModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DirectiveModule, [typeof i1.ClickOutsideDirective], never, [typeof i1.ClickOutsideDirective]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<DirectiveModule>;
7
+ }
8
+ //# sourceMappingURL=directive.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"directive.module.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/shared/directives/directive.module.ts"],"names":[],"mappings":";;AAGA,qBAUa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class OrderByNamePipe implements PipeTransform {
4
+ transform(value: any[], property?: string): any[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderByNamePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<OrderByNamePipe, "orderByName", false>;
7
+ }
8
+ //# sourceMappingURL=order-by-name.pipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-by-name.pipe.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/shared/pipes/order-by-name.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;;AAEpD,qBAGa,eAAgB,YAAW,aAAa;IACnD,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,QAAQ,GAAE,MAAe,GAAG,GAAG,EAAE;yCAD9C,eAAe;uCAAf,eAAe;CAY3B"}
@@ -0,0 +1,12 @@
1
+ import { WsEvents } from './events';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EventService {
4
+ private eventsChatbotSubject;
5
+ chatbotEvents$: import("rxjs").Observable<WsEvents.IWsEvents<any>>;
6
+ private eventsSubject;
7
+ events$: import("rxjs").Observable<WsEvents.IWsEvents<any>>;
8
+ dispatchChatbotEvent<T>(event: WsEvents.IWsEvents<T>): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
11
+ }
12
+ //# sourceMappingURL=event.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.service.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/shared/services/event.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;;AAGnC,qBAGa,YAAY;IACvB,OAAO,CAAC,oBAAoB,CAAyC;IAC9D,cAAc,qDAA2C;IAChE,OAAO,CAAC,aAAa,CAAyC;IACvD,OAAO,qDAAoC;IAElD,oBAAoB,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;yCANzC,YAAY;6CAAZ,YAAY;CAUxB"}
@@ -0,0 +1,200 @@
1
+ export declare namespace WsEvents {
2
+ interface IWsEventsFromWidget {
3
+ type: 'widget';
4
+ widgetType: string;
5
+ widgetSubType: string;
6
+ }
7
+ interface IWsEventsFromPage {
8
+ type: 'page';
9
+ pageUrl: string;
10
+ pageType: string;
11
+ }
12
+ enum WsEventType {
13
+ Action = "Action",
14
+ Telemetry = "Telemetry",
15
+ PageNavigation = "PageNavigation",
16
+ AccessRestrictedContentAccessed = "AccessRestrictedContentAccessed",
17
+ PageSlow = "PageSlow",
18
+ ErrorOccurred = "ErrorOccurred",
19
+ WidgetResolveError = "WidgetResolveError"
20
+ }
21
+ enum WsEventLogLevel {
22
+ Warn = "Warn",
23
+ Error = "Error",
24
+ Info = "Info",
25
+ Log = "Log",
26
+ Trace = "Trace"
27
+ }
28
+ enum WsAuditTypes {
29
+ Created = "Created",
30
+ Updated = "Updated",
31
+ Deleted = "Deleted"
32
+ }
33
+ enum WsTimeSpentType {
34
+ Page = "Page",
35
+ Player = "Player"
36
+ }
37
+ enum WsTimeSpentMode {
38
+ Play = "Play",
39
+ View = "View"
40
+ }
41
+ enum externalTelemetrypdata {
42
+ RBCP = "rbcp-web-ui"
43
+ }
44
+ interface IWsEvents<T> {
45
+ eventType: WsEventType;
46
+ eventLogLevel: WsEventLogLevel;
47
+ from: IWsEventsFromWidget | IWsEventsFromPage | string;
48
+ to: string;
49
+ data: T;
50
+ passThroughData?: any;
51
+ pageContext?: any;
52
+ }
53
+ enum EnumTelemetrySubType {
54
+ Init = "Init",
55
+ Interact = "Interact",
56
+ Loaded = "Loaded",
57
+ Unloaded = "Unloaded",
58
+ StateChange = "StateChange",
59
+ HeartBeat = "HeartBeat",
60
+ Search = "Search",
61
+ Feedback = "Feedback",
62
+ Impression = "Impression",
63
+ Chatbot = "Chatbot",
64
+ GetStarted = "Get Started",
65
+ cardContent = "card-cardContent"
66
+ }
67
+ interface ITelemetryPageContext {
68
+ pageId?: string;
69
+ module?: string;
70
+ pageIdExt?: string;
71
+ }
72
+ interface ITelemetryEdata {
73
+ type: string;
74
+ subType?: string;
75
+ id?: string;
76
+ pageid?: string;
77
+ }
78
+ interface ITelemetryTabData {
79
+ label: string;
80
+ index: number;
81
+ }
82
+ interface IWsEventTelemetry {
83
+ eventSubType: EnumTelemetrySubType;
84
+ pageContext?: ITelemetryPageContext;
85
+ }
86
+ enum EnumTelemetryPdfActivity {
87
+ PAGE_CHANGED = "PAGE_CHANGED",
88
+ FULLSCREEN_ACTIVATED = "FULLSCREEN_ACTIVATED",
89
+ FULLSCREEN_DEACTIVATED = "FULLSCREEN_DEACTIVATED",
90
+ ZOOM_CHANGE = "ZOOM_CHANGE",
91
+ NONE = "NONE"
92
+ }
93
+ interface IWsEventTelemetryPdfData extends IWsEventTelemetry {
94
+ activityType: EnumTelemetryPdfActivity;
95
+ currentPage: number;
96
+ totalPage: number;
97
+ activityStartedAt: Date | null;
98
+ object: any;
99
+ }
100
+ interface IWsEventTelemetrySurveyData extends IWsEventTelemetry {
101
+ object: any;
102
+ }
103
+ type WsEventTelemetryPDF = IWsEvents<IWsEventTelemetryPdfData>;
104
+ type WsEventTelemetrySurvey = IWsEvents<IWsEventTelemetrySurveyData>;
105
+ interface IWsEventTelemetryInteract extends IWsEventTelemetry {
106
+ edata: ITelemetryEdata;
107
+ object: any;
108
+ pageContext?: ITelemetryPageContext;
109
+ }
110
+ interface IWsEventTelemetryFeedback extends IWsEventTelemetry {
111
+ edata: ITelemetryEdata;
112
+ object: any;
113
+ pageContext?: ITelemetryPageContext;
114
+ }
115
+ interface IWsEventTelemetryImpression extends IWsEventTelemetry {
116
+ edata?: ITelemetryEdata;
117
+ object?: any;
118
+ pageContext?: ITelemetryPageContext;
119
+ }
120
+ interface IWsEventTelemetrySearch extends IWsEventTelemetry {
121
+ type: string;
122
+ subType?: string;
123
+ query?: string;
124
+ filters?: string;
125
+ size?: number;
126
+ locale?: any;
127
+ }
128
+ interface IWsEventTelemetryHeartBeat extends IWsEventTelemetry {
129
+ type: string;
130
+ id: string;
131
+ }
132
+ type WsEventTelemetryInteract = IWsEvents<IWsEventTelemetryInteract>;
133
+ type WsEventTelemetryFeedback = IWsEvents<IWsEventTelemetryFeedback>;
134
+ type WsEventTelemetryImpression = IWsEvents<IWsEventTelemetryImpression>;
135
+ type WsEventTelemetrySearch = IWsEvents<IWsEventTelemetrySearch>;
136
+ type WsEventTelemetryHeartBeat = IWsEvents<IWsEventTelemetryHeartBeat>;
137
+ enum EnumTelemetryMediaActivity {
138
+ PLAYED = "PLAYED",
139
+ PAUSED = "PAUSED",
140
+ SEEKED = "SEEKED",
141
+ ENDED = "ENDED",
142
+ VOLUME_CHANGE = "VOLUME_CHANGE",
143
+ MUTE = "MUTE",
144
+ UNMUTE = "UNMUTE",
145
+ PLAYBACK_SPEED_CHANGE = "PLAYBACK_SPEED_CHANGE",
146
+ FULLSCREEN_ACTIVATED = "FULLSCREEN_ACTIVATED",
147
+ FULLSCREEN_DEACTIVATED = "FULLSCREEN_DEACTIVATED",
148
+ PICTURE_IN_PICTURE_ACTIVATED = "PICTURE_IN_PICTURE_ACTIVATED",
149
+ PICTURE_IN_PICTURE_DEACTIVATED = "PICTURE_IN_PICTURE_DEACTIVATED",
150
+ NONE = "NONE"
151
+ }
152
+ enum EnumTelemetryMediaState {
153
+ PLAYING = "PLAYING",
154
+ PAUSED = "PAUSED",
155
+ ENDED = "ENDED",
156
+ BUFFERING = "BUFFERING",
157
+ NOT_STARTED = "NOT_STARTED"
158
+ }
159
+ interface IWsEventTelemetryMediaData extends IWsEventTelemetry {
160
+ currentState: EnumTelemetryMediaState;
161
+ activityType: EnumTelemetryMediaActivity;
162
+ currentTime: number | null;
163
+ totalTime: number | null;
164
+ maxedSeekedTime: number;
165
+ activityStartedAt?: Date | null;
166
+ }
167
+ type WsEventTelemetryMedia = IWsEvents<IWsEventTelemetryMediaData>;
168
+ enum EnumTelemetrymodules {
169
+ CONTENT = "content",
170
+ FEEDBACK = "feedback",
171
+ COURSE = "course",
172
+ PROGRAM = "program",
173
+ EXPLORE = "explore",
174
+ LEARN = "learn",
175
+ HOME = "home",
176
+ DASHBOARD = "dashboard",
177
+ SEARCH = "search",
178
+ DISCUSS = "Discuss",
179
+ COMPETENCY = "competency",
180
+ EVENTS = "events",
181
+ CAREER = "career",
182
+ PROFILE = "profile",
183
+ NETWORK = "network",
184
+ SUPPORT = "support"
185
+ }
186
+ enum EnumInteractTypes {
187
+ CLICK = "click"
188
+ }
189
+ enum EnumInteractSubTypes {
190
+ COURSE_TAB = "course-tab",
191
+ CAREER_TAB = "career-tab",
192
+ NETWORK_TAB = "network-tab",
193
+ COMPETENCY_TAB = "competency-tab",
194
+ PROFILE_EDIT_TAB = "profile-edit-tab",
195
+ DISCUSS_TAB = "discuss-tab",
196
+ EVENTS_TAB = "events-tab",
197
+ SIDE_MENU = "side-menu"
198
+ }
199
+ }
200
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/shared/services/events.ts"],"names":[],"mappings":"AAAA,yBAAiB,QAAQ,CAAC;IACxB,UAAiB,mBAAmB;QAClC,IAAI,EAAE,QAAQ,CAAA;QACd,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,EAAE,MAAM,CAAA;KACtB;IACD,UAAi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BAAiB;QACnE,YAAY,EAAE,uBAAuB,CAAA;QACrC,YAAY,EAAE,0BAA0B,CAAA;QACxC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;QACxB,eAAe,EAAE,MAAM,CAAA;QACvB,iBAAiB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;KAChC;IACD,KAAY,qBAAqB,GAAG,SAAS,CAAC,0BAA0B,CAAC,CAAA;IAEzE,KAAY,oBAAoB;QAC9B,OAAO,YAAY;QACnB,QAAQ,aAAa;QACrB,MAAM,WAAW;QACjB,OAAO,YAAY;QACnB,OAAO,YAAY;QACnB,KAAK,UAAU;QACf,IAAI,SAAS;QACb,SAAS,cAAc;QACvB,MAAM,WAAW;QACjB,OAAO,YAAY;QACnB,UAAU,eAAe;QACzB,MAAM,WAAW;QACjB,MAAM,WAAW;QACjB,OAAO,YAAY;QACnB,OAAO,YAAY;QACnB,OAAO,YAAY;KACpB;IACD,KAAY,iBAAiB;QAC3B,KAAK,UAAU;KAChB;IACD,KAAY,oBAAoB;QAC9B,UAAU,eAAe;QACzB,UAAU,eAAe;QACzB,WAAW,gBAAgB;QAC3B,cAAc,mBAAmB;QACjC,gBAAgB,qBAAqB;QACrC,WAAW,gBAAgB;QAC3B,UAAU,eAAe;QACzB,SAAS,cAAc;KACxB;CACF"}
@@ -0,0 +1,13 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InitService {
4
+ private http;
5
+ baseUrl: string;
6
+ configDetails: any;
7
+ constructor(http: HttpClient);
8
+ init(): Promise<void>;
9
+ private setConfiDetails;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<InitService>;
12
+ }
13
+ //# sourceMappingURL=init.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.service.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/shared/services/init.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAe,MAAM,sBAAsB,CAAA;;AAQ9D,qBAGa,WAAW;IAMpB,OAAO,CAAC,IAAI;IAJd,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,GAAG,CAAA;gBAGR,IAAI,EAAE,UAAU;IAKpB,IAAI;YAII,eAAe;yCAflB,WAAW;6CAAX,WAAW;CAoCvB"}
@@ -0,0 +1,21 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { InitService } from './init.service';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RoleMappingService {
6
+ private http;
7
+ private initSvc;
8
+ baseUrl: string;
9
+ configDetails: any;
10
+ screenWidth: number;
11
+ headers: any;
12
+ onResize(event: any): void;
13
+ constructor(http: HttpClient, initSvc: InitService);
14
+ setConfiDetails(configDetails?: any): void;
15
+ getConfig(): any;
16
+ getConfigDetails(): Observable<any>;
17
+ generateRoleMapping(reqBody: any, files: File | File[] | null, onChunk: (chunk: string) => void, onStart?: () => void, onEnd?: () => void, onError?: (error: any) => void): Promise<void>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleMappingService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoleMappingService>;
20
+ }
21
+ //# sourceMappingURL=role-mapping.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-mapping.service.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/shared/services/role-mapping.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAe,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;;AAMlC,qBAGa,kBAAkB;IAS3B,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,OAAO;IATjB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,GAAG,CAAA;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAC,GAAG,CAAA;IACX,QAAQ,CAAC,KAAK,KAAA;gBAIJ,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,WAAW;IAgB9B,eAAe,CAAC,aAAa,GAAE,GAAU;IAWzC,SAAS;IAMT,gBAAgB,IAAI,UAAU,CAAC,GAAG,CAAC;IAsH7B,mBAAmB,CACvB,OAAO,EAAE,GAAG,EACZ,KAAK,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,IAAI,EAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EAChC,OAAO,CAAC,EAAE,MAAM,IAAI,EACpB,KAAK,CAAC,EAAE,MAAM,IAAI,EAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,GAC7B,OAAO,CAAC,IAAI,CAAC;yCAxKL,kBAAkB;6CAAlB,kBAAkB;CAwR9B"}
@@ -0,0 +1,108 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable, Subject } from 'rxjs';
3
+ import { InitService } from './init.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SharedService {
6
+ private http;
7
+ private initSvc;
8
+ cbpPlanFinalObj: any;
9
+ baseUrl: string;
10
+ configDetails: any;
11
+ screenWidth: number;
12
+ headers: any;
13
+ summaryTriggerExecuted: Subject<unknown>;
14
+ loginSuccess: Subject<unknown>;
15
+ checkRoleMappingFormValidation: Subject<unknown>;
16
+ updateDesignationHierarchySubject: Subject<unknown>;
17
+ onResize(event: any): void;
18
+ constructor(http: HttpClient, initSvc: InitService);
19
+ setConfiDetails(configDetails?: any): void;
20
+ getConfig(): any;
21
+ getConfigDetails(): Observable<any>;
22
+ getcourses(): Observable<{
23
+ course: any[];
24
+ newsroom: any[];
25
+ gallary: any[];
26
+ testimonils: any[];
27
+ }>;
28
+ getPostalcourses(): Observable<{
29
+ course: any[];
30
+ newsroom: any[];
31
+ gallary: any[];
32
+ testimonils: any[];
33
+ }>;
34
+ getRailwaycourses(): Observable<{
35
+ course: any[];
36
+ newsroom: any[];
37
+ gallary: any[];
38
+ testimonils: any[];
39
+ }>;
40
+ getHallOfFame(): Observable<any>;
41
+ formateFeatureCourses(featureCourses: any): {
42
+ course: any[];
43
+ newsroom: any[];
44
+ gallary: any[];
45
+ testimonils: any[];
46
+ };
47
+ timeConvert(duration: number): string | 0;
48
+ getClientList(): Observable<Object>;
49
+ getTenders(): Observable<any>;
50
+ getNotifications(): Observable<any>;
51
+ getFormReadData(req: any): Observable<any>;
52
+ getMinistryData(ministryType: any): Observable<any>;
53
+ generateRoleMapping(reqBody: any, files?: File | File[]): Observable<any>;
54
+ getDepartmentList(ministryId: any): Observable<any>;
55
+ getRoleMappingByStateCenter(state_center_id: any): Observable<any>;
56
+ getRoleMappingByStateCenterAndDepartment(state_center_id: any, department_id: any): Observable<any>;
57
+ updateRoleMapping(role_mapping_id: any, reqBody: any): Observable<any>;
58
+ deleteRoleMapping(role_mapping_id: any): Observable<any>;
59
+ getRecommendedCourse(role_mapping_id: any): Observable<any>;
60
+ deleteCourseRecommendations(roleMapId: string): Observable<any>;
61
+ saveCourse(reqBody: any): Observable<any>;
62
+ updateCourse(reqBody: any, cbp_plan_id: any): Observable<any>;
63
+ getCourse(role_mapping_id: any): Observable<any>;
64
+ getIGOTSuggestedCourses(reqBody: any): Observable<any>;
65
+ getSuggestedCourses(role_mapping_id: any): Observable<any>;
66
+ saveSuggestedCourse(reqBody: any): Observable<any>;
67
+ addDesignation(reqBody: any): Observable<any>;
68
+ performLogin(reqBody: any): Observable<any>;
69
+ logout(): Observable<any>;
70
+ setCBPPlanLocalStorage(): void;
71
+ getCBPPlanLocalStorage(): any;
72
+ checkIfLogin(): boolean;
73
+ deleteRoleMappingByStateAndDepartment(state_center_id: any, department_id: any): Observable<any>;
74
+ addUserCourse(reqBody: any): Observable<any>;
75
+ getUserCourse(role_mapping_id: any): Observable<any>;
76
+ getCompetencyJson(): Observable<any>;
77
+ convert(seconds: number): string;
78
+ getUserProfile(): Observable<any>;
79
+ getUserRecommendationCourse(role_mapping_id: any): Observable<any>;
80
+ downloadPdf(state_center_id: string, context: string, language: string): import("rxjs").Subscription;
81
+ downloadPdfForDepartment(state_center_id: any, department_id: string, context: string, language: string): import("rxjs").Subscription;
82
+ getCenterBasedDepartment(state_center_id: any): Observable<any>;
83
+ downloadPdfForCourseRecommendation(state_center_id: any): import("rxjs").Subscription;
84
+ uploadDocument(reqBody: any, file?: File): Observable<any>;
85
+ getUploadedDocuments(reqBody: any): Observable<any>;
86
+ deleteFile(fileId: any): Observable<any>;
87
+ triggerFileSummary(fileId: any): Observable<any>;
88
+ downloadFile(fileId: string): Observable<Blob>;
89
+ deleteSummary(fileId: any): Observable<any>;
90
+ deleteRecommendedCourse(roleMappingId: string, courseIdentifier: string): Observable<any>;
91
+ getCbpPlansWithSelectedCourses(): any[];
92
+ getAdditionalParameterforSuggestedCourses(identifiers: any): Observable<any>;
93
+ updateDesignationHierarchy(reqBody: any): Observable<any>;
94
+ searchPublicDesignation(reqBody: any): Observable<any>;
95
+ getDashboardAdmin(reqBody: any): Observable<any>;
96
+ getDashboardGapAnalysisAdmin(reqBody: any): Observable<any>;
97
+ getDashboardPublic(reqBody: any): Observable<any>;
98
+ getDashboardGapAnalysisPublic(reqBody: any): Observable<any>;
99
+ getMatchedRoleMapping(reqBody: any): Observable<any>;
100
+ getApprovalRequests(reqBody: any): Observable<any>;
101
+ saveApprovalRequest(reqBody: any): Observable<any>;
102
+ searchPublicmdo(reqBody: any): Observable<any>;
103
+ viewApprovalRequests(request_id: any): Observable<any>;
104
+ revokeApprovalRequest(reqBody: any): Observable<any>;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
106
+ static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
107
+ }
108
+ //# sourceMappingURL=shared.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.service.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/shared/services/shared.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA2B,MAAM,sBAAsB,CAAC;AAG3E,OAAO,EAAmB,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AA8D7C,qBAIa,aAAa;IAgBtB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,OAAO;IAhBjB,eAAe,EAAE,GAAG,CAAK;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,GAAG,CAAA;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,GAAG,CAAA;IACZ,sBAAsB,mBAAgB;IACtC,YAAY,mBAAgB;IAC5B,8BAA8B,mBAAgB;IAC9C,iCAAiC,mBAAgB;IAEjD,QAAQ,CAAC,KAAK,KAAA;gBAKJ,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,WAAW;IAgB9B,eAAe,CAAC,aAAa,GAAE,GAAU;IAWzC,SAAS;IAMT,gBAAgB,IAAI,UAAU,CAAC,GAAG,CAAC;IAOnC,UAAU;;;;;;IAOV,gBAAgB;;;;;;IAOhB,iBAAiB;;;;;;IAOjB,aAAa;IAOb,qBAAqB,CAAC,cAAc,EAAE,GAAG;;;;;;IA2DzC,WAAW,CAAC,QAAQ,EAAE,MAAM;IAkB5B,aAAa;IAIb,UAAU;IAiBV,gBAAgB;IAgBhB,eAAe,CAAC,GAAG,EAAE,GAAG;IAQxB,eAAe,CAAC,YAAY,KAAA;IAmB5B,mBAAmB,CAAC,OAAO,KAAA,EAAE,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE;IAmElD,iBAAiB,CAAC,UAAU,KAAA;IAY5B,2BAA2B,CAAC,eAAe,KAAA;IAQ3C,wCAAwC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CAAC,IAAI,CAAC;IAS9C,aAAa,CAAC,MAAM,KAAA;IAQpB,uBAAuB,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM;IASvE,8BAA8B,IAAI,GAAG,EAAE;IAYvC,yCAAyC,CAAC,WAAW,KAAA;IA6BrD,0BAA0B,CAAC,OAAO,KAAA;IAQlC,uBAAuB,CAAC,OAAO,KAAA;IAQ/B,iBAAiB,CAAC,OAAO,KAAA;IAQzB,4BAA4B,CAAC,OAAO,KAAA;IAQpC,kBAAkB,CAAC,OAAO,KAAA;IAQ1B,6BAA6B,CAAC,OAAO,KAAA;IAQpC,qBAAqB,CAAC,OAAO,KAAA;IAQ9B,mBAAmB,CAAC,OAAO,KAAA;IAQ3B,mBAAmB,CAAC,OAAO,KAAA;IAQ1B,eAAe,CAAC,OAAO,KAAA;IAQxB,oBAAoB,CAAC,UAAU,KAAA;IAQ/B,qBAAqB,CAAC,OAAO,KAAA;yCA34BlB,aAAa;6CAAb,aAAa;CAm5BzB"}
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ProgressDialogComponent {
3
+ data: {
4
+ progress: number;
5
+ message: string;
6
+ };
7
+ constructor(data: {
8
+ progress: number;
9
+ message: string;
10
+ });
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressDialogComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressDialogComponent, "app-progress-dialog", never, {}, {}, never, never, false, never>;
13
+ }
14
+ //# sourceMappingURL=progress-dialog.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/upload-document-page/progress-dialog/progress-dialog.component.ts"],"names":[],"mappings":";AAGA,qBAsGa,uBAAuB;IACU,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;gBAA3C,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;yCAD5E,uBAAuB;2CAAvB,uBAAuB;CAInC"}
@@ -0,0 +1,29 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { SharedService } from '../../shared/services/shared.service';
3
+ import { MatSnackBar } from '@angular/material/snack-bar';
4
+ import { MatDialog } from '@angular/material/dialog';
5
+ import * as i0 from "@angular/core";
6
+ export declare class UploadDialogComponent {
7
+ dialogRef: MatDialogRef<UploadDialogComponent>;
8
+ sharedService: SharedService;
9
+ snackBar: MatSnackBar;
10
+ dialog: MatDialog;
11
+ readonly MAX_FILES = 10;
12
+ documentName: string;
13
+ selectedFiles: File[];
14
+ cbpFinalObj: any;
15
+ loading: boolean;
16
+ uploadedFileData: any;
17
+ constructor(dialogRef: MatDialogRef<UploadDialogComponent>, sharedService: SharedService, snackBar: MatSnackBar, dialog: MatDialog);
18
+ /** Already uploaded files count */
19
+ get uploadedCount(): number;
20
+ /** Uploaded + newly selected */
21
+ get totalFileCount(): number;
22
+ onFileSelected(event: Event): void;
23
+ removeFile(index: number): void;
24
+ upload(): void;
25
+ triggerFileSummary(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<UploadDialogComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadDialogComponent, "app-upload-dialog", never, {}, {}, never, never, false, never>;
28
+ }
29
+ //# sourceMappingURL=upload-dialog.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/upload-document-page/upload-dialog/upload-dialog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;;AAIrD,qBAKa,qBAAqB;IAWvB,SAAS,EAAE,YAAY,CAAC,qBAAqB,CAAC;IAC9C,aAAa,EAAE,aAAa;IAC5B,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IAZ1B,QAAQ,CAAC,SAAS,MAAM;IAExB,YAAY,SAAM;IAClB,aAAa,EAAE,IAAI,EAAE,CAAM;IAC3B,WAAW,EAAE,GAAG,CAAM;IACtB,OAAO,UAAS;IAChB,gBAAgB,EAAE,GAAG,CAAM;gBAGlB,SAAS,EAAE,YAAY,CAAC,qBAAqB,CAAC,EAC9C,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,WAAW,EACrB,MAAM,EAAE,SAAS;IAK1B,mCAAmC;IACnC,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,gCAAgC;IAChC,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAsClC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAsD/B,MAAM,IAAI,IAAI;IA2Dd,kBAAkB;yCApLP,qBAAqB;2CAArB,qBAAqB;CAkOjC"}
@@ -0,0 +1,64 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { SharedService } from '../shared/services/shared.service';
3
+ import { MatSnackBar } from '@angular/material/snack-bar';
4
+ import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
5
+ import { Router } from '@angular/router';
6
+ import { MatPaginator } from '@angular/material/paginator';
7
+ import { MatTableDataSource } from '@angular/material/table';
8
+ import * as i0 from "@angular/core";
9
+ export declare class UploadDocumentPageComponent {
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
+ sectorData: {
23
+ value: string;
24
+ }[];
25
+ searchText: string;
26
+ displayedColumns: string[];
27
+ cbpFinalObj: any;
28
+ departmentData: any;
29
+ documents: any[];
30
+ loading: boolean;
31
+ filteredMinistryData: any;
32
+ searchControl: FormControl;
33
+ panelOpen: boolean;
34
+ departmentPanelOpen: boolean;
35
+ filteredList: any[];
36
+ filteredDepartmentList: any[];
37
+ loginUserOrgIds: any[];
38
+ originalMinistryData: any[];
39
+ cbpPlanFinalObj: any;
40
+ constructor(dialog: MatDialog, sharedService: SharedService, snackBar: MatSnackBar, fb: FormBuilder, router: Router);
41
+ ngOnInit(): void;
42
+ ngAfterViewInit(): void;
43
+ getUploadedDocuments(): void;
44
+ openUploadDialog(): void;
45
+ filteredDocuments(): any[];
46
+ deleteDocument(docToDelete: any): void;
47
+ applyFilter(): void;
48
+ onMinistryTypeChange(event: any): void;
49
+ onMinistryChange(event: any): void;
50
+ filterMinistryData(searchText: any): void;
51
+ getMinistryData(): void;
52
+ routeToMain(): void;
53
+ viewSummary(doc: any): void;
54
+ downloadDoc(doc: any): void;
55
+ onOpened(opened: boolean): void;
56
+ onOpenedDepartment(opened: boolean): void;
57
+ filterData(event: any): void;
58
+ filterDepartmentData(event: any): void;
59
+ getUserProfileData(): void;
60
+ routeToInitial(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<UploadDocumentPageComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadDocumentPageComponent, "app-upload-document-page", never, {}, {}, never, never, false, never>;
63
+ }
64
+ //# sourceMappingURL=upload-document-page.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-document-page.component.d.ts","sourceRoot":"","sources":["../../../../../../library/sunbird-cb/cbp-ai/src/lib/modules/upload-document-page/upload-document-page.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAA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AIf,oBAAoB;IAyBpB,gBAAgB,IAAI,IAAI;IAsBxB,iBAAiB;IAKjB,cAAc,CAAC,WAAW,EAAE,GAAG;IAwC/B,WAAW;IAIX,oBAAoB,CAAC,KAAK,KAAA;IAazB,gBAAgB,CAAC,KAAK,EAAE,GAAG;IA8B5B,kBAAkB,CAAC,UAAU,KAAA;IAc3B,eAAe;IA6Bf,WAAW;IAIX,WAAW,CAAC,GAAG,KAAA;IAcf,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IA+B3B,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;yCAhYL,2BAA2B;2CAA3B,2BAA2B;CAoYvC"}
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pipe-public-URL.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PipePublicURLModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PipePublicURLModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PipePublicURLModule, [typeof i1.PipePublicURL], [typeof i2.CommonModule], [typeof i1.PipePublicURL]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PipePublicURLModule>;
8
+ }
9
+ //# sourceMappingURL=pipe-public-URL.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe-public-URL.module.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/cbp-ai/src/lib/pipe-public-URL/pipe-public-URL.module.ts"],"names":[],"mappings":";;;AAIA,qBAOa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAI"}
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { SharedService } from '../modules/shared/services/shared.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PipePublicURL implements PipeTransform {
5
+ private sharedSvc;
6
+ constructor(sharedSvc: SharedService);
7
+ transform(value: string): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PipePublicURL, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<PipePublicURL, "pipePublicURL", false>;
10
+ }
11
+ //# sourceMappingURL=pipe-public-URL.pipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe-public-URL.pipe.d.ts","sourceRoot":"","sources":["../../../../../library/sunbird-cb/cbp-ai/src/lib/pipe-public-URL/pipe-public-URL.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,aAAa,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;;AAC1E,qBAGa,aAAc,YAAW,aAAa;IACnC,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,aAAa;IAG9C,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG;yCAJlB,aAAa;uCAAb,aAAa;CAWzB"}
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@sunbird-cb/cbp-ai",
3
+ "version": "0.0.1",
4
+ "dependencies": {
5
+ "tslib": "^2.0.0"
6
+ },
7
+ "peerDependencies": {
8
+ "@angular/common": "^16.2.12",
9
+ "@angular/core": "^16.2.12",
10
+ "@sunbird-cb/design-system": "0.0.3",
11
+ "@sunbird-cb/utils-v2": "0.0.27-ang-13-16",
12
+ "@sunbird-cb/resolver-v2": "0.0.7-ang-13-16"
13
+ },
14
+ "module": "fesm2022/sunbird-cb-cbp-ai.mjs",
15
+ "typings": "index.d.ts",
16
+ "exports": {
17
+ "./package.json": {
18
+ "default": "./package.json"
19
+ },
20
+ ".": {
21
+ "types": "./index.d.ts",
22
+ "esm2022": "./esm2022/sunbird-cb-cbp-ai.mjs",
23
+ "esm": "./esm2022/sunbird-cb-cbp-ai.mjs",
24
+ "default": "./fesm2022/sunbird-cb-cbp-ai.mjs"
25
+ }
26
+ },
27
+ "sideEffects": false
28
+ }
@@ -0,0 +1,11 @@
1
+ export * from './lib/ai-cbp.service';
2
+ export * from './lib/ai-cbp.component';
3
+ export * from './lib/ai-cbp.module';
4
+ export * from './lib/modules/upload-document-page/upload-document-page.component';
5
+ export * from './lib/modules/initial-screen/initial-screen.component';
6
+ export * from './lib/components/role-mapping-generation/role-mapping-generation.component';
7
+ export * from './lib/components/role-mapping-list/role-mapping-list.component';
8
+ export * from './lib/components/approval-requests/approval-requests.component';
9
+ export * from './lib/components/dashboard/dashboard.component';
10
+ export * from './lib/components/review-request/review-request.component';
11
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../library/sunbird-cb/cbp-ai/src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,mEAAmE,CAAC;AAClF,cAAc,uDAAuD,CAAC;AAEtE,cAAc,4EAA4E,CAAC;AAC3F,cAAc,gEAAgE,CAAC;AAC/E,cAAc,gEAAgE,CAAC;AAC/E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0DAA0D,CAAC"}
Binary file
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sunbird-cb-cbp-ai.d.ts","sourceRoot":"","sources":["../../../library/sunbird-cb/cbp-ai/src/sunbird-cb-cbp-ai.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}