@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,164 +1,164 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
-
import { ConfigurationsService, EventService, MultilingualTranslationsService, NsContent } from '@sunbird-cb/utils-v2';
|
|
8
|
-
import { WidgetContentService } from '../../../_services/widget-content.service';
|
|
9
|
-
import { Router } from '@angular/router';
|
|
10
|
-
var CardMDOChannelComponent = /** @class */ (function () {
|
|
11
|
-
function CardMDOChannelComponent(events, translate, langtranslations, configSvc, contSvc, router) {
|
|
12
|
-
var _this = this;
|
|
13
|
-
this.events = events;
|
|
14
|
-
this.translate = translate;
|
|
15
|
-
this.langtranslations = langtranslations;
|
|
16
|
-
this.configSvc = configSvc;
|
|
17
|
-
this.contSvc = contSvc;
|
|
18
|
-
this.router = router;
|
|
19
|
-
this.channelData = new EventEmitter();
|
|
20
|
-
this.emitTelemetry = new EventEmitter();
|
|
21
|
-
this.isCardLoading = false;
|
|
22
|
-
this.widgetType = '';
|
|
23
|
-
this.widgetSubType = '';
|
|
24
|
-
this.langtranslations.languageSelectedObservable.subscribe((/**
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
function () {
|
|
28
|
-
if (localStorage.getItem('websiteLanguage')) {
|
|
29
|
-
_this.translate.setDefaultLang('en');
|
|
30
|
-
/** @type {?} */
|
|
31
|
-
var lang = (/** @type {?} */ (localStorage.getItem('websiteLanguage')));
|
|
32
|
-
_this.translate.use(lang);
|
|
33
|
-
}
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @return {?}
|
|
38
|
-
*/
|
|
39
|
-
CardMDOChannelComponent.prototype.ngOnInit = /**
|
|
40
|
-
* @return {?}
|
|
41
|
-
*/
|
|
42
|
-
function () {
|
|
43
|
-
/** @type {?} */
|
|
44
|
-
var instanceConfig = this.configSvc.instanceConfig;
|
|
45
|
-
if (instanceConfig) {
|
|
46
|
-
this.defaultThumbnail = instanceConfig.logos.defaultContent || '';
|
|
47
|
-
this.sourceLogos = instanceConfig.sources;
|
|
48
|
-
this.defaultSLogo = instanceConfig.logos.defaultSourceLogo || '';
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
this.defaultThumbnail = '/assets/instances/eagle/app_logos/default.png';
|
|
52
|
-
this.defaultSLogo = '/assets/instances/eagle/app_logos/KarmayogiBharat_Logo.svg';
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @param {?} contentData
|
|
57
|
-
* @return {?}
|
|
58
|
-
*/
|
|
59
|
-
CardMDOChannelComponent.prototype.raiseTelemetry = /**
|
|
60
|
-
* @param {?} contentData
|
|
61
|
-
* @return {?}
|
|
62
|
-
*/
|
|
63
|
-
function (contentData) {
|
|
64
|
-
this.emitTelemetry.emit(contentData);
|
|
65
|
-
if (this.widgetData) {
|
|
66
|
-
contentData['typeOfTelemetry'] = 'mdo-channel';
|
|
67
|
-
}
|
|
68
|
-
this.contSvc.changeTelemetryData(contentData);
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* @param {?} channeldata
|
|
72
|
-
* @return {?}
|
|
73
|
-
*/
|
|
74
|
-
CardMDOChannelComponent.prototype.channelClick = /**
|
|
75
|
-
* @param {?} channeldata
|
|
76
|
-
* @return {?}
|
|
77
|
-
*/
|
|
78
|
-
function (channeldata) {
|
|
79
|
-
this.channelData.emit(channeldata);
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* @param {?} content
|
|
83
|
-
* @return {?}
|
|
84
|
-
*/
|
|
85
|
-
CardMDOChannelComponent.prototype.redirectTo = /**
|
|
86
|
-
* @param {?} content
|
|
87
|
-
* @return {?}
|
|
88
|
-
*/
|
|
89
|
-
function (content) {
|
|
90
|
-
this.router.navigate(["/app/learn/mdo-channels/" + content.orgName + "/" + content.identifier + "/micro-sites"]);
|
|
91
|
-
};
|
|
92
|
-
CardMDOChannelComponent.decorators = [
|
|
93
|
-
{ type: Component, args: [{
|
|
94
|
-
selector: 'sb-uic-card-mdo-channel',
|
|
95
|
-
template: "<ng-container *ngIf=\"!isCardLoading\">\n <mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\">\n <div class=\"display-contents\">\n <ng-container *ngIf=\"widgetData?.content\">\n <a (click)=\"raiseTelemetry(widgetData?.content); redirectTo(widgetData?.content); $event.stopPropagation()\"\n i18n-aria-label>\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div class=\"flex flex-col h-full\">\n <div class=\"image-container\">\n <ng-container *ngIf=\"widgetData?.content?.imgUrl; else defaultImg\">\n <img mat-card-image [src]=\"widgetData?.content?.imgUrl\" loading=\"lazy\"\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\n [alt]=\"widgetData?.content?.orgName\" />\n </ng-container>\n <ng-template #defaultImg>\n <sb-uic-avatar-photo [randomColor]=\"true\" [name]=\"widgetData?.content?.orgName\" [photoUrl]=\"widgetData?.content?.imgUrl\" size=\"m-side-rating\">\n </sb-uic-avatar-photo>\n </ng-template>\n </div>\n <div class=\"flex title-container px-2\">\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\n class=\"flex-1 text-center mat-subheading-2 title-text ws-mat-black-text\">\n {{ widgetData?.content?.orgName }}\n </div>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n </mat-card>\n</ng-container>\n\n<ng-container *ngIf=\"isCardLoading\">\n <mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\">\n <div class=\"display-contents\">\n <ng-container >\n <a i18n-aria-label>\n <ng-container>\n <mat-card-content class=\"min-top\">\n <div class=\"flex flex-col h-full\">\n <div class=\"image-container\">\n <sb-uic-skeleton-loader [width]=\"'100%'\" [height]=\"'140px'\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex title-container px-2\">\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\n class=\"flex-1 text-center mat-subheading-2 title-text ws-mat-black-text\">\n {{ widgetData?.content?.orgName }}\n </div>\n </div>\n </div>\n </mat-card-content>\n </ng-container>\n </a>\n </ng-container>\n </div>\n </mat-card>\n</ng-container>",
|
|
96
|
-
styles: [".card-channels-container{position:relative;width:282px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;min-height:156px;height:156px;max-height:156px;margin:20px 8px;background:#7faeff!important;border-radius:12px;padding:4px!important}.card-channels-container .min-top{background:inherit;margin-bottom:0;height:inherit}.card-channels-container .image-container{background-color:#fff;width:inherit;height:86px;max-height:86px;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:12px}.card-channels-container .card-img{max-height:62px;min-height:62px;display:block;-o-object-fit:fill;object-fit:contain}.card-channels-container .mat-subheading-1{font:600 14px/24px Montserrat}.card-channels-container .title-container{background:inherit}.card-channels-container .description-text{position:relative;overflow:hidden;height:51px}.card-channels-container .title-text{word-break:break-all;white-space:initial;margin:8px 0;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media screen and (max-width:768px){.card-channels-container{width:100%;margin:0}}"]
|
|
97
|
-
}] }
|
|
98
|
-
];
|
|
99
|
-
/** @nocollapse */
|
|
100
|
-
CardMDOChannelComponent.ctorParameters = function () { return [
|
|
101
|
-
{ type: EventService },
|
|
102
|
-
{ type: TranslateService },
|
|
103
|
-
{ type: MultilingualTranslationsService },
|
|
104
|
-
{ type: ConfigurationsService },
|
|
105
|
-
{ type: WidgetContentService },
|
|
106
|
-
{ type: Router }
|
|
107
|
-
]; };
|
|
108
|
-
CardMDOChannelComponent.propDecorators = {
|
|
109
|
-
widgetData: [{ type: Input }],
|
|
110
|
-
channelData: [{ type: Output }],
|
|
111
|
-
emitTelemetry: [{ type: Output }],
|
|
112
|
-
isCardLoading: [{ type: Input }]
|
|
113
|
-
};
|
|
114
|
-
return CardMDOChannelComponent;
|
|
115
|
-
}());
|
|
116
|
-
export { CardMDOChannelComponent };
|
|
117
|
-
if (false) {
|
|
118
|
-
/** @type {?} */
|
|
119
|
-
CardMDOChannelComponent.prototype.widgetData;
|
|
120
|
-
/** @type {?} */
|
|
121
|
-
CardMDOChannelComponent.prototype.channelData;
|
|
122
|
-
/** @type {?} */
|
|
123
|
-
CardMDOChannelComponent.prototype.emitTelemetry;
|
|
124
|
-
/** @type {?} */
|
|
125
|
-
CardMDOChannelComponent.prototype.isCardLoading;
|
|
126
|
-
/** @type {?} */
|
|
127
|
-
CardMDOChannelComponent.prototype.defaultThumbnail;
|
|
128
|
-
/** @type {?} */
|
|
129
|
-
CardMDOChannelComponent.prototype.sourceLogos;
|
|
130
|
-
/** @type {?} */
|
|
131
|
-
CardMDOChannelComponent.prototype.defaultSLogo;
|
|
132
|
-
/** @type {?} */
|
|
133
|
-
CardMDOChannelComponent.prototype.widgetType;
|
|
134
|
-
/** @type {?} */
|
|
135
|
-
CardMDOChannelComponent.prototype.widgetSubType;
|
|
136
|
-
/**
|
|
137
|
-
* @type {?}
|
|
138
|
-
* @private
|
|
139
|
-
*/
|
|
140
|
-
CardMDOChannelComponent.prototype.events;
|
|
141
|
-
/**
|
|
142
|
-
* @type {?}
|
|
143
|
-
* @private
|
|
144
|
-
*/
|
|
145
|
-
CardMDOChannelComponent.prototype.translate;
|
|
146
|
-
/**
|
|
147
|
-
* @type {?}
|
|
148
|
-
* @private
|
|
149
|
-
*/
|
|
150
|
-
CardMDOChannelComponent.prototype.langtranslations;
|
|
151
|
-
/**
|
|
152
|
-
* @type {?}
|
|
153
|
-
* @private
|
|
154
|
-
*/
|
|
155
|
-
CardMDOChannelComponent.prototype.configSvc;
|
|
156
|
-
/**
|
|
157
|
-
* @type {?}
|
|
158
|
-
* @private
|
|
159
|
-
*/
|
|
160
|
-
CardMDOChannelComponent.prototype.contSvc;
|
|
161
|
-
/** @type {?} */
|
|
162
|
-
CardMDOChannelComponent.prototype.router;
|
|
163
|
-
}
|
|
164
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
+
import { ConfigurationsService, EventService, MultilingualTranslationsService, NsContent } from '@sunbird-cb/utils-v2';
|
|
8
|
+
import { WidgetContentService } from '../../../_services/widget-content.service';
|
|
9
|
+
import { Router } from '@angular/router';
|
|
10
|
+
var CardMDOChannelComponent = /** @class */ (function () {
|
|
11
|
+
function CardMDOChannelComponent(events, translate, langtranslations, configSvc, contSvc, router) {
|
|
12
|
+
var _this = this;
|
|
13
|
+
this.events = events;
|
|
14
|
+
this.translate = translate;
|
|
15
|
+
this.langtranslations = langtranslations;
|
|
16
|
+
this.configSvc = configSvc;
|
|
17
|
+
this.contSvc = contSvc;
|
|
18
|
+
this.router = router;
|
|
19
|
+
this.channelData = new EventEmitter();
|
|
20
|
+
this.emitTelemetry = new EventEmitter();
|
|
21
|
+
this.isCardLoading = false;
|
|
22
|
+
this.widgetType = '';
|
|
23
|
+
this.widgetSubType = '';
|
|
24
|
+
this.langtranslations.languageSelectedObservable.subscribe((/**
|
|
25
|
+
* @return {?}
|
|
26
|
+
*/
|
|
27
|
+
function () {
|
|
28
|
+
if (localStorage.getItem('websiteLanguage')) {
|
|
29
|
+
_this.translate.setDefaultLang('en');
|
|
30
|
+
/** @type {?} */
|
|
31
|
+
var lang = (/** @type {?} */ (localStorage.getItem('websiteLanguage')));
|
|
32
|
+
_this.translate.use(lang);
|
|
33
|
+
}
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @return {?}
|
|
38
|
+
*/
|
|
39
|
+
CardMDOChannelComponent.prototype.ngOnInit = /**
|
|
40
|
+
* @return {?}
|
|
41
|
+
*/
|
|
42
|
+
function () {
|
|
43
|
+
/** @type {?} */
|
|
44
|
+
var instanceConfig = this.configSvc.instanceConfig;
|
|
45
|
+
if (instanceConfig) {
|
|
46
|
+
this.defaultThumbnail = instanceConfig.logos.defaultContent || '';
|
|
47
|
+
this.sourceLogos = instanceConfig.sources;
|
|
48
|
+
this.defaultSLogo = instanceConfig.logos.defaultSourceLogo || '';
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
this.defaultThumbnail = '/assets/instances/eagle/app_logos/default.png';
|
|
52
|
+
this.defaultSLogo = '/assets/instances/eagle/app_logos/KarmayogiBharat_Logo.svg';
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @param {?} contentData
|
|
57
|
+
* @return {?}
|
|
58
|
+
*/
|
|
59
|
+
CardMDOChannelComponent.prototype.raiseTelemetry = /**
|
|
60
|
+
* @param {?} contentData
|
|
61
|
+
* @return {?}
|
|
62
|
+
*/
|
|
63
|
+
function (contentData) {
|
|
64
|
+
this.emitTelemetry.emit(contentData);
|
|
65
|
+
if (this.widgetData) {
|
|
66
|
+
contentData['typeOfTelemetry'] = 'mdo-channel';
|
|
67
|
+
}
|
|
68
|
+
this.contSvc.changeTelemetryData(contentData);
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @param {?} channeldata
|
|
72
|
+
* @return {?}
|
|
73
|
+
*/
|
|
74
|
+
CardMDOChannelComponent.prototype.channelClick = /**
|
|
75
|
+
* @param {?} channeldata
|
|
76
|
+
* @return {?}
|
|
77
|
+
*/
|
|
78
|
+
function (channeldata) {
|
|
79
|
+
this.channelData.emit(channeldata);
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @param {?} content
|
|
83
|
+
* @return {?}
|
|
84
|
+
*/
|
|
85
|
+
CardMDOChannelComponent.prototype.redirectTo = /**
|
|
86
|
+
* @param {?} content
|
|
87
|
+
* @return {?}
|
|
88
|
+
*/
|
|
89
|
+
function (content) {
|
|
90
|
+
this.router.navigate(["/app/learn/mdo-channels/" + content.orgName + "/" + content.identifier + "/micro-sites"]);
|
|
91
|
+
};
|
|
92
|
+
CardMDOChannelComponent.decorators = [
|
|
93
|
+
{ type: Component, args: [{
|
|
94
|
+
selector: 'sb-uic-card-mdo-channel',
|
|
95
|
+
template: "<ng-container *ngIf=\"!isCardLoading\">\r\n <mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\">\r\n <div class=\"display-contents\">\r\n <ng-container *ngIf=\"widgetData?.content\">\r\n <a (click)=\"raiseTelemetry(widgetData?.content); redirectTo(widgetData?.content); $event.stopPropagation()\"\r\n i18n-aria-label>\r\n <ng-container>\r\n <mat-card-content class=\"min-top\">\r\n <div class=\"flex flex-col h-full\">\r\n <div class=\"image-container\">\r\n <ng-container *ngIf=\"widgetData?.content?.imgUrl; else defaultImg\">\r\n <img mat-card-image [src]=\"widgetData?.content?.imgUrl\" loading=\"lazy\"\r\n class=\"card-img ws-mat-primary-lite-background margin-remove\" [wsUtilsDefaultThumbnail]=\"defaultThumbnail\"\r\n [alt]=\"widgetData?.content?.orgName\" />\r\n </ng-container>\r\n <ng-template #defaultImg>\r\n <sb-uic-avatar-photo [randomColor]=\"true\" [name]=\"widgetData?.content?.orgName\" [photoUrl]=\"widgetData?.content?.imgUrl\" size=\"m-side-rating\">\r\n </sb-uic-avatar-photo>\r\n </ng-template>\r\n </div>\r\n <div class=\"flex title-container px-2\">\r\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\r\n class=\"flex-1 text-center mat-subheading-2 title-text ws-mat-black-text\">\r\n {{ widgetData?.content?.orgName }}\r\n </div>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n </ng-container>\r\n </a>\r\n </ng-container>\r\n </div>\r\n </mat-card>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"isCardLoading\">\r\n <mat-card class=\"channels-card card-channels-container mr-5 padding-remove cursor-pointer\">\r\n <div class=\"display-contents\">\r\n <ng-container >\r\n <a i18n-aria-label>\r\n <ng-container>\r\n <mat-card-content class=\"min-top\">\r\n <div class=\"flex flex-col h-full\">\r\n <div class=\"image-container\">\r\n <sb-uic-skeleton-loader [width]=\"'100%'\" [height]=\"'140px'\" [bindingClass]=\"'flex rounded'\"></sb-uic-skeleton-loader>\r\n </div>\r\n <div class=\"flex title-container px-2\">\r\n <div [id]=\"'m-c-'+ widgetData?.content?.identifier\"\r\n class=\"flex-1 text-center mat-subheading-2 title-text ws-mat-black-text\">\r\n {{ widgetData?.content?.orgName }}\r\n </div>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n </ng-container>\r\n </a>\r\n </ng-container>\r\n </div>\r\n </mat-card>\r\n</ng-container>",
|
|
96
|
+
styles: [".card-channels-container{position:relative;width:282px;box-sizing:border-box;box-shadow:0 10px 30px rgba(153,153,153,.2);overflow:hidden;min-height:156px;height:156px;max-height:156px;margin:20px 8px;background:#7faeff!important;border-radius:12px;padding:4px!important}.card-channels-container .min-top{background:inherit;margin-bottom:0;height:inherit}.card-channels-container .image-container{background-color:#fff;width:inherit;height:86px;max-height:86px;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:12px}.card-channels-container .card-img{max-height:62px;min-height:62px;display:block;-o-object-fit:fill;object-fit:contain}.card-channels-container .mat-subheading-1{font:600 14px/24px Montserrat}.card-channels-container .title-container{background:inherit}.card-channels-container .description-text{position:relative;overflow:hidden;height:51px}.card-channels-container .title-text{word-break:break-all;white-space:initial;margin:8px 0;position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media screen and (max-width:768px){.card-channels-container{width:100%;margin:0}}"]
|
|
97
|
+
}] }
|
|
98
|
+
];
|
|
99
|
+
/** @nocollapse */
|
|
100
|
+
CardMDOChannelComponent.ctorParameters = function () { return [
|
|
101
|
+
{ type: EventService },
|
|
102
|
+
{ type: TranslateService },
|
|
103
|
+
{ type: MultilingualTranslationsService },
|
|
104
|
+
{ type: ConfigurationsService },
|
|
105
|
+
{ type: WidgetContentService },
|
|
106
|
+
{ type: Router }
|
|
107
|
+
]; };
|
|
108
|
+
CardMDOChannelComponent.propDecorators = {
|
|
109
|
+
widgetData: [{ type: Input }],
|
|
110
|
+
channelData: [{ type: Output }],
|
|
111
|
+
emitTelemetry: [{ type: Output }],
|
|
112
|
+
isCardLoading: [{ type: Input }]
|
|
113
|
+
};
|
|
114
|
+
return CardMDOChannelComponent;
|
|
115
|
+
}());
|
|
116
|
+
export { CardMDOChannelComponent };
|
|
117
|
+
if (false) {
|
|
118
|
+
/** @type {?} */
|
|
119
|
+
CardMDOChannelComponent.prototype.widgetData;
|
|
120
|
+
/** @type {?} */
|
|
121
|
+
CardMDOChannelComponent.prototype.channelData;
|
|
122
|
+
/** @type {?} */
|
|
123
|
+
CardMDOChannelComponent.prototype.emitTelemetry;
|
|
124
|
+
/** @type {?} */
|
|
125
|
+
CardMDOChannelComponent.prototype.isCardLoading;
|
|
126
|
+
/** @type {?} */
|
|
127
|
+
CardMDOChannelComponent.prototype.defaultThumbnail;
|
|
128
|
+
/** @type {?} */
|
|
129
|
+
CardMDOChannelComponent.prototype.sourceLogos;
|
|
130
|
+
/** @type {?} */
|
|
131
|
+
CardMDOChannelComponent.prototype.defaultSLogo;
|
|
132
|
+
/** @type {?} */
|
|
133
|
+
CardMDOChannelComponent.prototype.widgetType;
|
|
134
|
+
/** @type {?} */
|
|
135
|
+
CardMDOChannelComponent.prototype.widgetSubType;
|
|
136
|
+
/**
|
|
137
|
+
* @type {?}
|
|
138
|
+
* @private
|
|
139
|
+
*/
|
|
140
|
+
CardMDOChannelComponent.prototype.events;
|
|
141
|
+
/**
|
|
142
|
+
* @type {?}
|
|
143
|
+
* @private
|
|
144
|
+
*/
|
|
145
|
+
CardMDOChannelComponent.prototype.translate;
|
|
146
|
+
/**
|
|
147
|
+
* @type {?}
|
|
148
|
+
* @private
|
|
149
|
+
*/
|
|
150
|
+
CardMDOChannelComponent.prototype.langtranslations;
|
|
151
|
+
/**
|
|
152
|
+
* @type {?}
|
|
153
|
+
* @private
|
|
154
|
+
*/
|
|
155
|
+
CardMDOChannelComponent.prototype.configSvc;
|
|
156
|
+
/**
|
|
157
|
+
* @type {?}
|
|
158
|
+
* @private
|
|
159
|
+
*/
|
|
160
|
+
CardMDOChannelComponent.prototype.contSvc;
|
|
161
|
+
/** @type {?} */
|
|
162
|
+
CardMDOChannelComponent.prototype.router;
|
|
163
|
+
}
|
|
164
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1tZG8tY2hhbm5lbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac3VuYmlyZC1jYi9jb25zdW1wdGlvbi8iLCJzb3VyY2VzIjpbImxpYi9fY29tbW9uL2NhcmRzL2NhcmQtbWRvLWNoYW5uZWwvY2FyZC1tZG8tY2hhbm5lbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0UsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdkQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLFlBQVksRUFBRSwrQkFBK0IsRUFBRSxTQUFTLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN2SCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUNqRixPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFekM7SUFnQkUsaUNBQ1UsT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