@sunbird-cb/toc 0.0.8 → 0.0.9-mauritius

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/esm2022/lib/_collection/_common/ai-tutor/ai-tutor.component.mjs +1169 -0
  2. package/esm2022/lib/_collection/_common/ai-tutor/socket.service.mjs +121 -0
  3. package/esm2022/lib/_collection/_common/card-competency/card-competency.component.mjs +58 -0
  4. package/esm2022/lib/_collection/_common/card-competency/card-competency.module.mjs +22 -0
  5. package/esm2022/lib/_collection/_common/card-content-v2/card-content-v2.model.mjs +23 -0
  6. package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.component.mjs +115 -12
  7. package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.module.mjs +5 -1
  8. package/esm2022/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.mjs +3 -3
  9. package/esm2022/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.mjs +32 -12
  10. package/esm2022/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.mjs +86 -7
  11. package/esm2022/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.mjs +294 -97
  12. package/esm2022/lib/_collection/_common/content-toc/content-toc.component.mjs +25 -37
  13. package/esm2022/lib/_collection/_common/content-toc/content-toc.module.mjs +7 -2
  14. package/esm2022/lib/_collection/_common/content-toc/karma-points/karma-points.component.mjs +70 -3
  15. package/esm2022/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.mjs +3 -3
  16. package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.component.mjs +6 -3
  17. package/esm2022/lib/_services/viewer-route-util.mjs +2 -2
  18. package/esm2022/lib/_services/widget-content.model.mjs +8 -1
  19. package/esm2022/lib/_services/widget-content.service.mjs +8 -8
  20. package/esm2022/lib/app-toc-lib.module.mjs +16 -7
  21. package/esm2022/lib/components/app-toc-cios-home/app-toc-cios-home.component.mjs +55 -8
  22. package/esm2022/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.mjs +3 -3
  23. package/esm2022/lib/components/app-toc-discussion/app-toc-discussion.component.mjs +3 -3
  24. package/esm2022/lib/components/app-toc-home/app-toc-home.component.mjs +7 -6
  25. package/esm2022/lib/components/app-toc-home-v2/app-toc-home-v2.component.mjs +187 -75
  26. package/esm2022/lib/components/enroll-profile-form/enroll-profile-form.component.mjs +22 -6
  27. package/esm2022/lib/components/public-survey-form/public-survey-form.component.mjs +5 -3
  28. package/esm2022/lib/models/user-profile.model.mjs +1 -1
  29. package/esm2022/lib/registration-toc-lib.config.mjs +14 -0
  30. package/esm2022/lib/routes/app-toc-home/app-toc-home.component.mjs +1 -1
  31. package/esm2022/lib/services/app-toc-v2.service.mjs +183 -58
  32. package/esm2022/lib/services/app-toc.service.mjs +328 -138
  33. package/esm2022/lib/services/certificate.service.mjs +54 -9
  34. package/esm2022/lib/services/discuss-utils.service.mjs +30 -43
  35. package/esm2022/lib/services/netcore.service.mjs +116 -46
  36. package/esm2022/lib/services/nps-grid.service.mjs +34 -22
  37. package/esm2022/lib/services/otp.service.mjs +63 -25
  38. package/esm2022/lib/services/profile-v2.service.mjs +47 -19
  39. package/esm2022/lib/services/root.service.mjs +106 -0
  40. package/esm2022/lib/services/user-profile.service.mjs +160 -35
  41. package/esm2022/lib/services/viewer-data.service.mjs +1 -1
  42. package/esm2022/lib/services/viewer-util.service.mjs +80 -43
  43. package/esm2022/public-api.mjs +11 -1
  44. package/fesm2022/sunbird-cb-toc.mjs +9524 -6778
  45. package/fesm2022/sunbird-cb-toc.mjs.map +1 -1
  46. package/index.d.ts +0 -1
  47. package/lib/_collection/_common/ai-tutor/ai-tutor.component.d.ts +139 -0
  48. package/lib/_collection/_common/ai-tutor/socket.service.d.ts +19 -0
  49. package/lib/_collection/_common/attendance-card/attendance-card.component.d.ts +0 -1
  50. package/lib/_collection/_common/attendance-card/attendance-card.module.d.ts +0 -1
  51. package/lib/_collection/_common/attendance-helper/attendance-helper.component.d.ts +0 -1
  52. package/lib/_collection/_common/attendance-helper/attendance-helper.module.d.ts +0 -1
  53. package/lib/_collection/_common/avatar-photo/avatar-photo.component.d.ts +0 -1
  54. package/lib/_collection/_common/avatar-photo/avatar-photo.module.d.ts +0 -1
  55. package/lib/_collection/_common/card-competency/card-competency.component.d.ts +14 -0
  56. package/lib/_collection/_common/card-competency/card-competency.module.d.ts +8 -0
  57. package/lib/_collection/_common/card-content-v2/card-content-v2.model.d.ts +44 -0
  58. package/lib/_collection/_common/certificate-dialog/certificate-dialog.component.d.ts +11 -3
  59. package/lib/_collection/_common/certificate-dialog/certificate-dialog.module.d.ts +12 -12
  60. package/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.d.ts +0 -1
  61. package/lib/_collection/_common/confirm-dialog/confirm-dialog.component.d.ts +0 -1
  62. package/lib/_collection/_common/confirm-dialog/confirm-dialog.module.d.ts +0 -1
  63. package/lib/_collection/_common/connection-hover-card/connection-hover-card.component.d.ts +0 -1
  64. package/lib/_collection/_common/connection-hover-card/connection-hover.module.d.ts +0 -1
  65. package/lib/_collection/_common/connection-hover-card/connection-hover.servive.d.ts +0 -1
  66. package/lib/_collection/_common/connection-name/connection-name.component.d.ts +0 -1
  67. package/lib/_collection/_common/connection-name/connection-name.module.d.ts +0 -1
  68. package/lib/_collection/_common/connection-name/profile-v2.model.d.ts +0 -1
  69. package/lib/_collection/_common/content-progress/content-progress.component.d.ts +0 -1
  70. package/lib/_collection/_common/content-progress/content-progress.module.d.ts +0 -1
  71. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.d.ts +0 -1
  72. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.d.ts +0 -1
  73. package/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.d.ts +1 -2
  74. package/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.d.ts +7 -4
  75. package/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.d.ts +0 -1
  76. package/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.d.ts +0 -1
  77. package/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.d.ts +0 -1
  78. package/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.d.ts +8 -1
  79. package/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.d.ts +48 -8
  80. package/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.d.ts +0 -1
  81. package/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.d.ts +0 -1
  82. package/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.d.ts +0 -1
  83. package/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.d.ts +0 -1
  84. package/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.d.ts +0 -1
  85. package/lib/_collection/_common/content-toc/content-services/handle-claim.service.d.ts +0 -1
  86. package/lib/_collection/_common/content-toc/content-services/review-component-data.service.d.ts +0 -1
  87. package/lib/_collection/_common/content-toc/content-toc.component.d.ts +6 -4
  88. package/lib/_collection/_common/content-toc/content-toc.module.d.ts +29 -29
  89. package/lib/_collection/_common/content-toc/karma-points/karma-points.component.d.ts +4 -2
  90. package/lib/_collection/_common/content-toc/karma-points/karma-points.module.d.ts +0 -1
  91. package/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.d.ts +0 -1
  92. package/lib/_collection/_common/content-toc/pipes/truncate.pipe.d.ts +0 -1
  93. package/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.d.ts +0 -1
  94. package/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.d.ts +0 -1
  95. package/lib/_collection/_common/display-content-type/display-content-type.component.d.ts +0 -1
  96. package/lib/_collection/_common/display-content-type/display-content-type.module.d.ts +0 -1
  97. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.d.ts +0 -1
  98. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.d.ts +0 -1
  99. package/lib/_collection/_common/mark-as-complete/mark-as-complete.component.d.ts +0 -1
  100. package/lib/_collection/_common/mark-as-complete/mark-as-complete.model.d.ts +0 -1
  101. package/lib/_collection/_common/mark-as-complete/mark-as-complete.module.d.ts +0 -1
  102. package/lib/_collection/_common/pipe-content-route/pipe-content-route.module.d.ts +0 -1
  103. package/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.d.ts +0 -1
  104. package/lib/_collection/_common/player-brief/player-brief.component.d.ts +0 -1
  105. package/lib/_collection/_common/player-brief/player-brief.module.d.ts +0 -1
  106. package/lib/_collection/_common/rating-summary/rating-summary.component.d.ts +0 -1
  107. package/lib/_collection/_common/rating-summary/rating-summary.module.d.ts +0 -1
  108. package/lib/_collection/_common/skeleton-loader/skeleton-loader.component.d.ts +0 -1
  109. package/lib/_collection/_common/skeleton-loader/skeleton-loader.module.d.ts +0 -1
  110. package/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.d.ts +0 -1
  111. package/lib/_collection/_common/tips-for-learner/tips-for-learner.module.d.ts +0 -1
  112. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.d.ts +0 -1
  113. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.d.ts +0 -1
  114. package/lib/_collection/_common/user-autocomplete/user-autocomplete.component.d.ts +0 -1
  115. package/lib/_collection/_common/user-autocomplete/user-autocomplete.model.d.ts +0 -1
  116. package/lib/_collection/_common/user-autocomplete/user-autocomplete.module.d.ts +0 -1
  117. package/lib/_collection/_common/user-autocomplete/user-autocomplete.service.d.ts +0 -1
  118. package/lib/_collection/_common/user-content-rating/user-content-rating.component.d.ts +0 -1
  119. package/lib/_collection/_common/user-content-rating/user-content-rating.module.d.ts +0 -1
  120. package/lib/_collection/_common/user-image/user-image.component.d.ts +0 -1
  121. package/lib/_collection/_common/user-image/user-image.module.d.ts +0 -1
  122. package/lib/_collection/btn-page-back/btn-page-back.component.d.ts +0 -1
  123. package/lib/_collection/btn-page-back/btn-page-back.module.d.ts +0 -1
  124. package/lib/_collection/btn-page-back/btn-page-back.service.d.ts +0 -1
  125. package/lib/_collection/card-rating-comment/card-rating-comment.component.d.ts +0 -1
  126. package/lib/_collection/card-rating-comment/card-rating-comment.module.d.ts +0 -1
  127. package/lib/_collection/sliders-dynamic/sliders-dynamic.component.d.ts +2 -2
  128. package/lib/_collection/sliders-dynamic/sliders-dynamic.model.d.ts +0 -1
  129. package/lib/_collection/sliders-dynamic/sliders-dynamic.module.d.ts +0 -1
  130. package/lib/_collection-api.d.ts +0 -1
  131. package/lib/_constants/widget-content.constants.d.ts +0 -1
  132. package/lib/_directives/tooltip.directive.d.ts +0 -1
  133. package/lib/_models/common.model.d.ts +0 -1
  134. package/lib/_models/error.model.d.ts +0 -1
  135. package/lib/_pipes/highlight.pipe.d.ts +0 -1
  136. package/lib/_services/rating.service.d.ts +0 -1
  137. package/lib/_services/samuhik-charcha.service.d.ts +0 -1
  138. package/lib/_services/viewer-route-util.d.ts +0 -1
  139. package/lib/_services/widget-content.model.d.ts +6 -1
  140. package/lib/_services/widget-content.service.d.ts +0 -1
  141. package/lib/_shared/translate-loader.factory.d.ts +0 -1
  142. package/lib/app-toc-lib.module.d.ts +2 -2
  143. package/lib/collection.config.d.ts +0 -1
  144. package/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.d.ts +0 -1
  145. package/lib/components/app-toc-banner/app-toc-banner.component.d.ts +0 -1
  146. package/lib/components/app-toc-cios-home/app-toc-cios-home.component.d.ts +5 -1
  147. package/lib/components/app-toc-cios-home/consent-dialog.component.d.ts +0 -1
  148. package/lib/components/app-toc-cohorts/app-toc-cohorts.component.d.ts +0 -1
  149. package/lib/components/app-toc-content-card/app-toc-content-card.component.d.ts +0 -1
  150. package/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.d.ts +0 -1
  151. package/lib/components/app-toc-discussion/app-toc-discussion.component.d.ts +0 -1
  152. package/lib/components/app-toc-home/app-toc-home.component.d.ts +3 -3
  153. package/lib/components/app-toc-home-v2/app-toc-home-v2.component.d.ts +13 -4
  154. package/lib/components/app-toc-overview/app-toc-overview.component.d.ts +0 -1
  155. package/lib/components/app-toc-session-card/app-toc-session-card.component.d.ts +0 -1
  156. package/lib/components/app-toc-sessions/app-toc-sessions.component.d.ts +0 -1
  157. package/lib/components/app-toc-single-page/app-toc-single-page.component.d.ts +0 -1
  158. package/lib/components/completion-survey-form/completion-survey-form.component.d.ts +0 -1
  159. package/lib/components/create-batch-dialog/create-batch-dialog.component.d.ts +0 -1
  160. package/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.d.ts +0 -1
  161. package/lib/components/enroll-profile-form/enroll-profile-form.component.d.ts +2 -1
  162. package/lib/components/enroll-questionnaire/enroll-questionnaire.component.d.ts +0 -1
  163. package/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.d.ts +0 -1
  164. package/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.d.ts +0 -1
  165. package/lib/components/public-survey-form/public-survey-form.component.d.ts +1 -1
  166. package/lib/components/survey-form-question/survey-form-question.component.d.ts +0 -1
  167. package/lib/components/survey-form-section/survey-form-section.component.d.ts +0 -1
  168. package/lib/models/app-toc-analytics.model.d.ts +0 -1
  169. package/lib/models/app-toc.model.d.ts +0 -1
  170. package/lib/models/auto-complete.model.d.ts +0 -1
  171. package/lib/models/card-content.model.d.ts +0 -1
  172. package/lib/models/content-strip-with-tabs.model.d.ts +0 -1
  173. package/lib/models/discussion-forum.model.d.ts +0 -1
  174. package/lib/models/goal.model.d.ts +0 -1
  175. package/lib/models/meta-tag.model.d.ts +0 -1
  176. package/lib/models/playlist.model.d.ts +0 -1
  177. package/lib/models/profile-revamp.model.d.ts +0 -1
  178. package/lib/models/rating.model.d.ts +0 -1
  179. package/lib/models/user-profile.model.d.ts +87 -1
  180. package/lib/registration-toc-lib.config.d.ts +4 -0
  181. package/lib/resolvers/app-toc-cios-resolver.service.d.ts +0 -1
  182. package/lib/resolvers/app-toc-cios-user-enroll-resolver.service.d.ts +0 -1
  183. package/lib/resolvers/app-toc-content-read-resolver.service.d.ts +0 -1
  184. package/lib/resolvers/app-toc-ext-public-resolver.service.d.ts +0 -1
  185. package/lib/resolvers/app-toc-resolver.service.d.ts +0 -1
  186. package/lib/resolvers/config-resolver.service.d.ts +0 -1
  187. package/lib/resolvers/profile-resolver.service.d.ts +0 -1
  188. package/lib/resolvers/restricted-features-resolver.service.d.ts +0 -1
  189. package/lib/routes/app-toc-home/app-toc-home.component.d.ts +0 -1
  190. package/lib/routes/app-toc-home/app-toc-home.directive.d.ts +0 -1
  191. package/lib/routes/app-toc-home/app-toc-home.service.d.ts +0 -1
  192. package/lib/services/access-control.service.d.ts +0 -1
  193. package/lib/services/action.service.d.ts +0 -1
  194. package/lib/services/app-toc-v2.service.d.ts +3 -1
  195. package/lib/services/app-toc.service.d.ts +29 -17
  196. package/lib/services/certificate.service.d.ts +5 -7
  197. package/lib/services/discuss-utils.service.d.ts +5 -28
  198. package/lib/services/editor.service.d.ts +0 -1
  199. package/lib/services/load-check.service.d.ts +0 -1
  200. package/lib/services/loader.service.d.ts +0 -1
  201. package/lib/services/mobile-apps.service.d.ts +0 -1
  202. package/lib/services/netcore.service.d.ts +16 -29
  203. package/lib/services/nps-grid.service.d.ts +11 -11
  204. package/lib/services/otp.service.d.ts +5 -11
  205. package/lib/services/profile-v2.service.d.ts +7 -11
  206. package/lib/services/reset-ratings.service.d.ts +0 -1
  207. package/lib/services/resource-download-helper.service.d.ts +0 -1
  208. package/lib/services/root.service.d.ts +26 -0
  209. package/lib/services/timer.service.d.ts +0 -1
  210. package/lib/services/title-tag.service.d.ts +0 -1
  211. package/lib/services/user-profile.service.d.ts +35 -16
  212. package/lib/services/viewer-data.service.d.ts +9 -6
  213. package/lib/services/viewer-util.service.d.ts +0 -1
  214. package/lib/share-toc/share-toc/share-toc.component.d.ts +0 -1
  215. package/lib/share-toc/share-toc.module.d.ts +0 -1
  216. package/package.json +3 -3
  217. package/public-api.d.ts +9 -1
  218. package/sunbird-cb-toc-0.0.9-mauritius.tgz +0 -0
  219. package/lib/_collection/_common/attendance-card/attendance-card.component.d.ts.map +0 -1
  220. package/lib/_collection/_common/attendance-card/attendance-card.module.d.ts.map +0 -1
  221. package/lib/_collection/_common/attendance-helper/attendance-helper.component.d.ts.map +0 -1
  222. package/lib/_collection/_common/attendance-helper/attendance-helper.module.d.ts.map +0 -1
  223. package/lib/_collection/_common/avatar-photo/avatar-photo.component.d.ts.map +0 -1
  224. package/lib/_collection/_common/avatar-photo/avatar-photo.module.d.ts.map +0 -1
  225. package/lib/_collection/_common/certificate-dialog/certificate-dialog.component.d.ts.map +0 -1
  226. package/lib/_collection/_common/certificate-dialog/certificate-dialog.module.d.ts.map +0 -1
  227. package/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.d.ts.map +0 -1
  228. package/lib/_collection/_common/confirm-dialog/confirm-dialog.component.d.ts.map +0 -1
  229. package/lib/_collection/_common/confirm-dialog/confirm-dialog.module.d.ts.map +0 -1
  230. package/lib/_collection/_common/connection-hover-card/connection-hover-card.component.d.ts.map +0 -1
  231. package/lib/_collection/_common/connection-hover-card/connection-hover.module.d.ts.map +0 -1
  232. package/lib/_collection/_common/connection-hover-card/connection-hover.servive.d.ts.map +0 -1
  233. package/lib/_collection/_common/connection-name/connection-name.component.d.ts.map +0 -1
  234. package/lib/_collection/_common/connection-name/connection-name.module.d.ts.map +0 -1
  235. package/lib/_collection/_common/connection-name/profile-v2.model.d.ts.map +0 -1
  236. package/lib/_collection/_common/content-progress/content-progress.component.d.ts.map +0 -1
  237. package/lib/_collection/_common/content-progress/content-progress.module.d.ts.map +0 -1
  238. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.d.ts.map +0 -1
  239. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.d.ts.map +0 -1
  240. package/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.d.ts.map +0 -1
  241. package/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.d.ts.map +0 -1
  242. package/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.d.ts.map +0 -1
  243. package/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.d.ts.map +0 -1
  244. package/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.d.ts.map +0 -1
  245. package/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.d.ts.map +0 -1
  246. package/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.d.ts.map +0 -1
  247. package/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.d.ts.map +0 -1
  248. package/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.d.ts.map +0 -1
  249. package/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.d.ts.map +0 -1
  250. package/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.d.ts.map +0 -1
  251. package/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.d.ts.map +0 -1
  252. package/lib/_collection/_common/content-toc/content-services/handle-claim.service.d.ts.map +0 -1
  253. package/lib/_collection/_common/content-toc/content-services/review-component-data.service.d.ts.map +0 -1
  254. package/lib/_collection/_common/content-toc/content-toc.component.d.ts.map +0 -1
  255. package/lib/_collection/_common/content-toc/content-toc.module.d.ts.map +0 -1
  256. package/lib/_collection/_common/content-toc/karma-points/karma-points.component.d.ts.map +0 -1
  257. package/lib/_collection/_common/content-toc/karma-points/karma-points.module.d.ts.map +0 -1
  258. package/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.d.ts.map +0 -1
  259. package/lib/_collection/_common/content-toc/pipes/truncate.pipe.d.ts.map +0 -1
  260. package/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.d.ts.map +0 -1
  261. package/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.d.ts.map +0 -1
  262. package/lib/_collection/_common/display-content-type/display-content-type.component.d.ts.map +0 -1
  263. package/lib/_collection/_common/display-content-type/display-content-type.module.d.ts.map +0 -1
  264. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.d.ts.map +0 -1
  265. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.d.ts.map +0 -1
  266. package/lib/_collection/_common/mark-as-complete/mark-as-complete.component.d.ts.map +0 -1
  267. package/lib/_collection/_common/mark-as-complete/mark-as-complete.model.d.ts.map +0 -1
  268. package/lib/_collection/_common/mark-as-complete/mark-as-complete.module.d.ts.map +0 -1
  269. package/lib/_collection/_common/pipe-content-route/pipe-content-route.module.d.ts.map +0 -1
  270. package/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.d.ts.map +0 -1
  271. package/lib/_collection/_common/player-brief/player-brief.component.d.ts.map +0 -1
  272. package/lib/_collection/_common/player-brief/player-brief.module.d.ts.map +0 -1
  273. package/lib/_collection/_common/rating-summary/rating-summary.component.d.ts.map +0 -1
  274. package/lib/_collection/_common/rating-summary/rating-summary.module.d.ts.map +0 -1
  275. package/lib/_collection/_common/skeleton-loader/skeleton-loader.component.d.ts.map +0 -1
  276. package/lib/_collection/_common/skeleton-loader/skeleton-loader.module.d.ts.map +0 -1
  277. package/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.d.ts.map +0 -1
  278. package/lib/_collection/_common/tips-for-learner/tips-for-learner.module.d.ts.map +0 -1
  279. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.d.ts.map +0 -1
  280. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.d.ts.map +0 -1
  281. package/lib/_collection/_common/user-autocomplete/user-autocomplete.component.d.ts.map +0 -1
  282. package/lib/_collection/_common/user-autocomplete/user-autocomplete.model.d.ts.map +0 -1
  283. package/lib/_collection/_common/user-autocomplete/user-autocomplete.module.d.ts.map +0 -1
  284. package/lib/_collection/_common/user-autocomplete/user-autocomplete.service.d.ts.map +0 -1
  285. package/lib/_collection/_common/user-content-rating/user-content-rating.component.d.ts.map +0 -1
  286. package/lib/_collection/_common/user-content-rating/user-content-rating.module.d.ts.map +0 -1
  287. package/lib/_collection/_common/user-image/user-image.component.d.ts.map +0 -1
  288. package/lib/_collection/_common/user-image/user-image.module.d.ts.map +0 -1
  289. package/lib/_collection/btn-page-back/btn-page-back.component.d.ts.map +0 -1
  290. package/lib/_collection/btn-page-back/btn-page-back.module.d.ts.map +0 -1
  291. package/lib/_collection/btn-page-back/btn-page-back.service.d.ts.map +0 -1
  292. package/lib/_collection/card-rating-comment/card-rating-comment.component.d.ts.map +0 -1
  293. package/lib/_collection/card-rating-comment/card-rating-comment.module.d.ts.map +0 -1
  294. package/lib/_collection/sliders-dynamic/sliders-dynamic.component.d.ts.map +0 -1
  295. package/lib/_collection/sliders-dynamic/sliders-dynamic.model.d.ts.map +0 -1
  296. package/lib/_collection/sliders-dynamic/sliders-dynamic.module.d.ts.map +0 -1
  297. package/lib/_collection-api.d.ts.map +0 -1
  298. package/lib/_constants/widget-content.constants.d.ts.map +0 -1
  299. package/lib/_directives/tooltip.directive.d.ts.map +0 -1
  300. package/lib/_models/common.model.d.ts.map +0 -1
  301. package/lib/_models/error.model.d.ts.map +0 -1
  302. package/lib/_pipes/highlight.pipe.d.ts.map +0 -1
  303. package/lib/_services/rating.service.d.ts.map +0 -1
  304. package/lib/_services/samuhik-charcha.service.d.ts.map +0 -1
  305. package/lib/_services/viewer-route-util.d.ts.map +0 -1
  306. package/lib/_services/widget-content.model.d.ts.map +0 -1
  307. package/lib/_services/widget-content.service.d.ts.map +0 -1
  308. package/lib/_shared/translate-loader.factory.d.ts.map +0 -1
  309. package/lib/app-toc-lib.module.d.ts.map +0 -1
  310. package/lib/collection.config.d.ts.map +0 -1
  311. package/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.d.ts.map +0 -1
  312. package/lib/components/app-toc-banner/app-toc-banner.component.d.ts.map +0 -1
  313. package/lib/components/app-toc-cios-home/app-toc-cios-home.component.d.ts.map +0 -1
  314. package/lib/components/app-toc-cios-home/consent-dialog.component.d.ts.map +0 -1
  315. package/lib/components/app-toc-cohorts/app-toc-cohorts.component.d.ts.map +0 -1
  316. package/lib/components/app-toc-content-card/app-toc-content-card.component.d.ts.map +0 -1
  317. package/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.d.ts.map +0 -1
  318. package/lib/components/app-toc-discussion/app-toc-discussion.component.d.ts.map +0 -1
  319. package/lib/components/app-toc-home/app-toc-home.component.d.ts.map +0 -1
  320. package/lib/components/app-toc-home-v2/app-toc-home-v2.component.d.ts.map +0 -1
  321. package/lib/components/app-toc-overview/app-toc-overview.component.d.ts.map +0 -1
  322. package/lib/components/app-toc-session-card/app-toc-session-card.component.d.ts.map +0 -1
  323. package/lib/components/app-toc-sessions/app-toc-sessions.component.d.ts.map +0 -1
  324. package/lib/components/app-toc-single-page/app-toc-single-page.component.d.ts.map +0 -1
  325. package/lib/components/completion-survey-form/completion-survey-form.component.d.ts.map +0 -1
  326. package/lib/components/create-batch-dialog/create-batch-dialog.component.d.ts.map +0 -1
  327. package/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.d.ts.map +0 -1
  328. package/lib/components/enroll-profile-form/enroll-profile-form.component.d.ts.map +0 -1
  329. package/lib/components/enroll-questionnaire/enroll-questionnaire.component.d.ts.map +0 -1
  330. package/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.d.ts.map +0 -1
  331. package/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.d.ts.map +0 -1
  332. package/lib/components/public-survey-form/public-survey-form.component.d.ts.map +0 -1
  333. package/lib/components/survey-form-question/survey-form-question.component.d.ts.map +0 -1
  334. package/lib/components/survey-form-section/survey-form-section.component.d.ts.map +0 -1
  335. package/lib/models/app-toc-analytics.model.d.ts.map +0 -1
  336. package/lib/models/app-toc.model.d.ts.map +0 -1
  337. package/lib/models/auto-complete.model.d.ts.map +0 -1
  338. package/lib/models/card-content.model.d.ts.map +0 -1
  339. package/lib/models/content-strip-with-tabs.model.d.ts.map +0 -1
  340. package/lib/models/discussion-forum.model.d.ts.map +0 -1
  341. package/lib/models/goal.model.d.ts.map +0 -1
  342. package/lib/models/meta-tag.model.d.ts.map +0 -1
  343. package/lib/models/playlist.model.d.ts.map +0 -1
  344. package/lib/models/profile-revamp.model.d.ts.map +0 -1
  345. package/lib/models/rating.model.d.ts.map +0 -1
  346. package/lib/models/user-profile.model.d.ts.map +0 -1
  347. package/lib/resolvers/app-toc-cios-resolver.service.d.ts.map +0 -1
  348. package/lib/resolvers/app-toc-cios-user-enroll-resolver.service.d.ts.map +0 -1
  349. package/lib/resolvers/app-toc-content-read-resolver.service.d.ts.map +0 -1
  350. package/lib/resolvers/app-toc-ext-public-resolver.service.d.ts.map +0 -1
  351. package/lib/resolvers/app-toc-resolver.service.d.ts.map +0 -1
  352. package/lib/resolvers/config-resolver.service.d.ts.map +0 -1
  353. package/lib/resolvers/profile-resolver.service.d.ts.map +0 -1
  354. package/lib/resolvers/restricted-features-resolver.service.d.ts.map +0 -1
  355. package/lib/routes/app-toc-home/app-toc-home.component.d.ts.map +0 -1
  356. package/lib/routes/app-toc-home/app-toc-home.directive.d.ts.map +0 -1
  357. package/lib/routes/app-toc-home/app-toc-home.service.d.ts.map +0 -1
  358. package/lib/services/access-control.service.d.ts.map +0 -1
  359. package/lib/services/action.service.d.ts.map +0 -1
  360. package/lib/services/app-toc-v2.service.d.ts.map +0 -1
  361. package/lib/services/app-toc.service.d.ts.map +0 -1
  362. package/lib/services/certificate.service.d.ts.map +0 -1
  363. package/lib/services/discuss-utils.service.d.ts.map +0 -1
  364. package/lib/services/editor.service.d.ts.map +0 -1
  365. package/lib/services/load-check.service.d.ts.map +0 -1
  366. package/lib/services/loader.service.d.ts.map +0 -1
  367. package/lib/services/mobile-apps.service.d.ts.map +0 -1
  368. package/lib/services/netcore.service.d.ts.map +0 -1
  369. package/lib/services/nps-grid.service.d.ts.map +0 -1
  370. package/lib/services/otp.service.d.ts.map +0 -1
  371. package/lib/services/profile-v2.service.d.ts.map +0 -1
  372. package/lib/services/reset-ratings.service.d.ts.map +0 -1
  373. package/lib/services/resource-download-helper.service.d.ts.map +0 -1
  374. package/lib/services/timer.service.d.ts.map +0 -1
  375. package/lib/services/title-tag.service.d.ts.map +0 -1
  376. package/lib/services/user-profile.service.d.ts.map +0 -1
  377. package/lib/services/viewer-data.service.d.ts.map +0 -1
  378. package/lib/services/viewer-util.service.d.ts.map +0 -1
  379. package/lib/share-toc/share-toc/share-toc.component.d.ts.map +0 -1
  380. package/lib/share-toc/share-toc.module.d.ts.map +0 -1
  381. package/public-api.d.ts.map +0 -1
  382. package/sunbird-cb-toc.d.ts.map +0 -1
