@sunbird-cb/toc 0.0.11 → 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 +102 -77
  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 +160 -81
  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 +104 -69
  32. package/esm2022/lib/services/app-toc.service.mjs +150 -220
  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 +9167 -7029
  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 +13 -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 +5 -56
  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
package/index.d.ts CHANGED
@@ -3,4 +3,3 @@
3
3
  */
4
4
  /// <amd-module name="@sunbird-cb/toc" />
5
5
  export * from './public-api';
6
- //# sourceMappingURL=sunbird-cb-toc.d.ts.map
@@ -0,0 +1,139 @@
1
+ import { AfterViewChecked, AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { ConfigurationsService, EventService, UtilityService } from '@sunbird-cb/utils-v2';
4
+ import { RootService } from './../../../services/root.service';
5
+ import { WebSocketService } from './socket.service';
6
+ import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
7
+ import { MatSnackBar as MatSnackbarNew } from '@angular/material/snack-bar';
8
+ import * as i0 from "@angular/core";
9
+ export declare class AiTutorComponent implements OnInit, AfterViewInit, AfterViewChecked, OnDestroy {
10
+ private route;
11
+ private configSvc;
12
+ private eventSvc;
13
+ private renderer;
14
+ private chatbotService;
15
+ private websocketService;
16
+ private dialog;
17
+ private matSnackBarNew;
18
+ private utilitySvc;
19
+ private router;
20
+ from: string;
21
+ content: any;
22
+ userJourney: any[];
23
+ showIcon: boolean;
24
+ categories: any[];
25
+ language: any[];
26
+ currentFilter: string;
27
+ selectedLaguage: string;
28
+ responseData: any;
29
+ userInfo: any;
30
+ recomendedQns: any;
31
+ questionsAndAns: any;
32
+ userIcon: string;
33
+ more: boolean;
34
+ chatInformation: any;
35
+ chatIssues: any;
36
+ displayLoader: boolean;
37
+ expanded: boolean;
38
+ callText: string;
39
+ emailText: string;
40
+ searchQueryAItutor: any;
41
+ initials: any;
42
+ copiedIndex: number;
43
+ circleColor: string;
44
+ random: string;
45
+ iGOTAITutorResultArr: any;
46
+ maximize: boolean;
47
+ localization: any;
48
+ private colors;
49
+ private randomcolors;
50
+ aiTutorResult: any;
51
+ private messageSubscription;
52
+ messages: string[];
53
+ inputMessage: string;
54
+ aiTutorResultArr: any;
55
+ cloneSearchQuery: string;
56
+ jwtToken: string;
57
+ isHubEnable: boolean;
58
+ learningStyle: {
59
+ title: string;
60
+ subtitle: string;
61
+ }[];
62
+ selectedLearningStyle: any;
63
+ resultFetch: boolean;
64
+ authTokenHost: string;
65
+ NoneSocketHost: string;
66
+ SocraticeStyleHost: string;
67
+ StorytellingHost: string;
68
+ textArea: ElementRef<HTMLTextAreaElement>;
69
+ closeAIPopup: EventEmitter<any>;
70
+ containerHeight: number;
71
+ isMobile: boolean;
72
+ showAITutorPopup: boolean;
73
+ chatId: string;
74
+ environment: any;
75
+ constructor(route: ActivatedRoute, configSvc: ConfigurationsService, eventSvc: EventService, renderer: Renderer2, chatbotService: RootService, websocketService: WebSocketService, dialog: MatDialog, matSnackBarNew: MatSnackbarNew, utilitySvc: UtilityService, environment: any, router: Router);
76
+ ngOnInit(): void;
77
+ ngAfterViewInit(): void;
78
+ greetings(): any;
79
+ getInfoText(label: string): any;
80
+ showMore(): any;
81
+ getData(): void;
82
+ setDataToLocalStorage(data: any): void;
83
+ initData(_getData: any): void;
84
+ getQns(): void;
85
+ selectLaguage(event: any): void;
86
+ readFromLocalStorage(): void;
87
+ goToBottom(): void;
88
+ iconClick(type: string): void;
89
+ toggleFilter(tab: string): void;
90
+ selectedQuestion(question: any, data: any): void;
91
+ pushData(msg: any): void;
92
+ getuserjourney(tab: string): any[];
93
+ getPriorityQuestion(priority: any): any[];
94
+ showMoreQuestion(): void;
95
+ showCategory(catItem: any): void;
96
+ raiseCategotyTelemetry(catItem: string): void;
97
+ raiseChatStartTelemetry(): void;
98
+ raiseChatEndTelemetry(): void;
99
+ raiseTemeletyInterat(idn: string): void;
100
+ checkForAIQuestionResponse(): void;
101
+ checkForApiCalls(): void;
102
+ getCategories(): void;
103
+ sortCategory(): any;
104
+ getLanguages(): void;
105
+ ngAfterViewChecked(): void;
106
+ scrollToBottom(): void;
107
+ clickOutside(): void;
108
+ private disableScroll;
109
+ private enableScroll;
110
+ submitSearchQuery(textArea: HTMLTextAreaElement, event: any): boolean;
111
+ sendAITutorMessage(): void;
112
+ getAiTutorMessage(): void;
113
+ aiTutorResultMessage(): void;
114
+ redirectToResource(item: any): void;
115
+ copyPath(item: any, cindex: any): void;
116
+ redirectToToc(chat: any): void;
117
+ splitParagraphByWords(paragraph: any, wordsPerChunk?: number): string;
118
+ toggleShow(index: any, showType: any): void;
119
+ get userInitials(): any;
120
+ private createInititals;
121
+ getLearningStyle(): void;
122
+ raiseTelemetryForResource(item: any): void;
123
+ sharePositiveContentRating(item: any, index: any, cindex: any): void;
124
+ openAIFeedbackPopup(item: any, index: any, cindex: any): void;
125
+ shareAIFeedback(item: any, result: any, index: any, cindex: any): void;
126
+ sharePositiveContentRatingForAnswer(item: any, index: any): void;
127
+ openAIFeedbackPopupForAnswer(item: any, index: any): void;
128
+ shareAIForAnswerFeedback(item: any, result: any, index: any): void;
129
+ callFromInternet(item: any, index: any): void;
130
+ rejectFromInternet(index: any): void;
131
+ ngOnDestroy(): void;
132
+ resizeTextarea(textArea: HTMLTextAreaElement, _fromInput: any): void;
133
+ resetTextAreaHeight(_textArea: HTMLTextAreaElement): void;
134
+ closeAITutorPopup(): void;
135
+ minimizeAITutor(): void;
136
+ maximizeAITutor(): void;
137
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiTutorComponent, never>;
138
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiTutorComponent, "ws-widget-ai-tutor", never, { "from": { "alias": "from"; "required": false; }; "content": { "alias": "content"; "required": false; }; "userJourney": { "alias": "userJourney"; "required": false; }; }, { "closeAIPopup": "closeAIPopup"; }, never, never, false, never>;
139
+ }
@@ -0,0 +1,19 @@
1
+ import { Observable } from 'rxjs';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WebSocketService {
5
+ http: HttpClient;
6
+ private socket;
7
+ private messageSubject;
8
+ pingIntervalId: any;
9
+ clientId: any;
10
+ constructor(http: HttpClient);
11
+ connect(url: string): void;
12
+ sendMessage(message: any): void;
13
+ getMessages(): Observable<any>;
14
+ startClientPing(): void;
15
+ closeConnection(): void;
16
+ getJWTToken(): Observable<any>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<WebSocketService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<WebSocketService>;
19
+ }
@@ -14,4 +14,3 @@ export declare class AttendanceCardComponent implements OnInit {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceCardComponent, never>;
15
15
  static ɵcmp: i0.ɵɵComponentDeclaration<AttendanceCardComponent, "ws-widget-attendance-card", never, { "session": { "alias": "session"; "required": false; }; "status": { "alias": "status"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showInfo": { "alias": "showInfo"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
17
- //# sourceMappingURL=attendance-card.component.d.ts.map
@@ -29,4 +29,3 @@ export declare class AttendanceCardModule {
29
29
  static ɵmod: i0.ɵɵNgModuleDeclaration<AttendanceCardModule, [typeof i1.AttendanceCardComponent], [typeof i2.CommonModule, typeof i3.MatToolbarModule, typeof i4.MatIconModule, typeof i5.MatLegacyButtonModule, typeof i6.MatLegacyMenuModule, typeof i7.MatLegacyCardModule, typeof i8.MatLegacyTooltipModule, typeof i9.MatLegacyTabsModule, typeof i10.MatLegacyChipsModule, typeof i11.MatDividerModule, typeof i12.MatLegacyProgressBarModule, typeof i13.MatLegacyListModule, typeof i14.MatLegacyDialogModule, typeof i15.MatLegacyRadioModule, typeof i16.MatExpansionModule, typeof i17.MatLegacyProgressSpinnerModule, typeof i18.MatLegacyCheckboxModule, typeof i19.MatLegacyInputModule, typeof i20.MatLegacyFormFieldModule, typeof i21.MatLegacySelectModule, typeof i22.MatLegacySnackBarModule, typeof i23.MatDatepickerModule, typeof i24.MatNativeDateModule, typeof i25.TranslateModule], [typeof i1.AttendanceCardComponent]>;
30
30
  static ɵinj: i0.ɵɵInjectorDeclaration<AttendanceCardModule>;
31
31
  }
32
- //# sourceMappingURL=attendance-card.module.d.ts.map
@@ -13,4 +13,3 @@ export declare class AttendanceHelperComponent implements OnInit {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceHelperComponent, never>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<AttendanceHelperComponent, "ws-widget-attendance-helper", never, {}, {}, never, never, false, never>;
15
15
  }
16
- //# sourceMappingURL=attendance-helper.component.d.ts.map
@@ -18,4 +18,3 @@ export declare class AttendanceHelperModule {
18
18
  static ɵmod: i0.ɵɵNgModuleDeclaration<AttendanceHelperModule, [typeof i1.AttendanceHelperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatLegacyButtonModule, typeof i5.MatLegacyCardModule, typeof i6.MatIconModule, typeof i7.MatLegacyTooltipModule, typeof i8.MatLegacyDialogModule, typeof i9.MatLegacyProgressSpinnerModule, typeof i10.MatLegacyFormFieldModule, typeof i11.MatLegacyInputModule, typeof i12.MatLegacySnackBarModule, typeof i13.MatLegacyMenuModule, typeof i14.TranslateModule], [typeof i1.AttendanceHelperComponent]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<AttendanceHelperModule>;
20
20
  }
21
- //# sourceMappingURL=attendance-helper.module.d.ts.map
@@ -20,4 +20,3 @@ export declare class AvatarPhotoComponent implements OnInit, OnChanges {
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarPhotoComponent, never>;
21
21
  static ɵcmp: i0.ɵɵComponentDeclaration<AvatarPhotoComponent, "ws-widget-avatar-photo", never, { "datalen": { "alias": "datalen"; "required": false; }; "photoUrl": { "alias": "photoUrl"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "randomColor": { "alias": "randomColor"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; }; }, {}, never, never, false, never>;
22
22
  }
23
- //# sourceMappingURL=avatar-photo.component.d.ts.map
@@ -13,4 +13,3 @@ export declare class AvatarPhotoModule {
13
13
  static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarPhotoModule, [typeof i1.AvatarPhotoComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatLegacyButtonModule, typeof i5.MatIconModule, typeof i6.MatLegacyMenuModule, typeof i7.MatRippleModule, typeof i8.SbUiResolverModule, typeof i9.PipeCertificateImageURLModule], [typeof i1.AvatarPhotoComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<AvatarPhotoModule>;
15
15
  }
16
- //# sourceMappingURL=avatar-photo.module.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { NsCardContent } from './../card-content-v2/card-content-v2.model';
3
+ import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CardCompetencyComponent extends WidgetBaseComponent implements OnInit, NsWidgetResolver.IWidgetData<NsCardContent.ICard> {
6
+ widgetData: NsCardContent.ICompetency;
7
+ competencyArea: string;
8
+ isExpanded: boolean;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ handleToggleSize(_viewMore: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardCompetencyComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardCompetencyComponent, "ws-widget-card-competency", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "competencyArea": { "alias": "competencyArea"; "required": false; }; }, {}, never, never, false, never>;
14
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./card-competency.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class CardCompetencyModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardCompetencyModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CardCompetencyModule, [typeof i1.CardCompetencyComponent], [typeof i2.CommonModule], [typeof i1.CardCompetencyComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<CardCompetencyModule>;
8
+ }
@@ -0,0 +1,44 @@
1
+ import { NsContent } from "@sunbird-cb/utils-v2";
2
+ export declare namespace NsCardContent {
3
+ interface ICard {
4
+ content: NsContent.IContent;
5
+ cardSubType: TCardSubType;
6
+ context: {
7
+ pageSection: string;
8
+ position?: number;
9
+ };
10
+ intranetMode?: 'greyOut' | 'hide';
11
+ deletedMode?: 'greyOut' | 'hide';
12
+ likes?: number;
13
+ contentTags?: IContentTags;
14
+ stateData: any;
15
+ }
16
+ interface IContentTags {
17
+ daysSpan?: number;
18
+ excludeContentType?: NsContent.EContentTypes[];
19
+ excludeMimeType?: string[];
20
+ tag: string;
21
+ criteriaField?: string;
22
+ }
23
+ interface ICompetency extends ICard {
24
+ competencyArea: '';
25
+ competencyObject: {};
26
+ }
27
+ type TCardSubType = 'standard' | 'minimal' | 'space-saving' | 'card-user-details' | 'basic-info' | 'basic-details' | 'card-description-back' | 'network-card';
28
+ enum EContentStatus {
29
+ LIVE = "Live",
30
+ EXPIRED = "Expired",
31
+ DELETED = "Deleted",
32
+ MARK_FOR_DELETION = "MarkedForDeletion"
33
+ }
34
+ enum ACBPConst {
35
+ UPCOMING = "upcoming",
36
+ ALL = "All",
37
+ OVERDUE = "overdue",
38
+ SUCCESS = "success"
39
+ }
40
+ enum IGOTConst {
41
+ COMPETENCIES = "competencies_v6",
42
+ RETIRED = "Retired"
43
+ }
44
+ }
@@ -1,23 +1,31 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
3
- import { EventService } from '@sunbird-cb/utils-v2';
3
+ import { DomainConfService, EventService } from '@sunbird-cb/utils-v2';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CertificateDialogComponent implements OnInit {
6
6
  private events;
7
7
  dialogRef: MatDialogRef<CertificateDialogComponent>;
8
8
  data: any;
9
9
  private environment;
10
+ domainConfService: DomainConfService;
10
11
  url: string;
11
12
  navUrl: string;
12
- constructor(events: EventService, dialogRef: MatDialogRef<CertificateDialogComponent>, data: any, environment: any);
13
+ constructor(events: EventService, dialogRef: MatDialogRef<CertificateDialogComponent>, data: any, environment: any, domainConfService: DomainConfService);
13
14
  ngOnInit(): void;
14
15
  downloadCert(): void;
15
16
  downloadCertPng(): void;
16
17
  downloadCertPdf(): Promise<void>;
18
+ getCertificateUrl(): string;
17
19
  shareCert(): Window;
20
+ shareOnLinkedIn(): void;
21
+ shareOnFacebook(): void;
22
+ shareOnTwitter(): void;
23
+ shareOnWhatsApp(): void;
24
+ shareViaEmail(): void;
25
+ copyCertificateLink(): void;
26
+ private fallbackCopyTextToClipboard;
18
27
  raiseShareIntreactTelemetry(type?: string, action?: string): void;
19
28
  raiseIntreactTelemetry(action?: string): void;
20
29
  static ɵfac: i0.ɵɵFactoryDeclaration<CertificateDialogComponent, never>;
21
30
  static ɵcmp: i0.ɵɵComponentDeclaration<CertificateDialogComponent, "ws-widget-certificate-dialog", never, {}, {}, never, never, false, never>;
22
31
  }
23
- //# sourceMappingURL=certificate-dialog.component.d.ts.map
@@ -5,19 +5,19 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "@angular/material/legacy-button";
7
7
  import * as i6 from "@angular/material/legacy-card";
8
- import * as i7 from "@angular/material/icon";
9
- import * as i8 from "@angular/material/legacy-tooltip";
10
- import * as i9 from "@angular/material/legacy-dialog";
11
- import * as i10 from "@angular/material/legacy-progress-spinner";
12
- import * as i11 from "@angular/material/legacy-form-field";
13
- import * as i12 from "@angular/material/legacy-input";
14
- import * as i13 from "@angular/material/legacy-snack-bar";
15
- import * as i14 from "@angular/material/legacy-menu";
16
- import * as i15 from "@sunbird-cb/utils-v2";
17
- import * as i16 from "@ngx-translate/core";
8
+ import * as i7 from "@angular/material/divider";
9
+ import * as i8 from "@angular/material/icon";
10
+ import * as i9 from "@angular/material/legacy-tooltip";
11
+ import * as i10 from "@angular/material/legacy-dialog";
12
+ import * as i11 from "@angular/material/legacy-progress-spinner";
13
+ import * as i12 from "@angular/material/legacy-form-field";
14
+ import * as i13 from "@angular/material/legacy-input";
15
+ import * as i14 from "@angular/material/legacy-snack-bar";
16
+ import * as i15 from "@angular/material/legacy-menu";
17
+ import * as i16 from "@sunbird-cb/utils-v2";
18
+ import * as i17 from "@ngx-translate/core";
18
19
  export declare class CertificateDialogModule {
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<CertificateDialogModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<CertificateDialogModule, [typeof i1.CertificateDialogComponent, typeof i2.SvgToPdfComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatLegacyButtonModule, typeof i6.MatLegacyCardModule, typeof i7.MatIconModule, typeof i8.MatLegacyTooltipModule, typeof i9.MatLegacyDialogModule, typeof i10.MatLegacyProgressSpinnerModule, typeof i11.MatLegacyFormFieldModule, typeof i12.MatLegacyInputModule, typeof i13.MatLegacySnackBarModule, typeof i14.MatLegacyMenuModule, typeof i15.PipeSafeSanitizerModule, typeof i16.TranslateModule], [typeof i1.CertificateDialogComponent]>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CertificateDialogModule, [typeof i1.CertificateDialogComponent, typeof i2.SvgToPdfComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatLegacyButtonModule, typeof i6.MatLegacyCardModule, typeof i7.MatDividerModule, typeof i8.MatIconModule, typeof i9.MatLegacyTooltipModule, typeof i10.MatLegacyDialogModule, typeof i11.MatLegacyProgressSpinnerModule, typeof i12.MatLegacyFormFieldModule, typeof i13.MatLegacyInputModule, typeof i14.MatLegacySnackBarModule, typeof i15.MatLegacyMenuModule, typeof i16.PipeSafeSanitizerModule, typeof i17.TranslateModule], [typeof i1.CertificateDialogComponent]>;
21
22
  static ɵinj: i0.ɵɵInjectorDeclaration<CertificateDialogModule>;
22
23
  }
23
- //# sourceMappingURL=certificate-dialog.module.d.ts.map
@@ -7,4 +7,3 @@ export declare class SvgToPdfComponent implements AfterViewInit {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SvgToPdfComponent, never>;
8
8
  static ɵcmp: i0.ɵɵComponentDeclaration<SvgToPdfComponent, "ws-widget-svg-to-pdf", never, {}, {}, never, never, false, never>;
9
9
  }
10
- //# sourceMappingURL=svg-to-pdf.component.d.ts.map
@@ -9,4 +9,3 @@ export declare class ConfirmDialogComponent implements OnInit {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
10
10
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ws-widget-confirm-dialog", never, {}, {}, never, never, false, never>;
11
11
  }
12
- //# sourceMappingURL=confirm-dialog.component.d.ts.map
@@ -10,4 +10,3 @@ export declare class ConfirmDialogModule {
10
10
  static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogModule, [typeof i1.ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatLegacyDialogModule, typeof i5.MatIconModule, typeof i6.TranslateModule], [typeof i1.ConfirmDialogComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogModule>;
12
12
  }
13
- //# sourceMappingURL=confirm-dialog.module.d.ts.map
@@ -16,4 +16,3 @@ export declare class ConnectionHoverCardComponent implements OnInit, AfterViewIn
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionHoverCardComponent, never>;
17
17
  static ɵcmp: i0.ɵɵComponentDeclaration<ConnectionHoverCardComponent, "ws-widget-connection-hover-card", never, { "hoverUser": { "alias": "hoverUser"; "required": false; }; }, {}, never, never, false, never>;
18
18
  }
19
- //# sourceMappingURL=connection-hover-card.component.d.ts.map
@@ -12,4 +12,3 @@ export declare class ConnectionHoverModule {
12
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<ConnectionHoverModule, [typeof i1.ConnectionHoverCardComponent, typeof i2.TooltipDirective], [typeof i3.CommonModule, typeof i4.PipeNameTransformModule, typeof i5.FormsModule, typeof i6.AvatarPhotoModule, typeof i7.MatIconModule, typeof i8.MatLegacyCardModule], [typeof i1.ConnectionHoverCardComponent, typeof i2.TooltipDirective]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<ConnectionHoverModule>;
14
14
  }
15
- //# sourceMappingURL=connection-hover.module.d.ts.map
@@ -9,4 +9,3 @@ export declare class ConnectionHoverService {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionHoverService, never>;
10
10
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectionHoverService>;
11
11
  }
12
- //# sourceMappingURL=connection-hover.servive.d.ts.map
@@ -15,4 +15,3 @@ export declare class ConnectionNameComponent implements OnInit, AfterViewInit {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionNameComponent, never>;
16
16
  static ɵcmp: i0.ɵɵComponentDeclaration<ConnectionNameComponent, "ws-widget-connection-name", never, { "hoverUser": { "alias": "hoverUser"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; }; }, {}, never, never, false, never>;
17
17
  }
18
- //# sourceMappingURL=connection-name.component.d.ts.map
@@ -12,4 +12,3 @@ export declare class ConnectionNameModule {
12
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<ConnectionNameModule, [typeof i1.ConnectionNameComponent], [typeof i2.CommonModule, typeof i3.PipeNameTransformModule, typeof i4.FormsModule, typeof i5.AvatarPhotoModule, typeof i6.MatIconModule, typeof i7.MatLegacyCardModule, typeof i8.ConnectionHoverModule], [typeof i1.ConnectionNameComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<ConnectionNameModule>;
14
14
  }
15
- //# sourceMappingURL=connection-name.module.d.ts.map
@@ -197,4 +197,3 @@ export declare namespace NSProfileDataV2 {
197
197
  recent_badge: IUserNotification;
198
198
  }
199
199
  }
200
- //# sourceMappingURL=profile-v2.model.d.ts.map
@@ -14,4 +14,3 @@ export declare class ContentProgressComponent implements OnChanges {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ContentProgressComponent, never>;
15
15
  static ɵcmp: i0.ɵɵComponentDeclaration<ContentProgressComponent, "ws-widget-content-progress", never, { "contentId": { "alias": "contentId"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "progressType": { "alias": "progressType"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "className": { "alias": "className"; "required": false; }; "customClassName": { "alias": "customClassName"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
17
- //# sourceMappingURL=content-progress.component.d.ts.map
@@ -8,4 +8,3 @@ export declare class ContentProgressModule {
8
8
  static ɵmod: i0.ɵɵNgModuleDeclaration<ContentProgressModule, [typeof i1.ContentProgressComponent], [typeof i2.CommonModule, typeof i3.MatLegacyProgressBarModule, typeof i4.MatLegacyTooltipModule], [typeof i1.ContentProgressComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<ContentProgressModule>;
10
10
  }
11
- //# sourceMappingURL=content-progress.module.d.ts.map
@@ -36,4 +36,3 @@ export declare class ContentRatingV2DialogComponent implements OnInit {
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ContentRatingV2DialogComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<ContentRatingV2DialogComponent, "ws-widget-content-rating-v2-dialog", never, { "ccuserRating": { "alias": "ccuserRating"; "required": false; }; "navigatetoTOC": { "alias": "navigatetoTOC"; "required": false; }; "rateFromCompletionDialog": { "alias": "rateFromCompletionDialog"; "required": false; }; "isEditMode": { "alias": "isEditMode"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; }, {}, never, never, false, never>;
38
38
  }
39
- //# sourceMappingURL=content-rating-v2-dialog.component.d.ts.map
@@ -17,4 +17,3 @@ export declare class ContentRatingV2DialogModule {
17
17
  static ɵmod: i0.ɵɵNgModuleDeclaration<ContentRatingV2DialogModule, [typeof i1.ContentRatingV2DialogComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatLegacyButtonModule, typeof i5.MatIconModule, typeof i6.MatLegacyTooltipModule, typeof i7.MatLegacyDialogModule, typeof i8.MatLegacyProgressSpinnerModule, typeof i9.MatLegacyFormFieldModule, typeof i10.MatLegacyInputModule, typeof i11.MatLegacySnackBarModule, typeof i12.MatLegacyCheckboxModule, typeof i13.TranslateModule], [typeof i1.ContentRatingV2DialogComponent]>;
18
18
  static ɵinj: i0.ɵɵInjectorDeclaration<ContentRatingV2DialogModule>;
19
19
  }
20
- //# sourceMappingURL=content-rating-v2-dialog.module.d.ts.map
@@ -5,8 +5,7 @@ export declare class AiTutorConfirmPopupComponent {
5
5
  data: any;
6
6
  constructor(dialogRef: MatDialogRef<AiTutorConfirmPopupComponent>, data: any);
7
7
  close(): void;
8
- enrollNow(enroll?: boolean): void;
8
+ enrollNow(_enroll?: boolean): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AiTutorConfirmPopupComponent, never>;
10
10
  static ɵcmp: i0.ɵɵComponentDeclaration<AiTutorConfirmPopupComponent, "ws-widget-ai-tutor-confirm-popup", never, {}, {}, never, never, false, never>;
11
11
  }
12
- //# sourceMappingURL=ai-tutor-confirm-popup.component.d.ts.map
@@ -5,7 +5,7 @@ import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack
5
5
  import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
6
6
  import { NsContent } from '../../../../_services/widget-content.model';
7
7
  import { RatingService } from '../../../../_services/rating.service';
8
- import { LoggerService, ConfigurationsService, WidgetContentService } from '@sunbird-cb/utils-v2';
8
+ import { LoggerService, ConfigurationsService, WidgetContentService, DomainConfService } from '@sunbird-cb/utils-v2';
9
9
  import { AppTocService } from '../../../../services/app-toc.service';
10
10
  import { TimerService } from '../../../../services/timer.service';
11
11
  import { HandleClaimService } from '../content-services/handle-claim.service';
@@ -63,6 +63,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
63
63
  private resetRatingsService;
64
64
  private contentSvc;
65
65
  private activatedRoute;
66
+ domainConfService: DomainConfService;
66
67
  condition: any;
67
68
  kparray: any;
68
69
  content: NsContent.IContent | null;
@@ -84,6 +85,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
84
85
  showMarketPlaceCertificate: boolean;
85
86
  languageList: any[];
86
87
  lockCertificate: boolean;
88
+ fromMDO: boolean;
87
89
  trigerCompletionSurveyForm: EventEmitter<boolean>;
88
90
  summaryElem: ElementRef;
89
91
  objectivesElem: ElementRef;
@@ -91,6 +93,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
91
93
  tagsElem: ElementRef;
92
94
  searchTagElem: ElementRef;
93
95
  disableCertificate: boolean;
96
+ isExternalContent: boolean;
94
97
  primaryCategory: typeof NsContent.EPrimaryCategory;
95
98
  stripsResultDataMap: {
96
99
  [key: string]: IStripUnitContentData;
@@ -145,7 +148,7 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
145
148
  refreshratingSub: any;
146
149
  pageConfigData: any;
147
150
  environment: any;
148
- constructor(ratingService: RatingService, loggerService: LoggerService, dialog: MatDialog, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, timerService: TimerService, tocSvc: AppTocService, configService: ConfigurationsService, discussUtilitySvc: DiscussUtilsService, router: Router, reviewDataService: ReviewComponentDataService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, contentSvc: WidgetContentService, activatedRoute: ActivatedRoute, environment: any);
151
+ constructor(ratingService: RatingService, loggerService: LoggerService, dialog: MatDialog, matSnackBar: MatSnackBar, loadCheckService: LoadCheckService, timerService: TimerService, tocSvc: AppTocService, configService: ConfigurationsService, discussUtilitySvc: DiscussUtilsService, router: Router, reviewDataService: ReviewComponentDataService, handleClaimService: HandleClaimService, resetRatingsService: ResetRatingsService, contentSvc: WidgetContentService, activatedRoute: ActivatedRoute, domainConfService: DomainConfService, environment: any);
149
152
  ngOnInit(): void;
150
153
  ngAfterViewInit(): void;
151
154
  ngOnChanges(changes: SimpleChanges): void;
@@ -176,9 +179,9 @@ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterVie
176
179
  openSurveyFormPopup(): void;
177
180
  checkValidJSON(str: any): boolean;
178
181
  handleSubsector(item: any): void;
182
+ navigateToNewVersion(): void;
179
183
  ngOnDestroy(): void;
180
184
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocAboutComponent, never>;
181
- static ɵcmp: i0.ɵɵComponentDeclaration<AppTocAboutComponent, "ws-widget-app-toc-about", never, { "condition": { "alias": "condition"; "required": false; }; "kparray": { "alias": "kparray"; "required": false; }; "content": { "alias": "content"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "config": { "alias": "config"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "showReviews": { "alias": "showReviews"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "fromViewer": { "alias": "fromViewer"; "required": false; }; "selectedBatchData": { "alias": "selectedBatchData"; "required": false; }; "selectedTabValue": { "alias": "selectedTabValue"; "required": false; }; "fromMarketPlace": { "alias": "fromMarketPlace"; "required": false; }; "showMarketPlaceCertificate": { "alias": "showMarketPlaceCertificate"; "required": false; }; "languageList": { "alias": "languageList"; "required": false; }; "lockCertificate": { "alias": "lockCertificate"; "required": false; }; }, { "trigerCompletionSurveyForm": "trigerCompletionSurveyForm"; }, never, never, false, never>;
185
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppTocAboutComponent, "ws-widget-app-toc-about", never, { "condition": { "alias": "condition"; "required": false; }; "kparray": { "alias": "kparray"; "required": false; }; "content": { "alias": "content"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "config": { "alias": "config"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "showReviews": { "alias": "showReviews"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "fromViewer": { "alias": "fromViewer"; "required": false; }; "selectedBatchData": { "alias": "selectedBatchData"; "required": false; }; "selectedTabValue": { "alias": "selectedTabValue"; "required": false; }; "fromMarketPlace": { "alias": "fromMarketPlace"; "required": false; }; "showMarketPlaceCertificate": { "alias": "showMarketPlaceCertificate"; "required": false; }; "languageList": { "alias": "languageList"; "required": false; }; "lockCertificate": { "alias": "lockCertificate"; "required": false; }; "fromMDO": { "alias": "fromMDO"; "required": false; }; }, { "trigerCompletionSurveyForm": "trigerCompletionSurveyForm"; }, never, never, false, never>;
182
186
  }
183
187
  export {};
184
- //# sourceMappingURL=app-toc-about.component.d.ts.map
@@ -39,4 +39,3 @@ export declare class AssignmentViewerComponent implements OnInit {
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentViewerComponent, never>;
40
40
  static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentViewerComponent, "ws-widget-app-assignment-viewer", never, {}, {}, never, never, false, never>;
41
41
  }
42
- //# sourceMappingURL=app-toc-assignment-viewer.component.d.ts.map
@@ -52,4 +52,3 @@ export declare class AssignmentViewerV2Component implements OnInit, OnDestroy {
52
52
  static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentViewerV2Component, never>;
53
53
  static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentViewerV2Component, "ws-widget-app-assignment-viewerV2", never, {}, {}, never, never, false, never>;
54
54
  }
55
- //# sourceMappingURL=app-toc-assignment-viewerV2.component.d.ts.map
@@ -45,4 +45,3 @@ export declare class AppTocBatchAssignmentsComponent implements OnInit {
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocBatchAssignmentsComponent, never>;
46
46
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocBatchAssignmentsComponent, "ws-widget-app-batch-assignments", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
47
47
  }
48
- //# sourceMappingURL=app-toc-batch-assignments.component.d.ts.map
@@ -54,4 +54,3 @@ export declare class AppTocContentComponent implements OnInit, OnDestroy, OnChan
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocContentComponent, never>;
55
55
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocContentComponent, "ws-widget-app-toc-content", never, { "batchId": { "alias": "batchId"; "required": false; }; "content": { "alias": "content"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "config": { "alias": "config"; "required": false; }; "hierarchyMapData": { "alias": "hierarchyMapData"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "isPreAssessment": { "alias": "isPreAssessment"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; }, {}, never, never, false, never>;
56
56
  }
57
- //# sourceMappingURL=app-toc-content.component.d.ts.map
@@ -1,4 +1,4 @@
1
- import { OnInit, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
1
+ import { OnInit, OnDestroy, Renderer2, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
2
  import { NsContent } from '../../../../_services/widget-content.model';
3
3
  import { NsAppToc } from '../../../../models/app-toc.model';
4
4
  import { EventService, ConfigurationsService } from '@sunbird-cb/utils-v2';
@@ -20,6 +20,7 @@ export declare class AppTocContentCardV2Component implements OnInit, OnDestroy {
20
20
  private resourceDownloadHelperSvc;
21
21
  private configSvc;
22
22
  private snackBar;
23
+ private cdr;
23
24
  content: NsContent.IContent | null;
24
25
  expandAll: boolean;
25
26
  rootId: string;
@@ -57,8 +58,9 @@ export declare class AppTocContentCardV2Component implements OnInit, OnDestroy {
57
58
  private _cachedIsMilestoneAssessment;
58
59
  private _cachedIsMilestoneAssessmentLocked;
59
60
  private _cachedResourceLink;
61
+ private _cachedMilestoneCompletedCount;
60
62
  private _cacheInitialized;
61
- constructor(events: EventService, dialog: MatDialog, renderer: Renderer2, certificateService: CertificateService, appTocSvc: AppTocService, contentLangSvc: ContentLanguageService, resourceDownloadHelperSvc: ResourceDownloadHelperService, configSvc: ConfigurationsService, snackBar: MatSnackBar);
63
+ constructor(events: EventService, dialog: MatDialog, renderer: Renderer2, certificateService: CertificateService, appTocSvc: AppTocService, contentLangSvc: ContentLanguageService, resourceDownloadHelperSvc: ResourceDownloadHelperService, configSvc: ConfigurationsService, snackBar: MatSnackBar, cdr: ChangeDetectorRef);
62
64
  ngOnInit(): void;
63
65
  /**
64
66
  * Initialize all computed properties once to avoid expensive getter calculations
@@ -123,6 +125,13 @@ export declare class AppTocContentCardV2Component implements OnInit, OnDestroy {
123
125
  getCompletionPercentage(identifier: string): number;
124
126
  roundIfDecimal(value: number): number;
125
127
  getCompletionStatus(identifier: string): any;
128
+ /**
129
+ * Check if milestone is complete based on mandatory content and assessment completion
130
+ * Returns true only when:
131
+ * 1. All mandatory content is completed (or no mandatory content exists)
132
+ * 2. Milestone assessment is completed (or no assessment exists)
133
+ */
134
+ isMilestoneComplete(identifier: string): boolean;
126
135
  openCertificateDialog(certData: any): void;
127
136
  scrollView(): void;
128
137
  downloadCertificate(certificateData: any): void;
@@ -151,6 +160,7 @@ export declare class AppTocContentCardV2Component implements OnInit, OnDestroy {
151
160
  };
152
161
  get isMilestone(): boolean;
153
162
  getMilestoneCompletedCount(): number;
163
+ private computeMilestoneCompletedCount;
154
164
  /**
155
165
  * Get unlock criteria message for locked milestones
156
166
  */
@@ -168,7 +178,7 @@ export declare class AppTocContentCardV2Component implements OnInit, OnDestroy {
168
178
  /**
169
179
  * View milestone achievement - calls the achievement API and shows the result
170
180
  */
171
- viewMilestoneAchievement(event?: MouseEvent): void;
181
+ viewMilestoneAchievement(event: MouseEvent, mileStoneData: any): void;
172
182
  /**
173
183
  * Check if text is truncated (has ellipsis) - for single line text
174
184
  * @param element The HTMLElement to check
@@ -183,4 +193,3 @@ export declare class AppTocContentCardV2Component implements OnInit, OnDestroy {
183
193
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocContentCardV2Component, never>;
184
194
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocContentCardV2Component, "ws-widget-app-toc-content-card-v2", 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; }; "componentName": { "alias": "componentName"; "required": false; }; "index": { "alias": "index"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "expandActive": { "alias": "expandActive"; "required": false; }; "hierarchyMapData": { "alias": "hierarchyMapData"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "isPreAssessment": { "alias": "isPreAssessment"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "mlCourse": { "alias": "mlCourse"; "required": false; }; "parentMilestoneLocked": { "alias": "parentMilestoneLocked"; "required": false; }; }, {}, never, never, false, never>;
185
195
  }
186
- //# sourceMappingURL=app-toc-content-card-v2.component.d.ts.map
@@ -6,4 +6,3 @@ export declare class AppTocContentCardV2SkeletonComponent implements OnInit {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocContentCardV2SkeletonComponent, never>;
7
7
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocContentCardV2SkeletonComponent, "ws-widget-app-toc-content-card-v2-skeleton", never, {}, {}, never, never, false, never>;
8
8
  }
9
- //# sourceMappingURL=app-toc-content-card-v2-skeleton.component.d.ts.map
@@ -14,4 +14,3 @@ export declare class AppTocReferenceNotesComponent implements OnInit {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTocReferenceNotesComponent, never>;
15
15
  static ɵcmp: i0.ɵɵComponentDeclaration<AppTocReferenceNotesComponent, "ws-widget-app-toc-reference-notes", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
17
- //# sourceMappingURL=app-toc-reference-notes.component.d.ts.map