@sunbird-cb/toc 0.0.1-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 (346) 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/attendance-card/attendance-card.component.mjs +55 -0
  4. package/esm2022/lib/_collection/_common/attendance-card/attendance-card.module.mjs +126 -0
  5. package/esm2022/lib/_collection/_common/attendance-helper/attendance-helper.component.mjs +32 -0
  6. package/esm2022/lib/_collection/_common/attendance-helper/attendance-helper.module.mjs +85 -0
  7. package/esm2022/lib/_collection/_common/avatar-photo/avatar-photo.component.mjs +100 -0
  8. package/esm2022/lib/_collection/_common/avatar-photo/avatar-photo.module.mjs +48 -0
  9. package/esm2022/lib/_collection/_common/card-competency/card-competency.component.mjs +58 -0
  10. package/esm2022/lib/_collection/_common/card-competency/card-competency.module.mjs +22 -0
  11. package/esm2022/lib/_collection/_common/card-content-v2/card-content-v2.model.mjs +23 -0
  12. package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.component.mjs +221 -0
  13. package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.module.mjs +96 -0
  14. package/esm2022/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.mjs +48 -0
  15. package/esm2022/lib/_collection/_common/confirm-dialog/confirm-dialog.component.mjs +25 -0
  16. package/esm2022/lib/_collection/_common/confirm-dialog/confirm-dialog.module.mjs +41 -0
  17. package/esm2022/lib/_collection/_common/connection-hover-card/connection-hover-card.component.mjs +89 -0
  18. package/esm2022/lib/_collection/_common/connection-hover-card/connection-hover.module.mjs +42 -0
  19. package/esm2022/lib/_collection/_common/connection-hover-card/connection-hover.servive.mjs +41 -0
  20. package/esm2022/lib/_collection/_common/connection-name/connection-name.component.mjs +78 -0
  21. package/esm2022/lib/_collection/_common/connection-name/connection-name.module.mjs +45 -0
  22. package/esm2022/lib/_collection/_common/connection-name/profile-v2.model.mjs +2 -0
  23. package/esm2022/lib/_collection/_common/content-progress/content-progress.component.mjs +70 -0
  24. package/esm2022/lib/_collection/_common/content-progress/content-progress.module.mjs +28 -0
  25. package/esm2022/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.mjs +187 -0
  26. package/esm2022/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.mjs +86 -0
  27. package/esm2022/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.mjs +31 -0
  28. package/esm2022/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.mjs +961 -0
  29. package/esm2022/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.mjs +183 -0
  30. package/esm2022/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.mjs +327 -0
  31. package/esm2022/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.mjs +297 -0
  32. package/esm2022/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.mjs +304 -0
  33. package/esm2022/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.mjs +1229 -0
  34. package/esm2022/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.mjs +16 -0
  35. package/esm2022/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.mjs +43 -0
  36. package/esm2022/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.mjs +133 -0
  37. package/esm2022/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.mjs +66 -0
  38. package/esm2022/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.mjs +278 -0
  39. package/esm2022/lib/_collection/_common/content-toc/content-services/handle-claim.service.mjs +21 -0
  40. package/esm2022/lib/_collection/_common/content-toc/content-services/review-component-data.service.mjs +21 -0
  41. package/esm2022/lib/_collection/_common/content-toc/content-toc.component.mjs +833 -0
  42. package/esm2022/lib/_collection/_common/content-toc/content-toc.module.mjs +224 -0
  43. package/esm2022/lib/_collection/_common/content-toc/karma-points/karma-points.component.mjs +212 -0
  44. package/esm2022/lib/_collection/_common/content-toc/karma-points/karma-points.module.mjs +26 -0
  45. package/esm2022/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.mjs +19 -0
  46. package/esm2022/lib/_collection/_common/content-toc/pipes/truncate.pipe.mjs +23 -0
  47. package/esm2022/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.mjs +113 -0
  48. package/esm2022/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.mjs +110 -0
  49. package/esm2022/lib/_collection/_common/display-content-type/display-content-type.component.mjs +26 -0
  50. package/esm2022/lib/_collection/_common/display-content-type/display-content-type.module.mjs +19 -0
  51. package/esm2022/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.mjs +67 -0
  52. package/esm2022/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.mjs +28 -0
  53. package/esm2022/lib/_collection/_common/mark-as-complete/mark-as-complete.component.mjs +77 -0
  54. package/esm2022/lib/_collection/_common/mark-as-complete/mark-as-complete.model.mjs +2 -0
  55. package/esm2022/lib/_collection/_common/mark-as-complete/mark-as-complete.module.mjs +61 -0
  56. package/esm2022/lib/_collection/_common/pipe-content-route/pipe-content-route.module.mjs +20 -0
  57. package/esm2022/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.mjs +67 -0
  58. package/esm2022/lib/_collection/_common/player-brief/player-brief.component.mjs +139 -0
  59. package/esm2022/lib/_collection/_common/player-brief/player-brief.module.mjs +71 -0
  60. package/esm2022/lib/_collection/_common/rating-summary/rating-summary.component.mjs +34 -0
  61. package/esm2022/lib/_collection/_common/rating-summary/rating-summary.module.mjs +56 -0
  62. package/esm2022/lib/_collection/_common/skeleton-loader/skeleton-loader.component.mjs +25 -0
  63. package/esm2022/lib/_collection/_common/skeleton-loader/skeleton-loader.module.mjs +37 -0
  64. package/esm2022/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.mjs +32 -0
  65. package/esm2022/lib/_collection/_common/tips-for-learner/tips-for-learner.module.mjs +30 -0
  66. package/esm2022/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.mjs +38 -0
  67. package/esm2022/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.mjs +51 -0
  68. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.component.mjs +115 -0
  69. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.model.mjs +12 -0
  70. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.module.mjs +51 -0
  71. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.service.mjs +61 -0
  72. package/esm2022/lib/_collection/_common/user-content-rating/user-content-rating.component.mjs +87 -0
  73. package/esm2022/lib/_collection/_common/user-content-rating/user-content-rating.module.mjs +36 -0
  74. package/esm2022/lib/_collection/_common/user-image/user-image.component.mjs +62 -0
  75. package/esm2022/lib/_collection/_common/user-image/user-image.module.mjs +24 -0
  76. package/esm2022/lib/_collection/btn-page-back/btn-page-back.component.mjs +192 -0
  77. package/esm2022/lib/_collection/btn-page-back/btn-page-back.module.mjs +44 -0
  78. package/esm2022/lib/_collection/btn-page-back/btn-page-back.service.mjs +99 -0
  79. package/esm2022/lib/_collection/card-rating-comment/card-rating-comment.component.mjs +58 -0
  80. package/esm2022/lib/_collection/card-rating-comment/card-rating-comment.module.mjs +67 -0
  81. package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.component.mjs +112 -0
  82. package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.model.mjs +2 -0
  83. package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.module.mjs +69 -0
  84. package/esm2022/lib/_collection-api.mjs +57 -0
  85. package/esm2022/lib/_constants/widget-content.constants.mjs +19 -0
  86. package/esm2022/lib/_directives/tooltip.directive.mjs +68 -0
  87. package/esm2022/lib/_models/common.model.mjs +2 -0
  88. package/esm2022/lib/_models/error.model.mjs +2 -0
  89. package/esm2022/lib/_pipes/highlight.pipe.mjs +24 -0
  90. package/esm2022/lib/_services/rating.service.mjs +89 -0
  91. package/esm2022/lib/_services/samuhik-charcha.service.mjs +29 -0
  92. package/esm2022/lib/_services/viewer-route-util.mjs +103 -0
  93. package/esm2022/lib/_services/widget-content.model.mjs +254 -0
  94. package/esm2022/lib/_services/widget-content.service.mjs +594 -0
  95. package/esm2022/lib/_shared/translate-loader.factory.mjs +9 -0
  96. package/esm2022/lib/app-toc-lib.module.mjs +503 -0
  97. package/esm2022/lib/collection.config.mjs +161 -0
  98. package/esm2022/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.mjs +37 -0
  99. package/esm2022/lib/components/app-toc-banner/app-toc-banner.component.mjs +1436 -0
  100. package/esm2022/lib/components/app-toc-cios-home/app-toc-cios-home.component.mjs +505 -0
  101. package/esm2022/lib/components/app-toc-cios-home/consent-dialog.component.mjs +119 -0
  102. package/esm2022/lib/components/app-toc-cohorts/app-toc-cohorts.component.mjs +80 -0
  103. package/esm2022/lib/components/app-toc-content-card/app-toc-content-card.component.mjs +249 -0
  104. package/esm2022/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.mjs +39 -0
  105. package/esm2022/lib/components/app-toc-discussion/app-toc-discussion.component.mjs +58 -0
  106. package/esm2022/lib/components/app-toc-home/app-toc-home.component.mjs +2230 -0
  107. package/esm2022/lib/components/app-toc-home-v2/app-toc-home-v2.component.mjs +3001 -0
  108. package/esm2022/lib/components/app-toc-overview/app-toc-overview.component.mjs +157 -0
  109. package/esm2022/lib/components/app-toc-session-card/app-toc-session-card.component.mjs +48 -0
  110. package/esm2022/lib/components/app-toc-sessions/app-toc-sessions.component.mjs +47 -0
  111. package/esm2022/lib/components/app-toc-single-page/app-toc-single-page.component.mjs +766 -0
  112. package/esm2022/lib/components/completion-survey-form/completion-survey-form.component.mjs +243 -0
  113. package/esm2022/lib/components/create-batch-dialog/create-batch-dialog.component.mjs +116 -0
  114. package/esm2022/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.mjs +44 -0
  115. package/esm2022/lib/components/enroll-profile-form/enroll-profile-form.component.mjs +1838 -0
  116. package/esm2022/lib/components/enroll-questionnaire/enroll-questionnaire.component.mjs +236 -0
  117. package/esm2022/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.mjs +213 -0
  118. package/esm2022/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.mjs +36 -0
  119. package/esm2022/lib/components/public-survey-form/public-survey-form.component.mjs +258 -0
  120. package/esm2022/lib/components/survey-form-question/survey-form-question.component.mjs +133 -0
  121. package/esm2022/lib/components/survey-form-section/survey-form-section.component.mjs +36 -0
  122. package/esm2022/lib/models/app-toc-analytics.model.mjs +2 -0
  123. package/esm2022/lib/models/app-toc.model.mjs +38 -0
  124. package/esm2022/lib/models/auto-complete.model.mjs +2 -0
  125. package/esm2022/lib/models/card-content.model.mjs +13 -0
  126. package/esm2022/lib/models/content-strip-with-tabs.model.mjs +2 -0
  127. package/esm2022/lib/models/discussion-forum.model.mjs +14 -0
  128. package/esm2022/lib/models/goal.model.mjs +2 -0
  129. package/esm2022/lib/models/meta-tag.model.mjs +8 -0
  130. package/esm2022/lib/models/playlist.model.mjs +2 -0
  131. package/esm2022/lib/models/profile-revamp.model.mjs +2 -0
  132. package/esm2022/lib/models/rating.model.mjs +2 -0
  133. package/esm2022/lib/models/user-profile.model.mjs +21 -0
  134. package/esm2022/lib/registration-toc-lib.config.mjs +14 -0
  135. package/esm2022/lib/resolvers/app-toc-cios-resolver.service.mjs +24 -0
  136. package/esm2022/lib/resolvers/app-toc-cios-user-enroll-resolver.service.mjs +24 -0
  137. package/esm2022/lib/resolvers/app-toc-content-read-resolver.service.mjs +60 -0
  138. package/esm2022/lib/resolvers/app-toc-ext-public-resolver.service.mjs +25 -0
  139. package/esm2022/lib/resolvers/app-toc-resolver.service.mjs +106 -0
  140. package/esm2022/lib/resolvers/config-resolver.service.mjs +25 -0
  141. package/esm2022/lib/resolvers/profile-resolver.service.mjs +25 -0
  142. package/esm2022/lib/resolvers/restricted-features-resolver.service.mjs +25 -0
  143. package/esm2022/lib/routes/app-toc-home/app-toc-home.component.mjs +51 -0
  144. package/esm2022/lib/routes/app-toc-home/app-toc-home.directive.mjs +16 -0
  145. package/esm2022/lib/routes/app-toc-home/app-toc-home.service.mjs +18 -0
  146. package/esm2022/lib/services/access-control.service.mjs +56 -0
  147. package/esm2022/lib/services/action.service.mjs +23 -0
  148. package/esm2022/lib/services/app-toc-v2.service.mjs +368 -0
  149. package/esm2022/lib/services/app-toc.service.mjs +1577 -0
  150. package/esm2022/lib/services/certificate.service.mjs +114 -0
  151. package/esm2022/lib/services/discuss-utils.service.mjs +58 -0
  152. package/esm2022/lib/services/editor.service.mjs +34 -0
  153. package/esm2022/lib/services/load-check.service.mjs +21 -0
  154. package/esm2022/lib/services/loader.service.mjs +33 -0
  155. package/esm2022/lib/services/mobile-apps.service.mjs +67 -0
  156. package/esm2022/lib/services/netcore.service.mjs +56 -0
  157. package/esm2022/lib/services/nps-grid.service.mjs +31 -0
  158. package/esm2022/lib/services/otp.service.mjs +43 -0
  159. package/esm2022/lib/services/profile-v2.service.mjs +43 -0
  160. package/esm2022/lib/services/reset-ratings.service.mjs +19 -0
  161. package/esm2022/lib/services/resource-download-helper.service.mjs +64 -0
  162. package/esm2022/lib/services/root.service.mjs +106 -0
  163. package/esm2022/lib/services/timer.service.mjs +23 -0
  164. package/esm2022/lib/services/title-tag.service.mjs +71 -0
  165. package/esm2022/lib/services/user-profile.service.mjs +55 -0
  166. package/esm2022/lib/services/viewer-data.service.mjs +64 -0
  167. package/esm2022/lib/services/viewer-util.service.mjs +627 -0
  168. package/esm2022/lib/share-toc/share-toc/share-toc.component.mjs +291 -0
  169. package/esm2022/lib/share-toc/share-toc.module.mjs +119 -0
  170. package/esm2022/public-api.mjs +80 -0
  171. package/esm2022/sunbird-cb-toc.mjs +5 -0
  172. package/fesm2022/sunbird-cb-toc.mjs +27111 -0
  173. package/fesm2022/sunbird-cb-toc.mjs.map +1 -0
  174. package/index.d.ts +5 -0
  175. package/lib/_collection/_common/ai-tutor/ai-tutor.component.d.ts +139 -0
  176. package/lib/_collection/_common/ai-tutor/socket.service.d.ts +19 -0
  177. package/lib/_collection/_common/attendance-card/attendance-card.component.d.ts +16 -0
  178. package/lib/_collection/_common/attendance-card/attendance-card.module.d.ts +31 -0
  179. package/lib/_collection/_common/attendance-helper/attendance-helper.component.d.ts +15 -0
  180. package/lib/_collection/_common/attendance-helper/attendance-helper.module.d.ts +20 -0
  181. package/lib/_collection/_common/avatar-photo/avatar-photo.component.d.ts +22 -0
  182. package/lib/_collection/_common/avatar-photo/avatar-photo.module.d.ts +15 -0
  183. package/lib/_collection/_common/card-competency/card-competency.component.d.ts +14 -0
  184. package/lib/_collection/_common/card-competency/card-competency.module.d.ts +8 -0
  185. package/lib/_collection/_common/card-content-v2/card-content-v2.model.d.ts +44 -0
  186. package/lib/_collection/_common/certificate-dialog/certificate-dialog.component.d.ts +30 -0
  187. package/lib/_collection/_common/certificate-dialog/certificate-dialog.module.d.ts +23 -0
  188. package/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.d.ts +9 -0
  189. package/lib/_collection/_common/confirm-dialog/confirm-dialog.component.d.ts +11 -0
  190. package/lib/_collection/_common/confirm-dialog/confirm-dialog.module.d.ts +12 -0
  191. package/lib/_collection/_common/connection-hover-card/connection-hover-card.component.d.ts +18 -0
  192. package/lib/_collection/_common/connection-hover-card/connection-hover.module.d.ts +14 -0
  193. package/lib/_collection/_common/connection-hover-card/connection-hover.servive.d.ts +11 -0
  194. package/lib/_collection/_common/connection-name/connection-name.component.d.ts +17 -0
  195. package/lib/_collection/_common/connection-name/connection-name.module.d.ts +14 -0
  196. package/lib/_collection/_common/connection-name/profile-v2.model.d.ts +199 -0
  197. package/lib/_collection/_common/content-progress/content-progress.component.d.ts +16 -0
  198. package/lib/_collection/_common/content-progress/content-progress.module.d.ts +10 -0
  199. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.d.ts +38 -0
  200. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.d.ts +19 -0
  201. package/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.d.ts +11 -0
  202. package/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.d.ts +187 -0
  203. package/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.d.ts +41 -0
  204. package/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.d.ts +54 -0
  205. package/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.d.ts +47 -0
  206. package/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.d.ts +56 -0
  207. package/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.d.ts +195 -0
  208. package/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.d.ts +8 -0
  209. package/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.d.ts +16 -0
  210. package/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.d.ts +40 -0
  211. package/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.d.ts +21 -0
  212. package/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.d.ts +45 -0
  213. package/lib/_collection/_common/content-toc/content-services/handle-claim.service.d.ts +10 -0
  214. package/lib/_collection/_common/content-toc/content-services/review-component-data.service.d.ts +10 -0
  215. package/lib/_collection/_common/content-toc/content-toc.component.d.ts +131 -0
  216. package/lib/_collection/_common/content-toc/content-toc.module.d.ts +52 -0
  217. package/lib/_collection/_common/content-toc/karma-points/karma-points.component.d.ts +29 -0
  218. package/lib/_collection/_common/content-toc/karma-points/karma-points.module.d.ts +9 -0
  219. package/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.d.ts +7 -0
  220. package/lib/_collection/_common/content-toc/pipes/truncate.pipe.d.ts +7 -0
  221. package/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.d.ts +28 -0
  222. package/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.d.ts +24 -0
  223. package/lib/_collection/_common/display-content-type/display-content-type.component.d.ts +14 -0
  224. package/lib/_collection/_common/display-content-type/display-content-type.module.d.ts +9 -0
  225. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.d.ts +12 -0
  226. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.d.ts +10 -0
  227. package/lib/_collection/_common/mark-as-complete/mark-as-complete.component.d.ts +22 -0
  228. package/lib/_collection/_common/mark-as-complete/mark-as-complete.model.d.ts +8 -0
  229. package/lib/_collection/_common/mark-as-complete/mark-as-complete.module.d.ts +18 -0
  230. package/lib/_collection/_common/pipe-content-route/pipe-content-route.module.d.ts +8 -0
  231. package/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.d.ts +15 -0
  232. package/lib/_collection/_common/player-brief/player-brief.component.d.ts +35 -0
  233. package/lib/_collection/_common/player-brief/player-brief.module.d.ts +19 -0
  234. package/lib/_collection/_common/rating-summary/rating-summary.component.d.ts +14 -0
  235. package/lib/_collection/_common/rating-summary/rating-summary.module.d.ts +13 -0
  236. package/lib/_collection/_common/skeleton-loader/skeleton-loader.component.d.ts +11 -0
  237. package/lib/_collection/_common/skeleton-loader/skeleton-loader.module.d.ts +11 -0
  238. package/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.d.ts +15 -0
  239. package/lib/_collection/_common/tips-for-learner/tips-for-learner.module.d.ts +10 -0
  240. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.d.ts +16 -0
  241. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.d.ts +11 -0
  242. package/lib/_collection/_common/user-autocomplete/user-autocomplete.component.d.ts +34 -0
  243. package/lib/_collection/_common/user-autocomplete/user-autocomplete.model.d.ts +17 -0
  244. package/lib/_collection/_common/user-autocomplete/user-autocomplete.module.d.ts +15 -0
  245. package/lib/_collection/_common/user-autocomplete/user-autocomplete.service.d.ts +15 -0
  246. package/lib/_collection/_common/user-content-rating/user-content-rating.component.d.ts +21 -0
  247. package/lib/_collection/_common/user-content-rating/user-content-rating.module.d.ts +12 -0
  248. package/lib/_collection/_common/user-image/user-image.component.d.ts +21 -0
  249. package/lib/_collection/_common/user-image/user-image.module.d.ts +9 -0
  250. package/lib/_collection/btn-page-back/btn-page-back.component.d.ts +47 -0
  251. package/lib/_collection/btn-page-back/btn-page-back.module.d.ts +14 -0
  252. package/lib/_collection/btn-page-back/btn-page-back.service.d.ts +22 -0
  253. package/lib/_collection/card-rating-comment/card-rating-comment.component.d.ts +19 -0
  254. package/lib/_collection/card-rating-comment/card-rating-comment.module.d.ts +15 -0
  255. package/lib/_collection/sliders-dynamic/sliders-dynamic.component.d.ts +25 -0
  256. package/lib/_collection/sliders-dynamic/sliders-dynamic.model.d.ts +21 -0
  257. package/lib/_collection/sliders-dynamic/sliders-dynamic.module.d.ts +18 -0
  258. package/lib/_collection-api.d.ts +34 -0
  259. package/lib/_constants/widget-content.constants.d.ts +7 -0
  260. package/lib/_directives/tooltip.directive.d.ts +17 -0
  261. package/lib/_models/common.model.d.ts +3 -0
  262. package/lib/_models/error.model.d.ts +5 -0
  263. package/lib/_pipes/highlight.pipe.d.ts +10 -0
  264. package/lib/_services/rating.service.d.ts +18 -0
  265. package/lib/_services/samuhik-charcha.service.d.ts +13 -0
  266. package/lib/_services/viewer-route-util.d.ts +8 -0
  267. package/lib/_services/widget-content.model.d.ts +521 -0
  268. package/lib/_services/widget-content.service.d.ts +101 -0
  269. package/lib/_shared/translate-loader.factory.d.ts +7 -0
  270. package/lib/app-toc-lib.module.d.ts +89 -0
  271. package/lib/collection.config.d.ts +159 -0
  272. package/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.d.ts +17 -0
  273. package/lib/components/app-toc-banner/app-toc-banner.component.d.ts +225 -0
  274. package/lib/components/app-toc-cios-home/app-toc-cios-home.component.d.ts +82 -0
  275. package/lib/components/app-toc-cios-home/consent-dialog.component.d.ts +22 -0
  276. package/lib/components/app-toc-cohorts/app-toc-cohorts.component.d.ts +31 -0
  277. package/lib/components/app-toc-content-card/app-toc-content-card.component.d.ts +47 -0
  278. package/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.d.ts +14 -0
  279. package/lib/components/app-toc-discussion/app-toc-discussion.component.d.ts +21 -0
  280. package/lib/components/app-toc-home/app-toc-home.component.d.ts +315 -0
  281. package/lib/components/app-toc-home-v2/app-toc-home-v2.component.d.ts +417 -0
  282. package/lib/components/app-toc-overview/app-toc-overview.component.d.ts +47 -0
  283. package/lib/components/app-toc-session-card/app-toc-session-card.component.d.ts +22 -0
  284. package/lib/components/app-toc-sessions/app-toc-sessions.component.d.ts +14 -0
  285. package/lib/components/app-toc-single-page/app-toc-single-page.component.d.ts +149 -0
  286. package/lib/components/completion-survey-form/completion-survey-form.component.d.ts +42 -0
  287. package/lib/components/create-batch-dialog/create-batch-dialog.component.d.ts +27 -0
  288. package/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.d.ts +15 -0
  289. package/lib/components/enroll-profile-form/enroll-profile-form.component.d.ts +195 -0
  290. package/lib/components/enroll-questionnaire/enroll-questionnaire.component.d.ts +44 -0
  291. package/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.d.ts +54 -0
  292. package/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.d.ts +18 -0
  293. package/lib/components/public-survey-form/public-survey-form.component.d.ts +44 -0
  294. package/lib/components/survey-form-question/survey-form-question.component.d.ts +20 -0
  295. package/lib/components/survey-form-section/survey-form-section.component.d.ts +13 -0
  296. package/lib/models/app-toc-analytics.model.d.ts +152 -0
  297. package/lib/models/app-toc.model.d.ts +84 -0
  298. package/lib/models/auto-complete.model.d.ts +27 -0
  299. package/lib/models/card-content.model.d.ts +19 -0
  300. package/lib/models/content-strip-with-tabs.model.d.ts +44 -0
  301. package/lib/models/discussion-forum.model.d.ts +40 -0
  302. package/lib/models/goal.model.d.ts +22 -0
  303. package/lib/models/meta-tag.model.d.ts +6 -0
  304. package/lib/models/playlist.model.d.ts +23 -0
  305. package/lib/models/profile-revamp.model.d.ts +14 -0
  306. package/lib/models/rating.model.d.ts +17 -0
  307. package/lib/models/user-profile.model.d.ts +37 -0
  308. package/lib/registration-toc-lib.config.d.ts +4 -0
  309. package/lib/resolvers/app-toc-cios-resolver.service.d.ts +12 -0
  310. package/lib/resolvers/app-toc-cios-user-enroll-resolver.service.d.ts +12 -0
  311. package/lib/resolvers/app-toc-content-read-resolver.service.d.ts +16 -0
  312. package/lib/resolvers/app-toc-ext-public-resolver.service.d.ts +12 -0
  313. package/lib/resolvers/app-toc-resolver.service.d.ts +16 -0
  314. package/lib/resolvers/config-resolver.service.d.ts +11 -0
  315. package/lib/resolvers/profile-resolver.service.d.ts +11 -0
  316. package/lib/resolvers/restricted-features-resolver.service.d.ts +11 -0
  317. package/lib/routes/app-toc-home/app-toc-home.component.d.ts +19 -0
  318. package/lib/routes/app-toc-home/app-toc-home.directive.d.ts +8 -0
  319. package/lib/routes/app-toc-home/app-toc-home.service.d.ts +8 -0
  320. package/lib/services/access-control.service.d.ts +29 -0
  321. package/lib/services/action.service.d.ts +9 -0
  322. package/lib/services/app-toc-v2.service.d.ts +17 -0
  323. package/lib/services/app-toc.service.d.ts +190 -0
  324. package/lib/services/certificate.service.d.ts +41 -0
  325. package/lib/services/discuss-utils.service.d.ts +33 -0
  326. package/lib/services/editor.service.d.ts +17 -0
  327. package/lib/services/load-check.service.d.ts +8 -0
  328. package/lib/services/loader.service.d.ts +16 -0
  329. package/lib/services/mobile-apps.service.d.ts +38 -0
  330. package/lib/services/netcore.service.d.ts +33 -0
  331. package/lib/services/nps-grid.service.d.ts +15 -0
  332. package/lib/services/otp.service.d.ts +20 -0
  333. package/lib/services/profile-v2.service.d.ts +20 -0
  334. package/lib/services/reset-ratings.service.d.ts +8 -0
  335. package/lib/services/resource-download-helper.service.d.ts +29 -0
  336. package/lib/services/root.service.d.ts +26 -0
  337. package/lib/services/timer.service.d.ts +9 -0
  338. package/lib/services/title-tag.service.d.ts +21 -0
  339. package/lib/services/user-profile.service.d.ts +24 -0
  340. package/lib/services/viewer-data.service.d.ts +62 -0
  341. package/lib/services/viewer-util.service.d.ts +76 -0
  342. package/lib/share-toc/share-toc/share-toc.component.d.ts +56 -0
  343. package/lib/share-toc/share-toc.module.d.ts +32 -0
  344. package/package.json +34 -0
  345. package/public-api.d.ts +64 -0
  346. package/sunbird-cb-toc-0.0.1-mauritius.tgz +0 -0