@@ -10,4 +10,3 @@ export declare class AppTocExtPublicResolverService implements Resolve<Observabl
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocExtPublicResolverService, never>;
11
11
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocExtPublicResolverService>;
12
12
  }
13
- //# sourceMappingURL=app-toc-ext-public-resolver.service.d.ts.map
@@ -14,4 +14,3 @@ export declare class AppTocResolverService {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocResolverService, never>;
15
15
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocResolverService>;
16
16
  }
17
- //# sourceMappingURL=app-toc-resolver.service.d.ts.map
@@ -9,4 +9,3 @@ export declare class ConfigResolverService {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigResolverService, never>;
10
10
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigResolverService>;
11
11
  }
12
- //# sourceMappingURL=config-resolver.service.d.ts.map
@@ -9,4 +9,3 @@ export declare class ProfileResolverService {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ProfileResolverService, never>;
10
10
  static ɵprov: i0.ɵɵInjectableDeclaration<ProfileResolverService>;
11
11
  }
12
- //# sourceMappingURL=profile-resolver.service.d.ts.map
@@ -9,4 +9,3 @@ export declare class RestrictedFeaturesResolverService {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<RestrictedFeaturesResolverService, never>;
10
10
  static ɵprov: i0.ɵɵInjectableDeclaration<RestrictedFeaturesResolverService>;
11
11
  }
