@sunbird-cb/toc 0.0.3 → 0.0.4-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.
- package/esm2022/lib/_collection/_common/ai-tutor/ai-tutor.component.mjs +1169 -0
- package/esm2022/lib/_collection/_common/ai-tutor/socket.service.mjs +121 -0
- package/esm2022/lib/_collection/_common/card-competency/card-competency.component.mjs +58 -0
- package/esm2022/lib/_collection/_common/card-competency/card-competency.module.mjs +22 -0
- package/esm2022/lib/_collection/_common/card-content-v2/card-content-v2.model.mjs +23 -0
- package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.component.mjs +108 -7
- package/esm2022/lib/_collection/_common/certificate-dialog/certificate-dialog.module.mjs +5 -1
- package/esm2022/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.mjs +3 -3
- package/esm2022/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.mjs +32 -12
- package/esm2022/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.mjs +88 -7
- package/esm2022/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.mjs +391 -51
- package/esm2022/lib/_collection/_common/content-toc/content-toc.component.mjs +25 -37
- package/esm2022/lib/_collection/_common/content-toc/content-toc.module.mjs +7 -2
- package/esm2022/lib/_collection/_common/content-toc/karma-points/karma-points.component.mjs +71 -4
- package/esm2022/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.mjs +3 -3
- package/esm2022/lib/_collection/sliders-dynamic/sliders-dynamic.component.mjs +6 -3
- package/esm2022/lib/_services/viewer-route-util.mjs +2 -2
- package/esm2022/lib/_services/widget-content.model.mjs +8 -1
- package/esm2022/lib/_services/widget-content.service.mjs +8 -8
- package/esm2022/lib/app-toc-lib.module.mjs +16 -7
- package/esm2022/lib/components/app-toc-cios-home/app-toc-cios-home.component.mjs +55 -8
- package/esm2022/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.mjs +3 -3
- package/esm2022/lib/components/app-toc-discussion/app-toc-discussion.component.mjs +3 -3
- package/esm2022/lib/components/app-toc-home/app-toc-home.component.mjs +7 -6
- package/esm2022/lib/components/app-toc-home-v2/app-toc-home-v2.component.mjs +269 -78
- package/esm2022/lib/components/enroll-profile-form/enroll-profile-form.component.mjs +22 -6
- package/esm2022/lib/components/public-survey-form/public-survey-form.component.mjs +5 -3
- package/esm2022/lib/models/user-profile.model.mjs +1 -1
- package/esm2022/lib/registration-toc-lib.config.mjs +14 -0
- package/esm2022/lib/routes/app-toc-home/app-toc-home.component.mjs +1 -1
- package/esm2022/lib/services/app-toc-v2.service.mjs +188 -40
- package/esm2022/lib/services/app-toc.service.mjs +384 -82
- package/esm2022/lib/services/certificate.service.mjs +54 -9
- package/esm2022/lib/services/discuss-utils.service.mjs +30 -43
- package/esm2022/lib/services/netcore.service.mjs +116 -46
- package/esm2022/lib/services/nps-grid.service.mjs +34 -22
- package/esm2022/lib/services/otp.service.mjs +63 -25
- package/esm2022/lib/services/profile-v2.service.mjs +47 -19
- package/esm2022/lib/services/root.service.mjs +106 -0
- package/esm2022/lib/services/user-profile.service.mjs +160 -35
- package/esm2022/lib/services/viewer-data.service.mjs +1 -1
- package/esm2022/lib/services/viewer-util.service.mjs +155 -28
- package/esm2022/public-api.mjs +12 -1
- package/fesm2022/sunbird-cb-toc.mjs +9743 -6549
- package/fesm2022/sunbird-cb-toc.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/lib/_collection/_common/ai-tutor/ai-tutor.component.d.ts +139 -0
- package/lib/_collection/_common/ai-tutor/socket.service.d.ts +19 -0
- package/lib/_collection/_common/attendance-card/attendance-card.component.d.ts +0 -1
- package/lib/_collection/_common/attendance-card/attendance-card.module.d.ts +0 -1
- package/lib/_collection/_common/attendance-helper/attendance-helper.component.d.ts +0 -1
- package/lib/_collection/_common/attendance-helper/attendance-helper.module.d.ts +0 -1
- package/lib/_collection/_common/avatar-photo/avatar-photo.component.d.ts +0 -1
- package/lib/_collection/_common/avatar-photo/avatar-photo.module.d.ts +0 -1
- package/lib/_collection/_common/card-competency/card-competency.component.d.ts +14 -0
- package/lib/_collection/_common/card-competency/card-competency.module.d.ts +8 -0
- package/lib/_collection/_common/card-content-v2/card-content-v2.model.d.ts +44 -0
- package/lib/_collection/_common/certificate-dialog/certificate-dialog.component.d.ts +8 -1
- package/lib/_collection/_common/certificate-dialog/certificate-dialog.module.d.ts +12 -12
- package/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.d.ts +0 -1
- package/lib/_collection/_common/confirm-dialog/confirm-dialog.component.d.ts +0 -1
- package/lib/_collection/_common/confirm-dialog/confirm-dialog.module.d.ts +0 -1
- package/lib/_collection/_common/connection-hover-card/connection-hover-card.component.d.ts +0 -1
- package/lib/_collection/_common/connection-hover-card/connection-hover.module.d.ts +0 -1
- package/lib/_collection/_common/connection-hover-card/connection-hover.servive.d.ts +0 -1
- package/lib/_collection/_common/connection-name/connection-name.component.d.ts +0 -1
- package/lib/_collection/_common/connection-name/connection-name.module.d.ts +0 -1
- package/lib/_collection/_common/connection-name/profile-v2.model.d.ts +0 -1
- package/lib/_collection/_common/content-progress/content-progress.component.d.ts +0 -1
- package/lib/_collection/_common/content-progress/content-progress.module.d.ts +0 -1
- package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.d.ts +0 -1
- package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.d.ts +0 -1
- package/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.d.ts +1 -2
- package/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.d.ts +7 -4
- package/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.d.ts +8 -1
- package/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.d.ts +64 -5
- package/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/content-services/handle-claim.service.d.ts +0 -1
- package/lib/_collection/_common/content-toc/content-services/review-component-data.service.d.ts +0 -1
- package/lib/_collection/_common/content-toc/content-toc.component.d.ts +6 -4
- package/lib/_collection/_common/content-toc/content-toc.module.d.ts +29 -29
- package/lib/_collection/_common/content-toc/karma-points/karma-points.component.d.ts +4 -2
- package/lib/_collection/_common/content-toc/karma-points/karma-points.module.d.ts +0 -1
- package/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.d.ts +0 -1
- package/lib/_collection/_common/content-toc/pipes/truncate.pipe.d.ts +0 -1
- package/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.d.ts +0 -1
- package/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.d.ts +0 -1
- package/lib/_collection/_common/display-content-type/display-content-type.component.d.ts +0 -1
- package/lib/_collection/_common/display-content-type/display-content-type.module.d.ts +0 -1
- package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.d.ts +0 -1
- package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.d.ts +0 -1
- package/lib/_collection/_common/mark-as-complete/mark-as-complete.component.d.ts +0 -1
- package/lib/_collection/_common/mark-as-complete/mark-as-complete.model.d.ts +0 -1
- package/lib/_collection/_common/mark-as-complete/mark-as-complete.module.d.ts +0 -1
- package/lib/_collection/_common/pipe-content-route/pipe-content-route.module.d.ts +0 -1
- package/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.d.ts +0 -1
- package/lib/_collection/_common/player-brief/player-brief.component.d.ts +0 -1
- package/lib/_collection/_common/player-brief/player-brief.module.d.ts +0 -1
- package/lib/_collection/_common/rating-summary/rating-summary.component.d.ts +0 -1
- package/lib/_collection/_common/rating-summary/rating-summary.module.d.ts +0 -1
- package/lib/_collection/_common/skeleton-loader/skeleton-loader.component.d.ts +0 -1
- package/lib/_collection/_common/skeleton-loader/skeleton-loader.module.d.ts +0 -1
- package/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.d.ts +0 -1
- package/lib/_collection/_common/tips-for-learner/tips-for-learner.module.d.ts +0 -1
- package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.d.ts +0 -1
- package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.d.ts +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.component.d.ts +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.model.d.ts +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.module.d.ts +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.service.d.ts +0 -1
- package/lib/_collection/_common/user-content-rating/user-content-rating.component.d.ts +0 -1
- package/lib/_collection/_common/user-content-rating/user-content-rating.module.d.ts +0 -1
- package/lib/_collection/_common/user-image/user-image.component.d.ts +0 -1
- package/lib/_collection/_common/user-image/user-image.module.d.ts +0 -1
- package/lib/_collection/btn-page-back/btn-page-back.component.d.ts +0 -1
- package/lib/_collection/btn-page-back/btn-page-back.module.d.ts +0 -1
- package/lib/_collection/btn-page-back/btn-page-back.service.d.ts +0 -1
- package/lib/_collection/card-rating-comment/card-rating-comment.component.d.ts +0 -1
- package/lib/_collection/card-rating-comment/card-rating-comment.module.d.ts +0 -1
- package/lib/_collection/sliders-dynamic/sliders-dynamic.component.d.ts +2 -2
- package/lib/_collection/sliders-dynamic/sliders-dynamic.model.d.ts +0 -1
- package/lib/_collection/sliders-dynamic/sliders-dynamic.module.d.ts +0 -1
- package/lib/_collection-api.d.ts +0 -1
- package/lib/_constants/widget-content.constants.d.ts +0 -1
- package/lib/_directives/tooltip.directive.d.ts +0 -1
- package/lib/_models/common.model.d.ts +0 -1
- package/lib/_models/error.model.d.ts +0 -1
- package/lib/_pipes/highlight.pipe.d.ts +0 -1
- package/lib/_services/rating.service.d.ts +0 -1
- package/lib/_services/samuhik-charcha.service.d.ts +0 -1
- package/lib/_services/viewer-route-util.d.ts +0 -1
- package/lib/_services/widget-content.model.d.ts +6 -1
- package/lib/_services/widget-content.service.d.ts +0 -1
- package/lib/_shared/translate-loader.factory.d.ts +0 -1
- package/lib/app-toc-lib.module.d.ts +2 -2
- package/lib/collection.config.d.ts +0 -1
- package/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.d.ts +0 -1
- package/lib/components/app-toc-banner/app-toc-banner.component.d.ts +0 -1
- package/lib/components/app-toc-cios-home/app-toc-cios-home.component.d.ts +5 -1
- package/lib/components/app-toc-cios-home/consent-dialog.component.d.ts +0 -1
- package/lib/components/app-toc-cohorts/app-toc-cohorts.component.d.ts +0 -1
- package/lib/components/app-toc-content-card/app-toc-content-card.component.d.ts +0 -1
- package/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.d.ts +0 -1
- package/lib/components/app-toc-discussion/app-toc-discussion.component.d.ts +0 -1
- package/lib/components/app-toc-home/app-toc-home.component.d.ts +3 -3
- package/lib/components/app-toc-home-v2/app-toc-home-v2.component.d.ts +26 -5
- package/lib/components/app-toc-overview/app-toc-overview.component.d.ts +0 -1
- package/lib/components/app-toc-session-card/app-toc-session-card.component.d.ts +0 -1
- package/lib/components/app-toc-sessions/app-toc-sessions.component.d.ts +0 -1
- package/lib/components/app-toc-single-page/app-toc-single-page.component.d.ts +0 -1
- package/lib/components/completion-survey-form/completion-survey-form.component.d.ts +0 -1
- package/lib/components/create-batch-dialog/create-batch-dialog.component.d.ts +0 -1
- package/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.d.ts +0 -1
- package/lib/components/enroll-profile-form/enroll-profile-form.component.d.ts +2 -1
- package/lib/components/enroll-questionnaire/enroll-questionnaire.component.d.ts +0 -1
- package/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.d.ts +0 -1
- package/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.d.ts +0 -1
- package/lib/components/public-survey-form/public-survey-form.component.d.ts +1 -1
- package/lib/components/survey-form-question/survey-form-question.component.d.ts +0 -1
- package/lib/components/survey-form-section/survey-form-section.component.d.ts +0 -1
- package/lib/models/app-toc-analytics.model.d.ts +0 -1
- package/lib/models/app-toc.model.d.ts +0 -1
- package/lib/models/auto-complete.model.d.ts +0 -1
- package/lib/models/card-content.model.d.ts +0 -1
- package/lib/models/content-strip-with-tabs.model.d.ts +0 -1
- package/lib/models/discussion-forum.model.d.ts +0 -1
- package/lib/models/goal.model.d.ts +0 -1
- package/lib/models/meta-tag.model.d.ts +0 -1
- package/lib/models/playlist.model.d.ts +0 -1
- package/lib/models/profile-revamp.model.d.ts +0 -1
- package/lib/models/rating.model.d.ts +0 -1
- package/lib/models/user-profile.model.d.ts +87 -1
- package/lib/registration-toc-lib.config.d.ts +4 -0
- package/lib/resolvers/app-toc-cios-resolver.service.d.ts +0 -1
- package/lib/resolvers/app-toc-cios-user-enroll-resolver.service.d.ts +0 -1
- package/lib/resolvers/app-toc-content-read-resolver.service.d.ts +0 -1
- package/lib/resolvers/app-toc-ext-public-resolver.service.d.ts +0 -1
- package/lib/resolvers/app-toc-resolver.service.d.ts +0 -1
- package/lib/resolvers/config-resolver.service.d.ts +0 -1
- package/lib/resolvers/profile-resolver.service.d.ts +0 -1
- package/lib/resolvers/restricted-features-resolver.service.d.ts +0 -1
- package/lib/routes/app-toc-home/app-toc-home.component.d.ts +0 -1
- package/lib/routes/app-toc-home/app-toc-home.directive.d.ts +0 -1
- package/lib/routes/app-toc-home/app-toc-home.service.d.ts +0 -1
- package/lib/services/access-control.service.d.ts +0 -1
- package/lib/services/action.service.d.ts +0 -1
- package/lib/services/app-toc-v2.service.d.ts +3 -1
- package/lib/services/app-toc.service.d.ts +43 -15
- package/lib/services/certificate.service.d.ts +5 -7
- package/lib/services/discuss-utils.service.d.ts +5 -28
- package/lib/services/editor.service.d.ts +0 -1
- package/lib/services/load-check.service.d.ts +0 -1
- package/lib/services/loader.service.d.ts +0 -1
- package/lib/services/mobile-apps.service.d.ts +0 -1
- package/lib/services/netcore.service.d.ts +16 -29
- package/lib/services/nps-grid.service.d.ts +11 -11
- package/lib/services/otp.service.d.ts +5 -11
- package/lib/services/profile-v2.service.d.ts +7 -11
- package/lib/services/reset-ratings.service.d.ts +0 -1
- package/lib/services/resource-download-helper.service.d.ts +0 -1
- package/lib/services/root.service.d.ts +26 -0
- package/lib/services/timer.service.d.ts +0 -1
- package/lib/services/title-tag.service.d.ts +0 -1
- package/lib/services/user-profile.service.d.ts +35 -16
- package/lib/services/viewer-data.service.d.ts +9 -6
- package/lib/services/viewer-util.service.d.ts +14 -1
- package/lib/share-toc/share-toc/share-toc.component.d.ts +0 -1
- package/lib/share-toc/share-toc.module.d.ts +0 -1
- package/package.json +4 -6
- package/public-api.d.ts +10 -1
- package/sunbird-cb-toc-0.0.4-mauritius.tgz +0 -0
- package/lib/_collection/_common/attendance-card/attendance-card.component.d.ts.map +0 -1
- package/lib/_collection/_common/attendance-card/attendance-card.module.d.ts.map +0 -1
- package/lib/_collection/_common/attendance-helper/attendance-helper.component.d.ts.map +0 -1
- package/lib/_collection/_common/attendance-helper/attendance-helper.module.d.ts.map +0 -1
- package/lib/_collection/_common/avatar-photo/avatar-photo.component.d.ts.map +0 -1
- package/lib/_collection/_common/avatar-photo/avatar-photo.module.d.ts.map +0 -1
- package/lib/_collection/_common/certificate-dialog/certificate-dialog.component.d.ts.map +0 -1
- package/lib/_collection/_common/certificate-dialog/certificate-dialog.module.d.ts.map +0 -1
- package/lib/_collection/_common/certificate-dialog/svg-to-pdf.component.d.ts.map +0 -1
- package/lib/_collection/_common/confirm-dialog/confirm-dialog.component.d.ts.map +0 -1
- package/lib/_collection/_common/confirm-dialog/confirm-dialog.module.d.ts.map +0 -1
- package/lib/_collection/_common/connection-hover-card/connection-hover-card.component.d.ts.map +0 -1
- package/lib/_collection/_common/connection-hover-card/connection-hover.module.d.ts.map +0 -1
- package/lib/_collection/_common/connection-hover-card/connection-hover.servive.d.ts.map +0 -1
- package/lib/_collection/_common/connection-name/connection-name.component.d.ts.map +0 -1
- package/lib/_collection/_common/connection-name/connection-name.module.d.ts.map +0 -1
- package/lib/_collection/_common/connection-name/profile-v2.model.d.ts.map +0 -1
- package/lib/_collection/_common/content-progress/content-progress.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-progress/content-progress.module.d.ts.map +0 -1
- package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-rating-v2-dialog/content-rating-v2-dialog.module.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/ai-tutor-confirm-popup/ai-tutor-confirm-popup.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-about/app-toc-about.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-assignment-viewer/app-toc-assignment-viewer.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-assignment-viewerV2/app-toc-assignment-viewerV2.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-batch-assignments/app-toc-batch-assignments.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-content/app-toc-content.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-content-card-v2/app-toc-content-card-v2.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-content-card-v2-skeleton/app-toc-content-card-v2-skeleton.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-reference-notes/app-toc-reference-notes.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-session-card-new/app-toc-session-card-new.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-sessions-new/app-toc-sessions-new.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/app-toc-teachers-notes/app-toc-teachers-notes.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/content-services/handle-claim.service.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/content-services/review-component-data.service.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/content-toc.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/content-toc.module.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/karma-points/karma-points.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/karma-points/karma-points.module.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/pipes/replace-nbsp.pipe.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/pipes/truncate.pipe.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/reviews-content/reviews-content.component.d.ts.map +0 -1
- package/lib/_collection/_common/content-toc/samuhik-charcha-content/samuhik-charcha-content/samuhik-charcha-content.component.d.ts.map +0 -1
- package/lib/_collection/_common/display-content-type/display-content-type.component.d.ts.map +0 -1
- package/lib/_collection/_common/display-content-type/display-content-type.module.d.ts.map +0 -1
- package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.component.d.ts.map +0 -1
- package/lib/_collection/_common/display-content-type-icon/display-content-type-icon.module.d.ts.map +0 -1
- package/lib/_collection/_common/mark-as-complete/mark-as-complete.component.d.ts.map +0 -1
- package/lib/_collection/_common/mark-as-complete/mark-as-complete.model.d.ts.map +0 -1
- package/lib/_collection/_common/mark-as-complete/mark-as-complete.module.d.ts.map +0 -1
- package/lib/_collection/_common/pipe-content-route/pipe-content-route.module.d.ts.map +0 -1
- package/lib/_collection/_common/pipe-content-route/pipe-content-route.pipe.d.ts.map +0 -1
- package/lib/_collection/_common/player-brief/player-brief.component.d.ts.map +0 -1
- package/lib/_collection/_common/player-brief/player-brief.module.d.ts.map +0 -1
- package/lib/_collection/_common/rating-summary/rating-summary.component.d.ts.map +0 -1
- package/lib/_collection/_common/rating-summary/rating-summary.module.d.ts.map +0 -1
- package/lib/_collection/_common/skeleton-loader/skeleton-loader.component.d.ts.map +0 -1
- package/lib/_collection/_common/skeleton-loader/skeleton-loader.module.d.ts.map +0 -1
- package/lib/_collection/_common/tips-for-learner/tips-for-learner-card/tips-for-learner-card.component.d.ts.map +0 -1
- package/lib/_collection/_common/tips-for-learner/tips-for-learner.module.d.ts.map +0 -1
- package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.component.d.ts.map +0 -1
- package/lib/_collection/_common/toc-kpi-values/toc-kpi-values.module.d.ts.map +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.component.d.ts.map +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.model.d.ts.map +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.module.d.ts.map +0 -1
- package/lib/_collection/_common/user-autocomplete/user-autocomplete.service.d.ts.map +0 -1
- package/lib/_collection/_common/user-content-rating/user-content-rating.component.d.ts.map +0 -1
- package/lib/_collection/_common/user-content-rating/user-content-rating.module.d.ts.map +0 -1
- package/lib/_collection/_common/user-image/user-image.component.d.ts.map +0 -1
- package/lib/_collection/_common/user-image/user-image.module.d.ts.map +0 -1
- package/lib/_collection/btn-page-back/btn-page-back.component.d.ts.map +0 -1
- package/lib/_collection/btn-page-back/btn-page-back.module.d.ts.map +0 -1
- package/lib/_collection/btn-page-back/btn-page-back.service.d.ts.map +0 -1
- package/lib/_collection/card-rating-comment/card-rating-comment.component.d.ts.map +0 -1
- package/lib/_collection/card-rating-comment/card-rating-comment.module.d.ts.map +0 -1
- package/lib/_collection/sliders-dynamic/sliders-dynamic.component.d.ts.map +0 -1
- package/lib/_collection/sliders-dynamic/sliders-dynamic.model.d.ts.map +0 -1
- package/lib/_collection/sliders-dynamic/sliders-dynamic.module.d.ts.map +0 -1
- package/lib/_collection-api.d.ts.map +0 -1
- package/lib/_constants/widget-content.constants.d.ts.map +0 -1
- package/lib/_directives/tooltip.directive.d.ts.map +0 -1
- package/lib/_models/common.model.d.ts.map +0 -1
- package/lib/_models/error.model.d.ts.map +0 -1
- package/lib/_pipes/highlight.pipe.d.ts.map +0 -1
- package/lib/_services/rating.service.d.ts.map +0 -1
- package/lib/_services/samuhik-charcha.service.d.ts.map +0 -1
- package/lib/_services/viewer-route-util.d.ts.map +0 -1
- package/lib/_services/widget-content.model.d.ts.map +0 -1
- package/lib/_services/widget-content.service.d.ts.map +0 -1
- package/lib/_shared/translate-loader.factory.d.ts.map +0 -1
- package/lib/app-toc-lib.module.d.ts.map +0 -1
- package/lib/collection.config.d.ts.map +0 -1
- package/lib/components/app-toc-analytics-tiles/app-toc-analytics-tiles.component.d.ts.map +0 -1
- package/lib/components/app-toc-banner/app-toc-banner.component.d.ts.map +0 -1
- package/lib/components/app-toc-cios-home/app-toc-cios-home.component.d.ts.map +0 -1
- package/lib/components/app-toc-cios-home/consent-dialog.component.d.ts.map +0 -1
- package/lib/components/app-toc-cohorts/app-toc-cohorts.component.d.ts.map +0 -1
- package/lib/components/app-toc-content-card/app-toc-content-card.component.d.ts.map +0 -1
- package/lib/components/app-toc-dialog-intro-video/app-toc-dialog-intro-video.component.d.ts.map +0 -1
- package/lib/components/app-toc-discussion/app-toc-discussion.component.d.ts.map +0 -1
- package/lib/components/app-toc-home/app-toc-home.component.d.ts.map +0 -1
- package/lib/components/app-toc-home-v2/app-toc-home-v2.component.d.ts.map +0 -1
- package/lib/components/app-toc-overview/app-toc-overview.component.d.ts.map +0 -1
- package/lib/components/app-toc-session-card/app-toc-session-card.component.d.ts.map +0 -1
- package/lib/components/app-toc-sessions/app-toc-sessions.component.d.ts.map +0 -1
- package/lib/components/app-toc-single-page/app-toc-single-page.component.d.ts.map +0 -1
- package/lib/components/completion-survey-form/completion-survey-form.component.d.ts.map +0 -1
- package/lib/components/create-batch-dialog/create-batch-dialog.component.d.ts.map +0 -1
- package/lib/components/enroll-language-dialogue/enroll-language-dialogue.component.d.ts.map +0 -1
- package/lib/components/enroll-profile-form/enroll-profile-form.component.d.ts.map +0 -1
- package/lib/components/enroll-questionnaire/enroll-questionnaire.component.d.ts.map +0 -1
- package/lib/components/knowledge-artifact-details/knowledge-artifact-details.component.d.ts.map +0 -1
- package/lib/components/non-relevent-feedback-dialog/non-relevent-feedback-dialog.component.d.ts.map +0 -1
- package/lib/components/public-survey-form/public-survey-form.component.d.ts.map +0 -1
- package/lib/components/survey-form-question/survey-form-question.component.d.ts.map +0 -1
- package/lib/components/survey-form-section/survey-form-section.component.d.ts.map +0 -1
- package/lib/models/app-toc-analytics.model.d.ts.map +0 -1
- package/lib/models/app-toc.model.d.ts.map +0 -1
- package/lib/models/auto-complete.model.d.ts.map +0 -1
- package/lib/models/card-content.model.d.ts.map +0 -1
- package/lib/models/content-strip-with-tabs.model.d.ts.map +0 -1
- package/lib/models/discussion-forum.model.d.ts.map +0 -1
- package/lib/models/goal.model.d.ts.map +0 -1
- package/lib/models/meta-tag.model.d.ts.map +0 -1
- package/lib/models/playlist.model.d.ts.map +0 -1
- package/lib/models/profile-revamp.model.d.ts.map +0 -1
- package/lib/models/rating.model.d.ts.map +0 -1
- package/lib/models/user-profile.model.d.ts.map +0 -1
- package/lib/resolvers/app-toc-cios-resolver.service.d.ts.map +0 -1
- package/lib/resolvers/app-toc-cios-user-enroll-resolver.service.d.ts.map +0 -1
- package/lib/resolvers/app-toc-content-read-resolver.service.d.ts.map +0 -1
- package/lib/resolvers/app-toc-ext-public-resolver.service.d.ts.map +0 -1
- package/lib/resolvers/app-toc-resolver.service.d.ts.map +0 -1
- package/lib/resolvers/config-resolver.service.d.ts.map +0 -1
- package/lib/resolvers/profile-resolver.service.d.ts.map +0 -1
- package/lib/resolvers/restricted-features-resolver.service.d.ts.map +0 -1
- package/lib/routes/app-toc-home/app-toc-home.component.d.ts.map +0 -1
- package/lib/routes/app-toc-home/app-toc-home.directive.d.ts.map +0 -1
- package/lib/routes/app-toc-home/app-toc-home.service.d.ts.map +0 -1
- package/lib/services/access-control.service.d.ts.map +0 -1
- package/lib/services/action.service.d.ts.map +0 -1
- package/lib/services/app-toc-v2.service.d.ts.map +0 -1
- package/lib/services/app-toc.service.d.ts.map +0 -1
- package/lib/services/certificate.service.d.ts.map +0 -1
- package/lib/services/discuss-utils.service.d.ts.map +0 -1
- package/lib/services/editor.service.d.ts.map +0 -1
- package/lib/services/load-check.service.d.ts.map +0 -1
- package/lib/services/loader.service.d.ts.map +0 -1
- package/lib/services/mobile-apps.service.d.ts.map +0 -1
- package/lib/services/netcore.service.d.ts.map +0 -1
- package/lib/services/nps-grid.service.d.ts.map +0 -1
- package/lib/services/otp.service.d.ts.map +0 -1
- package/lib/services/profile-v2.service.d.ts.map +0 -1
- package/lib/services/reset-ratings.service.d.ts.map +0 -1
- package/lib/services/resource-download-helper.service.d.ts.map +0 -1
- package/lib/services/timer.service.d.ts.map +0 -1
- package/lib/services/title-tag.service.d.ts.map +0 -1
- package/lib/services/user-profile.service.d.ts.map +0 -1
- package/lib/services/viewer-data.service.d.ts.map +0 -1
- package/lib/services/viewer-util.service.d.ts.map +0 -1
- package/lib/share-toc/share-toc/share-toc.component.d.ts.map +0 -1
- package/lib/share-toc/share-toc.module.d.ts.map +0 -1
- package/public-api.d.ts.map +0 -1
- package/sunbird-cb-toc.d.ts.map +0 -1
|
@@ -35,4 +35,90 @@ export declare namespace NsUserProfileDetails {
|
|
|
35
35
|
OTHER = "Other"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
export interface IUserProfileDetails {
|
|
39
|
+
first_name: string;
|
|
40
|
+
last_name: string;
|
|
41
|
+
email: string;
|
|
42
|
+
wid: string;
|
|
43
|
+
department_name: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IUserProfileDetailsFromRegistry {
|
|
46
|
+
'firstname': string;
|
|
47
|
+
'motherTongue': string;
|
|
48
|
+
'secondaryEmail': string;
|
|
49
|
+
'gender': string;
|
|
50
|
+
'@type': string;
|
|
51
|
+
'mobile': number;
|
|
52
|
+
'middlename': string;
|
|
53
|
+
'telephone': number;
|
|
54
|
+
'osid': string;
|
|
55
|
+
'primaryEmailType': string;
|
|
56
|
+
'knownLanguages': ILanguages[];
|
|
57
|
+
'wid': string;
|
|
58
|
+
'nationality': string;
|
|
59
|
+
'surname': string;
|
|
60
|
+
'dob': string;
|
|
61
|
+
'category': string;
|
|
62
|
+
'primaryEmail': string;
|
|
63
|
+
'maritalStatus': string;
|
|
64
|
+
'residenceAddress': string;
|
|
65
|
+
'result': any;
|
|
66
|
+
}
|
|
67
|
+
export interface ILanguages {
|
|
68
|
+
name: string;
|
|
69
|
+
}
|
|
70
|
+
export interface IChipItems {
|
|
71
|
+
name: string;
|
|
72
|
+
}
|
|
73
|
+
export interface ILanguagesApiData {
|
|
74
|
+
languages: ILanguages[];
|
|
75
|
+
}
|
|
76
|
+
export interface INation {
|
|
77
|
+
name: string;
|
|
78
|
+
}
|
|
79
|
+
export interface INationality {
|
|
80
|
+
name: string;
|
|
81
|
+
countryCode: string;
|
|
82
|
+
}
|
|
83
|
+
export interface ICountry {
|
|
84
|
+
name: string;
|
|
85
|
+
countryCode: string;
|
|
86
|
+
}
|
|
87
|
+
export interface INationalityApiData {
|
|
88
|
+
nationality: INationality[];
|
|
89
|
+
}
|
|
90
|
+
export interface ICountryApiData {
|
|
91
|
+
countries: ICountry[];
|
|
92
|
+
}
|
|
93
|
+
export interface INameField {
|
|
94
|
+
name: string;
|
|
95
|
+
}
|
|
96
|
+
export interface IGovtOrgMeta {
|
|
97
|
+
ministries: INameField[];
|
|
98
|
+
service: INameField[];
|
|
99
|
+
cadre: INameField[];
|
|
100
|
+
}
|
|
101
|
+
export interface IIndustriesMeta {
|
|
102
|
+
industries: INameField[];
|
|
103
|
+
}
|
|
104
|
+
export interface IdegreesMeta {
|
|
105
|
+
graduations: INameField[];
|
|
106
|
+
postGraduations: INameField[];
|
|
107
|
+
}
|
|
108
|
+
export interface IdesignationsMeta {
|
|
109
|
+
designations: INameField[];
|
|
110
|
+
gradePay: INameField[];
|
|
111
|
+
}
|
|
112
|
+
export interface IProfileMetaApiData {
|
|
113
|
+
govtOrg: IGovtOrgMeta;
|
|
114
|
+
industries: IIndustriesMeta;
|
|
115
|
+
degrees: IdegreesMeta;
|
|
116
|
+
designations: IdesignationsMeta;
|
|
117
|
+
}
|
|
118
|
+
export interface IProfileAcademics {
|
|
119
|
+
nameOfQualification: string;
|
|
120
|
+
type: string;
|
|
121
|
+
nameOfInstitute: string;
|
|
122
|
+
yearOfPassing: string;
|
|
123
|
+
nameOfOtherQualification?: string;
|
|
124
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
|
|
2
|
+
import { CardCompetencyModule } from './_collection/_common/card-competency/card-competency.module';
|
|
3
|
+
export declare const WIDGET_REGISTERED_LIB_MODULES: (typeof CardCompetencyModule)[];
|
|
4
|
+
export declare const WIDGET_REGISTRATION_TOC_LIB_CONFIG: NsWidgetResolver.IRegistrationConfig[];
|
|
@@ -10,4 +10,3 @@ export declare class AppTocCiosUserEnrollResolverService {
|
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocCiosUserEnrollResolverService, never>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppTocCiosUserEnrollResolverService>;
|
|
12
12
|
}
|
|
13
|
-
//# sourceMappingURL=app-toc-cios-user-enroll-resolver.service.d.ts.map
|
|
@@ -14,4 +14,3 @@ export declare class AppTocContentReadResolverService {
|
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocContentReadResolverService, never>;
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppTocContentReadResolverService>;
|
|
16
16
|
}
|
|
17
|
-
//# sourceMappingURL=app-toc-content-read-resolver.service.d.ts.map
|
|
@@ -10,4 +10,3 @@ export declare class AppTocExtPublicResolverService implements Resolve<Observabl
|
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocExtPublicResolverService, never>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppTocExtPublicResolverService>;
|
|
12
12
|
}
|
|
13
|
-
//# sourceMappingURL=app-toc-ext-public-resolver.service.d.ts.map
|
|
@@ -9,4 +9,3 @@ export declare class RestrictedFeaturesResolverService {
|
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestrictedFeaturesResolverService, never>;
|
|
10
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestrictedFeaturesResolverService>;
|
|
11
11
|
}
|
|
12
|
-
//# sourceMappingURL=restricted-features-resolver.service.d.ts.map
|
|
@@ -17,4 +17,3 @@ export declare class AppTocHomeComponent implements OnInit {
|
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocHomeComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppTocHomeComponent, "ws-app-app-toc-home-root", never, { "forPreview": { "alias": "forPreview"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
20
|
-
//# sourceMappingURL=app-toc-home.component.d.ts.map
|
|
@@ -6,4 +6,3 @@ export declare class AppTocHomeDirective {
|
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocHomeDirective, never>;
|
|
7
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AppTocHomeDirective, "[wsAppAppTocHome]", never, {}, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
9
|
-
//# sourceMappingURL=app-toc-home.directive.d.ts.map
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { AppTocService } from './app-toc.service';
|
|
2
|
+
import { NsContent } from '@sunbird-cb/utils-v2';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AppTocV2Service {
|
|
4
5
|
private tocSvc;
|
|
5
6
|
constructor(tocSvc: AppTocService);
|
|
6
7
|
constructHeirarchyData(contentReadData: any): any;
|
|
8
|
+
mapModuleCount(content: NsContent.IContent): void;
|
|
7
9
|
mapContentHierarchyProgressUpdate(contentHeirarchyData: any, enrollmentListData: any): any;
|
|
8
10
|
private updateMilestoneProgress;
|
|
9
11
|
private updateNodeProgress;
|
|
10
12
|
private updateCourseProgress;
|
|
13
|
+
private getCompletedLeafNodesCount;
|
|
11
14
|
private findEnrollment;
|
|
12
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocV2Service, never>;
|
|
13
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppTocV2Service>;
|
|
14
17
|
}
|
|
15
|
-
//# sourceMappingURL=app-toc-v2.service.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Data } from '@angular/router';
|
|
2
|
-
import { Subject, Observable, Subscription, BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { Subject, Observable, Subscription, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import { NsContent } from '../_services/widget-content.model';
|
|
5
5
|
import { WidgetContentService } from '../_services/widget-content.service';
|
|
@@ -17,6 +17,11 @@ export declare class AppTocService {
|
|
|
17
17
|
batchReplaySubject: Subject<any>;
|
|
18
18
|
setBatchDataSubject: Subject<any>;
|
|
19
19
|
getSelectedBatch: Subject<any>;
|
|
20
|
+
/**
|
|
21
|
+
* Helper function to ensure completionStatus is always a number
|
|
22
|
+
* Converts string values to 0 and ensures valid number range (0, 1, 2)
|
|
23
|
+
*/
|
|
24
|
+
private safeCompletionStatus;
|
|
20
25
|
setWFDataSubject: Subject<any>;
|
|
21
26
|
resumeData: Subject<NsContent.IContinueLearningData | null>;
|
|
22
27
|
private showSubtitleOnBanners;
|
|
@@ -32,12 +37,15 @@ export declare class AppTocService {
|
|
|
32
37
|
getPageScroll: BehaviorSubject<boolean>;
|
|
33
38
|
updatePageScroll: Observable<boolean>;
|
|
34
39
|
hashmap: any;
|
|
40
|
+
private currentRootContentId;
|
|
41
|
+
hashmapUpdated: BehaviorSubject<any>;
|
|
42
|
+
hashmapUpdated$: Observable<any>;
|
|
35
43
|
private transriptionDataSubject;
|
|
36
44
|
transcriptionData$: Observable<any>;
|
|
37
45
|
transriptionActiveLanguageDataObject: BehaviorSubject<any>;
|
|
38
46
|
transriptionActiveLanguageDataObject$: Observable<any>;
|
|
39
47
|
transriptionIdentifier: Subject<unknown>;
|
|
40
|
-
changeTranscriptionLanguageEvent:
|
|
48
|
+
changeTranscriptionLanguageEvent: ReplaySubject<unknown>;
|
|
41
49
|
playTranscriptionVideo: Subject<unknown>;
|
|
42
50
|
constructor(http: HttpClient, contentLangSvc: ContentLanguageService, configSvc: ConfigurationsService, widgetSvc: WidgetContentService);
|
|
43
51
|
get subtitleOnBanners(): boolean;
|
|
@@ -69,6 +77,11 @@ export declare class AppTocService {
|
|
|
69
77
|
fetchContentAnalyticsData(contentId: string): void;
|
|
70
78
|
private getContentAnalytics;
|
|
71
79
|
clearAnalyticsData(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Reset hashmap and related content data
|
|
82
|
+
* Call this when navigating away from content to prevent stale data
|
|
83
|
+
*/
|
|
84
|
+
resetContentData(): void;
|
|
72
85
|
fetchContentParents(contentId: string): Observable<NsContent.IContentMinimal[]>;
|
|
73
86
|
fetchContentWhatsNext(contentId: string, contentType?: string): Observable<NsContent.IContentMinimal[]>;
|
|
74
87
|
fetchMoreLikeThisPaid(contentId: string): Observable<NsContent.IContentMinimal[]>;
|
|
@@ -92,21 +105,15 @@ export declare class AppTocService {
|
|
|
92
105
|
findEnrolmentByCollectionId(enrolmentList: any, identifier: string): any;
|
|
93
106
|
mapCompletionChildPercentageProgram(course: any): Promise<void>;
|
|
94
107
|
mapModuleDurationAndProgress(content: NsContent.IContent | null, parent: NsContent.IContent | null): void;
|
|
95
|
-
createHirarchyProgressHashmap(hierarchyData: NsContent.IContent, rootCourseCategory?: string): void;
|
|
108
|
+
createHirarchyProgressHashmap(hierarchyData: NsContent.IContent, rootCourseCategory?: string, parentId?: string): void;
|
|
96
109
|
createPreAssessmentHirarchyProgressHashmap(hierarchyData: NsContent.IContent): void;
|
|
97
110
|
callHirarchyProgressHashmap(hierarchyData: NsContent.IContent | null): void;
|
|
111
|
+
computeMilestoneLockingStatus(isEnrolled?: boolean): void;
|
|
98
112
|
/**
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* Locking Rules:
|
|
103
|
-
* 1. All milestones are locked by default
|
|
104
|
-
* 2. Milestone 1 (M1) unlocks when pre-assessment is completed
|
|
105
|
-
* 3. Milestone N (N > 1) unlocks when:
|
|
106
|
-
* - All mandatory learning items in Milestone N-1 are completed
|
|
107
|
-
* - The assessment of Milestone N-1 is completed
|
|
113
|
+
* Trigger milestone lock update when hashmap progress is updated externally
|
|
114
|
+
* Called from viewer-util.service.ts after progress updates
|
|
108
115
|
*/
|
|
109
|
-
|
|
116
|
+
triggerMilestoneLockUpdate(): void;
|
|
110
117
|
/**
|
|
111
118
|
* Check if pre-assessment (preliminary assessment) is completed
|
|
112
119
|
* Pre-assessment is typically a Course Assessment at the root level of Learning Pathway (before milestones)
|
|
@@ -114,7 +121,8 @@ export declare class AppTocService {
|
|
|
114
121
|
private checkPreAssessmentCompletion;
|
|
115
122
|
/**
|
|
116
123
|
* Check if a milestone's assessment is completed
|
|
117
|
-
*
|
|
124
|
+
* ONLY checks the milestone assessment (Course Assessment that is a direct child of the milestone)
|
|
125
|
+
* Does NOT check assessments nested inside courses within the milestone
|
|
118
126
|
*/
|
|
119
127
|
private checkMilestoneAssessmentComplete;
|
|
120
128
|
/**
|
|
@@ -126,6 +134,19 @@ export declare class AppTocService {
|
|
|
126
134
|
* Check if a content item is a child (direct or nested) of a milestone
|
|
127
135
|
*/
|
|
128
136
|
private isChildOfMilestone;
|
|
137
|
+
/**
|
|
138
|
+
* Compute assessment locking within an unlocked milestone
|
|
139
|
+
* Assessment locks until all mandatory courses in the milestone are completed
|
|
140
|
+
*/
|
|
141
|
+
private computeAssessmentLockingInMilestone;
|
|
142
|
+
/**
|
|
143
|
+
* Mark all children of a milestone as parent-locked or unlocked
|
|
144
|
+
*/
|
|
145
|
+
private markMilestoneChildrenAsParentLocked;
|
|
146
|
+
/**
|
|
147
|
+
* Recursively mark nested children as parent-locked
|
|
148
|
+
*/
|
|
149
|
+
private markNestedChildrenAsParentLocked;
|
|
129
150
|
getCalculationsFromChildren(item: NsContent.IContent): NsContent.IContent;
|
|
130
151
|
fetchContentHistoryV2(req: NsContent.IContinueLearningDataReq): Observable<NsContent.IContinueLearningData>;
|
|
131
152
|
dowonloadCertificate(certId: any): Observable<any>;
|
|
@@ -156,7 +177,14 @@ export declare class AppTocService {
|
|
|
156
177
|
notifyAssignmentSubmission(payload: any): Observable<any>;
|
|
157
178
|
getAssignmentStatus(request: any): Observable<any>;
|
|
158
179
|
readAssignmentFile(contentId: string, batchId: string, assignmentId: string, fileName: string): Observable<any>;
|
|
180
|
+
/**
|
|
181
|
+
* Generate milestone achievement
|
|
182
|
+
* @param userId User ID
|
|
183
|
+
* @param courseId Course identifier
|
|
184
|
+
* @param batchId Batch ID
|
|
185
|
+
* @param milestoneId Milestone identifier (e.g., 'm1', 'm2')
|
|
186
|
+
*/
|
|
187
|
+
generateMilestoneAchievement(userId: string, courseId: string, batchId: string, milestoneId: string): Observable<any>;
|
|
159
188
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTocService, never>;
|
|
160
189
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppTocService>;
|
|
161
190
|
}
|
|
162
|
-
//# sourceMappingURL=app-toc.service.d.ts.map
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Certificate Service
|
|
6
|
-
* Handles certificate-related operations
|
|
7
|
-
*/
|
|
8
4
|
export declare class CertificateService {
|
|
9
5
|
private http;
|
|
10
6
|
private readonly PROXY_SLAG_V8;
|
|
@@ -28,16 +24,18 @@ export declare class CertificateService {
|
|
|
28
24
|
/**
|
|
29
25
|
* Download certificate v2
|
|
30
26
|
*/
|
|
31
|
-
downloadCertificate_v2(certId: string): Observable<
|
|
27
|
+
downloadCertificate_v2(certId: string): Observable<any>;
|
|
32
28
|
/**
|
|
33
29
|
* Validate enrollment eligibility
|
|
34
30
|
*/
|
|
35
|
-
validateEnrollmentEligibility(
|
|
31
|
+
validateEnrollmentEligibility(courseId: string, partnerId: string): Observable<any>;
|
|
36
32
|
/**
|
|
37
33
|
* Submit consent for content
|
|
38
34
|
*/
|
|
39
35
|
consentSubmit(request: any): Observable<any>;
|
|
36
|
+
downloadCertificate_v3(certId: string): Observable<any>;
|
|
37
|
+
validateCertificate(data: any): Observable<any>;
|
|
38
|
+
searchCertificate(recipientId: string): Observable<any>;
|
|
40
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<CertificateService, never>;
|
|
41
40
|
static ɵprov: i0.ɵɵInjectableDeclaration<CertificateService>;
|
|
42
41
|
}
|
|
43
|
-
//# sourceMappingURL=certificate.service.d.ts.map
|
|
@@ -1,34 +1,11 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Discuss Utils Service
|
|
6
|
-
* Handles discussion forum related utilities
|
|
7
|
-
*/
|
|
8
2
|
export declare class DiscussUtilsService {
|
|
9
|
-
|
|
10
|
-
constructor(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
getDiscussionConfig(): any;
|
|
15
|
-
/**
|
|
16
|
-
* Set discussion forum configuration
|
|
17
|
-
*/
|
|
3
|
+
discussionCnfig: any;
|
|
4
|
+
constructor();
|
|
5
|
+
stringToColor(str: string): string;
|
|
6
|
+
getContrast(_hexcolor: any): string;
|
|
18
7
|
setDiscussionConfig(config: any): void;
|
|
19
|
-
|
|
20
|
-
* Navigate to discussion forum
|
|
21
|
-
*/
|
|
22
|
-
navigateToDiscussion(contentId: string): void;
|
|
23
|
-
/**
|
|
24
|
-
* Get discussion count for content
|
|
25
|
-
*/
|
|
26
|
-
getDiscussionCount(contentId: string): Observable<number>;
|
|
27
|
-
/**
|
|
28
|
-
* Set discussion configuration (alias)
|
|
29
|
-
*/
|
|
30
|
-
setDiscussConfig(config: any): void;
|
|
8
|
+
getDiscussionConfig(): any;
|
|
31
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DiscussUtilsService, never>;
|
|
32
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<DiscussUtilsService>;
|
|
33
11
|
}
|
|
34
|
-
//# sourceMappingURL=discuss-utils.service.d.ts.map
|
|
@@ -1,34 +1,21 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ConfigurationsService } from '@sunbird-cb/utils-v2';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* NetCore Service stub
|
|
4
|
-
* Handles NetCore integration for analytics
|
|
5
|
-
*
|
|
6
|
-
* Note: This is a minimal stub. The consuming application should provide
|
|
7
|
-
* a proper implementation if full functionality is needed.
|
|
8
|
-
*/
|
|
9
5
|
export declare class NetCoreService {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Log out user
|
|
25
|
-
*/
|
|
26
|
-
logout(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Track event for content and event
|
|
29
|
-
*/
|
|
30
|
-
trackEventForContentAndEvent(eventType: string, userId: string, payload: any): void;
|
|
6
|
+
private http;
|
|
7
|
+
configSvc: ConfigurationsService;
|
|
8
|
+
constructor(http: HttpClient, configSvc: ConfigurationsService);
|
|
9
|
+
getOrgReadData(organisationId: string): Observable<any>;
|
|
10
|
+
netCoreConfigReadData(payload: any): Observable<any>;
|
|
11
|
+
formReadData(request: any): Observable<any>;
|
|
12
|
+
netCoreUserLoginSetup(payload: any): void;
|
|
13
|
+
netCoreUserNameUpdate(payload: any): void;
|
|
14
|
+
netCoreUserProfilePhotoUpdate(payload: any): void;
|
|
15
|
+
netCoreUserProfilepdate(payload: any): void;
|
|
16
|
+
netCoreUserProfileUpdateEvent(payload: any, eventName: any, userIdentifier: any): void;
|
|
17
|
+
trackEvent(eventName: any, userIdentifier: any, userpayload?: any): void;
|
|
18
|
+
trackEventForContentAndEvent(eventName: any, userIdentifier: any, contentpayload?: any): void;
|
|
31
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<NetCoreService, never>;
|
|
32
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<NetCoreService>;
|
|
33
21
|
}
|
|
34
|
-
//# sourceMappingURL=netcore.service.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* NPS Grid Service - Stub implementation
|
|
5
|
-
* Provides NPS grid/survey functionality
|
|
6
|
-
*/
|
|
7
3
|
export declare class NPSGridService {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
private http;
|
|
5
|
+
private telemetryEvents;
|
|
6
|
+
updateTelemetryDataObservable: import("rxjs").Observable<boolean>;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
updateTelemetryData(state: boolean): void;
|
|
9
|
+
getFeedStatus(id: any): import("rxjs").Observable<any>;
|
|
10
|
+
getFormData(formid: any): import("rxjs").Observable<any>;
|
|
11
|
+
submitPlatformRating(req: any): import("rxjs").Observable<any>;
|
|
12
|
+
deleteFeed(req: any): import("rxjs").Observable<any>;
|
|
13
|
+
submitBpFormWithProfileDetails(req: any): import("rxjs").Observable<any>;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NPSGridService, never>;
|
|
14
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<NPSGridService>;
|
|
15
16
|
}
|
|
16
|
-
//# sourceMappingURL=nps-grid.service.d.ts.map
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* OTP Service - Stub implementation
|
|
6
|
-
* Provides OTP generation and verification functionality
|
|
7
|
-
*/
|
|
8
4
|
export declare class OtpService {
|
|
9
5
|
private http;
|
|
10
6
|
constructor(http: HttpClient);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sendOtp(mobileNumber: string): Observable<any>;
|
|
7
|
+
sendOtp(mob: number): Observable<any>;
|
|
8
|
+
resendOtp(mob: number): Observable<Object>;
|
|
9
|
+
verifyOTP(otp: string, mob: number): Observable<Object>;
|
|
15
10
|
sendEmailOtp(email: string): Observable<any>;
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
reSendEmailOtp(email: string): Observable<any>;
|
|
12
|
+
verifyEmailOTP(otp: any, email: number): Observable<Object>;
|
|
18
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<OtpService, never>;
|
|
19
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<OtpService>;
|
|
20
15
|
}
|
|
21
|
-
//# sourceMappingURL=otp.service.d.ts.map
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { NSProfileDataV2 } from '../_collection/_common/connection-name/profile-v2.model';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Profile V2 Service - Stub implementation
|
|
6
|
-
* Provides profile management functionality
|
|
7
|
-
*/
|
|
8
5
|
export declare class ProfileV2Service {
|
|
9
6
|
private http;
|
|
10
7
|
constructor(http: HttpClient);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
getFormV2ByID(formId: string): Observable<any>;
|
|
8
|
+
fetchDiscussProfile(wid: string): Observable<any>;
|
|
9
|
+
fetchProfile(userId: string): Observable<NSProfileDataV2.IProfile>;
|
|
10
|
+
fetchPost(request: any): Observable<any>;
|
|
15
11
|
fetchCadre(): Observable<any>;
|
|
16
|
-
fetchApprovalDetails(
|
|
17
|
-
withDrawApprovalRequest(userId: string, wfId
|
|
12
|
+
fetchApprovalDetails(): Observable<any>;
|
|
13
|
+
withDrawApprovalRequest(userId: string, wfId: string): Observable<any>;
|
|
14
|
+
getFormV2ByID(formid: any): Observable<any>;
|
|
18
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileV2Service, never>;
|
|
19
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProfileV2Service>;
|
|
20
17
|
}
|
|
21
|
-
//# sourceMappingURL=profile-v2.service.d.ts.map
|
|
@@ -27,4 +27,3 @@ export declare class ResourceDownloadHelperService {
|
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceDownloadHelperService, never>;
|
|
28
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceDownloadHelperService>;
|
|
29
29
|
}
|
|
30
|
-
//# sourceMappingURL=resource-download-helper.service.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RootService {
|
|
5
|
+
private http;
|
|
6
|
+
openSupportAIChatbot: BehaviorSubject<boolean>;
|
|
7
|
+
showNavbarDisplay$: BehaviorSubject<boolean>;
|
|
8
|
+
discussionCnfig: any;
|
|
9
|
+
iGOTAIChatHistory: any;
|
|
10
|
+
constructor(http: HttpClient);
|
|
11
|
+
createUser(request: any): Observable<any>;
|
|
12
|
+
setDiscussionConfig(config: any): void;
|
|
13
|
+
getCookie(name: string): string;
|
|
14
|
+
deleteCookie(name: string): void;
|
|
15
|
+
setCookie(name: string, value: string, expireDays: number, path?: string): void;
|
|
16
|
+
getChatData(tabType: any): any;
|
|
17
|
+
getLangugages(): Observable<any>;
|
|
18
|
+
aiGlobalSearch(requestBody: any, chatId: any, userID: any): Observable<any>;
|
|
19
|
+
saveAIChatPositiveContentRating(requestBody: any, chatId: any, userID: any): Observable<any>;
|
|
20
|
+
shareAIFeedback(requestBody: any, chatId: any, userID: any): Observable<any>;
|
|
21
|
+
aiGlobalSearchFromInternet(requestBody: any, chatId: any, userID: any): Observable<any>;
|
|
22
|
+
aiStartChathForSupport(requestBody: any, userID: any): Observable<any>;
|
|
23
|
+
aiSendChathForSupport(requestBody: any, userID: any): Observable<any>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RootService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RootService>;
|
|
26
|
+
}
|