@sunbird-cb/toc 0.0.7 → 0.0.8-ang-17-20

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 (332) hide show
  1. package/fesm2022/sunbird-cb-toc.mjs +16738 -13830
  2. package/fesm2022/sunbird-cb-toc.mjs.map +1 -1
  3. package/index.d.ts +5888 -3
  4. package/package.json +13 -12
  5. package/sunbird-cb-toc-0.0.8-ang-17-20.tgz +0 -0
  6. package/esm2022/lib/_collection/_common/attendance-card/attendance-card.component.mjs +0 -55
  7. package/esm2022/lib/_collection/_common/attendance-card/attendance-card.module.mjs +0 -126
  8. package/esm2022/lib/_collection/_common/attendance-helper/attendance-helper.component.mjs +0 -32
  9. package/esm2022/lib/_collection/_common/attendance-helper/attendance-helper.module.mjs +0 -85
  10. package/esm2022/lib/_collection/_common/avatar-photo/avatar-photo.component.mjs +0 -100
  11. package/esm2022/lib/_collection/_common/avatar-photo/avatar-photo.module.mjs +0 -48
  12. package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.component.mjs +0 -120
  13. package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.module.mjs +0 -92
  14. package/esm2022/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.mjs +0 -48
  15. package/esm2022/lib/_collection/_common/confirm-dialog/confirm-dialog.component.mjs +0 -25
  16. package/esm2022/lib/_collection/_common/confirm-dialog/confirm-dialog.module.mjs +0 -41
  17. package/esm2022/lib/_collection/_common/connection-hover-card/connection-hover-card.component.mjs +0 -89
  18. package/esm2022/lib/_collection/_common/connection-hover-card/connection-hover.module.mjs +0 -42
  19. package/esm2022/lib/_collection/_common/connection-hover-card/connection-hover.servive.mjs +0 -41
  20. package/esm2022/lib/_collection/_common/connection-name/connection-name.component.mjs +0 -78
  21. package/esm2022/lib/_collection/_common/connection-name/connection-name.module.mjs +0 -45
  22. package/esm2022/lib/_collection/_common/connection-name/profile-v2.model.mjs +0 -2
  23. package/esm2022/lib/_collection/_common/content-progress/content-progress.component.mjs +0 -70
  24. package/esm2022/lib/_collection/_common/content-progress/content-progress.module.mjs +0 -28
  25. package/esm2022/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.mjs +0 -187
  26. package/esm2022/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.mjs +0 -86
  27. package/esm2022/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.mjs +0 -31
  28. package/esm2022/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.mjs +0 -941
  29. package/esm2022/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.mjs +0 -183
  30. package/esm2022/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.mjs +0 -327
  31. package/esm2022/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.mjs +0 -297
  32. package/esm2022/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.mjs +0 -225
  33. package/esm2022/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.mjs +0 -1030
  34. package/esm2022/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.mjs +0 -16
  35. package/esm2022/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.mjs +0 -43
  36. package/esm2022/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.mjs +0 -133
  37. package/esm2022/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.mjs +0 -66
  38. package/esm2022/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.mjs +0 -278
  39. package/esm2022/lib/_collection/_common/content-toc/content-services/handle-claim.service.mjs +0 -21
  40. package/esm2022/lib/_collection/_common/content-toc/content-services/review-component-data.service.mjs +0 -21
  41. package/esm2022/lib/_collection/_common/content-toc/content-toc.component.mjs +0 -847
  42. package/esm2022/lib/_collection/_common/content-toc/content-toc.module.mjs +0 -219
  43. package/esm2022/lib/_collection/_common/content-toc/karma-points/karma-points.component.mjs +0 -209
  44. package/esm2022/lib/_collection/_common/content-toc/karma-points/karma-points.module.mjs +0 -26
  45. package/esm2022/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.mjs +0 -19
  46. package/esm2022/lib/_collection/_common/content-toc/pipes/truncate.pipe.mjs +0 -23
  47. package/esm2022/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.mjs +0 -113
  48. package/esm2022/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.mjs +0 -110
  49. package/esm2022/lib/_collection/_common/display-content-type/display-content-type.component.mjs +0 -26
  50. package/esm2022/lib/_collection/_common/display-content-type/display-content-type.module.mjs +0 -19
  51. package/esm2022/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.mjs +0 -67
  52. package/esm2022/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.mjs +0 -28
  53. package/esm2022/lib/_collection/_common/mark-as-complete/mark-as-complete.component.mjs +0 -77
  54. package/esm2022/lib/_collection/_common/mark-as-complete/mark-as-complete.model.mjs +0 -2
  55. package/esm2022/lib/_collection/_common/mark-as-complete/mark-as-complete.module.mjs +0 -61
  56. package/esm2022/lib/_collection/_common/pipe-content-route/pipe-content-route.module.mjs +0 -20
  57. package/esm2022/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.mjs +0 -67
  58. package/esm2022/lib/_collection/_common/player-brief/player-brief.component.mjs +0 -139
  59. package/esm2022/lib/_collection/_common/player-brief/player-brief.module.mjs +0 -71
  60. package/esm2022/lib/_collection/_common/rating-summary/rating-summary.component.mjs +0 -34
  61. package/esm2022/lib/_collection/_common/rating-summary/rating-summary.module.mjs +0 -56
  62. package/esm2022/lib/_collection/_common/skeleton-loader/skeleton-loader.component.mjs +0 -25
  63. package/esm2022/lib/_collection/_common/skeleton-loader/skeleton-loader.module.mjs +0 -37
  64. package/esm2022/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.mjs +0 -32
  65. package/esm2022/lib/_collection/_common/tips-for-learner/tips-for-learner.module.mjs +0 -30
  66. package/esm2022/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.mjs +0 -38
  67. package/esm2022/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.mjs +0 -51
  68. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.component.mjs +0 -115
  69. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.model.mjs +0 -12
  70. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.module.mjs +0 -51
  71. package/esm2022/lib/_collection/_common/user-autocomplete/user-autocomplete.service.mjs +0 -61
  72. package/esm2022/lib/_collection/_common/user-content-rating/user-content-rating.component.mjs +0 -87
  73. package/esm2022/lib/_collection/_common/user-content-rating/user-content-rating.module.mjs +0 -36
  74. package/esm2022/lib/_collection/_common/user-image/user-image.component.mjs +0 -62
  75. package/esm2022/lib/_collection/_common/user-image/user-image.module.mjs +0 -24
  76. package/esm2022/lib/_collection/btn-page-back/btn-page-back.component.mjs +0 -192
  77. package/esm2022/lib/_collection/btn-page-back/btn-page-back.module.mjs +0 -44
  78. package/esm2022/lib/_collection/btn-page-back/btn-page-back.service.mjs +0 -99
  79. package/esm2022/lib/_collection/card-rating-comment/card-rating-comment.component.mjs +0 -58
  80. package/esm2022/lib/_collection/card-rating-comment/card-rating-comment.module.mjs +0 -67
  81. package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.component.mjs +0 -112
  82. package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.model.mjs +0 -2
  83. package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.module.mjs +0 -69
  84. package/esm2022/lib/_collection-api.mjs +0 -57
  85. package/esm2022/lib/_constants/widget-content.constants.mjs +0 -19
  86. package/esm2022/lib/_directives/tooltip.directive.mjs +0 -68
  87. package/esm2022/lib/_models/common.model.mjs +0 -2
  88. package/esm2022/lib/_models/error.model.mjs +0 -2
  89. package/esm2022/lib/_pipes/highlight.pipe.mjs +0 -24
  90. package/esm2022/lib/_services/rating.service.mjs +0 -89
  91. package/esm2022/lib/_services/samuhik-charcha.service.mjs +0 -29
  92. package/esm2022/lib/_services/viewer-route-util.mjs +0 -103
  93. package/esm2022/lib/_services/widget-content.model.mjs +0 -247
  94. package/esm2022/lib/_services/widget-content.service.mjs +0 -594
  95. package/esm2022/lib/_shared/translate-loader.factory.mjs +0 -9
  96. package/esm2022/lib/app-toc-lib.module.mjs +0 -499
  97. package/esm2022/lib/collection.config.mjs +0 -161
  98. package/esm2022/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.mjs +0 -37
  99. package/esm2022/lib/components/app-toc-banner/app-toc-banner.component.mjs +0 -1436
  100. package/esm2022/lib/components/app-toc-cios-home/app-toc-cios-home.component.mjs +0 -475
  101. package/esm2022/lib/components/app-toc-cios-home/consent-dialog.component.mjs +0 -119
  102. package/esm2022/lib/components/app-toc-cohorts/app-toc-cohorts.component.mjs +0 -80
  103. package/esm2022/lib/components/app-toc-content-card/app-toc-content-card.component.mjs +0 -249
  104. package/esm2022/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.mjs +0 -39
  105. package/esm2022/lib/components/app-toc-discussion/app-toc-discussion.component.mjs +0 -58
  106. package/esm2022/lib/components/app-toc-home/app-toc-home.component.mjs +0 -2229
  107. package/esm2022/lib/components/app-toc-home-v2/app-toc-home-v2.component.mjs +0 -2905
  108. package/esm2022/lib/components/app-toc-overview/app-toc-overview.component.mjs +0 -157
  109. package/esm2022/lib/components/app-toc-session-card/app-toc-session-card.component.mjs +0 -48
  110. package/esm2022/lib/components/app-toc-sessions/app-toc-sessions.component.mjs +0 -47
  111. package/esm2022/lib/components/app-toc-single-page/app-toc-single-page.component.mjs +0 -766
  112. package/esm2022/lib/components/completion-survey-form/completion-survey-form.component.mjs +0 -243
  113. package/esm2022/lib/components/create-batch-dialog/create-batch-dialog.component.mjs +0 -116
  114. package/esm2022/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.mjs +0 -44
  115. package/esm2022/lib/components/enroll-profile-form/enroll-profile-form.component.mjs +0 -1838
  116. package/esm2022/lib/components/enroll-questionnaire/enroll-questionnaire.component.mjs +0 -236
  117. package/esm2022/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.mjs +0 -213
  118. package/esm2022/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.mjs +0 -36
  119. package/esm2022/lib/components/public-survey-form/public-survey-form.component.mjs +0 -256
  120. package/esm2022/lib/components/survey-form-question/survey-form-question.component.mjs +0 -133
  121. package/esm2022/lib/components/survey-form-section/survey-form-section.component.mjs +0 -36
  122. package/esm2022/lib/models/app-toc-analytics.model.mjs +0 -2
  123. package/esm2022/lib/models/app-toc.model.mjs +0 -38
  124. package/esm2022/lib/models/auto-complete.model.mjs +0 -2
  125. package/esm2022/lib/models/card-content.model.mjs +0 -13
  126. package/esm2022/lib/models/content-strip-with-tabs.model.mjs +0 -2
  127. package/esm2022/lib/models/discussion-forum.model.mjs +0 -14
  128. package/esm2022/lib/models/goal.model.mjs +0 -2
  129. package/esm2022/lib/models/meta-tag.model.mjs +0 -8
  130. package/esm2022/lib/models/playlist.model.mjs +0 -2
  131. package/esm2022/lib/models/profile-revamp.model.mjs +0 -2
  132. package/esm2022/lib/models/rating.model.mjs +0 -2
  133. package/esm2022/lib/models/user-profile.model.mjs +0 -21
  134. package/esm2022/lib/resolvers/app-toc-cios-resolver.service.mjs +0 -24
  135. package/esm2022/lib/resolvers/app-toc-cios-user-enroll-resolver.service.mjs +0 -24
  136. package/esm2022/lib/resolvers/app-toc-content-read-resolver.service.mjs +0 -60
  137. package/esm2022/lib/resolvers/app-toc-ext-public-resolver.service.mjs +0 -25
  138. package/esm2022/lib/resolvers/app-toc-resolver.service.mjs +0 -106
  139. package/esm2022/lib/resolvers/config-resolver.service.mjs +0 -25
  140. package/esm2022/lib/resolvers/profile-resolver.service.mjs +0 -25
  141. package/esm2022/lib/resolvers/restricted-features-resolver.service.mjs +0 -25
  142. package/esm2022/lib/routes/app-toc-home/app-toc-home.component.mjs +0 -51
  143. package/esm2022/lib/routes/app-toc-home/app-toc-home.directive.mjs +0 -16
  144. package/esm2022/lib/routes/app-toc-home/app-toc-home.service.mjs +0 -18
  145. package/esm2022/lib/services/access-control.service.mjs +0 -56
  146. package/esm2022/lib/services/action.service.mjs +0 -23
  147. package/esm2022/lib/services/app-toc-v2.service.mjs +0 -243
  148. package/esm2022/lib/services/app-toc.service.mjs +0 -1387
  149. package/esm2022/lib/services/certificate.service.mjs +0 -69
  150. package/esm2022/lib/services/discuss-utils.service.mjs +0 -58
  151. package/esm2022/lib/services/editor.service.mjs +0 -34
  152. package/esm2022/lib/services/load-check.service.mjs +0 -21
  153. package/esm2022/lib/services/loader.service.mjs +0 -33
  154. package/esm2022/lib/services/mobile-apps.service.mjs +0 -67
  155. package/esm2022/lib/services/netcore.service.mjs +0 -56
  156. package/esm2022/lib/services/nps-grid.service.mjs +0 -31
  157. package/esm2022/lib/services/otp.service.mjs +0 -43
  158. package/esm2022/lib/services/profile-v2.service.mjs +0 -43
  159. package/esm2022/lib/services/reset-ratings.service.mjs +0 -19
  160. package/esm2022/lib/services/resource-download-helper.service.mjs +0 -64
  161. package/esm2022/lib/services/timer.service.mjs +0 -23
  162. package/esm2022/lib/services/title-tag.service.mjs +0 -71
  163. package/esm2022/lib/services/user-profile.service.mjs +0 -55
  164. package/esm2022/lib/services/viewer-data.service.mjs +0 -64
  165. package/esm2022/lib/services/viewer-util.service.mjs +0 -500
  166. package/esm2022/lib/share-toc/share-toc/share-toc.component.mjs +0 -291
  167. package/esm2022/lib/share-toc/share-toc.module.mjs +0 -119
  168. package/esm2022/public-api.mjs +0 -70
  169. package/esm2022/sunbird-cb-toc.mjs +0 -5
  170. package/lib/_collection/_common/attendance-card/attendance-card.component.d.ts +0 -16
  171. package/lib/_collection/_common/attendance-card/attendance-card.module.d.ts +0 -31
  172. package/lib/_collection/_common/attendance-helper/attendance-helper.component.d.ts +0 -15
  173. package/lib/_collection/_common/attendance-helper/attendance-helper.module.d.ts +0 -20
  174. package/lib/_collection/_common/avatar-photo/avatar-photo.component.d.ts +0 -22
  175. package/lib/_collection/_common/avatar-photo/avatar-photo.module.d.ts +0 -15
  176. package/lib/_collection/_common/certificate-dialog/certificate-dialog.component.d.ts +0 -22
  177. package/lib/_collection/_common/certificate-dialog/certificate-dialog.module.d.ts +0 -22
  178. package/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.d.ts +0 -9
  179. package/lib/_collection/_common/confirm-dialog/confirm-dialog.component.d.ts +0 -11
  180. package/lib/_collection/_common/confirm-dialog/confirm-dialog.module.d.ts +0 -12
  181. package/lib/_collection/_common/connection-hover-card/connection-hover-card.component.d.ts +0 -18
  182. package/lib/_collection/_common/connection-hover-card/connection-hover.module.d.ts +0 -14
  183. package/lib/_collection/_common/connection-hover-card/connection-hover.servive.d.ts +0 -11
  184. package/lib/_collection/_common/connection-name/connection-name.component.d.ts +0 -17
  185. package/lib/_collection/_common/connection-name/connection-name.module.d.ts +0 -14
  186. package/lib/_collection/_common/connection-name/profile-v2.model.d.ts +0 -199
  187. package/lib/_collection/_common/content-progress/content-progress.component.d.ts +0 -16
  188. package/lib/_collection/_common/content-progress/content-progress.module.d.ts +0 -10
  189. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.d.ts +0 -38
  190. package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.d.ts +0 -19
  191. package/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.d.ts +0 -11
  192. package/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.d.ts +0 -183
  193. package/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.d.ts +0 -41
  194. package/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.d.ts +0 -54
  195. package/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.d.ts +0 -47
  196. package/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.d.ts +0 -48
  197. package/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.d.ts +0 -154
  198. package/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.d.ts +0 -8
  199. package/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.d.ts +0 -16
  200. package/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.d.ts +0 -40
  201. package/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.d.ts +0 -21
  202. package/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.d.ts +0 -45
  203. package/lib/_collection/_common/content-toc/content-services/handle-claim.service.d.ts +0 -10
  204. package/lib/_collection/_common/content-toc/content-services/review-component-data.service.d.ts +0 -10
  205. package/lib/_collection/_common/content-toc/content-toc.component.d.ts +0 -128
  206. package/lib/_collection/_common/content-toc/content-toc.module.d.ts +0 -51
  207. package/lib/_collection/_common/content-toc/karma-points/karma-points.component.d.ts +0 -29
  208. package/lib/_collection/_common/content-toc/karma-points/karma-points.module.d.ts +0 -9
  209. package/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.d.ts +0 -7
  210. package/lib/_collection/_common/content-toc/pipes/truncate.pipe.d.ts +0 -7
  211. package/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.d.ts +0 -28
  212. package/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.d.ts +0 -24
  213. package/lib/_collection/_common/display-content-type/display-content-type.component.d.ts +0 -14
  214. package/lib/_collection/_common/display-content-type/display-content-type.module.d.ts +0 -9
  215. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.d.ts +0 -12
  216. package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.d.ts +0 -10
  217. package/lib/_collection/_common/mark-as-complete/mark-as-complete.component.d.ts +0 -22
  218. package/lib/_collection/_common/mark-as-complete/mark-as-complete.model.d.ts +0 -8
  219. package/lib/_collection/_common/mark-as-complete/mark-as-complete.module.d.ts +0 -18
  220. package/lib/_collection/_common/pipe-content-route/pipe-content-route.module.d.ts +0 -8
  221. package/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.d.ts +0 -15
  222. package/lib/_collection/_common/player-brief/player-brief.component.d.ts +0 -35
  223. package/lib/_collection/_common/player-brief/player-brief.module.d.ts +0 -19
  224. package/lib/_collection/_common/rating-summary/rating-summary.component.d.ts +0 -14
  225. package/lib/_collection/_common/rating-summary/rating-summary.module.d.ts +0 -13
  226. package/lib/_collection/_common/skeleton-loader/skeleton-loader.component.d.ts +0 -11
  227. package/lib/_collection/_common/skeleton-loader/skeleton-loader.module.d.ts +0 -11
  228. package/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.d.ts +0 -15
  229. package/lib/_collection/_common/tips-for-learner/tips-for-learner.module.d.ts +0 -10
  230. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.d.ts +0 -16
  231. package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.d.ts +0 -11
  232. package/lib/_collection/_common/user-autocomplete/user-autocomplete.component.d.ts +0 -34
  233. package/lib/_collection/_common/user-autocomplete/user-autocomplete.model.d.ts +0 -17
  234. package/lib/_collection/_common/user-autocomplete/user-autocomplete.module.d.ts +0 -15
  235. package/lib/_collection/_common/user-autocomplete/user-autocomplete.service.d.ts +0 -15
  236. package/lib/_collection/_common/user-content-rating/user-content-rating.component.d.ts +0 -21
  237. package/lib/_collection/_common/user-content-rating/user-content-rating.module.d.ts +0 -12
  238. package/lib/_collection/_common/user-image/user-image.component.d.ts +0 -21
  239. package/lib/_collection/_common/user-image/user-image.module.d.ts +0 -9
  240. package/lib/_collection/btn-page-back/btn-page-back.component.d.ts +0 -47
  241. package/lib/_collection/btn-page-back/btn-page-back.module.d.ts +0 -14
  242. package/lib/_collection/btn-page-back/btn-page-back.service.d.ts +0 -22
  243. package/lib/_collection/card-rating-comment/card-rating-comment.component.d.ts +0 -19
  244. package/lib/_collection/card-rating-comment/card-rating-comment.module.d.ts +0 -15
  245. package/lib/_collection/sliders-dynamic/sliders-dynamic.component.d.ts +0 -25
  246. package/lib/_collection/sliders-dynamic/sliders-dynamic.model.d.ts +0 -21
  247. package/lib/_collection/sliders-dynamic/sliders-dynamic.module.d.ts +0 -18
  248. package/lib/_collection-api.d.ts +0 -34
  249. package/lib/_constants/widget-content.constants.d.ts +0 -7
  250. package/lib/_directives/tooltip.directive.d.ts +0 -17
  251. package/lib/_models/common.model.d.ts +0 -3
  252. package/lib/_models/error.model.d.ts +0 -5
  253. package/lib/_pipes/highlight.pipe.d.ts +0 -10
  254. package/lib/_services/rating.service.d.ts +0 -18
  255. package/lib/_services/samuhik-charcha.service.d.ts +0 -13
  256. package/lib/_services/viewer-route-util.d.ts +0 -8
  257. package/lib/_services/widget-content.model.d.ts +0 -515
  258. package/lib/_services/widget-content.service.d.ts +0 -101
  259. package/lib/_shared/translate-loader.factory.d.ts +0 -7
  260. package/lib/app-toc-lib.module.d.ts +0 -88
  261. package/lib/collection.config.d.ts +0 -159
  262. package/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.d.ts +0 -17
  263. package/lib/components/app-toc-banner/app-toc-banner.component.d.ts +0 -225
  264. package/lib/components/app-toc-cios-home/app-toc-cios-home.component.d.ts +0 -78
  265. package/lib/components/app-toc-cios-home/consent-dialog.component.d.ts +0 -22
  266. package/lib/components/app-toc-cohorts/app-toc-cohorts.component.d.ts +0 -31
  267. package/lib/components/app-toc-content-card/app-toc-content-card.component.d.ts +0 -47
  268. package/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.d.ts +0 -14
  269. package/lib/components/app-toc-discussion/app-toc-discussion.component.d.ts +0 -21
  270. package/lib/components/app-toc-home/app-toc-home.component.d.ts +0 -314
  271. package/lib/components/app-toc-home-v2/app-toc-home-v2.component.d.ts +0 -408
  272. package/lib/components/app-toc-overview/app-toc-overview.component.d.ts +0 -47
  273. package/lib/components/app-toc-session-card/app-toc-session-card.component.d.ts +0 -22
  274. package/lib/components/app-toc-sessions/app-toc-sessions.component.d.ts +0 -14
  275. package/lib/components/app-toc-single-page/app-toc-single-page.component.d.ts +0 -149
  276. package/lib/components/completion-survey-form/completion-survey-form.component.d.ts +0 -42
  277. package/lib/components/create-batch-dialog/create-batch-dialog.component.d.ts +0 -27
  278. package/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.d.ts +0 -15
  279. package/lib/components/enroll-profile-form/enroll-profile-form.component.d.ts +0 -195
  280. package/lib/components/enroll-questionnaire/enroll-questionnaire.component.d.ts +0 -44
  281. package/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.d.ts +0 -54
  282. package/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.d.ts +0 -18
  283. package/lib/components/public-survey-form/public-survey-form.component.d.ts +0 -43
  284. package/lib/components/survey-form-question/survey-form-question.component.d.ts +0 -20
  285. package/lib/components/survey-form-section/survey-form-section.component.d.ts +0 -13
  286. package/lib/models/app-toc-analytics.model.d.ts +0 -152
  287. package/lib/models/app-toc.model.d.ts +0 -84
  288. package/lib/models/auto-complete.model.d.ts +0 -27
  289. package/lib/models/card-content.model.d.ts +0 -19
  290. package/lib/models/content-strip-with-tabs.model.d.ts +0 -44
  291. package/lib/models/discussion-forum.model.d.ts +0 -40
  292. package/lib/models/goal.model.d.ts +0 -22
  293. package/lib/models/meta-tag.model.d.ts +0 -6
  294. package/lib/models/playlist.model.d.ts +0 -23
  295. package/lib/models/profile-revamp.model.d.ts +0 -14
  296. package/lib/models/rating.model.d.ts +0 -17
  297. package/lib/models/user-profile.model.d.ts +0 -37
  298. package/lib/resolvers/app-toc-cios-resolver.service.d.ts +0 -12
  299. package/lib/resolvers/app-toc-cios-user-enroll-resolver.service.d.ts +0 -12
  300. package/lib/resolvers/app-toc-content-read-resolver.service.d.ts +0 -16
  301. package/lib/resolvers/app-toc-ext-public-resolver.service.d.ts +0 -12
  302. package/lib/resolvers/app-toc-resolver.service.d.ts +0 -16
  303. package/lib/resolvers/config-resolver.service.d.ts +0 -11
  304. package/lib/resolvers/profile-resolver.service.d.ts +0 -11
  305. package/lib/resolvers/restricted-features-resolver.service.d.ts +0 -11
  306. package/lib/routes/app-toc-home/app-toc-home.component.d.ts +0 -19
  307. package/lib/routes/app-toc-home/app-toc-home.directive.d.ts +0 -8
  308. package/lib/routes/app-toc-home/app-toc-home.service.d.ts +0 -8
  309. package/lib/services/access-control.service.d.ts +0 -29
  310. package/lib/services/action.service.d.ts +0 -9
  311. package/lib/services/app-toc-v2.service.d.ts +0 -14
  312. package/lib/services/app-toc.service.d.ts +0 -177
  313. package/lib/services/certificate.service.d.ts +0 -42
  314. package/lib/services/discuss-utils.service.d.ts +0 -33
  315. package/lib/services/editor.service.d.ts +0 -17
  316. package/lib/services/load-check.service.d.ts +0 -8
  317. package/lib/services/loader.service.d.ts +0 -16
  318. package/lib/services/mobile-apps.service.d.ts +0 -38
  319. package/lib/services/netcore.service.d.ts +0 -33
  320. package/lib/services/nps-grid.service.d.ts +0 -15
  321. package/lib/services/otp.service.d.ts +0 -20
  322. package/lib/services/profile-v2.service.d.ts +0 -20
  323. package/lib/services/reset-ratings.service.d.ts +0 -8
  324. package/lib/services/resource-download-helper.service.d.ts +0 -29
  325. package/lib/services/timer.service.d.ts +0 -9
  326. package/lib/services/title-tag.service.d.ts +0 -21
  327. package/lib/services/user-profile.service.d.ts +0 -24
  328. package/lib/services/viewer-data.service.d.ts +0 -58
  329. package/lib/services/viewer-util.service.d.ts +0 -62
  330. package/lib/share-toc/share-toc/share-toc.component.d.ts +0 -56
  331. package/lib/share-toc/share-toc.module.d.ts +0 -32
  332. package/public-api.d.ts +0 -55
