@sunbird-cb/toc 0.0.12 → 0.0.13-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 +45 -13
  11. package/esm2022/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.mjs +85 -74
  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 +155 -70
  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 +103 -58
  32. package/esm2022/lib/services/app-toc.service.mjs +103 -242
  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 +62 -34
  43. package/esm2022/public-api.mjs +9 -1
  44. package/fesm2022/sunbird-cb-toc.mjs +9150 -7079
  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 +0 -1
  79. package/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.d.ts +11 -4
  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 +7 -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 +1 -1
  195. package/lib/services/app-toc.service.d.ts +3 -55
  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 +7 -1
  218. package/sunbird-cb-toc-0.0.13-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
@@ -15,4 +15,3 @@ export declare class AppTocAnalyticsTilesComponent implements OnInit {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocAnalyticsTilesComponent, never>;
16
16
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocAnalyticsTilesComponent, "ws-app-app-toc-analytics-tiles", never, { "uniqueUsers": { "alias": "uniqueUsers"; "required": false; }; "description": { "alias": "description"; "required": false; }; "title": { "alias": "title"; "required": false; }; "category1": { "alias": "category1"; "required": false; }; "category2": { "alias": "category2"; "required": false; }; "category3": { "alias": "category3"; "required": false; }; "analyticsDataClient": { "alias": "analyticsDataClient"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, false, never>;
17
17
  }
18
- //# sourceMappingURL=app-toc-analytics-tiles.component.d.ts.map
@@ -223,4 +223,3 @@ export declare class AppTocBannerComponent implements OnInit, OnChanges, OnDestr
223
223
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocBannerComponent, never>;
224
224
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocBannerComponent, "ws-app-toc-banner", never, { "banners": { "alias": "banners"; "required": false; }; "content": { "alias": "content"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "analytics": { "alias": "analytics"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "userEnrollmentList": { "alias": "userEnrollmentList"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "clickToShare": { "alias": "clickToShare"; "required": false; }; }, { "withdrawOrEnroll": "withdrawOrEnroll"; "programEnrollCall": "programEnrollCall"; }, never, never, false, never>;
225
225
  }
226
- //# sourceMappingURL=app-toc-banner.component.d.ts.map
@@ -48,6 +48,8 @@ export declare class AppTocCiosHomeComponent implements OnInit, AfterViewInit {
48
48
  rootOrgId: any;
49
49
  currentLang: any;
50
50
  discussWidgetData: NsDiscussionV2.ICommentWidgetData;
51
+ showProviderTips: boolean;
52
+ fromMDO: boolean;
51
53
  handleScroll(): void;
52
54
  constructor(route: ActivatedRoute, commonSvc: CommonMethodsService, translate: TranslateService, configSvc: ConfigurationsService, events: EventService, langtranslations: MultilingualTranslationsService, contentSvc: WidgetContentService, certSvc: CertificateService, loader: LoaderService, matDialog: MatDialog, snackBar: MatSnackBar, netCoreService: NetCoreService, environment: any);
53
55
  ngOnInit(): void;
@@ -73,7 +75,9 @@ export declare class AppTocCiosHomeComponent implements OnInit, AfterViewInit {
73
75
  secondsToTime(d: any): string;
74
76
  clearCommentIdFromUrl(): void;
75
77
  private validateEnrollmentEligibility;
78
+ showBadgeIcon(): boolean;
79
+ get showEnroll(): boolean;
80
+ get showRedirect(): boolean;
76
81
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocCiosHomeComponent, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
77
82
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocCiosHomeComponent, "ws-app-app-toc-cios-home", never, {}, {}, never, never, false, never>;
78
83
  }
79
- //# sourceMappingURL=app-toc-cios-home.component.d.ts.map
@@ -20,4 +20,3 @@ export declare class ConsentDialogComponent implements OnInit {
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ConsentDialogComponent, never>;
21
21
  static ɵcmp: i0.ɵɵComponentDeclaration<ConsentDialogComponent, "ws-app-consent-dialog", never, {}, {}, never, never, false, never>;
22
22
  }
23
- //# sourceMappingURL=consent-dialog.component.d.ts.map
@@ -29,4 +29,3 @@ export declare class AppTocCohortsComponent implements OnInit {
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocCohortsComponent, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocCohortsComponent, "ws-app-toc-cohorts", never, { "content": { "alias": "content"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; }, {}, never, never, false, never>;
31
31
  }
32
- //# sourceMappingURL=app-toc-cohorts.component.d.ts.map
@@ -45,4 +45,3 @@ export declare class AppTocContentCardComponent implements OnInit, OnChanges {
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocContentCardComponent, never>;
46
46
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocContentCardComponent, "ws-app-toc-content-card", never, { "content": { "alias": "content"; "required": false; }; "expandAll": { "alias": "expandAll"; "required": false; }; "rootId": { "alias": "rootId"; "required": false; }; "rootContentType": { "alias": "rootContentType"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "batchId": { "alias": "batchId"; "required": false; }; }, {}, never, never, false, never>;
47
47
  }
48
- //# sourceMappingURL=app-toc-content-card.component.d.ts.map
@@ -12,4 +12,3 @@ export declare class AppTocDialogIntroVideoComponent implements OnInit {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocDialogIntroVideoComponent, never>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocDialogIntroVideoComponent, "ws-app-app-toc-dialog-intro-video", never, {}, {}, never, never, false, never>;
14
14
  }
15
- //# sourceMappingURL=app-toc-dialog-intro-video.component.d.ts.map
@@ -19,4 +19,3 @@ export declare class AppTocDiscussionComponent implements OnChanges, OnInit {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocDiscussionComponent, never>;
20
20
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocDiscussionComponent, "ws-app-toc-discussion", never, { "content": { "alias": "content"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; }, {}, never, never, false, never>;
21
21
  }
22
- //# sourceMappingURL=app-toc-discussion.component.d.ts.map
@@ -7,7 +7,7 @@ import { Subscription, Observable } from 'rxjs';
7
7
  import { NsContent } from '../../_services/widget-content.model';
8
8
  import { WidgetContentService } from '../../_services/widget-content.service';
9
9
  import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
10
- import { ConfigurationsService, DataTransferService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
10
+ import { ConfigurationsService, DataTransferService, DomainConfService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
11
11
  import { WidgetContentLibService, WidgetUserServiceLib } from '@sunbird-cb/consumption';
12
12
  import { NsAppToc } from '../../models/app-toc.model';
13
13
  import { AppTocService } from '../../services/app-toc.service';
@@ -63,6 +63,7 @@ export declare class AppTocHomeComponent implements OnInit, OnDestroy, AfterView
63
63
  private matSnackbarNew;
64
64
  private userServiceLib;
65
65
  netCoreService: NetCoreService;
66
+ domainConfService: DomainConfService;
66
67
  show: boolean;
67
68
  changeTab: boolean;
68
69
  skeletonLoader: boolean;
@@ -215,7 +216,7 @@ export declare class AppTocHomeComponent implements OnInit, OnDestroy, AfterView
215
216
  value: string;
216
217
  }[];
217
218
  handleScroll(): void;
218
- constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, authAccessControlSvc: AccessControlService, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, environment: any);
219
+ constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, authAccessControlSvc: AccessControlService, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, domainConfService: DomainConfService, environment: any);
219
220
  ngOnInit(): void;
220
221
  getKarmapointsLimit(): void;
221
222
  isCourseCompletedOnThisMonth(): void;
@@ -312,4 +313,3 @@ export declare class AppTocHomeComponent implements OnInit, OnDestroy, AfterView
312
313
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocHomeComponent, never>;
313
314
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocHomeComponent, "ws-app-app-toc-home", never, { "forPreview": { "alias": "forPreview"; "required": false; }; }, {}, never, never, false, never>;
314
315
  }
315
- //# sourceMappingURL=app-toc-home.component.d.ts.map
@@ -8,7 +8,7 @@ import { Subscription, Observable } from 'rxjs';
8
8
  import { NsContent } from '../../_services/widget-content.model';
9
9
  import { WidgetContentService } from '../../_services/widget-content.service';
10
10
  import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
11
- import { ConfigurationsService, DataTransferService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
11
+ import { ConfigurationsService, DataTransferService, DomainConfService, EventService, LoggerService, MultilingualTranslationsService, NsPage, TFetchStatus, TelemetryService, UtilityService, WidgetEnrollService } from '@sunbird-cb/utils-v2';
12
12
  import { ContentLanguageService, WidgetContentLibService, WidgetUserServiceLib } from '@sunbird-cb/consumption';
13
13
  import { NsAppToc } from '../../models/app-toc.model';
14
14
  import { AppTocService } from '../../services/app-toc.service';
@@ -63,6 +63,7 @@ export declare class AppTocHomeV2Component implements OnInit, OnDestroy, AfterVi
63
63
  netCoreService: NetCoreService;
64
64
  appTocV2Svc: AppTocV2Service;
65
65
  private location;
66
+ domainConfSvc: DomainConfService;
66
67
  environment: any;
67
68
  queryParamsData: {
68
69
  [key: string]: string;
@@ -91,6 +92,7 @@ export declare class AppTocHomeV2Component implements OnInit, OnDestroy, AfterVi
91
92
  enrolledCourseData: any;
92
93
  forPreview: any;
93
94
  inputContent: any;
95
+ displayViewBtn: any;
94
96
  analytics: any;
95
97
  errorWidgetData: NsWidgetResolver.IRenderConfigWithTypedData<any>;
96
98
  isAuthor: boolean;
@@ -223,7 +225,7 @@ export declare class AppTocHomeV2Component implements OnInit, OnDestroy, AfterVi
223
225
  private lastProgressRefreshTime;
224
226
  private isRefreshingProgress;
225
227
  handleScroll(): void;
226
- constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, contentLangSvc: ContentLanguageService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, appTocV2Svc: AppTocV2Service, location: Location, environment: any);
228
+ constructor(route: ActivatedRoute, router: Router, contentSvc: WidgetContentService, tocSvc: AppTocService, loggerSvc: LoggerService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, snackBar: MatSnackBar, dialog: MatDialog, mobileAppsSvc: MobileAppsService, utilitySvc: UtilityService, contentLangSvc: ContentLanguageService, actionSVC: ActionService, viewerSvc: ViewerUtilService, ratingSvc: RatingService, telemetryService: TelemetryService, translate: TranslateService, langtranslations: MultilingualTranslationsService, events: EventService, loadCheckService: LoadCheckService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, timerService: TimerService, enrollSvc: WidgetEnrollService, contentLibSvc: WidgetContentLibService, dataTransferSvc: DataTransferService, matSnackbarNew: MatSnackbarNew, userServiceLib: WidgetUserServiceLib, netCoreService: NetCoreService, appTocV2Svc: AppTocV2Service, location: Location, domainConfSvc: DomainConfService, environment: any);
227
229
  getKarmapointsLimit(): void;
228
230
  isCourseCompletedOnThisMonth(): void;
229
231
  filteredAcbpList(res: any): any;
@@ -407,9 +409,10 @@ export declare class AppTocHomeV2Component implements OnInit, OnDestroy, AfterVi
407
409
  * Check if user can enroll in the course
408
410
  * Returns true when enrollment is allowed
409
411
  */
412
+ navigateToNewVersion(): void;
410
413
  canEnroll(): boolean;
411
414
  goBack(): void;
415
+ showBadgeIcon(): boolean;
412
416
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocHomeV2Component, never>;
413
- static ɵcmp: i0.ɵɵComponentDeclaration<AppTocHomeV2Component, "ws-app-app-toc-home-v2", never, { "forPreview": { "alias": "forPreview"; "required": false; }; "inputContent": { "alias": "inputContent"; "required": false; }; }, {}, never, never, false, never>;
417
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppTocHomeV2Component, "ws-app-app-toc-home-v2", never, { "forPreview": { "alias": "forPreview"; "required": false; }; "inputContent": { "alias": "inputContent"; "required": false; }; "displayViewBtn": { "alias": "displayViewBtn"; "required": false; }; }, {}, never, never, false, never>;
414
418
  }
415
- //# sourceMappingURL=app-toc-home-v2.component.d.ts.map
@@ -45,4 +45,3 @@ export declare class AppTocOverviewComponent implements OnInit, OnDestroy {
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocOverviewComponent, never>;
46
46
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocOverviewComponent, "ws-app-app-toc-overview", never, { "forPreview": { "alias": "forPreview"; "required": false; }; }, {}, never, never, false, never>;
47
47
  }
48
- //# sourceMappingURL=app-toc-overview.component.d.ts.map
@@ -20,4 +20,3 @@ export declare class AppTocSessionCardComponent implements OnInit {
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocSessionCardComponent, never>;
21
21
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocSessionCardComponent, "ws-app-toc-session-card", never, { "session": { "alias": "session"; "required": false; }; "expandAll": { "alias": "expandAll"; "required": false; }; "rootId": { "alias": "rootId"; "required": false; }; "rootContentType": { "alias": "rootContentType"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
22
22
  }
23
- //# sourceMappingURL=app-toc-session-card.component.d.ts.map
@@ -12,4 +12,3 @@ export declare class AppTocSessionsComponent implements OnInit {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocSessionsComponent, never>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocSessionsComponent, "ws-app-app-toc-sessions", never, { "batchData": { "alias": "batchData"; "required": false; }; "content": { "alias": "content"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
14
14
  }
15
- //# sourceMappingURL=app-toc-sessions.component.d.ts.map
@@ -147,4 +147,3 @@ export declare class AppTocSinglePageComponent implements OnInit, OnChanges, OnD
147
147
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocSinglePageComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
148
148
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocSinglePageComponent, "ws-app-app-toc-single-page", never, { "content": { "alias": "content"; "required": false; }; "initialrouteData": { "alias": "initialrouteData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; }, {}, never, never, false, never>;
149
149
  }
150
- //# sourceMappingURL=app-toc-single-page.component.d.ts.map
@@ -40,4 +40,3 @@ export declare class CompletionSurveyFormComponent implements OnInit {
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CompletionSurveyFormComponent, never>;
41
41
  static ɵcmp: i0.ɵɵComponentDeclaration<CompletionSurveyFormComponent, "ws-app-completion-survey-form", never, {}, {}, never, never, false, never>;
42
42
  }
43
- //# sourceMappingURL=completion-survey-form.component.d.ts.map
@@ -25,4 +25,3 @@ export declare class CreateBatchDialogComponent implements OnInit {
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateBatchDialogComponent, never>;
26
26
  static ɵcmp: i0.ɵɵComponentDeclaration<CreateBatchDialogComponent, "ws-app-create-batch-dialog", never, {}, {}, never, never, false, never>;
27
27
  }
28
- //# sourceMappingURL=create-batch-dialog.component.d.ts.map
@@ -13,4 +13,3 @@ export declare class EnrollLanguageDialogueComponent implements OnInit {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<EnrollLanguageDialogueComponent, never>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<EnrollLanguageDialogueComponent, "ws-app-enroll-language-dialogue", never, {}, {}, never, never, false, never>;
15
15
  }
16
- //# sourceMappingURL=enroll-language-dialogue.component.d.ts.map
@@ -113,6 +113,8 @@ export declare class EnrollProfileFormComponent implements OnInit {
113
113
  verifyEmail: boolean;
114
114
  approvedDomainList: any;
115
115
  contextToken: any;
116
+ verifiedEmailOtp: string;
117
+ verifiedPhoneOtp: string;
116
118
  currentDate: Date;
117
119
  openDesignationDropdown: boolean;
118
120
  openLanguageDropdown: boolean;
@@ -193,4 +195,3 @@ export declare class EnrollProfileFormComponent implements OnInit {
193
195
  static ɵfac: i0.ɵɵFactoryDeclaration<EnrollProfileFormComponent, never>;
194
196
  static ɵcmp: i0.ɵɵComponentDeclaration<EnrollProfileFormComponent, "ws-app-enroll-profile-form", never, {}, {}, never, never, false, never>;
195
197
  }
196
- //# sourceMappingURL=enroll-profile-form.component.d.ts.map
@@ -42,4 +42,3 @@ export declare class EnrollQuestionnaireComponent implements OnInit {
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<EnrollQuestionnaireComponent, never>;
43
43
  static ɵcmp: i0.ɵɵComponentDeclaration<EnrollQuestionnaireComponent, "ws-app-enroll-questionnaire", never, {}, {}, never, never, false, never>;
44
44
  }
45
- //# sourceMappingURL=enroll-questionnaire.component.d.ts.map
@@ -52,4 +52,3 @@ export declare class KnowledgeArtifactDetailsComponent implements OnInit, OnDest
52
52
  static ɵfac: i0.ɵɵFactoryDeclaration<KnowledgeArtifactDetailsComponent, never>;
53
53
  static ɵcmp: i0.ɵɵComponentDeclaration<KnowledgeArtifactDetailsComponent, "ws-app-knowledge-artifact-details", never, {}, {}, never, never, false, never>;
54
54
  }
55
- //# sourceMappingURL=knowledge-artifact-details.component.d.ts.map
@@ -16,4 +16,3 @@ export declare class NonReleventFeedbackDialogComponent implements OnInit {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NonReleventFeedbackDialogComponent, never>;
17
17
  static ɵcmp: i0.ɵɵComponentDeclaration<NonReleventFeedbackDialogComponent, "ws-non-relevent-feedback-dialog", never, {}, {}, never, never, false, never>;
18
18
  }
19
- //# sourceMappingURL=non-relevent-feedback-dialog.component.d.ts.map
@@ -23,6 +23,7 @@ export declare class PublicSurveyFormComponent implements OnInit {
23
23
  childFields: any[];
24
24
  surveyFormIsValid: boolean;
25
25
  addLoader: number;
26
+ forPreview: boolean;
26
27
  constructor(snackBar: MatLegacySnackBar, dialogRef: MatLegacyDialogRef<PublicSurveyFormComponent>, data: any, fb: FormBuilder, appTocSvc: AppTocService, translate: TranslateService);
27
28
  ngOnInit(): void;
28
29
  getSurveyFormData(): void;
@@ -41,4 +42,3 @@ export declare class PublicSurveyFormComponent implements OnInit {
41
42
  static ɵfac: i0.ɵɵFactoryDeclaration<PublicSurveyFormComponent, never>;
42
43
  static ɵcmp: i0.ɵɵComponentDeclaration<PublicSurveyFormComponent, "ws-app-public-survey-form", never, {}, {}, never, never, false, never>;
43
44
  }
44
- //# sourceMappingURL=public-survey-form.component.d.ts.map
@@ -18,4 +18,3 @@ export declare class SurveyFormQuestionComponent implements OnInit {
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<SurveyFormQuestionComponent, never>;
19
19
  static ɵcmp: i0.ɵɵComponentDeclaration<SurveyFormQuestionComponent, "ws-app-survey-form-question", never, { "questionForm": { "alias": "questionForm"; "required": false; }; "fieldDetails": { "alias": "fieldDetails"; "required": false; }; }, { "questionValues": "questionValues"; }, never, never, true, never>;
20
20
  }
21
- //# sourceMappingURL=survey-form-question.component.d.ts.map
@@ -11,4 +11,3 @@ export declare class SurveyFormSectionComponent {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SurveyFormSectionComponent, never>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<SurveyFormSectionComponent, "ws-app-survey-form-section", never, { "childQuestionsFormArray": { "alias": "childQuestionsFormArray"; "required": false; }; "childFields": { "alias": "childFields"; "required": false; }; "sectionField": { "alias": "sectionField"; "required": false; }; }, { "questionValues": "questionValues"; }, never, never, true, never>;
13
13
  }
14
- //# sourceMappingURL=survey-form-section.component.d.ts.map
@@ -150,4 +150,3 @@ export declare namespace NsCourseAnalytics {
150
150
  hits_count: number;
151
151
  }
152
152
  }
153
- //# sourceMappingURL=app-toc-analytics.model.d.ts.map
@@ -82,4 +82,3 @@ export declare namespace NsCohorts {
82
82
  name: string;
83
83
  }
84
84
  }
85
- //# sourceMappingURL=app-toc.model.d.ts.map
@@ -25,4 +25,3 @@ export declare namespace NsAutoComplete {
25
25
  total: number;
26
26
  }
27
27
  }
28
- //# sourceMappingURL=auto-complete.model.d.ts.map
@@ -17,4 +17,3 @@ export declare namespace NsCardContent {
17
17
  status?: string;
18
18
  }
19
19
  }
20
- //# sourceMappingURL=card-content.model.d.ts.map
@@ -42,4 +42,3 @@ export declare namespace NsContentStripWithTabs {
42
42
  configs?: any;
43
43
  }
44
44
  }
45
- //# sourceMappingURL=content-strip-with-tabs.model.d.ts.map
@@ -38,4 +38,3 @@ export declare namespace NsDiscussionForum {
38
38
  createdAt?: string;
39
39
  }
40
40
  }
41
- //# sourceMappingURL=discussion-forum.model.d.ts.map
@@ -20,4 +20,3 @@ export declare namespace NsGoal {
20
20
  primaryCategory?: any;
21
21
  }
22
22
  }
23
- //# sourceMappingURL=goal.model.d.ts.map
@@ -4,4 +4,3 @@ export declare class MetaTag {
4
4
  isFacebook: boolean;
5
5
  constructor(name: string, value: string, isFacebook: boolean);
6
6
  }
7
- //# sourceMappingURL=meta-tag.model.d.ts.map
@@ -21,4 +21,3 @@ export declare namespace NsPlaylist {
21
21
  mode?: string;
22
22
  }
23
23
  }
24
- //# sourceMappingURL=playlist.model.d.ts.map
@@ -12,4 +12,3 @@ export interface IProfileRevamp {
12
12
  organization?: string;
13
13
  location?: string;
14
14
  }
15
- //# sourceMappingURL=profile-revamp.model.d.ts.map
@@ -15,4 +15,3 @@ export declare namespace NsAppRating {
15
15
  updateOn?: string;
16
16
  }
17
17
  }
18
- //# sourceMappingURL=rating.model.d.ts.map
@@ -35,4 +35,90 @@ export declare namespace NsUserProfileDetails {
35
35
  OTHER = "Other"
36
36
  }
37
37
  }
38
- //# sourceMappingURL=user-profile.model.d.ts.map
38
+ export interface IUserProfileDetails {
39
+ first_name: string;
40
+ last_name: string;
41
+ email: string;
42
+ wid: string;
43
+ department_name: string;
44
+ }
45
+ export interface IUserProfileDetailsFromRegistry {
46
+ 'firstname': string;
47
+ 'motherTongue': string;
48
+ 'secondaryEmail': string;
49
+ 'gender': string;
50
+ '@type': string;
51
+ 'mobile': number;
52
+ 'middlename': string;
53
+ 'telephone': number;
54
+ 'osid': string;
55
+ 'primaryEmailType': string;
56
+ 'knownLanguages': ILanguages[];
57
+ 'wid': string;
58
+ 'nationality': string;
59
+ 'surname': string;
60
+ 'dob': string;
61
+ 'category': string;
62
+ 'primaryEmail': string;
63
+ 'maritalStatus': string;
64
+ 'residenceAddress': string;
65
+ 'result': any;
66
+ }
67
+ export interface ILanguages {
68
+ name: string;
69
+ }
70
+ export interface IChipItems {
71
+ name: string;
72
+ }
73
+ export interface ILanguagesApiData {
74
+ languages: ILanguages[];
75
+ }
76
+ export interface INation {
77
+ name: string;
78
+ }
79
+ export interface INationality {
80
+ name: string;
81
+ countryCode: string;
82
+ }
83
+ export interface ICountry {
84
+ name: string;
85
+ countryCode: string;
86
+ }
87
+ export interface INationalityApiData {
88
+ nationality: INationality[];
89
+ }
90
+ export interface ICountryApiData {
91
+ countries: ICountry[];
92
+ }
93
+ export interface INameField {
94
+ name: string;
95
+ }
96
+ export interface IGovtOrgMeta {
97
+ ministries: INameField[];
98
+ service: INameField[];
99
+ cadre: INameField[];
100
+ }
101
+ export interface IIndustriesMeta {
102
+ industries: INameField[];
103
+ }
104
+ export interface IdegreesMeta {
105
+ graduations: INameField[];
106
+ postGraduations: INameField[];
107
+ }
108
+ export interface IdesignationsMeta {
109
+ designations: INameField[];
110
+ gradePay: INameField[];
111
+ }
112
+ export interface IProfileMetaApiData {
113
+ govtOrg: IGovtOrgMeta;
114
+ industries: IIndustriesMeta;
115
+ degrees: IdegreesMeta;
116
+ designations: IdesignationsMeta;
117
+ }
118
+ export interface IProfileAcademics {
119
+ nameOfQualification: string;
120
+ type: string;
121
+ nameOfInstitute: string;
122
+ yearOfPassing: string;
123
+ nameOfOtherQualification?: string;
124
+ }
@@ -0,0 +1,4 @@
1
+ import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
2
+ import { CardCompetencyModule } from './_collection/_common/card-competency/card-competency.module';
3
+ export declare const WIDGET_REGISTERED_LIB_MODULES: (typeof CardCompetencyModule)[];
4
+ export declare const WIDGET_REGISTRATION_TOC_LIB_CONFIG: NsWidgetResolver.IRegistrationConfig[];
@@ -10,4 +10,3 @@ export declare class AppTocCiosResolverService {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocCiosResolverService, never>;
11
11
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocCiosResolverService>;
12
12
  }
13
- //# sourceMappingURL=app-toc-cios-resolver.service.d.ts.map
@@ -10,4 +10,3 @@ export declare class AppTocCiosUserEnrollResolverService {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocCiosUserEnrollResolverService, never>;
11
11
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocCiosUserEnrollResolverService>;
12
12
  }
13
- //# sourceMappingURL=app-toc-cios-user-enroll-resolver.service.d.ts.map
@@ -14,4 +14,3 @@ export declare class AppTocContentReadResolverService {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocContentReadResolverService, never>;
15
15
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocContentReadResolverService>;
16
16
  }
17
- //# sourceMappingURL=app-toc-content-read-resolver.service.d.ts.map
@@ -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
@@ -10,8 +10,8 @@ export declare class AppTocV2Service {
10
10
  private updateMilestoneProgress;
11
11
  private updateNodeProgress;
12
12
  private updateCourseProgress;
13
+ private getCompletedLeafNodesCount;
13
14
  private findEnrollment;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocV2Service, never>;
15
16
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocV2Service>;
16
17
  }
17
- //# 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';
@@ -37,6 +37,7 @@ export declare class AppTocService {
37
37
  getPageScroll: BehaviorSubject<boolean>;
38
38
  updatePageScroll: Observable<boolean>;
39
39
  hashmap: any;
40
+ private currentRootContentId;
40
41
  hashmapUpdated: BehaviorSubject<any>;
41
42
  hashmapUpdated$: Observable<any>;
42
43
  private transriptionDataSubject;
@@ -44,7 +45,7 @@ export declare class AppTocService {
44
45
  transriptionActiveLanguageDataObject: BehaviorSubject<any>;
45
46
  transriptionActiveLanguageDataObject$: Observable<any>;
46
47
  transriptionIdentifier: Subject<unknown>;
47
- changeTranscriptionLanguageEvent: Subject<unknown>;
48
+ changeTranscriptionLanguageEvent: ReplaySubject<unknown>;
48
49
  playTranscriptionVideo: Subject<unknown>;
49
50
  constructor(http: HttpClient, contentLangSvc: ContentLanguageService, configSvc: ConfigurationsService, widgetSvc: WidgetContentService);
50
51
  get subtitleOnBanners(): boolean;
@@ -107,58 +108,6 @@ export declare class AppTocService {
107
108
  createHirarchyProgressHashmap(hierarchyData: NsContent.IContent, rootCourseCategory?: string, parentId?: string): void;
108
109
  createPreAssessmentHirarchyProgressHashmap(hierarchyData: NsContent.IContent): void;
109
110
  callHirarchyProgressHashmap(hierarchyData: NsContent.IContent | null): void;
110
- /**
111
- * Pre-compute milestone locking status for all milestones in Learning Pathway
112
- * This avoids expensive calculations in component getters
113
- *
114
- * Locking Rules:
115
- * 0. If user is not enrolled, ALL milestones are locked
116
- * 1. All milestones are locked by default
117
- * 2. Milestone 1 (M1) unlocks when pre-assessment is completed
118
- * 3. Milestone N (N > 1) unlocks when:
119
- * - All mandatory learning items in Milestone N-1 are completed
120
- * - The assessment of Milestone N-1 is completed
121
- */
122
- /**
123
- * ═══════════════════════════════════════════════════════════════════════════
124
- * LEARNING PATHWAY MILESTONE LOCKING SYSTEM - SINGLE SOURCE OF TRUTH
125
- * ═══════════════════════════════════════════════════════════════════════════
126
- *
127
- * This method is the SINGLE SOURCE OF TRUTH for all milestone and assessment locking.
128
- * All locking logic is computed here and stored in the hashmap.
129
- * Components READ ONLY from the hashmap - they do NOT compute locks themselves.
130
- *
131
- * LOCKING RULES:
132
- * ───────────────────────────────────────────────────────────────────────────
133
- * 1. DEFAULT STATE: All milestones are LOCKED by default
134
- *
135
- * 2. MILESTONE 1 UNLOCKING:
136
- * - Unlocks when: Pre-assessment is 100% complete
137
- * - Lock message: "Complete the preliminary assessment to unlock this milestone"
138
- *
139
- * 3. MILESTONE N (N >= 2) UNLOCKING:
140
- * - Unlocks when: Previous milestone is 100% complete
141
- * - Previous milestone is complete when:
142
- * a) All MANDATORY courses are 100% complete
143
- * b) Milestone assessment is 100% complete
144
- * - Lock message: "Complete all mandatory content and assessment in Milestone N-1"
145
- *
146
- * 4. ASSESSMENT LOCKING (within unlocked milestones):
147
- * - Assessment locked until: All MANDATORY courses in SAME milestone complete
148
- * - Optional courses do NOT affect assessment locking
149
- * - Assessment lock message: "Complete all mandatory items to unlock the assessment"
150
- * - Once assessment is completed, it stays unlocked
151
- *
152
- * 5. PARENT MILESTONE LOCKING:
153
- * - All content inside locked milestone gets isParentMilestoneLocked = true
154
- * - This includes courses, assessments, nested resources
155
- *
156
- * 6. MANDATORY vs OPTIONAL:
157
- * - By default, ALL courses are mandatory (unless isMandatory: false)
158
- * - Optional courses do NOT block progression
159
- *
160
- * ═══════════════════════════════════════════════════════════════════════════
161
- */
162
111
  computeMilestoneLockingStatus(isEnrolled?: boolean): void;
163
112
  /**
164
113
  * Trigger milestone lock update when hashmap progress is updated externally
@@ -239,4 +188,3 @@ export declare class AppTocService {
239
188
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocService, never>;
240
189
  static ɵprov: i0.ɵɵInjectableDeclaration<AppTocService>;
241
190
  }
242
- //# sourceMappingURL=app-toc.service.d.ts.map