12
- //# sourceMappingURL=restricted-features-resolver.service.d.ts.map
@@ -17,4 +17,3 @@ export declare class AppTocHomeComponent implements OnInit {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocHomeComponent, never>;
18
18
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocHomeComponent, "ws-app-app-toc-home-root", never, { "forPreview": { "alias": "forPreview"; "required": false; }; }, {}, never, never, false, never>;
19
19
  }
20
- //# sourceMappingURL=app-toc-home.component.d.ts.map
@@ -6,4 +6,3 @@ export declare class AppTocHomeDirective {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocHomeDirective, never>;
7
7
  static ɵdir: i0.ɵɵDirectiveDeclaration<AppTocHomeDirective, "[wsAppAppTocHome]", never, {}, {}, never, never, false, never>;
8
8
  }
9
- //# sourceMappingURL=app-toc-home.directive.d.ts.map
@@ -6,4 +6,3 @@ export declare class AppTocHomeService {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocHomeService, never>;
7
7
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocHomeService>;
8
8
  }
9
- //# sourceMappingURL=app-toc-home.service.d.ts.map
@@ -27,4 +27,3 @@ export declare class AccessControlService {
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AccessControlService, never>;
28
28
  static ɵprov: i0.ɵɵInjectableDeclaration<AccessControlService>;
29
29
  }