@@ -1,42 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { HttpClient } from '@angular/common/http';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Certificate Service
6
- * Handles certificate-related operations
7
- */
8
- export declare class CertificateService {
9
- private http;
10
- private readonly PROXY_SLAG_V8;
11
- constructor(http: HttpClient);
12
- /**
13
- * Get certificate details by certificate ID
14
- */
15
- getCertificateDetails(certId: string): Observable<any>;
16
- /**
17
- * Download certificate
18
- */
19
- downloadCertificate(certId: string): Observable<Blob>;
20
- /**
21
- * Get user certificates
22
- */
23
- getUserCertificates(userId: string): Observable<any>;
24
- /**
25
- * Verify certificate
26
- */
27
- verifyCertificate(certId: string): Observable<any>;
28
- /**
29
- * Download certificate v2
30
- */
31
- downloadCertificate_v2(certId: string): Observable<Blob>;
32
- /**
33
- * Validate enrollment eligibility
34
- */
35
- validateEnrollmentEligibility(contentId: string, partnerId: string): Observable<any>;
36
- /**
37
- * Submit consent for content
38
- */
39
- consentSubmit(request: any): Observable<any>;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<CertificateService, never>;
41
- static ɵprov: i0.ɵɵInjectableDeclaration<CertificateService>;
42
- }
@@ -1,33 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { HttpClient } from '@angular/common/http';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Discuss Utils Service
6
- * Handles discussion forum related utilities
7
- */
8
- export declare class DiscussUtilsService {
9
- private http;
10
- constructor(http: HttpClient);
11
- /**
12
- * Get discussion forum configuration
13
- */
14
- getDiscussionConfig(): any;
15
- /**
16
- * Set discussion forum configuration
17
- */
18
- setDiscussionConfig(config: any): void;
19
- /**
20
- * Navigate to discussion forum
21
- */
22
- navigateToDiscussion(contentId: string): void;
23
- /**
24
- * Get discussion count for content
25
- */
26
- getDiscussionCount(contentId: string): Observable<number>;
27
- /**
28
- * Set discussion configuration (alias)
29
- */
30
- setDiscussConfig(config: any): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<DiscussUtilsService, never>;
32
- static ɵprov: i0.ɵɵInjectableDeclaration<DiscussUtilsService>;
33
- }
@@ -1,17 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Editor Service - Stub implementation
6
- * Provides content editing functionality
7
- */
8
- export declare class EditorService {
9
- private http;
10
- constructor(http: HttpClient);
11
- deleteContent(contentId: string, type?: string): Observable<any>;
12
- updateContent(contentId: string, data: any): Observable<any>;
13
- getContent(contentId: string): Observable<any>;
14
- createContent(data: any): Observable<any>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
17
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LoadCheckService {
3
- private loadedSubject$;
4
- childComponentLoaded$: import("rxjs").Observable<boolean>;
5
- componentLoaded(isLoaded: boolean): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadCheckService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<LoadCheckService>;
8
- }
@@ -1,16 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Loader Service
5
- * Handles loading state management
6
- */
7
- export declare class LoaderService {
8
- private loading;
9
- changeLoad: BehaviorSubject<boolean>;
10
- constructor();
11
- show(): void;
12
- hide(): void;
13
- get isLoading(): boolean;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
16
- }
@@ -1,38 +0,0 @@
1
- import { BehaviorSubject, Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Mobile Apps Service stub
5
- * Provides mobile app specific functionality
6
- *
7
- * Note: This is a minimal stub. The consuming application should provide
8
- * a proper implementation if full functionality is needed.
9
- */
10
- export declare class MobileAppsService {
11
- private isMobileApp;
12
- constructor();
13
- private detectMobileApp;
14
- get isMobile$(): Observable<boolean>;
15
- get isMobile(): boolean;
16
- /**
17
- * Check if running in Android app
18
- */
19
- isAndroidApp(): boolean;
20
- /**
21
- * Check if running in iOS app
22
- */
23
- isIOSApp(): boolean;
24
- /**
25
- * Send message to native app
26
- */
27
- sendToNativeApp(action: string, data?: any): void;
28
- /**
29
- * Mobile top header visibility status
30
- */
31
- mobileTopHeaderVisibilityStatus: BehaviorSubject<boolean>;
32
- /**
33
- * Send viewer data to mobile app
34
- */
35
- sendViewerData(content: any): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<MobileAppsService, never>;
37
- static ɵprov: i0.ɵɵInjectableDeclaration<MobileAppsService>;
38
- }
@@ -1,33 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * NetCore Service stub
4
- * Handles NetCore integration for analytics
5
- *
6
- * Note: This is a minimal stub. The consuming application should provide
7
- * a proper implementation if full functionality is needed.
8
- */
9
- export declare class NetCoreService {
10
- constructor();
11
- /**
12
- * Track event
13
- */
14
- trackEvent(eventName: string, eventData?: any): void;
15
- /**
16
- * Track page view
17
- */
18
- trackPageView(pageName: string, pageData?: any): void;
19
- /**
20
- * Set user properties
21
- */
22
- setUserProperties(properties: any): void;
23
- /**
24
- * Log out user
25
- */
26
- logout(): void;
27
- /**
28
- * Track event for content and event
29
- */
30
- trackEventForContentAndEvent(eventType: string, userId: string, payload: any): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<NetCoreService, never>;
32
- static ɵprov: i0.ɵɵInjectableDeclaration<NetCoreService>;
33
- }
@@ -1,15 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * NPS Grid Service - Stub implementation
5
- * Provides NPS grid/survey functionality
6
- */
7
- export declare class NPSGridService {
8
- constructor();
9
- getGridData(): Observable<any>;
10
- submitGridResponse(data: any): Observable<any>;
11
- getGridConfig(): Observable<any>;
12
- submitBpFormWithProfileDetails(formData: any, profileData?: any): Observable<any>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NPSGridService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<NPSGridService>;
15
- }
@@ -1,20 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * OTP Service - Stub implementation
6
- * Provides OTP generation and verification functionality
7
- */
8
- export declare class OtpService {
9
- private http;
10
- constructor(http: HttpClient);
11
- generateOtp(mobileNumber: string): Observable<any>;
12
- verifyOtp(mobileNumber: string, otp: string): Observable<any>;
13
- resendOtp(mobileNumber: string): Observable<any>;
14
- sendOtp(mobileNumber: string): Observable<any>;
15
- sendEmailOtp(email: string): Observable<any>;
16
- verifyEmailOTP(email: string, otp: string): Observable<any>;
17
- verifyOTP(mobileNumber: string, otp: string): Observable<any>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<OtpService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<OtpService>;
20
- }
@@ -1,20 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Profile V2 Service - Stub implementation
6
- * Provides profile management functionality
7
- */
8
- export declare class ProfileV2Service {
9
- private http;
10
- constructor(http: HttpClient);
11
- getProfile(userId: string): Observable<any>;
12
- updateProfile(profileData: any): Observable<any>;
13
- getProfileDetails(userId: string): Observable<any>;
14
- getFormV2ByID(formId: string): Observable<any>;
15
- fetchCadre(): Observable<any>;
16
- fetchApprovalDetails(userId?: string): Observable<any>;
17
- withDrawApprovalRequest(userId: string, wfId?: string): Observable<any>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ProfileV2Service, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<ProfileV2Service>;
20
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ResetRatingsService {
3
- private ratingService$;
4
- resetRatings$: import("rxjs").Observable<boolean>;
5
- setRatingServiceUpdate(value: boolean): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ResetRatingsService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<ResetRatingsService>;
8
- }
@@ -1,29 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { HttpClient } from '@angular/common/http';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Resource Download Helper Service
6
- * Handles resource download functionality
7
- */
8
- export declare class ResourceDownloadHelperService {
9
- private http;
10
- constructor(http: HttpClient);
11
- /**
12
- * Download a resource by URL
13
- */
14
- downloadResource(url: string, fileName?: string): void;
15
- /**
16
- * Download blob as file
17
- */
18
- downloadBlob(blob: Blob, fileName: string): void;
19
- /**
20
- * Get resource as blob
21
- */
22
- getResourceAsBlob(url: string): Observable<Blob>;
23
- /**
24
- * Download PDF by URL or content object
25
- */
26
- downloadPDF(content: any, pageId?: string): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourceDownloadHelperService, never>;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<ResourceDownloadHelperService>;
29
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TimerService {
3
- private timer$;
4
- constructor();
5
- getTimerData(): import("rxjs").Observable<any>;
6
- setTimerData(timerObj: any): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TimerService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<TimerService>;
9
- }
@@ -1,21 +0,0 @@
1
- import { Title, Meta } from '@angular/platform-browser';
2
- import * as i0 from "@angular/core";
3
- export declare class TitleTagService {
4
- private titleService;
5
- private metaService;
6
- private urlMeta;
7
- private titleMeta;
8
- private descriptionMeta;
9
- private imageMeta;
10
- private secureImageMeta;
11
- private twitterTitleMeta;
12
- private twitterImageMeta;
13
- constructor(titleService: Title, metaService: Meta);
14
- setTitle(title: string): void;
15
- setSocialMediaTags(url: string, title: string, description: string, image: string): void;
16
- private setTags;
17
- stringToColor(str: string): string;
18
- getContrast(_hexcolor: any): string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TitleTagService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<TitleTagService>;
21
- }
@@ -1,24 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { HttpClient } from '@angular/common/http';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * User Profile Service stub
6
- * Handles user profile related operations
7
- */
8
- export declare class UserProfileService {
9
- private http;
10
- constructor(http: HttpClient);
11
- getUserProfile(): Observable<any>;
12
- updateUserProfile(data: any): Observable<any>;
13
- searchProfile(data: any): Observable<any>;
14
- getWhiteListDomain(): Observable<any>;
15
- getGroups(): Observable<any>;
16
- handleTranslateTo(key: string): string;
17
- searchIgotDesignation(query: string): Observable<any>;
18
- searchDesignation(query: string): Observable<any>;
19
- getMasterLanguages(): Observable<any>;
20
- editProfileDetails(data: any): Observable<any>;
21
- updatePrimaryEmailDetails(data: any): Observable<any>;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<UserProfileService>;
24
- }
@@ -1,58 +0,0 @@
1
- import { Subject, ReplaySubject, BehaviorSubject } from 'rxjs';
2
- import { NsContent } from '../_services/widget-content.model';
3
- import * as i0 from "@angular/core";
4
- export interface IViewerTocCard {
5
- identifier: string;
6
- viewerUrl: string;
7
- thumbnailUrl: string;
8
- title: string;
9
- duration: number;
10
- type: string;
11
- complexity: string;
12
- primaryCategory?: string;
13
- mimeType?: NsContent.EMimeTypes;
14
- optionalReading?: boolean;
15
- subTitle?: string;
16
- content?: NsContent.IContent;
17
- }
18
- export interface IViewerTocChangeEvent {
19
- tocAvailable: boolean;
20
- nextResource: IViewerTocCard | null;
21
- prevResource: IViewerTocCard | null;
22
- queryMLParams: any;
23
- }
24
- export interface IViewerResourceOptions {
25
- page?: {
26
- min: number;
27
- max: number;
28
- current: number;
29
- queryParamKey: string;
30
- };
31
- zoom?: {
32
- min: number;
33
- max: number;
34
- current: number;
35
- queryParamKey: string;
36
- };
37
- }
38
- export type TStatus = 'pending' | 'done' | 'error' | 'none';
39
- export declare class ViewerDataService {
40
- resourceId: string | null;
41
- resource: NsContent.IContent | null;
42
- primaryCategory: string | null;
43
- collectionId: string | null;
44
- error: any;
45
- status: TStatus;
46
- resourceChangedSubject: Subject<string>;
47
- optionalReading: boolean;
48
- changedSubject: ReplaySubject<unknown>;
49
- tocChangeSubject: ReplaySubject<IViewerTocChangeEvent>;
50
- navSupportForResource: ReplaySubject<IViewerResourceOptions>;
51
- isSkipBtn: BehaviorSubject<boolean>;
52
- constructor();
53
- reset(resourceId?: string | null, status?: TStatus, primaryCategory?: string, collectionId?: string): void;
54
- updateResource(resource?: NsContent.IContent | null, error?: any | null): void;
55
- updateNextPrevResource(isValid: boolean, prev: IViewerTocCard | null, next: IViewerTocCard | null, queryMLParams: any): void;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewerDataService, never>;
57
- static ɵprov: i0.ɵɵInjectableDeclaration<ViewerDataService>;
58
- }
@@ -1,62 +0,0 @@
1
- import { ConfigurationsService, DomainConfService } from '@sunbird-cb/utils-v2';
2
- import { NsContent } from '../_services/widget-content.model';
3
- import { HttpClient } from '@angular/common/http';
4
- import { Observable, Subject } from 'rxjs';
5
- import { AppTocService } from './app-toc.service';
6
- import { ContentLanguageService, WidgetUserServiceLib } from '@sunbird-cb/consumption';
7
- import { WidgetContentService } from '../_collection-api';
8
- import * as i0 from "@angular/core";
9
- export declare class ViewerUtilService {
10
- private http;
11
- private configservice;
12
- private contentSvc;
13
- private tocSvc;
14
- private userSvc;
15
- private contentLangSvc;
16
- private domainConfSvc;
17
- private environment;
18
- API_ENDPOINTS: {
19
- setS3Cookie: string;
20
- PROGRESS_UPDATE: string;
21
- ASSESSMENT_SECTION: string;
22
- GET_FORM_BYID: (formId: string) => string;
23
- SUBMIT_FORM: string;
24
- PRE_ASSESSMENT_STATE_UPDATE: string;
25
- };
26
- downloadRegex: RegExp;
27
- authoringBase: string;
28
- markAsCompleteSubject: Subject<unknown>;
29
- autoPlayNextVideo: Subject<unknown>;
30
- autoPlayNextAudio: Subject<unknown>;
31
- forPreview: boolean;
32
- publicUserDetails: any;
33
- constructor(http: HttpClient, configservice: ConfigurationsService, contentSvc: WidgetContentService, tocSvc: AppTocService, userSvc: WidgetUserServiceLib, contentLangSvc: ContentLanguageService, domainConfSvc: DomainConfService, environment: any);
34
- fetchManifestFile(url: string): Promise<any>;
35
- private setS3Cookie;
36
- calculatePercent(current: string[], max: number, mimeType?: string): number;
37
- getStatus(current: string[], max: number, mimeType?: string): 1 | 2;
38
- realTimeProgressUpdate(contentId: string, request: any, collectionId?: string, batchId?: string): void;
39
- getBatchIdAndCourseId(courseId: string, batchId: string, resourceId: string): {
40
- courseId: string;
41
- batchId: string;
42
- };
43
- getResourceContentLanguage(resourceId: string): any;
44
- checkForCourseEnrollment(childList: NsContent.IContent, _resourceId: string, _enrollmentList: any, _tempData: any): Promise<any>;
45
- realTimeProgressUpdateQuiz(contentId: string, collectionId?: string, batchId?: string, status?: number): void;
46
- getContent(contentId: string): Observable<NsContent.IContent>;
47
- getAuthoringUrl(url: string): string;
48
- regexDownloadReplace: (_str: string, group1: string, group2: string) => string;
49
- replaceToAuthUrl(data: any): any;
50
- readSections(assessmentId: string): string;
51
- getPublicUrl(url: string): string;
52
- getCdnUrl(url: string): string;
53
- fetchContent(id: string, type: string): Observable<NsContent.IContent>;
54
- updateContentHashMapForAssesstent(contentId: string, contentProgress: any): void;
55
- getFormById(formId: string): Observable<Object>;
56
- submitForm(formData: any): Observable<any>;
57
- realTimeProgressUpdateForPreAssessment(contentId: string, request: any): void;
58
- realTimeProgressUpdateForPreAssessmentQuiz(contentId: string, status?: number, mimeType?: string): void;
59
- getPreAssessmentResourceStatus(resourceId: string): any;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewerUtilService, never>;
61
- static ɵprov: i0.ɵɵInjectableDeclaration<ViewerUtilService>;
62
- }
@@ -1,56 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
3
- import { MultilingualTranslationsService, EventService, ConfigurationsService } from '@sunbird-cb/utils-v2';
4
- import { TranslateService } from '@ngx-translate/core';
5
- import { AppTocService } from '../../services/app-toc.service';
6
- import { MatLegacyAutocomplete as MatAutocomplete, MatLegacyAutocompleteSelectedEvent as MatAutocompleteSelectedEvent } from '@angular/material/legacy-autocomplete';
7
- import { MatLegacyChipInputEvent as MatChipInputEvent } from '@angular/material/legacy-chips';
8
- import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
9
- import { UserAutocompleteService } from '../../_collection/_common/user-autocomplete/user-autocomplete.service';
10
- import * as i0 from "@angular/core";
11
- export declare class ShareTocComponent implements OnInit {
12
- private userAutoComplete;
13
- private langtranslations;
14
- private translate;
15
- private snackBar;
16
- configSvc: ConfigurationsService;
17
- private tocSvc;
18
- private events;
19
- shareForm: UntypedFormGroup | undefined;
20
- selectable: boolean;
21
- removable: boolean;
22
- addOnBlur: boolean;
23
- separatorKeysCodes: number[];
24
- userCtrl: UntypedFormControl;
25
- filteredUsers: any[] | undefined;
26
- users: any[];
27
- allUsers: any[];
28
- apiResponse: any;
29
- courseDetails: any;
30
- userProfile: any;
31
- maxEmailsLimit: number;
32
- showLoader: boolean;
33
- rootOrgId: any;
34
- content: any;
35
- contentLink: any;
36
- userInput: ElementRef<HTMLInputElement> | undefined;
37
- matAutocomplete: MatAutocomplete | undefined;
38
- resetEnableShare: any;
39
- baseContentReadData: any;
40
- constructor(userAutoComplete: UserAutocompleteService, langtranslations: MultilingualTranslationsService, translate: TranslateService, snackBar: MatSnackBar, configSvc: ConfigurationsService, tocSvc: AppTocService, events: EventService);
41
- ngOnInit(): void;
42
- getUsersToShare(queryStr: string): void;
43
- translateLabels(label: string, type: any, subtype?: any): any;
44
- add(event: MatChipInputEvent): void;
45
- remove(user: string): void;
46
- selected(event: MatAutocompleteSelectedEvent): void;
47
- filterSharedUsers(value: string): string[];
48
- submitSharing(): void;
49
- onClose(): void;
50
- copyToClipboard(): void;
51
- raiseTelemetry(subType: any): void;
52
- private openSnackbar;
53
- resetEnableShareFlag(): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<ShareTocComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<ShareTocComponent, "ws-app-share-toc", never, { "rootOrgId": { "alias": "rootOrgId"; "required": false; }; "content": { "alias": "content"; "required": false; }; "contentLink": { "alias": "contentLink"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; }, { "resetEnableShare": "resetEnableShare"; }, never, never, false, never>;
56
- }
@@ -1,32 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./share-toc/share-toc.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/icon";
5
- import * as i4 from "@angular/material/legacy-button";
6
- import * as i5 from "@angular/material/legacy-menu";
7
- import * as i6 from "@angular/material/legacy-card";
8
- import * as i7 from "@angular/material/legacy-tooltip";
9
- import * as i8 from "@angular/material/legacy-tabs";
10
- import * as i9 from "@angular/material/legacy-chips";
11
- import * as i10 from "@angular/material/divider";
12
- import * as i11 from "@angular/material/legacy-progress-bar";
13
- import * as i12 from "@angular/material/legacy-list";
14
- import * as i13 from "@angular/material/legacy-dialog";
15
- import * as i14 from "@angular/material/legacy-radio";
16
- import * as i15 from "@angular/material/expansion";
17
- import * as i16 from "@angular/material/legacy-progress-spinner";
18
- import * as i17 from "@angular/material/legacy-checkbox";
19
- import * as i18 from "@angular/material/legacy-input";
20
- import * as i19 from "@angular/material/legacy-form-field";
21
- import * as i20 from "@angular/material/legacy-select";
22
- import * as i21 from "@angular/material/legacy-snack-bar";
23
- import * as i22 from "@angular/material/datepicker";
24
- import * as i23 from "@angular/material/core";
25
- import * as i24 from "@angular/material/legacy-autocomplete";
26
- import * as i25 from "@ngx-translate/core";
27
- import * as i26 from "@angular/forms";
28
- export declare class ShareTocModule {
29
- static ɵfac: i0.ɵɵFactoryDeclaration<ShareTocModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<ShareTocModule, [typeof i1.ShareTocComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatLegacyButtonModule, typeof i5.MatLegacyMenuModule, typeof i6.MatLegacyCardModule, typeof i7.MatLegacyTooltipModule, typeof i8.MatLegacyTabsModule, typeof i9.MatLegacyChipsModule, typeof i10.MatDividerModule, typeof i11.MatLegacyProgressBarModule, typeof i12.MatLegacyListModule, typeof i13.MatLegacyDialogModule, typeof i14.MatLegacyRadioModule, typeof i15.MatExpansionModule, typeof i16.MatLegacyProgressSpinnerModule, typeof i17.MatLegacyCheckboxModule, typeof i18.MatLegacyInputModule, typeof i19.MatLegacyFormFieldModule, typeof i20.MatLegacySelectModule, typeof i21.MatLegacySnackBarModule, typeof i22.MatDatepickerModule, typeof i23.MatNativeDateModule, typeof i24.MatLegacyAutocompleteModule, typeof i25.TranslateModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule], [typeof i1.ShareTocComponent]>;
31
- static ɵinj: i0.ɵɵInjectorDeclaration<ShareTocModule>;
32
- }
package/public-api.d.ts DELETED
@@ -1,55 +0,0 @@
1
- export * from './lib/app-toc-lib.module';
2
- export * from './lib/services/app-toc.service';
3
- export * from './lib/services/app-toc-v2.service';
4
- export * from './lib/services/action.service';
5
- export * from './lib/services/load-check.service';
6
- export * from './lib/services/reset-ratings.service';
7
- export * from './lib/services/timer.service';
8
- export * from './lib/services/title-tag.service';
9
- export * from './lib/models/app-toc.model';
10
- export * from './lib/models/app-toc-analytics.model';
11
- export * from './lib/models/meta-tag.model';
12
- export * from './lib/models/rating.model';
13
- export * from './lib/resolvers/app-toc-resolver.service';
14
- export * from './lib/resolvers/app-toc-cios-resolver.service';
15
- export * from './lib/resolvers/app-toc-cios-user-enroll-resolver.service';
16
- export * from './lib/resolvers/app-toc-content-read-resolver.service';
17
- export * from './lib/resolvers/app-toc-ext-public-resolver.service';
18
- export * from './lib/resolvers/config-resolver.service';
19
- export * from './lib/resolvers/profile-resolver.service';
20
- export * from './lib/resolvers/restricted-features-resolver.service';
21
- export * from './lib/components/app-toc-banner/app-toc-banner.component';
22
- export * from './lib/components/app-toc-cohorts/app-toc-cohorts.component';
23
- export * from './lib/components/app-toc-content-card/app-toc-content-card.component';
24
- export * from './lib/components/app-toc-discussion/app-toc-discussion.component';
25
- export * from './lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component';
26
- export * from './lib/components/app-toc-overview/app-toc-overview.component';
27
- export * from './lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component';
28
- export * from './lib/components/app-toc-session-card/app-toc-session-card.component';
29
- export * from './lib/components/app-toc-sessions/app-toc-sessions.component';
30
- export * from './lib/components/app-toc-single-page/app-toc-single-page.component';
31
- export * from './lib/components/app-toc-home-v2/app-toc-home-v2.component';
32
- export * from './lib/components/app-toc-cios-home/app-toc-cios-home.component';
33
- export * from './lib/components/knowledge-artifact-details/knowledge-artifact-details.component';
34
- export * from './lib/components/create-batch-dialog/create-batch-dialog.component';
35
- export * from './lib/components/enroll-questionnaire/enroll-questionnaire.component';
36
- export * from './lib/components/enroll-profile-form/enroll-profile-form.component';
37
- export * from './lib/components/enroll-language-dialogue/enroll-language-dialogue.component';
38
- export * from './lib/components/completion-survey-form/completion-survey-form.component';
39
- export * from './lib/components/public-survey-form/public-survey-form.component';
40
- export * from './lib/components/survey-form-question/survey-form-question.component';
41
- export * from './lib/components/survey-form-section/survey-form-section.component';
42
- export * from './lib/routes/app-toc-home/app-toc-home.component';
43
- export * from './lib/share-toc/share-toc.module';
44
- export * from './lib/share-toc/share-toc/share-toc.component';
45
- export * from './lib/_collection/_common/content-toc/content-toc.module';
46
- export * from './lib/_collection/_common/content-toc/content-toc.component';
47
- export * from './lib/_collection/_common/content-toc/reviews-content/reviews-content.component';
48
- export * from './lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component';
49
- export * from './lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component';
50
- export * from './lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component';
51
- export * from './lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component';
52
- export * from './lib/_collection/_common/content-toc/karma-points/karma-points.module';
53
- export * from './lib/_collection/_common/content-toc/karma-points/karma-points.component';
54
- export * from './lib/_collection/_common/toc-kpi-values/toc-kpi-values.module';
55
- export * from './lib/_collection/_common/toc-kpi-values/toc-kpi-values.component';