@@ -0,0 +1,199 @@
1
+ export declare namespace NSProfileDataV2 {
2
+ interface IProfileJsonData {
3
+ tabs: IProfileTab[];
4
+ }
5
+ interface IProfileTab {
6
+ name: string;
7
+ key: string;
8
+ render: boolean;
9
+ badges: {
10
+ enabled: boolean;
11
+ uri?: string;
12
+ };
13
+ enabled: boolean;
14
+ routerLink: string;
15
+ }
16
+ interface IProfile {
17
+ id: string;
18
+ userId: string;
19
+ academics?: IAcademics[];
20
+ employmentDetails?: IEmploymentDetails;
21
+ interests: IInterests;
22
+ photo: string | null | undefined;
23
+ osCreatedAt: string;
24
+ osCreatedBy: string;
25
+ osUpdatedAt: string;
26
+ osUpdatedBy: string;
27
+ osid: string;
28
+ personalDetails: IPersonalDetails;
29
+ professionalDetails: IProfessionalDetails[];
30
+ skills: ISkills;
31
+ result: any;
32
+ userName: any;
33
+ profileDetails: any;
34
+ }
35
+ interface IAcademics {
36
+ nameOfInstitute: string;
37
+ nameOfQualification: string;
38
+ osCreatedAt: string;
39
+ osCreatedBy: string;
40
+ osUpdatedAt: string;
41
+ osUpdatedBy: string;
42
+ osid: string;
43
+ type: string;
44
+ yearOfPassing: string;
45
+ }
46
+ interface IEmploymentDetails {
47
+ allotmentYearOfService: string;
48
+ cadre: string;
49
+ civilListNo: string;
50
+ departmentName: string;
51
+ dojOfService: string;
52
+ employeeCode: string;
53
+ officialPostalAddress: string;
54
+ osCreatedAt: string;
55
+ osCreatedBy: string;
56
+ osUpdatedAt: string;
57
+ osUpdatedBy: string;
58
+ osid: string;
59
+ payType: string;
60
+ pinCode: string;
61
+ service: string;
62
+ }
63
+ interface IInterests {
64
+ hobbies: any[];
65
+ osCreatedAt: string;
66
+ osCreatedBy: string;
67
+ osUpdatedAt: string;
68
+ osUpdatedBy: string;
69
+ osid: string;
70
+ professional: any[];
71
+ }
72
+ interface IPersonalDetails {
73
+ category: string;
74
+ countryCode: string;
75
+ dob: string;
76
+ domicileMedium: string;
77
+ firstname: string;
78
+ lasttname: string;
79
+ gender: string;
80
+ knownLanguages: any[];
81
+ maritalStatus: string;
82
+ middlename: string;
83
+ mobile: number;
84
+ nationality: string;
85
+ officialEmail: string;
86
+ osCreatedAt: string;
87
+ osCreatedBy: string;
88
+ osUpdatedAt: string;
89
+ osUpdatedBy: string;
90
+ osid: string;
91
+ personalEmail: string;
92
+ pincode: string;
93
+ postalAddress: string;
94
+ primaryEmail: string;
95
+ surname: string;
96
+ telephone: string;
97
+ userName: string;
98
+ }
99
+ interface IProfessionalDetails {
100
+ additionalAttributes: {
101
+ osid: string;
102
+ };
103
+ completePostalAddress: string;
104
+ description: string;
105
+ designation: string;
106
+ designationOther: string;
107
+ doj: string;
108
+ industry: string;
109
+ industryOther: string;
110
+ location: string;
111
+ name: string;
112
+ nameOther: string;
113
+ organisationType: string;
114
+ osCreatedAt: string;
115
+ osCreatedBy: string;
116
+ osUpdatedAt: string;
117
+ osUpdatedBy: string;
118
+ osid: string;
119
+ responsibilities: string;
120
+ }
121
+ interface ISkills {
122
+ additionalSkills: string;
123
+ certificateDetails: string;
124
+ osCreatedAt: string;
125
+ osCreatedBy: string;
126
+ osUpdatedAt: string;
127
+ osUpdatedBy: string;
128
+ osid: string;
129
+ }
130
+ interface IPortalProfile {
131
+ department_name: string;
132
+ email: string;
133
+ first_name: string;
134
+ kid: string;
135
+ last_name: string;
136
+ rank: number;
137
+ wid: string;
138
+ }
139
+ interface IBadgeResponse {
140
+ canEarn: IBadge[];
141
+ closeToEarning: IBadge[];
142
+ earned: IBadgeRecent[];
143
+ lastUpdatedDate: string;
144
+ recent: IBadgeRecent[];
145
+ totalPoints: [
146
+ {
147
+ collaborative_points: number;
148
+ learning_points: number;
149
+ }
150
+ ];
151
+ }
152
+ interface IBadge {
153
+ Description: string;
154
+ BadgeName: string;
155
+ BadgeImagePath: string;
156
+ badge_group: string;
157
+ badge_id: string;
158
+ badge_name: string;
159
+ badge_order: string;
160
+ badge_type: 'O' | 'R';
161
+ hover_text: string;
162
+ how_to_earn: string;
163
+ image: string;
164
+ is_new: number;
165
+ progress: number;
166
+ received_count: number;
167
+ threshold: number;
168
+ }
169
+ interface IBadgeRecent extends IBadge {
170
+ first_received_date: string;
171
+ last_received_date: string;
172
+ message: string;
173
+ image: string;
174
+ }
175
+ interface IUserNotification {
176
+ image: string;
177
+ badge_group: string;
178
+ is_new: number;
179
+ received_count: number;
180
+ badge_id: string;
181
+ how_to_earn: string;
182
+ progress: number;
183
+ threshold: number;
184
+ badge_type: string;
185
+ badge_name: string;
186
+ last_received_date: string;
187
+ first_received_date: string;
188
+ hover_text: string;
189
+ message: string;
190
+ }
191
+ interface IUserTotalPoints {
192
+ learning_points: number;
193
+ collaborative_points: number;
194
+ }
195
+ interface IUserNotifications {
196
+ totalPoints: IUserTotalPoints[];
197
+ recent_badge: IUserNotification;
198
+ }
199
+ }
@@ -0,0 +1,16 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ContentProgressComponent implements OnChanges {
4
+ contentId: string;
5
+ progress: number;
6
+ progressType: string;
7
+ forPreview: boolean;
8
+ className: string;
9
+ customClassName: any;
10
+ rendom: number;
11
+ id: string;
12
+ constructor();
13
+ ngOnChanges(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentProgressComponent, never>;
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
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./content-progress.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/legacy-progress-bar";
5
+ import * as i4 from "@angular/material/legacy-tooltip";
6
+ export declare class ContentProgressModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentProgressModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ContentProgressModule, [typeof i1.ContentProgressComponent], [typeof i2.CommonModule, typeof i3.MatLegacyProgressBarModule, typeof i4.MatLegacyTooltipModule], [typeof i1.ContentProgressComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ContentProgressModule>;
10
+ }
@@ -0,0 +1,38 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { UntypedFormGroup } from '@angular/forms';
3
+ import { EventService, LoggerService, NsContent } from '@sunbird-cb/utils-v2';
4
+ import { RatingService } from '../../../_services/rating.service';
5
+ import { Router } from '@angular/router';
6
+ import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
7
+ import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ContentRatingV2DialogComponent implements OnInit {
10
+ dialogRef: MatDialogRef<ContentRatingV2DialogComponent>;
11
+ data: any;
12
+ private events;
13
+ private ratingSvc;
14
+ private loggerSvc;
15
+ private snackBar;
16
+ private router;
17
+ ccuserRating: any;
18
+ navigatetoTOC: any;
19
+ rateFromCompletionDialog: any;
20
+ isEditMode: boolean;
21
+ collectionId: string;
22
+ content: NsContent.IContent | null;
23
+ userRating: number;
24
+ feedbackForm: UntypedFormGroup;
25
+ showSuccessScreen: boolean;
26
+ formDisabled: boolean;
27
+ isEdited: boolean;
28
+ private unsubscribe;
29
+ constructor(dialogRef: MatDialogRef<ContentRatingV2DialogComponent>, data: any, events: EventService, ratingSvc: RatingService, loggerSvc: LoggerService, snackBar: MatSnackBar, router: Router);
30
+ ngOnInit(): void;
31
+ submitRating(feedbackForm: any): void;
32
+ raiseFeedbackTelemetry(feedbackForm: any): void;
33
+ addRating(index: number): void;
34
+ closeDialog(val: boolean): void;
35
+ private openSnackbar;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentRatingV2DialogComponent, never>;
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
+ }
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./content-rating-v2-dialog.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/material/legacy-button";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "@angular/material/legacy-tooltip";
8
+ import * as i7 from "@angular/material/legacy-dialog";
9
+ import * as i8 from "@angular/material/legacy-progress-spinner";
10
+ import * as i9 from "@angular/material/legacy-form-field";
11
+ import * as i10 from "@angular/material/legacy-input";
12
+ import * as i11 from "@angular/material/legacy-snack-bar";
13
+ import * as i12 from "@angular/material/legacy-checkbox";
14
+ import * as i13 from "@ngx-translate/core";
15
+ export declare class ContentRatingV2DialogModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentRatingV2DialogModule, never>;
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
+ static ɵinj: i0.ɵɵInjectorDeclaration<ContentRatingV2DialogModule>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AiTutorConfirmPopupComponent {
4
+ dialogRef: MatDialogRef<AiTutorConfirmPopupComponent>;
5
+ data: any;
6
+ constructor(dialogRef: MatDialogRef<AiTutorConfirmPopupComponent>, data: any);
7
+ close(): void;
8
+ enrollNow(_enroll?: boolean): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiTutorConfirmPopupComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiTutorConfirmPopupComponent, "ws-widget-ai-tutor-confirm-popup", never, {}, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,187 @@
1
+ import { OnInit, OnChanges, SimpleChanges, AfterViewInit, OnDestroy, ElementRef, EventEmitter } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
4
+ import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
5
+ import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
6
+ import { NsContent } from '../../../../_services/widget-content.model';
7
+ import { RatingService } from '../../../../_services/rating.service';
8
+ import { LoggerService, ConfigurationsService, WidgetContentService, DomainConfService } from '@sunbird-cb/utils-v2';
9
+ import { AppTocService } from '../../../../services/app-toc.service';
10
+ import { TimerService } from '../../../../services/timer.service';
11
+ import { HandleClaimService } from '../content-services/handle-claim.service';
12
+ import { LoadCheckService } from '../../../../services/load-check.service';
13
+ import { ReviewComponentDataService } from '../content-services/review-component-data.service';
14
+ import { ResetRatingsService } from '../../../../services/reset-ratings.service';
15
+ import { NsContentStripWithTabs } from '../../../../models/content-strip-with-tabs.model';
16
+ import { DiscussUtilsService } from '../../../../services/discuss-utils.service';
17
+ import * as i0 from "@angular/core";
18
+ interface IStripUnitContentData {
19
+ key: string;
20
+ canHideStrip: boolean;
21
+ mode?: string;
22
+ showStrip: boolean;
23
+ widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
24
+ stripTitle: string;
25
+ stripTitleLink?: {
26
+ link: string;
27
+ icon: string;
28
+ };
29
+ sliderConfig?: {
30
+ showNavs: boolean;
31
+ showDots: boolean;
32
+ maxWidgets?: number;
33
+ };
34
+ tabs?: NsContentStripWithTabs.IContentStripTab[] | undefined;
35
+ stripName?: string;
36
+ stripLogo?: string;
37
+ description?: string;
38
+ stripInfo?: NsContentStripWithTabs.IStripInfo;
39
+ noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
40
+ errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
41
+ showOnNoData: boolean;
42
+ showOnLoader: boolean;
43
+ showOnError: boolean;
44
+ loaderWidgets?: any;
45
+ stripBackground?: string;
46
+ secondaryHeading?: any;
47
+ viewMoreUrl: any;
48
+ sectorWidgets?: any;
49
+ }
50
+ export declare class AppTocAboutComponent implements OnInit, OnChanges, AfterViewInit, OnChanges, OnDestroy {
51
+ private ratingService;
52
+ private loggerService;
53
+ private dialog;
54
+ private matSnackBar;
55
+ private loadCheckService;
56
+ private timerService;
57
+ private tocSvc;
58
+ private configService;
59
+ private discussUtilitySvc;
60
+ router: Router;
61
+ private reviewDataService;
62
+ private handleClaimService;
63
+ private resetRatingsService;
64
+ private contentSvc;
65
+ private activatedRoute;
66
+ domainConfService: DomainConfService;
67
+ condition: any;
68
+ kparray: any;
69
+ content: NsContent.IContent | null;
70
+ contentReadData: NsContent.IContent | null;
71
+ baseContentReadData: NsContent.IContent | null;
72
+ skeletonLoader: boolean;
73
+ sticky: boolean;
74
+ tocStructure: any;
75
+ pathSet: any;
76
+ config: any;
77
+ resumeData: any;
78
+ forPreview: boolean;
79
+ showReviews: boolean;
80
+ batchData: any;
81
+ fromViewer: boolean;
82
+ selectedBatchData: any;
83
+ selectedTabValue: number;
84
+ fromMarketPlace?: boolean;
85
+ showMarketPlaceCertificate: boolean;
86
+ languageList: any[];
87
+ lockCertificate: boolean;
88
+ fromMDO: boolean;
89
+ trigerCompletionSurveyForm: EventEmitter<boolean>;
90
+ summaryElem: ElementRef;
91
+ objectivesElem: ElementRef;
92
+ descElem: ElementRef;
93
+ tagsElem: ElementRef;
94
+ searchTagElem: ElementRef;
95
+ disableCertificate: boolean;
96
+ isExternalContent: boolean;
97
+ primaryCategory: typeof NsContent.EPrimaryCategory;
98
+ stripsResultDataMap: {
99
+ [key: string]: IStripUnitContentData;
100
+ };
101
+ summary: {
102
+ ellipsis: boolean;
103
+ viewLess: boolean;
104
+ };
105
+ description: {
106
+ ellipsis: boolean;
107
+ viewLess: boolean;
108
+ };
109
+ objectives: {
110
+ ellipsis: boolean;
111
+ viewLess: boolean;
112
+ };
113
+ tagsEllipsis: boolean;
114
+ searchTagsEllipsis: boolean;
115
+ competencySelected: string;
116
+ ratingSummary: any;
117
+ authReplies: any;
118
+ ratingSummaryProcessed: any;
119
+ topRatingReviews: any[];
120
+ ratingReviews: any[];
121
+ latestReviews: any[];
122
+ dialogRef: any;
123
+ displayLoader: boolean;
124
+ disableLoadMore: boolean;
125
+ lookupLoading: Boolean;
126
+ lastLookUp: any;
127
+ ratingLookup: any;
128
+ reviewPage: number;
129
+ reviewDefaultLimit: number;
130
+ lookupLimit: number;
131
+ ratingViewCount: number;
132
+ ratingViewCountDefault: number;
133
+ competenciesObject: any;
134
+ private destroySubject$;
135
+ viewMoreTags: boolean;
136
+ timerUnsubscribe: any;
137
+ downloadCertificateBool: boolean;
138
+ strip: NsContentStripWithTabs.IContentStripUnit;
139
+ timer: any;
140
+ isMobile: boolean;
141
+ compentencyKey: NsContent.ICompentencyKeys;
142
+ sectorsList: any[];
143
+ subSectorsList: any[];
144
+ userProfile: any;
145
+ subSectorDetailArr: any;
146
+ selectedSector: string;
147
+ selectedSectorId: string;
148
+ refreshratingSub: any;
149
+ pageConfigData: any;
150
+ 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);
152
+ ngOnInit(): void;
153
+ ngAfterViewInit(): void;
154
+ ngOnChanges(changes: SimpleChanges): void;
155
+ getSubThemes(): any[];
156
+ loadCompetencies(): void;
157
+ handleShowCompetencies(item: any): void;
158
+ private transformCompetenciesToWidget;
159
+ handleParseJsonData(s: string): any;
160
+ fetchRatingSummary(): void;
161
+ fetchRatingLookup(): void;
162
+ processRatingLookup(response: any): void;
163
+ getAuthorReply(identifier: string, primaryCategory: NsContent.EPrimaryCategory, userIds: any[]): import("rxjs").Subscription;
164
+ countStarsPercentage(value: any, key: any, total: any): string | 0;
165
+ processRatingSummary(): {
166
+ breakDown: any[];
167
+ latest50Reviews: any[];
168
+ ratingsNumber: any[];
169
+ total_number_of_ratings: any;
170
+ avgRating: number;
171
+ };
172
+ handleCapitalize(str: string, type?: string): string;
173
+ handleOpenReviewModal(): void;
174
+ loadMore(selectedReview: string): void;
175
+ navigateToDiscussionHub(): void;
176
+ handleClickOfClaim(event: any): void;
177
+ getCourseIdForCertificate(): string;
178
+ handleOpenCertificateDialog(): void;
179
+ openSurveyFormPopup(): void;
180
+ checkValidJSON(str: any): boolean;
181
+ handleSubsector(item: any): void;
182
+ navigateToNewVersion(): void;
183
+ ngOnDestroy(): void;
184
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppTocAboutComponent, 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>;
186
+ }
187
+ export {};
@@ -0,0 +1,41 @@
1
+ import { ElementRef, OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { MatLegacyDialog } from '@angular/material/legacy-dialog';
4
+ import { MatLegacySnackBar } from '@angular/material/legacy-snack-bar';
5
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
6
+ import { Router } from '@angular/router';
7
+ import { ConfigurationsService } from '@sunbird-cb/utils-v2';
8
+ import { AppTocService } from '../../../../services/app-toc.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class AssignmentViewerComponent implements OnInit {
11
+ router: Router;
12
+ tocSvc: AppTocService;
13
+ configSvc: ConfigurationsService;
14
+ private sanitizer;
15
+ dialogRef: MatDialogRef<AssignmentViewerComponent>;
16
+ data: any;
17
+ private dialogLegacy;
18
+ private snackBar;
19
+ documentUrl: string;
20
+ documentType: string;
21
+ loading: boolean;
22
+ error: boolean;
23
+ errorMessage: string;
24
+ safeSrc: SafeResourceUrl | null;
25
+ docIframe: ElementRef | undefined;
26
+ height: string;
27
+ width: string;
28
+ constructor(router: Router, tocSvc: AppTocService, configSvc: ConfigurationsService, sanitizer: DomSanitizer, dialogRef: MatDialogRef<AssignmentViewerComponent>, data: any, dialogLegacy: MatLegacyDialog, snackBar: MatLegacySnackBar);
29
+ ngOnInit(): void;
30
+ processDocumentUrl(): void;
31
+ onIframeLoad(): void;
32
+ onIframeError(): void;
33
+ ngAfterViewInit(): void;
34
+ handleClose(): void;
35
+ submitAssignmentAsDraft(): void;
36
+ submitAssignment(): void;
37
+ handleSubmitAssignment(): void;
38
+ openSnackbar(primaryMsg: string, duration?: number): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentViewerComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentViewerComponent, "ws-widget-app-assignment-viewer", never, {}, {}, never, never, false, never>;
41
+ }
@@ -0,0 +1,54 @@
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { MatLegacyDialog } from '@angular/material/legacy-dialog';
4
+ import { MatLegacySnackBar } from '@angular/material/legacy-snack-bar';
5
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
6
+ import { Router } from '@angular/router';
7
+ import { ConfigurationsService } from '@sunbird-cb/utils-v2';
8
+ import { AppTocService } from '../../../../services/app-toc.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class AssignmentViewerV2Component implements OnInit, OnDestroy {
11
+ router: Router;
12
+ tocSvc: AppTocService;
13
+ configSvc: ConfigurationsService;
14
+ private sanitizer;
15
+ dialogRef: MatDialogRef<AssignmentViewerV2Component>;
16
+ data: any;
17
+ private dialogLegacy;
18
+ private snackBar;
19
+ safeSrc: SafeResourceUrl | null;
20
+ fileBlob: Blob | null;
21
+ fileUrl: string;
22
+ fileType: string;
23
+ fileName: string;
24
+ isLoading: boolean;
25
+ error: boolean;
26
+ errorMessage: string;
27
+ showPdfViewer: boolean;
28
+ showDownloadOption: boolean;
29
+ documentNotSupported: boolean;
30
+ constructor(router: Router, tocSvc: AppTocService, configSvc: ConfigurationsService, sanitizer: DomSanitizer, dialogRef: MatDialogRef<AssignmentViewerV2Component>, data: any, dialogLegacy: MatLegacyDialog, snackBar: MatLegacySnackBar);
31
+ ngOnInit(): void;
32
+ readFile(): void;
33
+ handleSubmitAssignment(): void;
34
+ submitAssignment(): void;
35
+ notifyAssignmentSubmission(): Promise<void>;
36
+ private processFileData;
37
+ private createFileUrl;
38
+ private setupViewer;
39
+ private setupPdfViewer;
40
+ private getFileType;
41
+ private getMimeType;
42
+ private handleError;
43
+ downloadFile(): void;
44
+ onIframeLoad(): void;
45
+ onIframeError(): void;
46
+ handleClose(): void;
47
+ openSnackbar(primaryMsg: string, duration?: number): void;
48
+ submitAssignmentAsDraft(): void;
49
+ closeDialog(): void;
50
+ retryLoad(): void;
51
+ ngOnDestroy(): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentViewerV2Component, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentViewerV2Component, "ws-widget-app-assignment-viewerV2", never, {}, {}, never, never, false, never>;
54
+ }
@@ -0,0 +1,47 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { MatLegacySnackBar } from '@angular/material/legacy-snack-bar';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { ConfigurationsService } from '@sunbird-cb/utils-v2';
6
+ import { AppTocService } from '../../../../services/app-toc.service';
7
+ import { MatLegacyDialog } from '@angular/material/legacy-dialog';
8
+ import * as i0 from "@angular/core";
9
+ export declare class AppTocBatchAssignmentsComponent implements OnInit {
10
+ router: Router;
11
+ private snackBar;
12
+ tocSvc: AppTocService;
13
+ configSvc: ConfigurationsService;
14
+ private dialog;
15
+ private dialogLegacy;
16
+ private route;
17
+ content: any;
18
+ assignments: any[];
19
+ allowType: string[];
20
+ fileExtention: any;
21
+ resourceFileAdded: any;
22
+ isLoading: boolean;
23
+ selectedAssignment: any;
24
+ batchId: any;
25
+ submissions: any[];
26
+ constructor(router: Router, snackBar: MatLegacySnackBar, tocSvc: AppTocService, configSvc: ConfigurationsService, dialog: MatDialog, dialogLegacy: MatLegacyDialog, route: ActivatedRoute);
27
+ ngOnInit(): void;
28
+ getUserAssignmentStatus(): void;
29
+ processAssignmentsWithStatus(): void;
30
+ fetchAssignments(): void;
31
+ handleViewFeedback(assignment: any): void;
32
+ downloadFile(assignment: any): void;
33
+ downloadFileDirectly(assignment: any): void;
34
+ downloadFileWithFetch(assignment: any): Promise<void>;
35
+ triggerFileUpload(assignment: any): void;
36
+ submitAssignment(assessment: any): void;
37
+ fileInputEmit(fileInput: FileList | null): void;
38
+ upload(file: any): Promise<void>;
39
+ previewAssignments(result: any): void;
40
+ callingViewAssignments(url: any): void;
41
+ checkFileType(file: File): boolean;
42
+ getMarks(submissionMeta: any): string;
43
+ openSnackbar(primaryMsg: string, duration?: number): void;
44
+ extractFilenameFromUrl(url: string): string;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppTocBatchAssignmentsComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppTocBatchAssignmentsComponent, "ws-widget-app-batch-assignments", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
47
+ }