@sunbird-cb/consumption 0.0.63 → 0.0.65
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/README.md +24 -24
- package/bundles/sunbird-cb-consumption.umd.js +17470 -17345
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/announcements/announcements.component.js +150 -150
- package/esm2015/lib/_common/announcements/announcements.module.js +23 -23
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +158 -158
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +29 -29
- package/esm2015/lib/_common/calender/calender-day/calender-day.component.js +90 -90
- package/esm2015/lib/_common/calender/calender.component.js +299 -299
- package/esm2015/lib/_common/calender/calender.module.js +31 -31
- package/esm2015/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +170 -170
- package/esm2015/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +178 -178
- package/esm2015/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +166 -166
- package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +202 -202
- package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +154 -154
- package/esm2015/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +154 -154
- package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +167 -167
- package/esm2015/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +170 -170
- package/esm2015/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +261 -261
- package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +34 -34
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +141 -141
- package/esm2015/lib/_common/cards/card-wide/card-wide.component.js +166 -166
- package/esm2015/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +171 -171
- package/esm2015/lib/_common/cards/cards.component.js +167 -167
- package/esm2015/lib/_common/cards/cards.module.js +100 -100
- package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +81 -81
- package/esm2015/lib/_common/cbp-plan/cbp-plan.component.js +166 -166
- package/esm2015/lib/_common/cbp-plan/cbp-plan.module.js +27 -27
- package/esm2015/lib/_common/common-strip/common-strip.component.js +646 -646
- package/esm2015/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm2015/lib/_common/common-strip/common-strip.module.js +62 -62
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +384 -384
- package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +52 -52
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +332 -332
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +52 -52
- package/esm2015/lib/_common/content-progress/content-progress.component.js +89 -89
- package/esm2015/lib/_common/content-progress/content-progress.module.js +22 -22
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2559 -2443
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +69 -69
- package/esm2015/lib/_common/data-points/data-points.component.js +148 -148
- package/esm2015/lib/_common/data-points/data-points.module.js +23 -23
- package/esm2015/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +225 -225
- package/esm2015/lib/_common/dialog-components/dialog-components.module.js +43 -43
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +60 -60
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +18 -18
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +362 -362
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +255 -255
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel.module.js +52 -52
- package/esm2015/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +269 -269
- package/esm2015/lib/_common/microsites/providers/providers.module.js +51 -51
- package/esm2015/lib/_common/pills/pills.component.js +61 -61
- package/esm2015/lib/_common/pills/pills.module.js +24 -24
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +40 -40
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +28 -28
- package/esm2015/lib/_common/sliders/sliders.component.js +187 -184
- package/esm2015/lib/_common/sliders/sliders.model.js +67 -67
- package/esm2015/lib/_common/sliders/sliders.module.js +50 -50
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +206 -206
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.module.js +50 -50
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1613 -1613
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +69 -69
- package/esm2015/lib/_common/top-learners/top-learners.component.js +155 -155
- package/esm2015/lib/_common/top-learners/top-learners.module.js +23 -23
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +145 -145
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.module.js +38 -38
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.service.js +45 -45
- package/esm2015/lib/_constants/misc.constants.js +4 -4
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +51 -51
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +18 -18
- package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +126 -126
- package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +18 -18
- package/esm2015/lib/_directives/navigation/navigation.directive.js +53 -53
- package/esm2015/lib/_directives/navigation/navigation.module.js +18 -18
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.directive.js +42 -42
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.module.js +19 -19
- package/esm2015/lib/_models/card-content-v2.model.js +78 -78
- package/esm2015/lib/_models/card-content.model.js +69 -69
- package/esm2015/lib/_models/card-users.model.js +103 -103
- package/esm2015/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm2015/lib/_models/event.js +45 -45
- package/esm2015/lib/_models/profile-v3.models.js +196 -196
- package/esm2015/lib/_models/rating.model.js +44 -44
- package/esm2015/lib/_models/widget-content.model.js +876 -876
- package/esm2015/lib/_models/widget-search.model.js +471 -471
- package/esm2015/lib/_models/widget-user.model.js +17 -17
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.js +28 -28
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +119 -119
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +38 -38
- package/esm2015/lib/_services/certificate.service.js +63 -63
- package/esm2015/lib/_services/common-methods.service.js +84 -84
- package/esm2015/lib/_services/configurations.service.js +243 -243
- package/esm2015/lib/_services/insite-data.service.js +68 -68
- package/esm2015/lib/_services/multilingual-translations.service.js +231 -231
- package/esm2015/lib/_services/rating.service.js +171 -171
- package/esm2015/lib/_services/viewer-route-util.js +125 -125
- package/esm2015/lib/_services/widget-content.service.js +852 -852
- package/esm2015/lib/_services/widget-user.service.js +475 -475
- package/esm2015/lib/consumption.component.js +26 -26
- package/esm2015/lib/consumption.config.js +12 -12
- package/esm2015/lib/consumption.module.js +36 -36
- package/esm2015/lib/consumption.service.js +18 -18
- package/esm2015/lib/registration-lib.config.js +21 -21
- package/esm2015/public-api.js +31 -31
- package/esm2015/sunbird-cb-consumption.js +77 -77
- package/esm5/lib/_common/announcements/announcements.component.js +166 -166
- package/esm5/lib/_common/announcements/announcements.module.js +27 -27
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +175 -175
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +33 -33
- package/esm5/lib/_common/calender/calender-day/calender-day.component.js +101 -101
- package/esm5/lib/_common/calender/calender.component.js +334 -334
- package/esm5/lib/_common/calender/calender.module.js +35 -35
- package/esm5/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +186 -186
- package/esm5/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +187 -187
- package/esm5/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +176 -176
- package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +216 -216
- package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +164 -164
- package/esm5/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +164 -164
- package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +173 -173
- package/esm5/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +176 -176
- package/esm5/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +278 -278
- package/esm5/lib/_common/cards/card-resource/card-resource.component.js +41 -41
- package/esm5/lib/_common/cards/card-user/card-user.component.js +147 -147
- package/esm5/lib/_common/cards/card-wide/card-wide.component.js +172 -172
- package/esm5/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +181 -181
- package/esm5/lib/_common/cards/cards.component.js +199 -199
- package/esm5/lib/_common/cards/cards.module.js +104 -104
- package/esm5/lib/_common/cards/provider-card/provider-card.component.js +90 -90
- package/esm5/lib/_common/cbp-plan/cbp-plan.component.js +185 -185
- package/esm5/lib/_common/cbp-plan/cbp-plan.module.js +31 -31
- package/esm5/lib/_common/common-strip/common-strip.component.js +760 -760
- package/esm5/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm5/lib/_common/common-strip/common-strip.module.js +66 -66
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +454 -454
- package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +31 -31
- package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +59 -59
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +383 -383
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +31 -31
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +59 -59
- package/esm5/lib/_common/content-progress/content-progress.component.js +94 -94
- package/esm5/lib/_common/content-progress/content-progress.module.js +26 -26
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2970 -2848
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +73 -73
- package/esm5/lib/_common/data-points/data-points.component.js +163 -163
- package/esm5/lib/_common/data-points/data-points.module.js +27 -27
- package/esm5/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +248 -248
- package/esm5/lib/_common/dialog-components/dialog-components.module.js +47 -47
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +67 -67
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +22 -22
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +391 -391
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +27 -27
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +29 -29
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +292 -292
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel.module.js +56 -56
- package/esm5/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +312 -312
- package/esm5/lib/_common/microsites/providers/providers.module.js +55 -55
- package/esm5/lib/_common/pills/pills.component.js +70 -70
- package/esm5/lib/_common/pills/pills.module.js +28 -28
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +45 -45
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +32 -32
- package/esm5/lib/_common/sliders/sliders.component.js +214 -211
- package/esm5/lib/_common/sliders/sliders.model.js +67 -67
- package/esm5/lib/_common/sliders/sliders.module.js +67 -67
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +233 -233
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.module.js +67 -67
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1892 -1892
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +73 -73
- package/esm5/lib/_common/top-learners/top-learners.component.js +172 -172
- package/esm5/lib/_common/top-learners/top-learners.module.js +27 -27
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +168 -168
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.module.js +42 -42
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.service.js +48 -48
- package/esm5/lib/_constants/misc.constants.js +4 -4
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +59 -59
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +22 -22
- package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +136 -136
- package/esm5/lib/_directives/image-responsive/image-responsive.module.js +22 -22
- package/esm5/lib/_directives/navigation/navigation.directive.js +62 -62
- package/esm5/lib/_directives/navigation/navigation.module.js +22 -22
- package/esm5/lib/_directives/scrollable-item/scrollable-item.directive.js +45 -45
- package/esm5/lib/_directives/scrollable-item/scrollable-item.module.js +23 -23
- package/esm5/lib/_models/card-content-v2.model.js +78 -78
- package/esm5/lib/_models/card-content.model.js +69 -69
- package/esm5/lib/_models/card-users.model.js +103 -103
- package/esm5/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm5/lib/_models/event.js +45 -45
- package/esm5/lib/_models/profile-v3.models.js +196 -196
- package/esm5/lib/_models/rating.model.js +44 -44
- package/esm5/lib/_models/widget-content.model.js +876 -876
- package/esm5/lib/_models/widget-search.model.js +471 -471
- package/esm5/lib/_models/widget-user.model.js +17 -17
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.js +57 -57
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.module.js +23 -23
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +22 -22
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +142 -142
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +23 -23
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +41 -41
- package/esm5/lib/_services/certificate.service.js +70 -70
- package/esm5/lib/_services/common-methods.service.js +102 -102
- package/esm5/lib/_services/configurations.service.js +257 -257
- package/esm5/lib/_services/insite-data.service.js +82 -82
- package/esm5/lib/_services/multilingual-translations.service.js +259 -259
- package/esm5/lib/_services/rating.service.js +214 -214
- package/esm5/lib/_services/viewer-route-util.js +127 -127
- package/esm5/lib/_services/widget-content.service.js +1109 -1109
- package/esm5/lib/_services/widget-user.service.js +542 -542
- package/esm5/lib/consumption.component.js +28 -28
- package/esm5/lib/consumption.config.js +12 -12
- package/esm5/lib/consumption.module.js +40 -40
- package/esm5/lib/consumption.service.js +21 -21
- package/esm5/lib/registration-lib.config.js +21 -21
- package/esm5/public-api.js +31 -31
- package/esm5/sunbird-cb-consumption.js +77 -77
- package/fesm2015/sunbird-cb-consumption.js +15407 -15288
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +17476 -17351
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/announcements/announcements.component.d.ts +21 -21
- package/lib/_common/announcements/announcements.module.d.ts +2 -2
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.component.d.ts +20 -20
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.module.d.ts +2 -2
- package/lib/_common/calender/calender-day/calender-day.component.d.ts +18 -18
- package/lib/_common/calender/calender.component.d.ts +34 -34
- package/lib/_common/calender/calender.module.d.ts +2 -2
- package/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.d.ts +31 -31
- package/lib/_common/cards/card-karma-programs/card-karma-programs.component.d.ts +28 -28
- package/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.d.ts +26 -26
- package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +36 -36
- package/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.d.ts +27 -27
- package/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.d.ts +27 -27
- package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +33 -33
- package/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.d.ts +33 -33
- package/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.d.ts +41 -41
- package/lib/_common/cards/card-resource/card-resource.component.d.ts +8 -8
- package/lib/_common/cards/card-user/card-user.component.d.ts +24 -24
- package/lib/_common/cards/card-wide/card-wide.component.d.ts +30 -30
- package/lib/_common/cards/card-wide-v2/card-wide-v2.component.d.ts +34 -34
- package/lib/_common/cards/cards.component.d.ts +26 -26
- package/lib/_common/cards/cards.module.d.ts +2 -2
- package/lib/_common/cards/provider-card/provider-card.component.d.ts +14 -14
- package/lib/_common/cbp-plan/cbp-plan.component.d.ts +25 -25
- package/lib/_common/cbp-plan/cbp-plan.module.d.ts +2 -2
- package/lib/_common/common-strip/common-strip.component.d.ts +104 -104
- package/lib/_common/common-strip/common-strip.model.d.ts +141 -141
- package/lib/_common/common-strip/common-strip.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.component.d.ts +42 -42
- package/lib/_common/competency-passbook/competency-passbook.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.service.d.ts +8 -8
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.d.ts +43 -43
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.d.ts +2 -2
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.d.ts +8 -8
- package/lib/_common/content-progress/content-progress.component.d.ts +13 -13
- package/lib/_common/content-progress/content-progress.module.d.ts +2 -2
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +203 -201
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +149 -147
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +5 -5
- package/lib/_common/data-points/data-points.component.d.ts +17 -17
- package/lib/_common/data-points/data-points.module.d.ts +2 -2
- package/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.d.ts +22 -22
- package/lib/_common/dialog-components/dialog-components.module.d.ts +2 -2
- package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +12 -12
- package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +2 -2
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +33 -33
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
- package/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.d.ts +5 -5
- package/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.d.ts +39 -39
- package/lib/_common/microsites/mdo-channels/mdo-channel.module.d.ts +2 -2
- package/lib/_common/microsites/providers/providers-v2/providers-v2.component.d.ts +36 -36
- package/lib/_common/microsites/providers/providers.module.d.ts +2 -2
- package/lib/_common/pills/pills.component.d.ts +13 -13
- package/lib/_common/pills/pills.module.d.ts +2 -2
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +8 -8
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +2 -2
- package/lib/_common/sliders/sliders.component.d.ts +27 -26
- package/lib/_common/sliders/sliders.model.d.ts +40 -40
- package/lib/_common/sliders/sliders.module.d.ts +6 -6
- package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +29 -29
- package/lib/_common/sliders-ng-content/sliders-ng-content.model.d.ts +34 -34
- package/lib/_common/sliders-ng-content/sliders-ng-content.module.d.ts +6 -6
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.d.ts +161 -161
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts +149 -149
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.d.ts +5 -5
- package/lib/_common/top-learners/top-learners.component.d.ts +18 -18
- package/lib/_common/top-learners/top-learners.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.component.d.ts +22 -22
- package/lib/_common/user-content-rating/user-content-rating-lib.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.service.d.ts +7 -7
- package/lib/_constants/misc.constants.d.ts +2 -2
- package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
- package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
- package/lib/_directives/image-responsive/image-responsive.directive.d.ts +17 -17
- package/lib/_directives/image-responsive/image-responsive.module.d.ts +2 -2
- package/lib/_directives/navigation/navigation.directive.d.ts +9 -9
- package/lib/_directives/navigation/navigation.module.d.ts +2 -2
- package/lib/_directives/scrollable-item/scrollable-item.directive.d.ts +7 -7
- package/lib/_directives/scrollable-item/scrollable-item.module.d.ts +2 -2
- package/lib/_models/card-content-v2.model.d.ts +44 -44
- package/lib/_models/card-content.model.d.ts +41 -41
- package/lib/_models/card-users.model.d.ts +50 -50
- package/lib/_models/content-strip-multiple.model.d.ts +128 -128
- package/lib/_models/event.d.ts +18 -18
- package/lib/_models/profile-v3.models.d.ts +91 -91
- package/lib/_models/rating.model.d.ts +17 -17
- package/lib/_models/widget-content.model.d.ts +497 -497
- package/lib/_models/widget-search.model.d.ts +252 -252
- package/lib/_models/widget-user.model.d.ts +5 -5
- package/lib/_pipes/object-to-array/object-to-array.pipe.d.ts +4 -4
- package/lib/_pipes/object-to-array/object-to-array.pipe.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
- package/lib/_services/certificate.service.d.ts +8 -8
- package/lib/_services/common-methods.service.d.ts +39 -39
- package/lib/_services/configurations.service.d.ts +71 -71
- package/lib/_services/insite-data.service.d.ts +10 -10
- package/lib/_services/multilingual-translations.service.d.ts +20 -20
- package/lib/_services/rating.service.d.ts +15 -15
- package/lib/_services/viewer-route-util.d.ts +8 -8
- package/lib/_services/widget-content.service.d.ts +87 -87
- package/lib/_services/widget-user.service.d.ts +33 -33
- package/lib/consumption.component.d.ts +5 -5
- package/lib/consumption.config.d.ts +6 -6
- package/lib/consumption.module.d.ts +2 -2
- package/lib/consumption.service.d.ts +3 -3
- package/lib/registration-lib.config.d.ts +4 -4
- package/package.json +1 -1
- package/public-api.d.ts +23 -23
- package/sunbird-cb-consumption.d.ts +73 -73
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { BehaviorSubject, ReplaySubject, Subject } from 'rxjs';
|
|
2
|
-
import { IPortalUrls, IUserPreference, NsAppsConfig, NsInstanceConfig, NsPage, NsUser } from '@sunbird-cb/utils-v2';
|
|
3
|
-
import { NSProfileDataV3 } from '../_models/profile-v3.models';
|
|
4
|
-
export declare class ConfigurationsService {
|
|
5
|
-
constructor();
|
|
6
|
-
appSetup: boolean;
|
|
7
|
-
userUrl: string;
|
|
8
|
-
baseUrl: string;
|
|
9
|
-
sitePath: string;
|
|
10
|
-
hostPath: string;
|
|
11
|
-
userRoles: Set<string> | null;
|
|
12
|
-
userGroups: Set<string> | null;
|
|
13
|
-
restrictedFeatures: Set<string> | null;
|
|
14
|
-
restrictedWidgets: Set<string> | null;
|
|
15
|
-
instanceConfig: NsInstanceConfig.IConfig | null;
|
|
16
|
-
appsConfig: NsAppsConfig.IAppsConfig | null;
|
|
17
|
-
rootOrg: string | null;
|
|
18
|
-
courseContentPath?: string;
|
|
19
|
-
org: string[] | null;
|
|
20
|
-
activeOrg: string | null;
|
|
21
|
-
isProduction: boolean;
|
|
22
|
-
hasAcceptedTnc: boolean;
|
|
23
|
-
profileDetailsStatus: boolean;
|
|
24
|
-
isActive: boolean;
|
|
25
|
-
userPreference: IUserPreference | null;
|
|
26
|
-
userProfile: NsUser.IUserProfile | null;
|
|
27
|
-
userProfileV2: NsUser.IUserProfile | null;
|
|
28
|
-
nodebbUserProfile: NsUser.INodebbUserProfile | null;
|
|
29
|
-
unMappedUser: any;
|
|
30
|
-
isAuthenticated: boolean;
|
|
31
|
-
isNewUser: boolean;
|
|
32
|
-
portalUrls: IPortalUrls | undefined;
|
|
33
|
-
positions: any;
|
|
34
|
-
overrideThemeChanges: any;
|
|
35
|
-
profileTimelyNudges: any;
|
|
36
|
-
pinnedApps: BehaviorSubject<Set<string>>;
|
|
37
|
-
prefChangeNotifier: ReplaySubject<Partial<IUserPreference>>;
|
|
38
|
-
tourGuideNotifier: ReplaySubject<boolean>;
|
|
39
|
-
authChangeNotifier: ReplaySubject<boolean>;
|
|
40
|
-
private updateProfile;
|
|
41
|
-
updateProfileObservable: import("rxjs").Observable<boolean>;
|
|
42
|
-
updateTourGuide: BehaviorSubject<boolean>;
|
|
43
|
-
updateTourGuideObservable: import("rxjs").Observable<boolean>;
|
|
44
|
-
updatePlatformRating: BehaviorSubject<{
|
|
45
|
-
bottom: string;
|
|
46
|
-
}>;
|
|
47
|
-
updatePlatformRatingObservable$: import("rxjs").Observable<{
|
|
48
|
-
bottom: string;
|
|
49
|
-
}>;
|
|
50
|
-
languageTranslationFlag: Subject<unknown>;
|
|
51
|
-
activeThemeObject: NsInstanceConfig.ITheme | null;
|
|
52
|
-
activeFontObject: NsInstanceConfig.IFontSize | null;
|
|
53
|
-
isDarkMode: boolean;
|
|
54
|
-
isIntranetAllowed: boolean;
|
|
55
|
-
isRTL: boolean;
|
|
56
|
-
activeLocale: NsInstanceConfig.ILocalsConfig | null;
|
|
57
|
-
activeLocaleGroup: string;
|
|
58
|
-
completedActivity: string[] | null;
|
|
59
|
-
completedTour: boolean;
|
|
60
|
-
profileSettings: string[];
|
|
61
|
-
primaryNavBar: Partial<NsPage.INavBackground>;
|
|
62
|
-
pageNavBar: Partial<NsPage.INavBackground>;
|
|
63
|
-
primaryNavBarConfig: NsInstanceConfig.IPrimaryNavbarConfig | null;
|
|
64
|
-
welcomeTabs: NSProfileDataV3.IProfileTab | null;
|
|
65
|
-
cstoken: string;
|
|
66
|
-
changeNavBarFullView: Subject<unknown>;
|
|
67
|
-
openExploreMenuForMWeb: Subject<unknown>;
|
|
68
|
-
updateGlobalProfile(state: boolean): void;
|
|
69
|
-
updateTourGuideMethod(state: boolean): void;
|
|
70
|
-
updatePlatformRatingMethod(state: any): void;
|
|
71
|
-
}
|
|
1
|
+
import { BehaviorSubject, ReplaySubject, Subject } from 'rxjs';
|
|
2
|
+
import { IPortalUrls, IUserPreference, NsAppsConfig, NsInstanceConfig, NsPage, NsUser } from '@sunbird-cb/utils-v2';
|
|
3
|
+
import { NSProfileDataV3 } from '../_models/profile-v3.models';
|
|
4
|
+
export declare class ConfigurationsService {
|
|
5
|
+
constructor();
|
|
6
|
+
appSetup: boolean;
|
|
7
|
+
userUrl: string;
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
sitePath: string;
|
|
10
|
+
hostPath: string;
|
|
11
|
+
userRoles: Set<string> | null;
|
|
12
|
+
userGroups: Set<string> | null;
|
|
13
|
+
restrictedFeatures: Set<string> | null;
|
|
14
|
+
restrictedWidgets: Set<string> | null;
|
|
15
|
+
instanceConfig: NsInstanceConfig.IConfig | null;
|
|
16
|
+
appsConfig: NsAppsConfig.IAppsConfig | null;
|
|
17
|
+
rootOrg: string | null;
|
|
18
|
+
courseContentPath?: string;
|
|
19
|
+
org: string[] | null;
|
|
20
|
+
activeOrg: string | null;
|
|
21
|
+
isProduction: boolean;
|
|
22
|
+
hasAcceptedTnc: boolean;
|
|
23
|
+
profileDetailsStatus: boolean;
|
|
24
|
+
isActive: boolean;
|
|
25
|
+
userPreference: IUserPreference | null;
|
|
26
|
+
userProfile: NsUser.IUserProfile | null;
|
|
27
|
+
userProfileV2: NsUser.IUserProfile | null;
|
|
28
|
+
nodebbUserProfile: NsUser.INodebbUserProfile | null;
|
|
29
|
+
unMappedUser: any;
|
|
30
|
+
isAuthenticated: boolean;
|
|
31
|
+
isNewUser: boolean;
|
|
32
|
+
portalUrls: IPortalUrls | undefined;
|
|
33
|
+
positions: any;
|
|
34
|
+
overrideThemeChanges: any;
|
|
35
|
+
profileTimelyNudges: any;
|
|
36
|
+
pinnedApps: BehaviorSubject<Set<string>>;
|
|
37
|
+
prefChangeNotifier: ReplaySubject<Partial<IUserPreference>>;
|
|
38
|
+
tourGuideNotifier: ReplaySubject<boolean>;
|
|
39
|
+
authChangeNotifier: ReplaySubject<boolean>;
|
|
40
|
+
private updateProfile;
|
|
41
|
+
updateProfileObservable: import("rxjs").Observable<boolean>;
|
|
42
|
+
updateTourGuide: BehaviorSubject<boolean>;
|
|
43
|
+
updateTourGuideObservable: import("rxjs").Observable<boolean>;
|
|
44
|
+
updatePlatformRating: BehaviorSubject<{
|
|
45
|
+
bottom: string;
|
|
46
|
+
}>;
|
|
47
|
+
updatePlatformRatingObservable$: import("rxjs").Observable<{
|
|
48
|
+
bottom: string;
|
|
49
|
+
}>;
|
|
50
|
+
languageTranslationFlag: Subject<unknown>;
|
|
51
|
+
activeThemeObject: NsInstanceConfig.ITheme | null;
|
|
52
|
+
activeFontObject: NsInstanceConfig.IFontSize | null;
|
|
53
|
+
isDarkMode: boolean;
|
|
54
|
+
isIntranetAllowed: boolean;
|
|
55
|
+
isRTL: boolean;
|
|
56
|
+
activeLocale: NsInstanceConfig.ILocalsConfig | null;
|
|
57
|
+
activeLocaleGroup: string;
|
|
58
|
+
completedActivity: string[] | null;
|
|
59
|
+
completedTour: boolean;
|
|
60
|
+
profileSettings: string[];
|
|
61
|
+
primaryNavBar: Partial<NsPage.INavBackground>;
|
|
62
|
+
pageNavBar: Partial<NsPage.INavBackground>;
|
|
63
|
+
primaryNavBarConfig: NsInstanceConfig.IPrimaryNavbarConfig | null;
|
|
64
|
+
welcomeTabs: NSProfileDataV3.IProfileTab | null;
|
|
65
|
+
cstoken: string;
|
|
66
|
+
changeNavBarFullView: Subject<unknown>;
|
|
67
|
+
openExploreMenuForMWeb: Subject<unknown>;
|
|
68
|
+
updateGlobalProfile(state: boolean): void;
|
|
69
|
+
updateTourGuideMethod(state: boolean): void;
|
|
70
|
+
updatePlatformRatingMethod(state: any): void;
|
|
71
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export declare class InsiteDataService {
|
|
4
|
-
private http;
|
|
5
|
-
constructor(http: HttpClient);
|
|
6
|
-
fetchSearchData(request: any): Observable<any>;
|
|
7
|
-
fetchAnnouncementsData(request: any): Observable<any>;
|
|
8
|
-
fetchTrainingDetails(request: any): Observable<any>;
|
|
9
|
-
fetchLearner(): Observable<any>;
|
|
10
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare class InsiteDataService {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
fetchSearchData(request: any): Observable<any>;
|
|
7
|
+
fetchAnnouncementsData(request: any): Observable<any>;
|
|
8
|
+
fetchTrainingDetails(request: any): Observable<any>;
|
|
9
|
+
fetchLearner(): Observable<any>;
|
|
10
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { ConfigurationsService } from './configurations.service';
|
|
5
|
-
export declare class MultilingualTranslationsService {
|
|
6
|
-
private translate;
|
|
7
|
-
private http;
|
|
8
|
-
private configSvc;
|
|
9
|
-
selectedLang: string;
|
|
10
|
-
languageSelected: BehaviorSubject<boolean>;
|
|
11
|
-
languageSelectedObservable: import("rxjs").Observable<boolean>;
|
|
12
|
-
editProfileDetails: string;
|
|
13
|
-
constructor(translate: TranslateService, http: HttpClient, configSvc: ConfigurationsService);
|
|
14
|
-
getLanguage(): void;
|
|
15
|
-
translateLabelWithoutspace(label: string, type: any, subtype: any): any;
|
|
16
|
-
translateLabel(label: string, type: any, subtype: any): any;
|
|
17
|
-
translateActualLabel(label: string, type: any, subtype: any): any;
|
|
18
|
-
editProfileDetailsAPI(data: any): import("rxjs").Observable<any>;
|
|
19
|
-
updatelanguageSelected(state: any, lang: any, userid: any): void;
|
|
20
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { ConfigurationsService } from './configurations.service';
|
|
5
|
+
export declare class MultilingualTranslationsService {
|
|
6
|
+
private translate;
|
|
7
|
+
private http;
|
|
8
|
+
private configSvc;
|
|
9
|
+
selectedLang: string;
|
|
10
|
+
languageSelected: BehaviorSubject<boolean>;
|
|
11
|
+
languageSelectedObservable: import("rxjs").Observable<boolean>;
|
|
12
|
+
editProfileDetails: string;
|
|
13
|
+
constructor(translate: TranslateService, http: HttpClient, configSvc: ConfigurationsService);
|
|
14
|
+
getLanguage(): void;
|
|
15
|
+
translateLabelWithoutspace(label: string, type: any, subtype: any): any;
|
|
16
|
+
translateLabel(label: string, type: any, subtype: any): any;
|
|
17
|
+
translateActualLabel(label: string, type: any, subtype: any): any;
|
|
18
|
+
editProfileDetailsAPI(data: any): import("rxjs").Observable<any>;
|
|
19
|
+
updatelanguageSelected(state: any, lang: any, userid: any): void;
|
|
20
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { NsAppRating } from '../_models/rating.model';
|
|
4
|
-
export declare class RatingService {
|
|
5
|
-
http: HttpClient;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
getRating(contentId: string, contentType: string, userId: string): Observable<any>;
|
|
8
|
-
addOrUpdateRating(req: NsAppRating.IRating): Observable<any>;
|
|
9
|
-
getRatingSummary(contentId: string, contentType: string): Observable<any>;
|
|
10
|
-
getRatingLookup(req: NsAppRating.ILookupRequest): Observable<any>;
|
|
11
|
-
getRatingReply(req: any): Observable<any>;
|
|
12
|
-
getRatingIcon(ratingIndex: number, avg: number): 'star' | 'star_border' | 'star_half';
|
|
13
|
-
getRatingIconClass(ratingIndex: number, avg: number): boolean;
|
|
14
|
-
getAuthorReply(contentId: string, userID: string): Observable<any>;
|
|
15
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { NsAppRating } from '../_models/rating.model';
|
|
4
|
+
export declare class RatingService {
|
|
5
|
+
http: HttpClient;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
getRating(contentId: string, contentType: string, userId: string): Observable<any>;
|
|
8
|
+
addOrUpdateRating(req: NsAppRating.IRating): Observable<any>;
|
|
9
|
+
getRatingSummary(contentId: string, contentType: string): Observable<any>;
|
|
10
|
+
getRatingLookup(req: NsAppRating.ILookupRequest): Observable<any>;
|
|
11
|
+
getRatingReply(req: any): Observable<any>;
|
|
12
|
+
getRatingIcon(ratingIndex: number, avg: number): 'star' | 'star_border' | 'star_half';
|
|
13
|
+
getRatingIconClass(ratingIndex: number, avg: number): boolean;
|
|
14
|
+
getAuthorReply(contentId: string, userID: string): Observable<any>;
|
|
15
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NsContent } from '../_models/widget-content.model';
|
|
2
|
-
export declare const VIEWER_ROUTE_FROM_MIME: (mimeType: NsContent.EMimeTypes) => "audio" | "html" | "video" | "audio-native" | "certification" | "mobile/html" | "youtube" | "survey" | "iap" | "ilp-fp" | "pdf" | "web-module" | "class-diagram" | "hands-on" | "rdbms-hands-on" | "html-picker" | "quiz" | "practice" | "resource-collection" | "offline-session";
|
|
3
|
-
export declare function viewerRouteGenerator(id: string, mimeType: NsContent.EMimeTypes, collectionId?: string, collectionType?: string, forPreview?: boolean, primaryCategory?: string, batchId?: string, courseName?: string): {
|
|
4
|
-
url: string;
|
|
5
|
-
queryParams: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { NsContent } from '../_models/widget-content.model';
|
|
2
|
+
export declare const VIEWER_ROUTE_FROM_MIME: (mimeType: NsContent.EMimeTypes) => "audio" | "html" | "video" | "audio-native" | "certification" | "mobile/html" | "youtube" | "survey" | "iap" | "ilp-fp" | "pdf" | "web-module" | "class-diagram" | "hands-on" | "rdbms-hands-on" | "html-picker" | "quiz" | "practice" | "resource-collection" | "offline-session";
|
|
3
|
+
export declare function viewerRouteGenerator(id: string, mimeType: NsContent.EMimeTypes, collectionId?: string, collectionType?: string, forPreview?: boolean, primaryCategory?: string, batchId?: string, courseName?: string): {
|
|
4
|
+
url: string;
|
|
5
|
+
queryParams: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ConfigurationsService } from '@sunbird-cb/utils-v2';
|
|
3
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { NsContentStripMultiple } from '../_models/content-strip-multiple.model';
|
|
5
|
-
import { NsContent } from '../_models/widget-content.model';
|
|
6
|
-
import { NSSearch } from '../_models/widget-search.model';
|
|
7
|
-
export declare class WidgetContentService {
|
|
8
|
-
private http;
|
|
9
|
-
private configSvc;
|
|
10
|
-
constructor(http: HttpClient, configSvc: ConfigurationsService);
|
|
11
|
-
tocConfigData: any;
|
|
12
|
-
tocConfigData$: any;
|
|
13
|
-
private telemetryData;
|
|
14
|
-
telemetryData$: any;
|
|
15
|
-
currentMetaData: NsContent.IContent;
|
|
16
|
-
currentContentReadMetaData: NsContent.IContent;
|
|
17
|
-
currentBatchEnrollmentList: NsContent.ICourse[];
|
|
18
|
-
programChildCourseResumeData: BehaviorSubject<any>;
|
|
19
|
-
programChildCourseResumeData$: Observable<any>;
|
|
20
|
-
changeTelemetryData(message: string): void;
|
|
21
|
-
isResource(primaryCategory: string): boolean;
|
|
22
|
-
fetchMarkAsCompleteMeta(identifier: string): Promise<any>;
|
|
23
|
-
updateTocConfig(data: any): void;
|
|
24
|
-
fetchContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail', _additionalFields?: string[], primaryCategory?: string | null): Observable<NsContent.IContent>;
|
|
25
|
-
fetchAuthoringContent(contentId: string): Observable<NsContent.IContent>;
|
|
26
|
-
fetchMultipleContent(ids: string[]): Observable<NsContent.IContent[]>;
|
|
27
|
-
fetchCollectionHierarchy(type: string, id: string, pageNumber?: number, pageSize?: number): Observable<NsContent.ICollectionHierarchyResponse>;
|
|
28
|
-
fetchBlendedCourse(): void;
|
|
29
|
-
fetchCourseBatches(req: any): Observable<NsContent.IBatchListResponse>;
|
|
30
|
-
fetchCourseBatch(batchId: string): Observable<NsContent.IContinueLearningData>;
|
|
31
|
-
autoAssignBatchApi(identifier: any): Observable<NsContent.IBatchListResponse>;
|
|
32
|
-
autoAssignCuratedBatchApi(request: any, programType: any): Observable<NsContent.IBatchListResponse>;
|
|
33
|
-
enrollUserToBatch(req: any): Promise<Object>;
|
|
34
|
-
enrollAndUnenrollUserToBatchWF(req: any, type: any): Promise<Object>;
|
|
35
|
-
fetchBlendedUserWF(req: any): Promise<Object>;
|
|
36
|
-
fetchBlendedUserCOUNT(req: any): Promise<Object>;
|
|
37
|
-
fetchContentLikes(contentIds: {
|
|
38
|
-
content_id: string[];
|
|
39
|
-
}): Promise<{
|
|
40
|
-
[identifier: string]: number;
|
|
41
|
-
}>;
|
|
42
|
-
fetchContentRatings(contentIds: {
|
|
43
|
-
contentIds: string[];
|
|
44
|
-
}): Promise<unknown>;
|
|
45
|
-
fetchContentHistory(contentId: string): Observable<NsContent.IContinueLearningData>;
|
|
46
|
-
fetchContentHistoryV2(req: NsContent.IContinueLearningDataReq): Observable<NsContent.IContinueLearningData>;
|
|
47
|
-
continueLearning(id: string, collectionId?: string, collectionType?: string): Promise<any>;
|
|
48
|
-
saveContinueLearning(content: NsContent.IViewerContinueLearningRequest): Observable<any>;
|
|
49
|
-
setS3Cookie(_contentId: string): Observable<any>;
|
|
50
|
-
setS3ImageCookie(): Observable<any>;
|
|
51
|
-
fetchManifest(url: string): Observable<any>;
|
|
52
|
-
fetchWebModuleContent(url: string): Observable<any>;
|
|
53
|
-
search(req: NSSearch.ISearchRequest): Observable<NSSearch.ISearchApiResult>;
|
|
54
|
-
searchRegionRecommendation(req: NSSearch.ISearchOrgRegionRecommendationRequest): Observable<NsContentStripMultiple.IContentStripResponseApi>;
|
|
55
|
-
searchV6(req: NSSearch.ISearchV6Request): Observable<NSSearch.ISearchV6ApiResultV2>;
|
|
56
|
-
searchRelatedCBPV6(req: NSSearch.ISearchV6RequestV2): Observable<NSSearch.ISearchV6ApiResultV2>;
|
|
57
|
-
fetchContentRating(contentId: string): Observable<{
|
|
58
|
-
rating: number;
|
|
59
|
-
}>;
|
|
60
|
-
deleteContentRating(contentId: string): Observable<any>;
|
|
61
|
-
addContentRating(contentId: string, data: {
|
|
62
|
-
rating: number;
|
|
63
|
-
}): Observable<any>;
|
|
64
|
-
getFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent;
|
|
65
|
-
getRegistrationStatus(source: string): Promise<{
|
|
66
|
-
hasAccess: boolean;
|
|
67
|
-
registrationUrl?: string;
|
|
68
|
-
}>;
|
|
69
|
-
fetchConfig(url: string): Observable<any>;
|
|
70
|
-
addCertTemplate(body: any): Observable<any>;
|
|
71
|
-
issueCert(body: any): Observable<any>;
|
|
72
|
-
downloadCert(certId: any): Observable<any>;
|
|
73
|
-
trendingContentSearch(req: any): Observable<any>;
|
|
74
|
-
getKarmaPoitns(limit: number, offset: any): Observable<boolean | Object>;
|
|
75
|
-
fetchProgramContent(contentId: string[]): Observable<NsContent.IContent[]>;
|
|
76
|
-
getCourseKarmaPoints(request: any): Observable<any>;
|
|
77
|
-
claimKarmapoints(request: any): Observable<any>;
|
|
78
|
-
userKarmaPoints(): Observable<any>;
|
|
79
|
-
getEnrolledData(doId: string): any;
|
|
80
|
-
getResourseLink(content: any): Promise<any>;
|
|
81
|
-
checkForDataToFormUrl(content: any, enrollData: any): Promise<any>;
|
|
82
|
-
getResourseDataWithData(content: any, resourseId: any, mimeType: any): any;
|
|
83
|
-
gotoTocPage(content: any): any;
|
|
84
|
-
isBatchInProgress(batchData: any): boolean;
|
|
85
|
-
postApiMethod(apiUrl: any, req: any): Observable<NsContent.IContent>;
|
|
86
|
-
getApiMethod(apiUrl: any): Observable<NsContent.IContent>;
|
|
87
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ConfigurationsService } from '@sunbird-cb/utils-v2';
|
|
3
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { NsContentStripMultiple } from '../_models/content-strip-multiple.model';
|
|
5
|
+
import { NsContent } from '../_models/widget-content.model';
|
|
6
|
+
import { NSSearch } from '../_models/widget-search.model';
|
|
7
|
+
export declare class WidgetContentService {
|
|
8
|
+
private http;
|
|
9
|
+
private configSvc;
|
|
10
|
+
constructor(http: HttpClient, configSvc: ConfigurationsService);
|
|
11
|
+
tocConfigData: any;
|
|
12
|
+
tocConfigData$: any;
|
|
13
|
+
private telemetryData;
|
|
14
|
+
telemetryData$: any;
|
|
15
|
+
currentMetaData: NsContent.IContent;
|
|
16
|
+
currentContentReadMetaData: NsContent.IContent;
|
|
17
|
+
currentBatchEnrollmentList: NsContent.ICourse[];
|
|
18
|
+
programChildCourseResumeData: BehaviorSubject<any>;
|
|
19
|
+
programChildCourseResumeData$: Observable<any>;
|
|
20
|
+
changeTelemetryData(message: string): void;
|
|
21
|
+
isResource(primaryCategory: string): boolean;
|
|
22
|
+
fetchMarkAsCompleteMeta(identifier: string): Promise<any>;
|
|
23
|
+
updateTocConfig(data: any): void;
|
|
24
|
+
fetchContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail', _additionalFields?: string[], primaryCategory?: string | null): Observable<NsContent.IContent>;
|
|
25
|
+
fetchAuthoringContent(contentId: string): Observable<NsContent.IContent>;
|
|
26
|
+
fetchMultipleContent(ids: string[]): Observable<NsContent.IContent[]>;
|
|
27
|
+
fetchCollectionHierarchy(type: string, id: string, pageNumber?: number, pageSize?: number): Observable<NsContent.ICollectionHierarchyResponse>;
|
|
28
|
+
fetchBlendedCourse(): void;
|
|
29
|
+
fetchCourseBatches(req: any): Observable<NsContent.IBatchListResponse>;
|
|
30
|
+
fetchCourseBatch(batchId: string): Observable<NsContent.IContinueLearningData>;
|
|
31
|
+
autoAssignBatchApi(identifier: any): Observable<NsContent.IBatchListResponse>;
|
|
32
|
+
autoAssignCuratedBatchApi(request: any, programType: any): Observable<NsContent.IBatchListResponse>;
|
|
33
|
+
enrollUserToBatch(req: any): Promise<Object>;
|
|
34
|
+
enrollAndUnenrollUserToBatchWF(req: any, type: any): Promise<Object>;
|
|
35
|
+
fetchBlendedUserWF(req: any): Promise<Object>;
|
|
36
|
+
fetchBlendedUserCOUNT(req: any): Promise<Object>;
|
|
37
|
+
fetchContentLikes(contentIds: {
|
|
38
|
+
content_id: string[];
|
|
39
|
+
}): Promise<{
|
|
40
|
+
[identifier: string]: number;
|
|
41
|
+
}>;
|
|
42
|
+
fetchContentRatings(contentIds: {
|
|
43
|
+
contentIds: string[];
|
|
44
|
+
}): Promise<unknown>;
|
|
45
|
+
fetchContentHistory(contentId: string): Observable<NsContent.IContinueLearningData>;
|
|
46
|
+
fetchContentHistoryV2(req: NsContent.IContinueLearningDataReq): Observable<NsContent.IContinueLearningData>;
|
|
47
|
+
continueLearning(id: string, collectionId?: string, collectionType?: string): Promise<any>;
|
|
48
|
+
saveContinueLearning(content: NsContent.IViewerContinueLearningRequest): Observable<any>;
|
|
49
|
+
setS3Cookie(_contentId: string): Observable<any>;
|
|
50
|
+
setS3ImageCookie(): Observable<any>;
|
|
51
|
+
fetchManifest(url: string): Observable<any>;
|
|
52
|
+
fetchWebModuleContent(url: string): Observable<any>;
|
|
53
|
+
search(req: NSSearch.ISearchRequest): Observable<NSSearch.ISearchApiResult>;
|
|
54
|
+
searchRegionRecommendation(req: NSSearch.ISearchOrgRegionRecommendationRequest): Observable<NsContentStripMultiple.IContentStripResponseApi>;
|
|
55
|
+
searchV6(req: NSSearch.ISearchV6Request): Observable<NSSearch.ISearchV6ApiResultV2>;
|
|
56
|
+
searchRelatedCBPV6(req: NSSearch.ISearchV6RequestV2): Observable<NSSearch.ISearchV6ApiResultV2>;
|
|
57
|
+
fetchContentRating(contentId: string): Observable<{
|
|
58
|
+
rating: number;
|
|
59
|
+
}>;
|
|
60
|
+
deleteContentRating(contentId: string): Observable<any>;
|
|
61
|
+
addContentRating(contentId: string, data: {
|
|
62
|
+
rating: number;
|
|
63
|
+
}): Observable<any>;
|
|
64
|
+
getFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent;
|
|
65
|
+
getRegistrationStatus(source: string): Promise<{
|
|
66
|
+
hasAccess: boolean;
|
|
67
|
+
registrationUrl?: string;
|
|
68
|
+
}>;
|
|
69
|
+
fetchConfig(url: string): Observable<any>;
|
|
70
|
+
addCertTemplate(body: any): Observable<any>;
|
|
71
|
+
issueCert(body: any): Observable<any>;
|
|
72
|
+
downloadCert(certId: any): Observable<any>;
|
|
73
|
+
trendingContentSearch(req: any): Observable<any>;
|
|
74
|
+
getKarmaPoitns(limit: number, offset: any): Observable<boolean | Object>;
|
|
75
|
+
fetchProgramContent(contentId: string[]): Observable<NsContent.IContent[]>;
|
|
76
|
+
getCourseKarmaPoints(request: any): Observable<any>;
|
|
77
|
+
claimKarmapoints(request: any): Observable<any>;
|
|
78
|
+
userKarmaPoints(): Observable<any>;
|
|
79
|
+
getEnrolledData(doId: string): any;
|
|
80
|
+
getResourseLink(content: any): Promise<any>;
|
|
81
|
+
checkForDataToFormUrl(content: any, enrollData: any): Promise<any>;
|
|
82
|
+
getResourseDataWithData(content: any, resourseId: any, mimeType: any): any;
|
|
83
|
+
gotoTocPage(content: any): any;
|
|
84
|
+
isBatchInProgress(batchData: any): boolean;
|
|
85
|
+
postApiMethod(apiUrl: any, req: any): Observable<NsContent.IContent>;
|
|
86
|
+
getApiMethod(apiUrl: any): Observable<NsContent.IContent>;
|
|
87
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { IUserGroupDetails } from '../_models/widget-user.model';
|
|
4
|
-
import { NsContent } from '../_models/widget-content.model';
|
|
5
|
-
import 'rxjs/add/observable/of';
|
|
6
|
-
export declare class WidgetUserService {
|
|
7
|
-
private http;
|
|
8
|
-
environment: any;
|
|
9
|
-
constructor(environment: any, http: HttpClient);
|
|
10
|
-
handleError(error: ErrorEvent): Observable<never>;
|
|
11
|
-
fetchUserGroupDetails(userId: string): Observable<IUserGroupDetails[]>;
|
|
12
|
-
fetchUserBatchList(userId: string | undefined, queryParams?: {
|
|
13
|
-
orgdetails: any;
|
|
14
|
-
licenseDetails: any;
|
|
15
|
-
fields: any;
|
|
16
|
-
batchDetails: any;
|
|
17
|
-
}): Observable<NsContent.ICourse[]>;
|
|
18
|
-
fetchProfileUserBatchList(userId: string | undefined, queryParams?: {
|
|
19
|
-
orgdetails: any;
|
|
20
|
-
licenseDetails: any;
|
|
21
|
-
fields: any;
|
|
22
|
-
batchDetails: any;
|
|
23
|
-
}): Observable<NsContent.ICourse[]>;
|
|
24
|
-
checkStorageData(key: any, dataKey: any): boolean;
|
|
25
|
-
getData(key: any): Observable<any>;
|
|
26
|
-
getSavedData(key: any): Observable<any>;
|
|
27
|
-
setTime(key: any): void;
|
|
28
|
-
resetTime(key: any): void;
|
|
29
|
-
fetchCbpPlanList(): any;
|
|
30
|
-
mapData(data: any): Promise<any>;
|
|
31
|
-
mapEnrollmentData(courseData: any): void;
|
|
32
|
-
storeUserEnrollmentInfo(enrollmentData: any, enrolledCourseCount: number): void;
|
|
33
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { IUserGroupDetails } from '../_models/widget-user.model';
|
|
4
|
+
import { NsContent } from '../_models/widget-content.model';
|
|
5
|
+
import 'rxjs/add/observable/of';
|
|
6
|
+
export declare class WidgetUserService {
|
|
7
|
+
private http;
|
|
8
|
+
environment: any;
|
|
9
|
+
constructor(environment: any, http: HttpClient);
|
|
10
|
+
handleError(error: ErrorEvent): Observable<never>;
|
|
11
|
+
fetchUserGroupDetails(userId: string): Observable<IUserGroupDetails[]>;
|
|
12
|
+
fetchUserBatchList(userId: string | undefined, queryParams?: {
|
|
13
|
+
orgdetails: any;
|
|
14
|
+
licenseDetails: any;
|
|
15
|
+
fields: any;
|
|
16
|
+
batchDetails: any;
|
|
17
|
+
}): Observable<NsContent.ICourse[]>;
|
|
18
|
+
fetchProfileUserBatchList(userId: string | undefined, queryParams?: {
|
|
19
|
+
orgdetails: any;
|
|
20
|
+
licenseDetails: any;
|
|
21
|
+
fields: any;
|
|
22
|
+
batchDetails: any;
|
|
23
|
+
}): Observable<NsContent.ICourse[]>;
|
|
24
|
+
checkStorageData(key: any, dataKey: any): boolean;
|
|
25
|
+
getData(key: any): Observable<any>;
|
|
26
|
+
getSavedData(key: any): Observable<any>;
|
|
27
|
+
setTime(key: any): void;
|
|
28
|
+
resetTime(key: any): void;
|
|
29
|
+
fetchCbpPlanList(): any;
|
|
30
|
+
mapData(data: any): Promise<any>;
|
|
31
|
+
mapEnrollmentData(courseData: any): void;
|
|
32
|
+
storeUserEnrollmentInfo(enrollmentData: any, enrolledCourseCount: number): void;
|
|
33
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
export declare class ConsumptionComponent implements OnInit {
|
|
3
|
-
constructor();
|
|
4
|
-
ngOnInit(): void;
|
|
5
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
export declare class ConsumptionComponent implements OnInit {
|
|
3
|
+
constructor();
|
|
4
|
+
ngOnInit(): void;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const ROOT_WIDGET_CONFIG: {
|
|
2
|
-
card: {
|
|
3
|
-
_type: string;
|
|
4
|
-
cardResource: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
1
|
+
export declare const ROOT_WIDGET_CONFIG: {
|
|
2
|
+
card: {
|
|
3
|
+
_type: string;
|
|
4
|
+
cardResource: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class ConsumptionModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class ConsumptionModule {
|
|
2
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare class ConsumptionService {
|
|
2
|
-
constructor();
|
|
3
|
-
}
|
|
1
|
+
export declare class ConsumptionService {
|
|
2
|
+
constructor();
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
|
|
2
|
-
import { CardsModule } from './_common/cards/cards.module';
|
|
3
|
-
export declare const WIDGET_REGISTERED_LIB_MODULES: (typeof CardsModule)[];
|
|
4
|
-
export declare const WIDGET_REGISTRATION_LIB_CONFIG: NsWidgetResolver.IRegistrationConfig[];
|
|
1
|
+
import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
|
|
2
|
+
import { CardsModule } from './_common/cards/cards.module';
|
|
3
|
+
export declare const WIDGET_REGISTERED_LIB_MODULES: (typeof CardsModule)[];
|
|
4
|
+
export declare const WIDGET_REGISTRATION_LIB_CONFIG: NsWidgetResolver.IRegistrationConfig[];
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export * from './lib/consumption.service';
|
|
2
|
-
export * from './lib/consumption.component';
|
|
3
|
-
export * from './lib/consumption.module';
|
|
4
|
-
export * from './lib/registration-lib.config';
|
|
5
|
-
export * from './lib/consumption.config';
|
|
6
|
-
export * from './lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module';
|
|
7
|
-
export * from './lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module';
|
|
8
|
-
export * from './lib/_common/common-strip/common-strip.module';
|
|
9
|
-
export * from './lib/_common/sliders/sliders.module';
|
|
10
|
-
export * from './lib/_common/data-points/data-points.module';
|
|
11
|
-
export * from './lib/_common/cards/cards.module';
|
|
12
|
-
export * from './lib/_common/competency-passbook/competency-passbook.module';
|
|
13
|
-
export * from './lib/_common/competency-passbook-mdo/competency-passbook-mdo.module';
|
|
14
|
-
export * from './lib/_common/calender/calender.module';
|
|
15
|
-
export * from './lib/_common/user-content-rating/user-content-rating-lib.module';
|
|
16
|
-
export * from './lib/_common/announcements/announcements.module';
|
|
17
|
-
export * from './lib/_common/content-progress/content-progress.module';
|
|
18
|
-
export * from './lib/_common/microsites/mdo-channels/mdo-channel.module';
|
|
19
|
-
export * from './lib/_common/microsites/providers/providers.module';
|
|
20
|
-
export * from './lib/_services/widget-content.service';
|
|
21
|
-
export * from './lib/_services/common-methods.service';
|
|
22
|
-
export * from './lib/_common/top-learners/top-learners.module';
|
|
23
|
-
export * from './lib/_common/cbp-plan/cbp-plan.module';
|
|
1
|
+
export * from './lib/consumption.service';
|
|
2
|
+
export * from './lib/consumption.component';
|
|
3
|
+
export * from './lib/consumption.module';
|
|
4
|
+
export * from './lib/registration-lib.config';
|
|
5
|
+
export * from './lib/consumption.config';
|
|
6
|
+
export * from './lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module';
|
|
7
|
+
export * from './lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module';
|
|
8
|
+
export * from './lib/_common/common-strip/common-strip.module';
|
|
9
|
+
export * from './lib/_common/sliders/sliders.module';
|
|
10
|
+
export * from './lib/_common/data-points/data-points.module';
|
|
11
|
+
export * from './lib/_common/cards/cards.module';
|
|
12
|
+
export * from './lib/_common/competency-passbook/competency-passbook.module';
|
|
13
|
+
export * from './lib/_common/competency-passbook-mdo/competency-passbook-mdo.module';
|
|
14
|
+
export * from './lib/_common/calender/calender.module';
|
|
15
|
+
export * from './lib/_common/user-content-rating/user-content-rating-lib.module';
|
|
16
|
+
export * from './lib/_common/announcements/announcements.module';
|
|
17
|
+
export * from './lib/_common/content-progress/content-progress.module';
|
|
18
|
+
export * from './lib/_common/microsites/mdo-channels/mdo-channel.module';
|
|
19
|
+
export * from './lib/_common/microsites/providers/providers.module';
|
|
20
|
+
export * from './lib/_services/widget-content.service';
|
|
21
|
+
export * from './lib/_services/common-methods.service';
|
|
22
|
+
export * from './lib/_common/top-learners/top-learners.module';
|
|
23
|
+
export * from './lib/_common/cbp-plan/cbp-plan.module';
|