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