30
- //# sourceMappingURL=access-control.service.d.ts.map
@@ -7,4 +7,3 @@ export declare class ActionService {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionService, never>;
8
8
  static ɵprov: i0.ɵɵInjectableDeclaration<ActionService>;
9
9
  }
10
- //# sourceMappingURL=action.service.d.ts.map
@@ -1,15 +1,17 @@
1
1
  import { AppTocService } from './app-toc.service';
2
+ import { NsContent } from '@sunbird-cb/utils-v2';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class AppTocV2Service {
4
5
  private tocSvc;
5
6
  constructor(tocSvc: AppTocService);
6
7
  constructHeirarchyData(contentReadData: any): any;
8
+ mapModuleCount(content: NsContent.IContent): void;
7
9
  mapContentHierarchyProgressUpdate(contentHeirarchyData: any, enrollmentListData: any): any;
8
10
  private updateMilestoneProgress;
9
11
  private updateNodeProgress;
10
12
  private updateCourseProgress;
13
+ private getCompletedLeafNodesCount;
11
14
  private findEnrollment;
12
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocV2Service, never>;
13
16
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocV2Service>;
14
17
  }
15
- //# sourceMappingURL=app-toc-v2.service.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { Data } from '@angular/router';
2
- import { Subject, Observable, Subscription, BehaviorSubject } from 'rxjs';
2
+ import { Subject, Observable, Subscription, BehaviorSubject, ReplaySubject } from 'rxjs';
3
3
  import { HttpClient } from '@angular/common/http';
