@sunbird-cb/consumption 0.0.64 → 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 -17348
- 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 -187
- 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 -214
- 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 -15291
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +17476 -17354
- 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 -27
- 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,161 +1,161 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
-
import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
|
|
3
|
-
import { NsContentStripWithTabsAndPills } from './content-strip-with-tabs-pills.model';
|
|
4
|
-
import { WidgetContentService } from '../../../_services/widget-content.service';
|
|
5
|
-
import { NsContent } from '../../../_models/widget-content.model';
|
|
6
|
-
import { MultilingualTranslationsService } from '../../../_services/multilingual-translations.service';
|
|
7
|
-
import { LoggerService, EventService, ConfigurationsService, UtilityService } from '@sunbird-cb/utils-v2';
|
|
8
|
-
import { Subscription } from 'rxjs';
|
|
9
|
-
import { WidgetUserService } from '../../../_services/widget-user.service';
|
|
10
|
-
import { MatTabChangeEvent } from '@angular/material';
|
|
11
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
12
|
-
import { Router } from '@angular/router';
|
|
13
|
-
interface IStripUnitContentData {
|
|
14
|
-
key: string;
|
|
15
|
-
canHideStrip: boolean;
|
|
16
|
-
mode?: string;
|
|
17
|
-
showStrip: boolean;
|
|
18
|
-
disableTranslate: boolean;
|
|
19
|
-
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
20
|
-
stripTitle: string;
|
|
21
|
-
stripTitleLink?: {
|
|
22
|
-
link: {
|
|
23
|
-
queryParams: string;
|
|
24
|
-
};
|
|
25
|
-
icon: string;
|
|
26
|
-
queryParams: string;
|
|
27
|
-
};
|
|
28
|
-
sliderConfig?: {
|
|
29
|
-
showNavs: boolean;
|
|
30
|
-
showDots: boolean;
|
|
31
|
-
maxWidgets?: number;
|
|
32
|
-
cerificateCardMargin?: boolean;
|
|
33
|
-
};
|
|
34
|
-
stripConfig: any;
|
|
35
|
-
tabs?: NsContentStripWithTabsAndPills.IContentStripTab[] | undefined;
|
|
36
|
-
stripName?: string;
|
|
37
|
-
stripLogo?: string;
|
|
38
|
-
description?: string;
|
|
39
|
-
stripInfo?: NsContentStripWithTabsAndPills.IStripInfo;
|
|
40
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
41
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
42
|
-
showOnNoData: boolean;
|
|
43
|
-
showOnLoader: boolean;
|
|
44
|
-
showOnError: boolean;
|
|
45
|
-
loaderWidgets?: any;
|
|
46
|
-
stripBackground?: string;
|
|
47
|
-
secondaryHeading?: any;
|
|
48
|
-
viewMoreUrl: any;
|
|
49
|
-
request?: any;
|
|
50
|
-
}
|
|
51
|
-
export declare class ContentStripWithTabsPillsComponent extends WidgetBaseComponent implements OnInit, OnDestroy, NsWidgetResolver.IWidgetData<NsContentStripWithTabsAndPills.IContentStripMultiple> {
|
|
52
|
-
private contentSvc;
|
|
53
|
-
private loggerSvc;
|
|
54
|
-
private eventSvc;
|
|
55
|
-
private configSvc;
|
|
56
|
-
utilitySvc: UtilityService;
|
|
57
|
-
router: Router;
|
|
58
|
-
private userSvc;
|
|
59
|
-
private translate;
|
|
60
|
-
private langtranslations;
|
|
61
|
-
widgetData: NsContentStripWithTabsAndPills.IContentStripMultiple;
|
|
62
|
-
emptyResponse: EventEmitter<any>;
|
|
63
|
-
viewAllResponse: EventEmitter<any>;
|
|
64
|
-
telemtryResponse: EventEmitter<any>;
|
|
65
|
-
providerId: any;
|
|
66
|
-
emitViewAll: boolean;
|
|
67
|
-
channnelName: any;
|
|
68
|
-
id: string;
|
|
69
|
-
stripsResultDataMap: {
|
|
70
|
-
[key: string]: IStripUnitContentData;
|
|
71
|
-
};
|
|
72
|
-
stripsKeyOrder: string[];
|
|
73
|
-
showAccordionData: boolean;
|
|
74
|
-
showParentLoader: boolean;
|
|
75
|
-
showParentError: boolean;
|
|
76
|
-
showParentNoData: boolean;
|
|
77
|
-
errorDataCount: number;
|
|
78
|
-
noDataCount: number;
|
|
79
|
-
successDataCount: number;
|
|
80
|
-
contentAvailable: boolean;
|
|
81
|
-
baseUrl: string;
|
|
82
|
-
veifiedKarmayogi: boolean;
|
|
83
|
-
environment: any;
|
|
84
|
-
changeEventSubscription: Subscription | null;
|
|
85
|
-
defaultMaxWidgets: number;
|
|
86
|
-
enrollInterval: any;
|
|
87
|
-
todaysEvents: any;
|
|
88
|
-
enrollmentMapData: any;
|
|
89
|
-
constructor(environment: any, contentSvc: WidgetContentService, loggerSvc: LoggerService, eventSvc: EventService, configSvc: ConfigurationsService, utilitySvc: UtilityService, router: Router, userSvc: WidgetUserService, translate: TranslateService, langtranslations: MultilingualTranslationsService);
|
|
90
|
-
ngOnInit(): void;
|
|
91
|
-
ngOnDestroy(): void;
|
|
92
|
-
showAccordion(key: string): boolean;
|
|
93
|
-
setHiddenForStrip(key: string): void;
|
|
94
|
-
private getIfStripHidden;
|
|
95
|
-
private initData;
|
|
96
|
-
private fetchStripFromKey;
|
|
97
|
-
isStripShowing(data: any): any;
|
|
98
|
-
readonly isMobile: boolean;
|
|
99
|
-
getdata(data: IStripUnitContentData): {};
|
|
100
|
-
checkCondition(wData: NsContentStripWithTabsAndPills.IContentStripMultiple, data: IStripUnitContentData): boolean;
|
|
101
|
-
checkVisible(data: IStripUnitContentData): boolean;
|
|
102
|
-
getContineuLearningLenth(data: IStripUnitContentData): number;
|
|
103
|
-
getLength(data: IStripUnitContentData): any;
|
|
104
|
-
private getFiltersFromArray;
|
|
105
|
-
private transformSearchV6FiltersV2;
|
|
106
|
-
checkForDateFilters(filters: any): any;
|
|
107
|
-
private fetchStripFromRequestData;
|
|
108
|
-
toggleInfo(data: IStripUnitContentData): void;
|
|
109
|
-
private transformContentsToWidgets;
|
|
110
|
-
private transformEventsToWidgets;
|
|
111
|
-
private transformSkeletonToWidgets;
|
|
112
|
-
private processStrip;
|
|
113
|
-
private checkParentStatus;
|
|
114
|
-
checkForEmptyWidget(strip: NsContentStripWithTabsAndPills.IContentStripUnit): boolean;
|
|
115
|
-
getTabDataByfilter(strip: NsContentStripWithTabsAndPills.IContentStripUnit, currentTab: NsContentStripWithTabsAndPills.IContentStripTab, calculateParentStatus: boolean): void;
|
|
116
|
-
getSelectedIndex(stripsResultDataMap: any, key: any): number;
|
|
117
|
-
translateLabels(label: string, type: any): any;
|
|
118
|
-
identify(index: number, item: any): any;
|
|
119
|
-
tracker(index: number, item: any): any;
|
|
120
|
-
raiseTelemetry(stripData: any): void;
|
|
121
|
-
redirectViewAll(stripData: any, path: string, queryParamsData: any): void;
|
|
122
|
-
fetchForYouData(strip: NsContentStripWithTabsAndPills.IContentStripUnit, calculateParentStatus?: boolean): void;
|
|
123
|
-
fetchFromSearchV6(strip: NsContentStripWithTabsAndPills.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
124
|
-
getTabDataByNewReqTrending(strip: NsContentStripWithTabsAndPills.IContentStripUnit, tabIndex: number, pillIndex: number, currentTab: NsContentStripWithTabsAndPills.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
125
|
-
getTabDataByNewReqSearchV6(strip: NsContentStripWithTabsAndPills.IContentStripUnit, tabIndex: number, pillIndex: number, currentTab: NsContentStripWithTabsAndPills.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
126
|
-
trendingSearchRequest(strip: NsContentStripWithTabsAndPills.IContentStripUnit, request: NsContentStripWithTabsAndPills.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
127
|
-
tabClicked(tabEvent: MatTabChangeEvent, pillIndex: any, stripMap: IStripUnitContentData, stripKey: string): void;
|
|
128
|
-
pillClicked(event: any, stripMap: IStripUnitContentData, stripKey: any, pillIndex: any, tabIndex: any): void;
|
|
129
|
-
searchV6Request(strip: NsContentStripWithTabsAndPills.IContentStripUnit, request: NsContentStripWithTabsAndPills.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
130
|
-
getSelectedPillIndex(tabdata: any, tabIndex: any): any;
|
|
131
|
-
fetchAllCbpPlans(strip: any, calculateParentStatus?: boolean): Promise<void>;
|
|
132
|
-
splitCbpTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabsAndPills.IContentStripUnit): NsContentStripWithTabsAndPills.IContentStripTab[];
|
|
133
|
-
getTabsList(array: NsContent.IContent[], strip: NsContentStripWithTabsAndPills.IContentStripUnit): {
|
|
134
|
-
value: string;
|
|
135
|
-
widgets: ({
|
|
136
|
-
widgetType: string;
|
|
137
|
-
widgetSubType: string;
|
|
138
|
-
widgetHostClass: string;
|
|
139
|
-
widgetData: {
|
|
140
|
-
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
141
|
-
cardCustomeClass: string;
|
|
142
|
-
context: {
|
|
143
|
-
pageSection: string;
|
|
144
|
-
position: number;
|
|
145
|
-
};
|
|
146
|
-
intranetMode: "" | "hide" | "greyOut";
|
|
147
|
-
deletedMode: "" | "hide" | "greyOut";
|
|
148
|
-
contentTags: NsContentStripWithTabsAndPills.IContentTags;
|
|
149
|
-
batch: any;
|
|
150
|
-
content: NsContent.IContent;
|
|
151
|
-
};
|
|
152
|
-
} | {
|
|
153
|
-
widgetType: string;
|
|
154
|
-
widgetSubType: string;
|
|
155
|
-
widgetHostClass: string;
|
|
156
|
-
widgetData: {};
|
|
157
|
-
})[];
|
|
158
|
-
}[];
|
|
159
|
-
resetSelectedPill(pillData: any): void;
|
|
160
|
-
}
|
|
161
|
-
export {};
|
|
1
|
+
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
+
import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
|
|
3
|
+
import { NsContentStripWithTabsAndPills } from './content-strip-with-tabs-pills.model';
|
|
4
|
+
import { WidgetContentService } from '../../../_services/widget-content.service';
|
|
5
|
+
import { NsContent } from '../../../_models/widget-content.model';
|
|
6
|
+
import { MultilingualTranslationsService } from '../../../_services/multilingual-translations.service';
|
|
7
|
+
import { LoggerService, EventService, ConfigurationsService, UtilityService } from '@sunbird-cb/utils-v2';
|
|
8
|
+
import { Subscription } from 'rxjs';
|
|
9
|
+
import { WidgetUserService } from '../../../_services/widget-user.service';
|
|
10
|
+
import { MatTabChangeEvent } from '@angular/material';
|
|
11
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
12
|
+
import { Router } from '@angular/router';
|
|
13
|
+
interface IStripUnitContentData {
|
|
14
|
+
key: string;
|
|
15
|
+
canHideStrip: boolean;
|
|
16
|
+
mode?: string;
|
|
17
|
+
showStrip: boolean;
|
|
18
|
+
disableTranslate: boolean;
|
|
19
|
+
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
20
|
+
stripTitle: string;
|
|
21
|
+
stripTitleLink?: {
|
|
22
|
+
link: {
|
|
23
|
+
queryParams: string;
|
|
24
|
+
};
|
|
25
|
+
icon: string;
|
|
26
|
+
queryParams: string;
|
|
27
|
+
};
|
|
28
|
+
sliderConfig?: {
|
|
29
|
+
showNavs: boolean;
|
|
30
|
+
showDots: boolean;
|
|
31
|
+
maxWidgets?: number;
|
|
32
|
+
cerificateCardMargin?: boolean;
|
|
33
|
+
};
|
|
34
|
+
stripConfig: any;
|
|
35
|
+
tabs?: NsContentStripWithTabsAndPills.IContentStripTab[] | undefined;
|
|
36
|
+
stripName?: string;
|
|
37
|
+
stripLogo?: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
stripInfo?: NsContentStripWithTabsAndPills.IStripInfo;
|
|
40
|
+
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
41
|
+
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
42
|
+
showOnNoData: boolean;
|
|
43
|
+
showOnLoader: boolean;
|
|
44
|
+
showOnError: boolean;
|
|
45
|
+
loaderWidgets?: any;
|
|
46
|
+
stripBackground?: string;
|
|
47
|
+
secondaryHeading?: any;
|
|
48
|
+
viewMoreUrl: any;
|
|
49
|
+
request?: any;
|
|
50
|
+
}
|
|
51
|
+
export declare class ContentStripWithTabsPillsComponent extends WidgetBaseComponent implements OnInit, OnDestroy, NsWidgetResolver.IWidgetData<NsContentStripWithTabsAndPills.IContentStripMultiple> {
|
|
52
|
+
private contentSvc;
|
|
53
|
+
private loggerSvc;
|
|
54
|
+
private eventSvc;
|
|
55
|
+
private configSvc;
|
|
56
|
+
utilitySvc: UtilityService;
|
|
57
|
+
router: Router;
|
|
58
|
+
private userSvc;
|
|
59
|
+
private translate;
|
|
60
|
+
private langtranslations;
|
|
61
|
+
widgetData: NsContentStripWithTabsAndPills.IContentStripMultiple;
|
|
62
|
+
emptyResponse: EventEmitter<any>;
|
|
63
|
+
viewAllResponse: EventEmitter<any>;
|
|
64
|
+
telemtryResponse: EventEmitter<any>;
|
|
65
|
+
providerId: any;
|
|
66
|
+
emitViewAll: boolean;
|
|
67
|
+
channnelName: any;
|
|
68
|
+
id: string;
|
|
69
|
+
stripsResultDataMap: {
|
|
70
|
+
[key: string]: IStripUnitContentData;
|
|
71
|
+
};
|
|
72
|
+
stripsKeyOrder: string[];
|
|
73
|
+
showAccordionData: boolean;
|
|
74
|
+
showParentLoader: boolean;
|
|
75
|
+
showParentError: boolean;
|
|
76
|
+
showParentNoData: boolean;
|
|
77
|
+
errorDataCount: number;
|
|
78
|
+
noDataCount: number;
|
|
79
|
+
successDataCount: number;
|
|
80
|
+
contentAvailable: boolean;
|
|
81
|
+
baseUrl: string;
|
|
82
|
+
veifiedKarmayogi: boolean;
|
|
83
|
+
environment: any;
|
|
84
|
+
changeEventSubscription: Subscription | null;
|
|
85
|
+
defaultMaxWidgets: number;
|
|
86
|
+
enrollInterval: any;
|
|
87
|
+
todaysEvents: any;
|
|
88
|
+
enrollmentMapData: any;
|
|
89
|
+
constructor(environment: any, contentSvc: WidgetContentService, loggerSvc: LoggerService, eventSvc: EventService, configSvc: ConfigurationsService, utilitySvc: UtilityService, router: Router, userSvc: WidgetUserService, translate: TranslateService, langtranslations: MultilingualTranslationsService);
|
|
90
|
+
ngOnInit(): void;
|
|
91
|
+
ngOnDestroy(): void;
|
|
92
|
+
showAccordion(key: string): boolean;
|
|
93
|
+
setHiddenForStrip(key: string): void;
|
|
94
|
+
private getIfStripHidden;
|
|
95
|
+
private initData;
|
|
96
|
+
private fetchStripFromKey;
|
|
97
|
+
isStripShowing(data: any): any;
|
|
98
|
+
readonly isMobile: boolean;
|
|
99
|
+
getdata(data: IStripUnitContentData): {};
|
|
100
|
+
checkCondition(wData: NsContentStripWithTabsAndPills.IContentStripMultiple, data: IStripUnitContentData): boolean;
|
|
101
|
+
checkVisible(data: IStripUnitContentData): boolean;
|
|
102
|
+
getContineuLearningLenth(data: IStripUnitContentData): number;
|
|
103
|
+
getLength(data: IStripUnitContentData): any;
|
|
104
|
+
private getFiltersFromArray;
|
|
105
|
+
private transformSearchV6FiltersV2;
|
|
106
|
+
checkForDateFilters(filters: any): any;
|
|
107
|
+
private fetchStripFromRequestData;
|
|
108
|
+
toggleInfo(data: IStripUnitContentData): void;
|
|
109
|
+
private transformContentsToWidgets;
|
|
110
|
+
private transformEventsToWidgets;
|
|
111
|
+
private transformSkeletonToWidgets;
|
|
112
|
+
private processStrip;
|
|
113
|
+
private checkParentStatus;
|
|
114
|
+
checkForEmptyWidget(strip: NsContentStripWithTabsAndPills.IContentStripUnit): boolean;
|
|
115
|
+
getTabDataByfilter(strip: NsContentStripWithTabsAndPills.IContentStripUnit, currentTab: NsContentStripWithTabsAndPills.IContentStripTab, calculateParentStatus: boolean): void;
|
|
116
|
+
getSelectedIndex(stripsResultDataMap: any, key: any): number;
|
|
117
|
+
translateLabels(label: string, type: any): any;
|
|
118
|
+
identify(index: number, item: any): any;
|
|
119
|
+
tracker(index: number, item: any): any;
|
|
120
|
+
raiseTelemetry(stripData: any): void;
|
|
121
|
+
redirectViewAll(stripData: any, path: string, queryParamsData: any): void;
|
|
122
|
+
fetchForYouData(strip: NsContentStripWithTabsAndPills.IContentStripUnit, calculateParentStatus?: boolean): void;
|
|
123
|
+
fetchFromSearchV6(strip: NsContentStripWithTabsAndPills.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
124
|
+
getTabDataByNewReqTrending(strip: NsContentStripWithTabsAndPills.IContentStripUnit, tabIndex: number, pillIndex: number, currentTab: NsContentStripWithTabsAndPills.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
125
|
+
getTabDataByNewReqSearchV6(strip: NsContentStripWithTabsAndPills.IContentStripUnit, tabIndex: number, pillIndex: number, currentTab: NsContentStripWithTabsAndPills.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
126
|
+
trendingSearchRequest(strip: NsContentStripWithTabsAndPills.IContentStripUnit, request: NsContentStripWithTabsAndPills.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
127
|
+
tabClicked(tabEvent: MatTabChangeEvent, pillIndex: any, stripMap: IStripUnitContentData, stripKey: string): void;
|
|
128
|
+
pillClicked(event: any, stripMap: IStripUnitContentData, stripKey: any, pillIndex: any, tabIndex: any): void;
|
|
129
|
+
searchV6Request(strip: NsContentStripWithTabsAndPills.IContentStripUnit, request: NsContentStripWithTabsAndPills.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
130
|
+
getSelectedPillIndex(tabdata: any, tabIndex: any): any;
|
|
131
|
+
fetchAllCbpPlans(strip: any, calculateParentStatus?: boolean): Promise<void>;
|
|
132
|
+
splitCbpTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabsAndPills.IContentStripUnit): NsContentStripWithTabsAndPills.IContentStripTab[];
|
|
133
|
+
getTabsList(array: NsContent.IContent[], strip: NsContentStripWithTabsAndPills.IContentStripUnit): {
|
|
134
|
+
value: string;
|
|
135
|
+
widgets: ({
|
|
136
|
+
widgetType: string;
|
|
137
|
+
widgetSubType: string;
|
|
138
|
+
widgetHostClass: string;
|
|
139
|
+
widgetData: {
|
|
140
|
+
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
141
|
+
cardCustomeClass: string;
|
|
142
|
+
context: {
|
|
143
|
+
pageSection: string;
|
|
144
|
+
position: number;
|
|
145
|
+
};
|
|
146
|
+
intranetMode: "" | "hide" | "greyOut";
|
|
147
|
+
deletedMode: "" | "hide" | "greyOut";
|
|
148
|
+
contentTags: NsContentStripWithTabsAndPills.IContentTags;
|
|
149
|
+
batch: any;
|
|
150
|
+
content: NsContent.IContent;
|
|
151
|
+
};
|
|
152
|
+
} | {
|
|
153
|
+
widgetType: string;
|
|
154
|
+
widgetSubType: string;
|
|
155
|
+
widgetHostClass: string;
|
|
156
|
+
widgetData: {};
|
|
157
|
+
})[];
|
|
158
|
+
}[];
|
|
159
|
+
resetSelectedPill(pillData: any): void;
|
|
160
|
+
}
|
|
161
|
+
export {};
|
package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts
CHANGED
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
|
|
2
|
-
import { NSSearch } from '../../../_models/widget-search.model';
|
|
3
|
-
import { NsContent } from '../../../_models/widget-content.model';
|
|
4
|
-
import { NsCardContent } from '../../../_models/card-content.model';
|
|
5
|
-
export declare namespace NsContentStripWithTabsAndPills {
|
|
6
|
-
interface IContentStripMultiple {
|
|
7
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
8
|
-
loader?: boolean;
|
|
9
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
10
|
-
strips: IContentStripUnit[];
|
|
11
|
-
isChannelStrip?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface IContentStripUnit {
|
|
14
|
-
type: string;
|
|
15
|
-
disableTranslate?: any;
|
|
16
|
-
key: string;
|
|
17
|
-
title: string;
|
|
18
|
-
customeClass?: string;
|
|
19
|
-
nodataMsg?: string;
|
|
20
|
-
stripTitleLink?: {
|
|
21
|
-
link: {
|
|
22
|
-
queryParams: string;
|
|
23
|
-
};
|
|
24
|
-
icon: string;
|
|
25
|
-
queryParams: string;
|
|
26
|
-
};
|
|
27
|
-
sliderConfig?: {
|
|
28
|
-
showNavs: boolean;
|
|
29
|
-
showDots: boolean;
|
|
30
|
-
maxWidgets?: number;
|
|
31
|
-
cerificateCardMargin?: boolean;
|
|
32
|
-
dotsAlign?: "right" | "left";
|
|
33
|
-
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
34
|
-
responsive?: {
|
|
35
|
-
showNavs: boolean;
|
|
36
|
-
showDots: boolean;
|
|
37
|
-
dotsAlign?: "right" | "left";
|
|
38
|
-
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
tabs?: NsContentStripWithTabsAndPills.IContentStripTab[] | undefined;
|
|
42
|
-
titleDescription?: string;
|
|
43
|
-
name?: string;
|
|
44
|
-
mode?: string | 'accordion';
|
|
45
|
-
info?: IStripInfo;
|
|
46
|
-
logo?: string;
|
|
47
|
-
preWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
48
|
-
postWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
49
|
-
stripConfig?: IStripConfig;
|
|
50
|
-
canHideStrip?: boolean;
|
|
51
|
-
showStrip: boolean;
|
|
52
|
-
filters?: any[];
|
|
53
|
-
selectAll?: boolean | null;
|
|
54
|
-
request?: {
|
|
55
|
-
playlistRead: any;
|
|
56
|
-
playlistSearch?: any;
|
|
57
|
-
ciosContent?: any;
|
|
58
|
-
search?: NSSearch.ISearchRequest;
|
|
59
|
-
searchV6?: NSSearch.ISearchV6Request;
|
|
60
|
-
topContent?: any;
|
|
61
|
-
featureContent?: any;
|
|
62
|
-
bookmarkRead?: any;
|
|
63
|
-
enrollmentList?: any;
|
|
64
|
-
cbpList?: any;
|
|
65
|
-
apiUrl: string;
|
|
66
|
-
searchRegionRecommendation?: NSSearch.ISearchOrgRegionRecommendationRequest;
|
|
67
|
-
api?: IStripRequestApi;
|
|
68
|
-
networkApi?: INetworkRequestApi;
|
|
69
|
-
ids?: string[];
|
|
70
|
-
recommendedCourses?: any;
|
|
71
|
-
masterCompetency?: any;
|
|
72
|
-
trendingSearch?: any;
|
|
73
|
-
};
|
|
74
|
-
searchV6Type?: 'KB' | 'Collections' | 'searchQuery' | null;
|
|
75
|
-
stripBackground?: string;
|
|
76
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
77
|
-
loader?: boolean;
|
|
78
|
-
loaderWidgets?: any;
|
|
79
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
80
|
-
refreshEvent?: Record<'eventType' | 'from', string>;
|
|
81
|
-
fetchLikes?: boolean;
|
|
82
|
-
secondaryHeading?: any;
|
|
83
|
-
viewMoreUrl?: {
|
|
84
|
-
queryParams?: any;
|
|
85
|
-
viewMoreText: string;
|
|
86
|
-
path: string;
|
|
87
|
-
};
|
|
88
|
-
data?: [];
|
|
89
|
-
}
|
|
90
|
-
interface IStripRequestApi {
|
|
91
|
-
path: string;
|
|
92
|
-
queryParams?: {
|
|
93
|
-
pageNo?: number;
|
|
94
|
-
pageSize?: number;
|
|
95
|
-
pageState?: string;
|
|
96
|
-
sourceFields?: string;
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
interface INetworkRequestApi {
|
|
100
|
-
path: string;
|
|
101
|
-
data?: any;
|
|
102
|
-
}
|
|
103
|
-
interface IStripInfo {
|
|
104
|
-
mode: 'below' | 'popup' | 'modal';
|
|
105
|
-
visibilityMode?: 'hidden' | 'visible';
|
|
106
|
-
icon: {
|
|
107
|
-
icon: string;
|
|
108
|
-
scale: number;
|
|
109
|
-
style?: any;
|
|
110
|
-
};
|
|
111
|
-
widget: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
112
|
-
}
|
|
113
|
-
interface IStripConfig {
|
|
114
|
-
cardSubType: NsCardContent.TCardSubType;
|
|
115
|
-
postCardForSearch?: boolean;
|
|
116
|
-
intranetMode?: 'greyOut' | 'hide';
|
|
117
|
-
deletedMode?: 'greyOut' | 'hide';
|
|
118
|
-
contentTags?: IContentTags;
|
|
119
|
-
hideShowAll?: boolean;
|
|
120
|
-
}
|
|
121
|
-
interface IContentTags {
|
|
122
|
-
daysSpan?: number;
|
|
123
|
-
excludeContentType?: NsContent.EContentTypes[];
|
|
124
|
-
excludeMimeType?: string[];
|
|
125
|
-
tag: string;
|
|
126
|
-
criteriaField: string;
|
|
127
|
-
}
|
|
128
|
-
interface IContentStripResponseApi {
|
|
129
|
-
contents: NsContent.IContent[];
|
|
130
|
-
hasMore?: boolean;
|
|
131
|
-
pageState?: string;
|
|
132
|
-
totalHits?: number;
|
|
133
|
-
}
|
|
134
|
-
interface IContentStripTab {
|
|
135
|
-
pillsData?: any;
|
|
136
|
-
label: string;
|
|
137
|
-
value: string;
|
|
138
|
-
showTabDataCount: boolean;
|
|
139
|
-
requestRequired?: boolean;
|
|
140
|
-
computeDataOnClick?: boolean;
|
|
141
|
-
computeDataOnClickKey?: string;
|
|
142
|
-
request?: any;
|
|
143
|
-
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
144
|
-
maxWidgets?: number;
|
|
145
|
-
fetchTabStatus?: string;
|
|
146
|
-
nodataMsg?: string;
|
|
147
|
-
tabLoading?: boolean;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
1
|
+
import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
|
|
2
|
+
import { NSSearch } from '../../../_models/widget-search.model';
|
|
3
|
+
import { NsContent } from '../../../_models/widget-content.model';
|
|
4
|
+
import { NsCardContent } from '../../../_models/card-content.model';
|
|
5
|
+
export declare namespace NsContentStripWithTabsAndPills {
|
|
6
|
+
interface IContentStripMultiple {
|
|
7
|
+
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
8
|
+
loader?: boolean;
|
|
9
|
+
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
10
|
+
strips: IContentStripUnit[];
|
|
11
|
+
isChannelStrip?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface IContentStripUnit {
|
|
14
|
+
type: string;
|
|
15
|
+
disableTranslate?: any;
|
|
16
|
+
key: string;
|
|
17
|
+
title: string;
|
|
18
|
+
customeClass?: string;
|
|
19
|
+
nodataMsg?: string;
|
|
20
|
+
stripTitleLink?: {
|
|
21
|
+
link: {
|
|
22
|
+
queryParams: string;
|
|
23
|
+
};
|
|
24
|
+
icon: string;
|
|
25
|
+
queryParams: string;
|
|
26
|
+
};
|
|
27
|
+
sliderConfig?: {
|
|
28
|
+
showNavs: boolean;
|
|
29
|
+
showDots: boolean;
|
|
30
|
+
maxWidgets?: number;
|
|
31
|
+
cerificateCardMargin?: boolean;
|
|
32
|
+
dotsAlign?: "right" | "left";
|
|
33
|
+
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
34
|
+
responsive?: {
|
|
35
|
+
showNavs: boolean;
|
|
36
|
+
showDots: boolean;
|
|
37
|
+
dotsAlign?: "right" | "left";
|
|
38
|
+
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
tabs?: NsContentStripWithTabsAndPills.IContentStripTab[] | undefined;
|
|
42
|
+
titleDescription?: string;
|
|
43
|
+
name?: string;
|
|
44
|
+
mode?: string | 'accordion';
|
|
45
|
+
info?: IStripInfo;
|
|
46
|
+
logo?: string;
|
|
47
|
+
preWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
48
|
+
postWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
49
|
+
stripConfig?: IStripConfig;
|
|
50
|
+
canHideStrip?: boolean;
|
|
51
|
+
showStrip: boolean;
|
|
52
|
+
filters?: any[];
|
|
53
|
+
selectAll?: boolean | null;
|
|
54
|
+
request?: {
|
|
55
|
+
playlistRead: any;
|
|
56
|
+
playlistSearch?: any;
|
|
57
|
+
ciosContent?: any;
|
|
58
|
+
search?: NSSearch.ISearchRequest;
|
|
59
|
+
searchV6?: NSSearch.ISearchV6Request;
|
|
60
|
+
topContent?: any;
|
|
61
|
+
featureContent?: any;
|
|
62
|
+
bookmarkRead?: any;
|
|
63
|
+
enrollmentList?: any;
|
|
64
|
+
cbpList?: any;
|
|
65
|
+
apiUrl: string;
|
|
66
|
+
searchRegionRecommendation?: NSSearch.ISearchOrgRegionRecommendationRequest;
|
|
67
|
+
api?: IStripRequestApi;
|
|
68
|
+
networkApi?: INetworkRequestApi;
|
|
69
|
+
ids?: string[];
|
|
70
|
+
recommendedCourses?: any;
|
|
71
|
+
masterCompetency?: any;
|
|
72
|
+
trendingSearch?: any;
|
|
73
|
+
};
|
|
74
|
+
searchV6Type?: 'KB' | 'Collections' | 'searchQuery' | null;
|
|
75
|
+
stripBackground?: string;
|
|
76
|
+
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
77
|
+
loader?: boolean;
|
|
78
|
+
loaderWidgets?: any;
|
|
79
|
+
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
80
|
+
refreshEvent?: Record<'eventType' | 'from', string>;
|
|
81
|
+
fetchLikes?: boolean;
|
|
82
|
+
secondaryHeading?: any;
|
|
83
|
+
viewMoreUrl?: {
|
|
84
|
+
queryParams?: any;
|
|
85
|
+
viewMoreText: string;
|
|
86
|
+
path: string;
|
|
87
|
+
};
|
|
88
|
+
data?: [];
|
|
89
|
+
}
|
|
90
|
+
interface IStripRequestApi {
|
|
91
|
+
path: string;
|
|
92
|
+
queryParams?: {
|
|
93
|
+
pageNo?: number;
|
|
94
|
+
pageSize?: number;
|
|
95
|
+
pageState?: string;
|
|
96
|
+
sourceFields?: string;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
interface INetworkRequestApi {
|
|
100
|
+
path: string;
|
|
101
|
+
data?: any;
|
|
102
|
+
}
|
|
103
|
+
interface IStripInfo {
|
|
104
|
+
mode: 'below' | 'popup' | 'modal';
|
|
105
|
+
visibilityMode?: 'hidden' | 'visible';
|
|
106
|
+
icon: {
|
|
107
|
+
icon: string;
|
|
108
|
+
scale: number;
|
|
109
|
+
style?: any;
|
|
110
|
+
};
|
|
111
|
+
widget: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
112
|
+
}
|
|
113
|
+
interface IStripConfig {
|
|
114
|
+
cardSubType: NsCardContent.TCardSubType;
|
|
115
|
+
postCardForSearch?: boolean;
|
|
116
|
+
intranetMode?: 'greyOut' | 'hide';
|
|
117
|
+
deletedMode?: 'greyOut' | 'hide';
|
|
118
|
+
contentTags?: IContentTags;
|
|
119
|
+
hideShowAll?: boolean;
|
|
120
|
+
}
|
|
121
|
+
interface IContentTags {
|
|
122
|
+
daysSpan?: number;
|
|
123
|
+
excludeContentType?: NsContent.EContentTypes[];
|
|
124
|
+
excludeMimeType?: string[];
|
|
125
|
+
tag: string;
|
|
126
|
+
criteriaField: string;
|
|
127
|
+
}
|
|
128
|
+
interface IContentStripResponseApi {
|
|
129
|
+
contents: NsContent.IContent[];
|
|
130
|
+
hasMore?: boolean;
|
|
131
|
+
pageState?: string;
|
|
132
|
+
totalHits?: number;
|
|
133
|
+
}
|
|
134
|
+
interface IContentStripTab {
|
|
135
|
+
pillsData?: any;
|
|
136
|
+
label: string;
|
|
137
|
+
value: string;
|
|
138
|
+
showTabDataCount: boolean;
|
|
139
|
+
requestRequired?: boolean;
|
|
140
|
+
computeDataOnClick?: boolean;
|
|
141
|
+
computeDataOnClickKey?: string;
|
|
142
|
+
request?: any;
|
|
143
|
+
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
144
|
+
maxWidgets?: number;
|
|
145
|
+
fetchTabStatus?: string;
|
|
146
|
+
nodataMsg?: string;
|
|
147
|
+
tabLoading?: boolean;
|
|
148
|
+
}
|
|
149
|
+
}
|
package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
3
|
-
export declare function HttpLoaderFactory1(http: HttpClient): TranslateHttpLoader;
|
|
4
|
-
export declare class ContentStripWithTabsPillsModule {
|
|
5
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
3
|
+
export declare function HttpLoaderFactory1(http: HttpClient): TranslateHttpLoader;
|
|
4
|
+
export declare class ContentStripWithTabsPillsModule {
|
|
5
|
+
}
|