4
4
  import { NsContent } from '../_services/widget-content.model';
5
5
  import { WidgetContentService } from '../_services/widget-content.service';
@@ -17,6 +17,11 @@ export declare class AppTocService {
17
17
  batchReplaySubject: Subject<any>;
18
18
  setBatchDataSubject: Subject<any>;
19
19
  getSelectedBatch: Subject<any>;
20
+ /**
21
+ * Helper function to ensure completionStatus is always a number
22
+ * Converts string values to 0 and ensures valid number range (0, 1, 2)
23
+ */
24
+ private safeCompletionStatus;
20
25
  setWFDataSubject: Subject<any>;
21
26
  resumeData: Subject<NsContent.IContinueLearningData | null>;
22
27
  private showSubtitleOnBanners;
@@ -32,6 +37,7 @@ export declare class AppTocService {
32
37
  getPageScroll: BehaviorSubject<boolean>;
33
38
  updatePageScroll: Observable<boolean>;
34
39
  hashmap: any;
40
+ private currentRootContentId;
35
41
  hashmapUpdated: BehaviorSubject<any>;
36
42
  hashmapUpdated$: Observable<any>;
37
43
  private transriptionDataSubject;
@@ -39,7 +45,7 @@ export declare class AppTocService {
39
45
  transriptionActiveLanguageDataObject: BehaviorSubject<any>;
40
46
  transriptionActiveLanguageDataObject$: Observable<any>;
41
47
  transriptionIdentifier: Subject<unknown>;
42
- changeTranscriptionLanguageEvent: Subject<unknown>;
48
+ changeTranscriptionLanguageEvent: ReplaySubject<unknown>;
43
49
  playTranscriptionVideo: Subject<unknown>;
44
50
  constructor(http: HttpClient, contentLangSvc: ContentLanguageService, configSvc: ConfigurationsService, widgetSvc: WidgetContentService);
45
51
  get subtitleOnBanners(): boolean;
@@ -71,6 +77,11 @@ export declare class AppTocService {
71
77
  fetchContentAnalyticsData(contentId: string): void;
72
78
  private getContentAnalytics;
73
79
  clearAnalyticsData(): void;
80
+ /**
81
+ * Reset hashmap and related content data
82
+ * Call this when navigating away from content to prevent stale data
83
+ */
84
+ resetContentData(): void;
74
85
  fetchContentParents(contentId: string): Observable<NsContent.IContentMinimal[]>;
75
86
  fetchContentWhatsNext(contentId: string, contentType?: string): Observable<NsContent.IContentMinimal[]>;
76
87
  fetchMoreLikeThisPaid(contentId: string): Observable<NsContent.IContentMinimal[]>;
@@ -94,21 +105,9 @@ export declare class AppTocService {
94
105
  findEnrolmentByCollectionId(enrolmentList: any, identifier: string): any;
95
106
  mapCompletionChildPercentageProgram(course: any): Promise<void>;
96
107
  mapModuleDurationAndProgress(content: NsContent.IContent | null, parent: NsContent.IContent | null): void;
97
- createHirarchyProgressHashmap(hierarchyData: NsContent.IContent, rootCourseCategory?: string): void;
108
+ createHirarchyProgressHashmap(hierarchyData: NsContent.IContent, rootCourseCategory?: string, parentId?: string): void;
98
109
  createPreAssessmentHirarchyProgressHashmap(hierarchyData: NsContent.IContent): void;
99
110
  callHirarchyProgressHashmap(hierarchyData: NsContent.IContent | null): void;
100
- /**
101
- * Pre-compute milestone locking status for all milestones in Learning Pathway
102
- * This avoids expensive calculations in component getters
103
- *
104
- * Locking Rules:
105
- * 0. If user is not enrolled, ALL milestones are locked
106
- * 1. All milestones are locked by default
107
- * 2. Milestone 1 (M1) unlocks when pre-assessment is completed
108
- * 3. Milestone N (N > 1) unlocks when:
109
- * - All mandatory learning items in Milestone N-1 are completed
110
- * - The assessment of Milestone N-1 is completed
111
- */
112
111
  computeMilestoneLockingStatus(isEnrolled?: boolean): void;
113
112
  /**
114
113
  * Trigger milestone lock update when hashmap progress is updated externally
@@ -122,7 +121,8 @@ export declare class AppTocService {
122
121
  private checkPreAssessmentCompletion;
123
122
  /**
124
123
  * Check if a milestone's assessment is completed
125
- * Searches for any assessment type (Course Assessment, Final Assessment, etc.) that belongs to this milestone
124
+ * ONLY checks the milestone assessment (Course Assessment that is a direct child of the milestone)
125
+ * Does NOT check assessments nested inside courses within the milestone
126
126
  */
127
127
  private checkMilestoneAssessmentComplete;
128
128
  /**
@@ -134,6 +134,19 @@ export declare class AppTocService {
134
134
  * Check if a content item is a child (direct or nested) of a milestone
135
135
  */
136
136
  private isChildOfMilestone;
137
+ /**
138
+ * Compute assessment locking within an unlocked milestone
139
+ * Assessment locks until all mandatory courses in the milestone are completed
140
+ */
141
+ private computeAssessmentLockingInMilestone;
142
+ /**
143
+ * Mark all children of a milestone as parent-locked or unlocked
144
+ */
145
+ private markMilestoneChildrenAsParentLocked;
146
+ /**
147
+ * Recursively mark nested children as parent-locked
148
+ */
149
+ private markNestedChildrenAsParentLocked;
137
150
  getCalculationsFromChildren(item: NsContent.IContent): NsContent.IContent;
138
151
  fetchContentHistoryV2(req: NsContent.IContinueLearningDataReq): Observable<NsContent.IContinueLearningData>;
139
152
  dowonloadCertificate(certId: any): Observable<any>;
@@ -175,4 +188,3 @@ export declare class AppTocService {
175
188
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocService, never>;
176
189
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocService>;
177
190
  }
178
- //# sourceMappingURL=app-toc.service.d.ts.map
@@ -1,10 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { HttpClient } from '@angular/common/http';
3
3
  import * as i0 from "@angular/core";
4
- /**
5
- * Certificate Service
6
- * Handles certificate-related operations
7
- */
8
4
  export declare class CertificateService {
9
5
  private http;
10
6
  private readonly PROXY_SLAG_V8;
@@ -28,16 +24,18 @@ export declare class CertificateService {
28
24
  /**
29
25
  * Download certificate v2
30
26
  */
31
- downloadCertificate_v2(certId: string): Observable<Blob>;
27
+ downloadCertificate_v2(certId: string): Observable<any>;
32
28
  /**
33
29
  * Validate enrollment eligibility
34
30
  */
35
- validateEnrollmentEligibility(contentId: string, partnerId: string): Observable<any>;
31
+ validateEnrollmentEligibility(courseId: string, partnerId: string): Observable<any>;
36
32
  /**
37
33
  * Submit consent for content
38
34
  */
39
35
  consentSubmit(request: any): Observable<any>;
36
+ downloadCertificate_v3(certId: string): Observable<any>;
37
+ validateCertificate(data: any): Observable<any>;
38
+ searchCertificate(recipientId: string): Observable<any>;
40
39
  static ɵfac: i0.ɵɵFactoryDeclaration<CertificateService, never>;
41
40
  static ɵprov: i0.ɵɵInjectableDeclaration<CertificateService>;
42
41
  }
43
- //# sourceMappingURL=certificate.service.d.ts.map
@@ -1,34 +1,11 @@
1
- import { Observable } from 'rxjs';
2
- import { HttpClient } from '@angular/common/http';
3
1
  import * as i0 from "@angular/core";
4
- /**
5
- * Discuss Utils Service
6
- * Handles discussion forum related utilities
7
- */
8
2
  export declare class DiscussUtilsService {
9
- private http;
10
- constructor(http: HttpClient);
11
- /**
12
- * Get discussion forum configuration
13
- */
14
- getDiscussionConfig(): any;
15
- /**
16
- * Set discussion forum configuration
17
- */
3
+ discussionCnfig: any;
4
+ constructor();
5
+ stringToColor(str: string): string;
6
+ getContrast(_hexcolor: any): string;
18
7
  setDiscussionConfig(config: any): void;
19
- /**
20
- * Navigate to discussion forum
21
- */
22
- navigateToDiscussion(contentId: string): void;
23
- /**
24
- * Get discussion count for content
25
- */
26
- getDiscussionCount(contentId: string): Observable<number>;
27
- /**
28
- * Set discussion configuration (alias)
29
- */
30
- setDiscussConfig(config: any): void;
8
+ getDiscussionConfig(): any;
31
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DiscussUtilsService, never>;
32
10
  static ɵprov: i0.ɵɵInjectableDeclaration<DiscussUtilsService>;
33
11
  }
34
- //# sourceMappingURL=discuss-utils.service.d.ts.map
@@ -15,4 +15,3 @@ export declare class EditorService {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
16
16
  static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
17
17
  }
18
- //# sourceMappingURL=editor.service.d.ts.map
@@ -6,4 +6,3 @@ export declare class LoadCheckService {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<LoadCheckService, never>;
7
7
  static ɵprov: i0.ɵɵInjectableDeclaration<LoadCheckService>;
8
8
  }
9
- //# sourceMappingURL=load-check.service.d.ts.map
@@ -14,4 +14,3 @@ export declare class LoaderService {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
15
15
  static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
16
16
  }
17
- //# sourceMappingURL=loader.service.d.ts.map
@@ -36,4 +36,3 @@ export declare class MobileAppsService {
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<MobileAppsService, never>;
37
37
  static ɵprov: i0.ɵɵInjectableDeclaration<MobileAppsService>;
38
38
  }
39
- //# sourceMappingURL=mobile-apps.service.d.ts.map
@@ -1,34 +1,21 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { ConfigurationsService } from '@sunbird-cb/utils-v2';
3
+ import { Observable } from 'rxjs';
1
4
  import * as i0 from "@angular/core";
2
- /**
3
- * NetCore Service stub
4
- * Handles NetCore integration for analytics
5
- *
6
- * Note: This is a minimal stub. The consuming application should provide
7
- * a proper implementation if full functionality is needed.
8
- */
9
5
  export declare class NetCoreService {
10
- constructor();
11
- /**
12
- * Track event
13
- */
14
- trackEvent(eventName: string, eventData?: any): void;
15
- /**
16
- * Track page view
17
- */
18
- trackPageView(pageName: string, pageData?: any): void;
19
- /**
20
- * Set user properties
21
- */
22
- setUserProperties(properties: any): void;
23
- /**
24
- * Log out user
25
- */
26
- logout(): void;
27
- /**
28
- * Track event for content and event
29
- */
30
- trackEventForContentAndEvent(eventType: string, userId: string, payload: any): void;
6
+ private http;
7
+ configSvc: ConfigurationsService;
8
+ constructor(http: HttpClient, configSvc: ConfigurationsService);
9
+ getOrgReadData(organisationId: string): Observable<any>;
10
+ netCoreConfigReadData(payload: any): Observable<any>;
11
+ formReadData(request: any): Observable<any>;
12
+ netCoreUserLoginSetup(payload: any): void;
13
+ netCoreUserNameUpdate(payload: any): void;
14
+ netCoreUserProfilePhotoUpdate(payload: any): void;
15
+ netCoreUserProfilepdate(payload: any): void;
16
+ netCoreUserProfileUpdateEvent(payload: any, eventName: any, userIdentifier: any): void;
17
+ trackEvent(eventName: any, userIdentifier: any, userpayload?: any): void;
18
+ trackEventForContentAndEvent(eventName: any, userIdentifier: any, contentpayload?: any): void;
31
19
  static ɵfac: i0.ɵɵFactoryDeclaration<NetCoreService, never>;
32
20
  static ɵprov: i0.ɵɵInjectableDeclaration<NetCoreService>;
33
21
  }
34
- //# sourceMappingURL=netcore.service.d.ts.map
@@ -1,16 +1,16 @@
1
- import { Observable } from 'rxjs';
1
+ import { HttpClient } from '@angular/common/http';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * NPS Grid Service - Stub implementation
5
- * Provides NPS grid/survey functionality
6
- */
7
3
  export declare class NPSGridService {
8
- constructor();
9
- getGridData(): Observable<any>;
10
- submitGridResponse(data: any): Observable<any>;
11
- getGridConfig(): Observable<any>;
12
- submitBpFormWithProfileDetails(formData: any, profileData?: any): Observable<any>;
4
+ private http;
5
+ private telemetryEvents;
6
+ updateTelemetryDataObservable: import("rxjs").Observable<boolean>;
7
+ constructor(http: HttpClient);
8
+ updateTelemetryData(state: boolean): void;
9
+ getFeedStatus(id: any): import("rxjs").Observable<any>;
10
+ getFormData(formid: any): import("rxjs").Observable<any>;
11
+ submitPlatformRating(req: any): import("rxjs").Observable<any>;
12
+ deleteFeed(req: any): import("rxjs").Observable<any>;
13
+ submitBpFormWithProfileDetails(req: any): import("rxjs").Observable<any>;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NPSGridService, never>;
14
15
  static ɵprov: i0.ɵɵInjectableDeclaration<NPSGridService>;
15
16
  }
16
- //# sourceMappingURL=nps-grid.service.d.ts.map
@@ -1,21 +1,15 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
- /**
5
- * OTP Service - Stub implementation
6
- * Provides OTP generation and verification functionality
7
- */
8
4
  export declare class OtpService {
9
5
  private http;
10
6
  constructor(http: HttpClient);
11
- generateOtp(mobileNumber: string): Observable<any>;
12
- verifyOtp(mobileNumber: string, otp: string): Observable<any>;
13
- resendOtp(mobileNumber: string): Observable<any>;
14
- sendOtp(mobileNumber: string): Observable<any>;
7
+ sendOtp(mob: number): Observable<any>;
8
+ resendOtp(mob: number): Observable<Object>;
9
+ verifyOTP(otp: string, mob: number): Observable<Object>;
15
10
  sendEmailOtp(email: string): Observable<any>;
16
- verifyEmailOTP(email: string, otp: string): Observable<any>;
17
- verifyOTP(mobileNumber: string, otp: string): Observable<any>;
11
+ reSendEmailOtp(email: string): Observable<any>;
12
+ verifyEmailOTP(otp: any, email: number): Observable<Object>;
18
13
  static ɵfac: i0.ɵɵFactoryDeclaration<OtpService, never>;
19
14
  static ɵprov: i0.ɵɵInjectableDeclaration<OtpService>;
20
15
  }
21
- //# sourceMappingURL=otp.service.d.ts.map
@@ -1,21 +1,17 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { NSProfileDataV2 } from '../_collection/_common/connection-name/profile-v2.model';
3
4
  import * as i0 from "@angular/core";
4
- /**
5
- * Profile V2 Service - Stub implementation
6
- * Provides profile management functionality
7
- */
8
5
  export declare class ProfileV2Service {
9
6
  private http;
10
7
  constructor(http: HttpClient);
11
- getProfile(userId: string): Observable<any>;
12
- updateProfile(profileData: any): Observable<any>;
13
- getProfileDetails(userId: string): Observable<any>;
14
- getFormV2ByID(formId: string): Observable<any>;
8
+ fetchDiscussProfile(wid: string): Observable<any>;
9
+ fetchProfile(userId: string): Observable<NSProfileDataV2.IProfile>;
10
+ fetchPost(request: any): Observable<any>;
15
11
  fetchCadre(): Observable<any>;
16
- fetchApprovalDetails(userId?: string): Observable<any>;
17
- withDrawApprovalRequest(userId: string, wfId?: string): Observable<any>;
12
+ fetchApprovalDetails(): Observable<any>;
13
+ withDrawApprovalRequest(userId: string, wfId: string): Observable<any>;
14
+ getFormV2ByID(formid: any): Observable<any>;
18
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ProfileV2Service, never>;
19
16
  static ɵprov: i0.ɵɵInjectableDeclaration<ProfileV2Service>;
20
17
  }
21
- //# sourceMappingURL=profile-v2.service.d.ts.map
@@ -6,4 +6,3 @@ export declare class ResetRatingsService {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ResetRatingsService, never>;
7
7
  static ɵprov: i0.ɵɵInjectableDeclaration<ResetRatingsService>;
8
8
  }
9
- //# sourceMappingURL=reset-ratings.service.d.ts.map
@@ -27,4 +27,3 @@ export declare class ResourceDownloadHelperService {
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceDownloadHelperService, never>;
28
28
  static ɵprov: i0.ɵɵInjectableDeclaration<ResourceDownloadHelperService>;
29
29
  }
30
- //# sourceMappingURL=resource-download-helper.service.d.ts.map
@@ -0,0 +1,26 @@
1
+ import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RootService {
5
+ private http;
6
+ openSupportAIChatbot: BehaviorSubject<boolean>;
7
+ showNavbarDisplay$: BehaviorSubject<boolean>;
8
+ discussionCnfig: any;
9
+ iGOTAIChatHistory: any;
10
+ constructor(http: HttpClient);
11
+ createUser(request: any): Observable<any>;
12
+ setDiscussionConfig(config: any): void;
13
+ getCookie(name: string): string;
14
+ deleteCookie(name: string): void;
15
+ setCookie(name: string, value: string, expireDays: number, path?: string): void;
16
+ getChatData(tabType: any): any;
17
+ getLangugages(): Observable<any>;
18
+ aiGlobalSearch(requestBody: any, chatId: any, userID: any): Observable<any>;
19
+ saveAIChatPositiveContentRating(requestBody: any, chatId: any, userID: any): Observable<any>;
20
+ shareAIFeedback(requestBody: any, chatId: any, userID: any): Observable<any>;
21
+ aiGlobalSearchFromInternet(requestBody: any, chatId: any, userID: any): Observable<any>;
22
+ aiStartChathForSupport(requestBody: any, userID: any): Observable<any>;
23
+ aiSendChathForSupport(requestBody: any, userID: any): Observable<any>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<RootService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<RootService>;
26
+ }
@@ -7,4 +7,3 @@ export declare class TimerService {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TimerService, never>;
8
8
  static ɵprov: i0.ɵɵInjectableDeclaration<TimerService>;
9
9
  }
10
- //# sourceMappingURL=timer.service.d.ts.map
@@ -19,4 +19,3 @@ export declare class TitleTagService {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TitleTagService, never>;
20
20
  static ɵprov: i0.ɵɵInjectableDeclaration<TitleTagService>;
21
21
  }
22
- //# sourceMappingURL=title-tag.service.d.ts.map
@@ -1,25 +1,44 @@
1
- import { Observable } from 'rxjs';
2
1
  import { HttpClient } from '@angular/common/http';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { Observable } from 'rxjs';
4
+ import { IUserProfileDetails, ILanguagesApiData, INationalityApiData, ICountryApiData, IUserProfileDetailsFromRegistry, IProfileMetaApiData } from '../models/user-profile.model';
3
5
  import * as i0 from "@angular/core";
4
- /**
5
- * User Profile Service stub
6
- * Handles user profile related operations
7
- */
8
6
  export declare class UserProfileService {
9
7
  private http;
10
- constructor(http: HttpClient);
11
- getUserProfile(): Observable<any>;
12
- updateUserProfile(data: any): Observable<any>;
13
- searchProfile(data: any): Observable<any>;
14
- getWhiteListDomain(): Observable<any>;
15
- getGroups(): Observable<any>;
16
- handleTranslateTo(key: string): string;
17
- searchIgotDesignation(query: string): Observable<any>;
18
- searchDesignation(query: string): Observable<any>;
19
- getMasterLanguages(): Observable<any>;
8
+ private translateService;
9
+ constructor(http: HttpClient, translateService: TranslateService);
10
+ handleTranslateTo(menuName: string): string;
20
11
  editProfileDetails(data: any): Observable<any>;
21
12
  updatePrimaryEmailDetails(data: any): Observable<any>;
13
+ updateProfileDetails(data: any): Observable<any>;
14
+ getUserdetails(email: string | undefined): Observable<[IUserProfileDetails]>;
15
+ getMasterLanguages(): Observable<ILanguagesApiData>;
16
+ getMasterNationality(): Observable<INationalityApiData>;
17
+ getMasterCountries(): Observable<ICountryApiData>;
18
+ getProfilePageMeta(): Observable<IProfileMetaApiData>;
19
+ getUserdetailsFromRegistry(wid: string): Observable<[IUserProfileDetailsFromRegistry]>;
20
+ getOrganizationData(request: any): Observable<any>;
21
+ readOrgData(request: any): Observable<any>;
22
+ getAllDepartments(): Observable<INationalityApiData>;
23
+ approveRequest(data: any): Observable<Object>;
24
+ listApprovalPendingFields(): Observable<any>;
25
+ fetchApprovalPendingFields(): Observable<any>;
26
+ fetchApprovedFields(): Observable<any>;
27
+ listRejectedFields(): Observable<any>;
28
+ getDesignations(_req: any): Observable<IProfileMetaApiData>;
29
+ searchDesignation(_req: any): Observable<any>;
30
+ searchPublicDesignation(_req: any): Observable<any>;
31
+ searchIgotDesignation(_req: any): Observable<any>;
32
+ getDesignationV2(_req: any): Observable<IProfileMetaApiData>;
33
+ uploadProfilePhoto(req: any): Observable<any>;
34
+ getGroups(): Observable<any>;
35
+ getApprovalReqs(data: any): Observable<any>;
36
+ withDrawRequest(userId: string, wfId: string): Observable<any>;
37
+ fetchEhrmsDetails(): Observable<any>;
38
+ getWhiteListDomain(): Observable<any>;
39
+ fetchCustomFields(requestBody: any): Observable<any>;
40
+ updateCustomFields(requestBody: any): Observable<any>;
41
+ readCustomattributeDetails(userId: string, orgId: string): Observable<any>;
22
42
  static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileService, never>;
23
43
  static ɵprov: i0.ɵɵInjectableDeclaration<UserProfileService>;
24
44
  }
25
- //# sourceMappingURL=user-profile.service.d.ts.map
@@ -8,12 +8,16 @@ export interface IViewerTocCard {
8
8
  title: string;
9
9
  duration: number;
10
10
  type: string;
11
+ mimeType: NsContent.EMimeTypes;
11
12
  complexity: string;
12
- primaryCategory?: string;
13
- mimeType?: NsContent.EMimeTypes;
14
- optionalReading?: boolean;
15
- subTitle?: string;
16
- content?: NsContent.IContent;
13
+ children: null | IViewerTocCard[];
14
+ primaryCategory: NsContent.EPrimaryCategory;
15
+ collectionId: string | null;
16
+ collectionType: string;
17
+ batchId: string | number;
18
+ viewMode: string;
19
+ optionalReading: boolean;
20
+ channelId: string;
17
21
  }
18
22
  export interface IViewerTocChangeEvent {
19
23
  tocAvailable: boolean;
@@ -56,4 +60,3 @@ export declare class ViewerDataService {
56
60
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewerDataService, never>;
57
61
  static ɵprov: i0.ɵɵInjectableDeclaration<ViewerDataService>;
58
62
  }
59
- //# sourceMappingURL=viewer-data.service.d.ts.map
@@ -74,4 +74,3 @@ export declare class ViewerUtilService {
74
74
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewerUtilService, never>;
75
75
  static ɵprov: i0.ɵɵInjectableDeclaration<ViewerUtilService>;
76
76
  }
77
- //# sourceMappingURL=viewer-util.service.d.ts.map
@@ -54,4 +54,3 @@ export declare class ShareTocComponent implements OnInit {
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<ShareTocComponent, never>;
55
55
  static ɵcmp: i0.ɵɵComponentDeclaration<ShareTocComponent, "ws-app-share-toc", never, { "rootOrgId": { "alias": "rootOrgId"; "required": false; }; "content": { "alias": "content"; "required": false; }; "contentLink": { "alias": "contentLink"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; }, { "resetEnableShare": "resetEnableShare"; }, never, never, false, never>;
56
56
  }
57
- //# sourceMappingURL=share-toc.component.d.ts.map
@@ -30,4 +30,3 @@ export declare class ShareTocModule {
30
30
  static ɵmod: i0.ɵɵNgModuleDeclaration<ShareTocModule, [typeof i1.ShareTocComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatLegacyButtonModule, typeof i5.MatLegacyMenuModule, typeof i6.MatLegacyCardModule, typeof i7.MatLegacyTooltipModule, typeof i8.MatLegacyTabsModule, typeof i9.MatLegacyChipsModule, typeof i10.MatDividerModule, typeof i11.MatLegacyProgressBarModule, typeof i12.MatLegacyListModule, typeof i13.MatLegacyDialogModule, typeof i14.MatLegacyRadioModule, typeof i15.MatExpansionModule, typeof i16.MatLegacyProgressSpinnerModule, typeof i17.MatLegacyCheckboxModule, typeof i18.MatLegacyInputModule, typeof i19.MatLegacyFormFieldModule, typeof i20.MatLegacySelectModule, typeof i21.MatLegacySnackBarModule, typeof i22.MatDatepickerModule, typeof i23.MatNativeDateModule, typeof i24.MatLegacyAutocompleteModule, typeof i25.TranslateModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule], [typeof i1.ShareTocComponent]>;
31
31
  static ɵinj: i0.ɵɵInjectorDeclaration<ShareTocModule>;
32
32
  }
33
- //# sourceMappingURL=share-toc.module.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunbird-cb/toc",
3
- "version": "0.0.8",
3
+ "version": "0.0.9-mauritius",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -12,9 +12,9 @@
12
12
  "@angular/material": "^16.2.14",
13
13
  "@ngx-translate/core": "^15.0.0",
14
14
  "@sunbird-cb/design-system": "0.0.3",
15
- "@sunbird-cb/utils-v2": "0.0.2-cbrelease-4.8.31",
15
+ "@sunbird-cb/utils-v2": "0.0.2-cbrelease-4.8.35-mauritius",
16
16
  "@sunbird-cb/resolver-v2": "0.0.7-ang-13-16",
17
- "@sunbird-cb/consumption": "0.0.9-cbrelease-4.8.32",
17
+ "@sunbird-cb/consumption": "0.0.32-cbrelease-4.8.32",
18
18
  "@sunbird-cb/discussion-v2": "0.0.8-cbrelease-4.8.28"
19
19
  },
20
20
  "module": "fesm2022/sunbird-cb-toc.mjs",
package/public-api.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export * from './lib/app-toc-lib.module';
2
+ export * from './lib/registration-toc-lib.config';
3
+ export * from './lib/collection.config';
2
4
  export * from './lib/services/app-toc.service';
3
5
  export * from './lib/services/app-toc-v2.service';
4
6
  export * from './lib/services/action.service';
@@ -7,6 +9,8 @@ export * from './lib/services/reset-ratings.service';
7
9
  export * from './lib/services/timer.service';
8
10
  export * from './lib/services/title-tag.service';
9
11
  export * from './lib/services/viewer-util.service';
12
+ export * from './lib/services/viewer-data.service';
13
+ export * from './lib/services/user-profile.service';
10
14
  export * from './lib/models/app-toc.model';
11
15
  export * from './lib/models/app-toc-analytics.model';
12
16
  export * from './lib/models/meta-tag.model';
@@ -50,8 +54,12 @@ export * from './lib/_collection/_common/content-toc/app-toc-about/app-toc-about
50
54
  export * from './lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component';
51
55
  export * from './lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component';
52
56
  export * from './lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component';
57
+ export * from './lib/_services/widget-content.service';
58
+ export * from './lib/models/discussion-forum.model';
53
59
  export * from './lib/_collection/_common/content-toc/karma-points/karma-points.module';
54
60
  export * from './lib/_collection/_common/content-toc/karma-points/karma-points.component';
55
61
  export * from './lib/_collection/_common/toc-kpi-values/toc-kpi-values.module';
56
62
  export * from './lib/_collection/_common/toc-kpi-values/toc-kpi-values.component';
57
- //# sourceMappingURL=public-api.d.ts.map
63
+ export * from './lib/_collection/_common/card-competency/card-competency.component';
64
+ export * from './lib/_collection/_common/card-competency/card-competency.module';
65
+ export * from './lib/services/access-control.service';