@sunbird-cb/consumption 0.0.68 → 0.0.70
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 +17488 -17488
- 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 -2559
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -218
- 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 +150 -150
- 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 +69 -69
- 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 -2970
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -218
- 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 +165 -165
- 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 +84 -84
- 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 +15410 -15410
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +17480 -17480
- 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 -203
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +149 -149
- 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,187 +1,187 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, HostBinding, Input } from '@angular/core';
|
|
6
|
-
import { WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
|
|
7
|
-
import { interval } from 'rxjs';
|
|
8
|
-
import { EventService, WsEvents, ValueService } from '@sunbird-cb/utils-v2';
|
|
9
|
-
export class SlidersLibComponent extends WidgetBaseComponent {
|
|
10
|
-
/**
|
|
11
|
-
* @param {?} events
|
|
12
|
-
* @param {?} valueSvc
|
|
13
|
-
*/
|
|
14
|
-
constructor(events, valueSvc) {
|
|
15
|
-
super();
|
|
16
|
-
this.events = events;
|
|
17
|
-
this.valueSvc = valueSvc;
|
|
18
|
-
this.title = '';
|
|
19
|
-
this.id = `banner_${Math.random()}`;
|
|
20
|
-
this.defaultMenuSubscribe = null;
|
|
21
|
-
this.isLtMedium$ = this.valueSvc.isLtMedium$;
|
|
22
|
-
this.currentIndex = 0;
|
|
23
|
-
this.slideInterval = null;
|
|
24
|
-
this.isMobile = false;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @return {?}
|
|
28
|
-
*/
|
|
29
|
-
ngOnInit() {
|
|
30
|
-
this.reInitiateSlideInterval();
|
|
31
|
-
this.defaultMenuSubscribe = this.isLtMedium$.subscribe((/**
|
|
32
|
-
* @param {?} isLtMedium
|
|
33
|
-
* @return {?}
|
|
34
|
-
*/
|
|
35
|
-
(isLtMedium) => {
|
|
36
|
-
this.isMobile = isLtMedium;
|
|
37
|
-
}));
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @return {?}
|
|
41
|
-
*/
|
|
42
|
-
reInitiateSlideInterval() {
|
|
43
|
-
if (this.widgetData && this.widgetData.length > 1) {
|
|
44
|
-
try {
|
|
45
|
-
if (this.slideInterval) {
|
|
46
|
-
this.slideInterval.unsubscribe();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
catch (e) {
|
|
50
|
-
}
|
|
51
|
-
finally {
|
|
52
|
-
this.slideInterval = interval(8000).subscribe((/**
|
|
53
|
-
* @return {?}
|
|
54
|
-
*/
|
|
55
|
-
() => {
|
|
56
|
-
if (this.currentIndex === this.widgetData.length - 1) {
|
|
57
|
-
this.currentIndex = 0;
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
this.currentIndex += 1;
|
|
61
|
-
}
|
|
62
|
-
}));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @param {?} index
|
|
68
|
-
* @return {?}
|
|
69
|
-
*/
|
|
70
|
-
slideTo(index) {
|
|
71
|
-
if (index >= 0 && index < this.widgetData.length) {
|
|
72
|
-
this.currentIndex = index;
|
|
73
|
-
}
|
|
74
|
-
else if (index === this.widgetData.length) {
|
|
75
|
-
this.currentIndex = 0;
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
this.currentIndex = this.widgetData.length + index;
|
|
79
|
-
}
|
|
80
|
-
this.reInitiateSlideInterval();
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @return {?}
|
|
84
|
-
*/
|
|
85
|
-
get isOpenInNewTab() {
|
|
86
|
-
/** @type {?} */
|
|
87
|
-
const currentData = this.widgetData[this.currentIndex];
|
|
88
|
-
if (currentData.redirectUrl && currentData.redirectUrl.includes('mailto') || this.widgetData[this.currentIndex].openInNewTab) {
|
|
89
|
-
return true;
|
|
90
|
-
}
|
|
91
|
-
return false;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* @return {?}
|
|
95
|
-
*/
|
|
96
|
-
openInNewTab() {
|
|
97
|
-
/** @type {?} */
|
|
98
|
-
const currentData = this.widgetData[this.currentIndex];
|
|
99
|
-
if (currentData.redirectUrl && currentData.redirectUrl.includes('mailto') || this.widgetData[this.currentIndex].openInNewTab) {
|
|
100
|
-
window.open(currentData.redirectUrl);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* @param {?} bannerUrl
|
|
105
|
-
* @return {?}
|
|
106
|
-
*/
|
|
107
|
-
raiseTelemetry(bannerUrl) {
|
|
108
|
-
this.openInNewTab();
|
|
109
|
-
/** @type {?} */
|
|
110
|
-
const path = window.location.pathname.replace('/', '');
|
|
111
|
-
/** @type {?} */
|
|
112
|
-
const url = path + window.location.search;
|
|
113
|
-
this.events.raiseInteractTelemetry({
|
|
114
|
-
type: 'click',
|
|
115
|
-
subType: 'banner',
|
|
116
|
-
}, {
|
|
117
|
-
pageUrl: url,
|
|
118
|
-
bannerRedirectUrl: bannerUrl,
|
|
119
|
-
}, {
|
|
120
|
-
pageIdExt: 'banner',
|
|
121
|
-
module: WsEvents.EnumTelemetrymodules.CONTENT,
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* @return {?}
|
|
126
|
-
*/
|
|
127
|
-
ngOnDestroy() {
|
|
128
|
-
if (this.defaultMenuSubscribe) {
|
|
129
|
-
this.defaultMenuSubscribe.unsubscribe();
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
SlidersLibComponent.decorators = [
|
|
134
|
-
{ type: Component, args: [{
|
|
135
|
-
selector: 'sb-uic-sliders',
|
|
136
|
-
template: "<div class=\"banner-container {{isMobile? styleData?.responsive?.bannerMetaClass : styleData?.bannerMetaClass}} {{type === 'atictitop' ? 'atictitopbanner' : ''}}\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\
|
|
137
|
-
styles: [".banner-container{min-height:243px;position:relative;margin:auto;padding-bottom:40px}.banner-container.inline-meta{padding-bottom:0!important}.banner-container.flat .banner .banner-image{border-radius:0!important}@media screen and (min-width:
|
|
138
|
-
}] }
|
|
139
|
-
];
|
|
140
|
-
/** @nocollapse */
|
|
141
|
-
SlidersLibComponent.ctorParameters = () => [
|
|
142
|
-
{ type: EventService },
|
|
143
|
-
{ type: ValueService }
|
|
144
|
-
];
|
|
145
|
-
SlidersLibComponent.propDecorators = {
|
|
146
|
-
widgetData: [{ type: Input }],
|
|
147
|
-
styleData: [{ type: Input }],
|
|
148
|
-
title: [{ type: Input }],
|
|
149
|
-
type: [{ type: Input }],
|
|
150
|
-
id: [{ type: HostBinding, args: ['id',] }]
|
|
151
|
-
};
|
|
152
|
-
if (false) {
|
|
153
|
-
/** @type {?} */
|
|
154
|
-
SlidersLibComponent.prototype.widgetData;
|
|
155
|
-
/** @type {?} */
|
|
156
|
-
SlidersLibComponent.prototype.styleData;
|
|
157
|
-
/** @type {?} */
|
|
158
|
-
SlidersLibComponent.prototype.title;
|
|
159
|
-
/** @type {?} */
|
|
160
|
-
SlidersLibComponent.prototype.type;
|
|
161
|
-
/** @type {?} */
|
|
162
|
-
SlidersLibComponent.prototype.id;
|
|
163
|
-
/**
|
|
164
|
-
* @type {?}
|
|
165
|
-
* @private
|
|
166
|
-
*/
|
|
167
|
-
SlidersLibComponent.prototype.defaultMenuSubscribe;
|
|
168
|
-
/** @type {?} */
|
|
169
|
-
SlidersLibComponent.prototype.isLtMedium$;
|
|
170
|
-
/** @type {?} */
|
|
171
|
-
SlidersLibComponent.prototype.currentIndex;
|
|
172
|
-
/** @type {?} */
|
|
173
|
-
SlidersLibComponent.prototype.slideInterval;
|
|
174
|
-
/** @type {?} */
|
|
175
|
-
SlidersLibComponent.prototype.isMobile;
|
|
176
|
-
/**
|
|
177
|
-
* @type {?}
|
|
178
|
-
* @private
|
|
179
|
-
*/
|
|
180
|
-
SlidersLibComponent.prototype.events;
|
|
181
|
-
/**
|
|
182
|
-
* @type {?}
|
|
183
|
-
* @private
|
|
184
|
-
*/
|
|
185
|
-
SlidersLibComponent.prototype.valueSvc;
|
|
186
|
-
}
|
|
187
|
-
//# 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, HostBinding, Input } from '@angular/core';
|
|
6
|
+
import { WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
|
|
7
|
+
import { interval } from 'rxjs';
|
|
8
|
+
import { EventService, WsEvents, ValueService } from '@sunbird-cb/utils-v2';
|
|
9
|
+
export class SlidersLibComponent extends WidgetBaseComponent {
|
|
10
|
+
/**
|
|
11
|
+
* @param {?} events
|
|
12
|
+
* @param {?} valueSvc
|
|
13
|
+
*/
|
|
14
|
+
constructor(events, valueSvc) {
|
|
15
|
+
super();
|
|
16
|
+
this.events = events;
|
|
17
|
+
this.valueSvc = valueSvc;
|
|
18
|
+
this.title = '';
|
|
19
|
+
this.id = `banner_${Math.random()}`;
|
|
20
|
+
this.defaultMenuSubscribe = null;
|
|
21
|
+
this.isLtMedium$ = this.valueSvc.isLtMedium$;
|
|
22
|
+
this.currentIndex = 0;
|
|
23
|
+
this.slideInterval = null;
|
|
24
|
+
this.isMobile = false;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @return {?}
|
|
28
|
+
*/
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
this.reInitiateSlideInterval();
|
|
31
|
+
this.defaultMenuSubscribe = this.isLtMedium$.subscribe((/**
|
|
32
|
+
* @param {?} isLtMedium
|
|
33
|
+
* @return {?}
|
|
34
|
+
*/
|
|
35
|
+
(isLtMedium) => {
|
|
36
|
+
this.isMobile = isLtMedium;
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @return {?}
|
|
41
|
+
*/
|
|
42
|
+
reInitiateSlideInterval() {
|
|
43
|
+
if (this.widgetData && this.widgetData.length > 1) {
|
|
44
|
+
try {
|
|
45
|
+
if (this.slideInterval) {
|
|
46
|
+
this.slideInterval.unsubscribe();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
catch (e) {
|
|
50
|
+
}
|
|
51
|
+
finally {
|
|
52
|
+
this.slideInterval = interval(8000).subscribe((/**
|
|
53
|
+
* @return {?}
|
|
54
|
+
*/
|
|
55
|
+
() => {
|
|
56
|
+
if (this.currentIndex === this.widgetData.length - 1) {
|
|
57
|
+
this.currentIndex = 0;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
this.currentIndex += 1;
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @param {?} index
|
|
68
|
+
* @return {?}
|
|
69
|
+
*/
|
|
70
|
+
slideTo(index) {
|
|
71
|
+
if (index >= 0 && index < this.widgetData.length) {
|
|
72
|
+
this.currentIndex = index;
|
|
73
|
+
}
|
|
74
|
+
else if (index === this.widgetData.length) {
|
|
75
|
+
this.currentIndex = 0;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.currentIndex = this.widgetData.length + index;
|
|
79
|
+
}
|
|
80
|
+
this.reInitiateSlideInterval();
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @return {?}
|
|
84
|
+
*/
|
|
85
|
+
get isOpenInNewTab() {
|
|
86
|
+
/** @type {?} */
|
|
87
|
+
const currentData = this.widgetData[this.currentIndex];
|
|
88
|
+
if (currentData.redirectUrl && currentData.redirectUrl.includes('mailto') || this.widgetData[this.currentIndex].openInNewTab) {
|
|
89
|
+
return true;
|
|
90
|
+
}
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @return {?}
|
|
95
|
+
*/
|
|
96
|
+
openInNewTab() {
|
|
97
|
+
/** @type {?} */
|
|
98
|
+
const currentData = this.widgetData[this.currentIndex];
|
|
99
|
+
if (currentData.redirectUrl && currentData.redirectUrl.includes('mailto') || this.widgetData[this.currentIndex].openInNewTab) {
|
|
100
|
+
window.open(currentData.redirectUrl);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @param {?} bannerUrl
|
|
105
|
+
* @return {?}
|
|
106
|
+
*/
|
|
107
|
+
raiseTelemetry(bannerUrl) {
|
|
108
|
+
this.openInNewTab();
|
|
109
|
+
/** @type {?} */
|
|
110
|
+
const path = window.location.pathname.replace('/', '');
|
|
111
|
+
/** @type {?} */
|
|
112
|
+
const url = path + window.location.search;
|
|
113
|
+
this.events.raiseInteractTelemetry({
|
|
114
|
+
type: 'click',
|
|
115
|
+
subType: 'banner',
|
|
116
|
+
}, {
|
|
117
|
+
pageUrl: url,
|
|
118
|
+
bannerRedirectUrl: bannerUrl,
|
|
119
|
+
}, {
|
|
120
|
+
pageIdExt: 'banner',
|
|
121
|
+
module: WsEvents.EnumTelemetrymodules.CONTENT,
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* @return {?}
|
|
126
|
+
*/
|
|
127
|
+
ngOnDestroy() {
|
|
128
|
+
if (this.defaultMenuSubscribe) {
|
|
129
|
+
this.defaultMenuSubscribe.unsubscribe();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
SlidersLibComponent.decorators = [
|
|
134
|
+
{ type: Component, args: [{
|
|
135
|
+
selector: 'sb-uic-sliders',
|
|
136
|
+
template: "<div class=\"banner-container {{isMobile? styleData?.responsive?.bannerMetaClass : styleData?.bannerMetaClass}} {{type === 'atictitop' ? 'atictitopbanner' : ''}}\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\n *ngIf=\"widgetData?.length > 1\" [style.height]=\"isMobile? styleData?.responsive?.customHeight : styleData?.customHeight\"\n [ngStyle]=\"{'border-radius': styleData?.borderRadius || '12px'}\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n class=\"banner-overlay {{widgetData[currentIndex] && widgetData[currentIndex].redirectUrl ? '' : 'pointer-events-none'}}\"\n [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\"\n [ngClass]=\"{'cursor-auto': !widgetData[currentIndex].redirectUrl}\">\n <div class=\"banner WidgetInstanceId\" \n *ngFor=\"let slide of widgetData; let i = index\" \n [hidden]=\"i !== currentIndex\" \n [ngStyle]=\"{\n 'border-width': isMobile? styleData?.responsive?.imageBorderWidth : styleData?.imageBorderWidth,\n 'border-color': isMobile? styleData?.responsive?.imageBorderColor : styleData?.imageBorderColor,\n 'border-style': isMobile? styleData?.responsive?.imageBorderStyle: styleData?.imageBorderStyle}\">\n <img i18n-alt alt=\"Page Banner\" [src]=\"slide.banners\" wsUtilsImageResponsive class=\"{{type === 'atictitopbanner' ? 'banner-image' : 'bannerimage-mdo'}}\" />\n </div>\n </a>\n <ng-container *ngIf=\"isMobile && styleData?.responsive?.dots !== 'hidden' || !isMobile && styleData?.dots !== 'hidden'\">\n <div class=\"banner-meta {{isMobile? styleData?.responsive?.bannerMetaAlign : styleData?.bannerMetaAlign}}\">\n <a [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\"\n class=\"banner-title text-truncate {{widgetData[currentIndex] && widgetData[currentIndex].redirectUrl ? '' : 'pointer-events-none'}}\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n </div>\n </div>\n </ng-container>\n <div class=\"navigation {{isMobile? styleData?.responsive?.arrowsPlacement : styleData?.arrowsPlacement}}\" \n *ngIf=\"isMobile && styleData?.responsive?.navigationArrows !== 'hidden' || !isMobile && styleData?.navigationArrows !== 'hidden'\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"prev\" (click)=\"slideTo(currentIndex - 1)\">❮</a>\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"next\" (click)=\"slideTo(currentIndex + 1)\">❯</a>\n </div>\n</div>\n<div class=\"banner-container-solo {{type === 'atictitop' ? 'atictitopbanner' : ''}}\" [style.height]=\"isMobile? styleData?.responsive?.customHeight : styleData?.customHeight\" *ngIf=\"widgetData?.length == 1\">\n <img i18n-alt alt=\"Page Banner\" width=\"100%\" height=\"100%\" [src]=\"widgetData[0].banners\" wsUtilsImageResponsive class=\"banner-image-solo\" />\n</div>\n<!-- <div class=\"banner-container\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\n *ngIf=\"widgetData?.length\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n [queryParams]=\"widgetData[currentIndex].queryParams || {}\"\n [routerLink]=\"!isOpenInNewTab ? widgetData[currentIndex].redirectUrl : './'\" class=\"banner-overlay\"\n [ngClass]=\"{ 'cursor-auto': !widgetData[currentIndex].redirectUrl }\"></a>\n <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\">\n <img i18n-alt alt=\"Page Banner\" [src]=\"slide.banners\" wsUtilsImageResponsive class=\"banner-image\" />\n </div>\n <div class=\"banner-meta\">\n <a [routerLink]=\"!isOpenInNewTab ? widgetData[currentIndex].redirectUrl : './'\" class=\"banner-title text-truncate\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n </div>\n </div>\n <button *ngIf=\"widgetData?.length > 1\" class=\"prev\" aria-label=\"Previous slide\" (click)=\"slideTo(currentIndex - 1)\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\">❮</a>\n </button>\n <button *ngIf=\"widgetData?.length > 1\" class=\"next\" (click)=\"slideTo(currentIndex + 1)\" aria-label=\"Next slide\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"next\">❯</a>\n </button>\n\n</div> -->\n<ng-container *ngIf=\"!widgetData?.length\">\n <div class=\"slider default-slider h-full\">\n <div class=\"relative h-full\">\n <img class=\"h-full\" src=\"assets/icons/home/default-slider-image.svg\" alt=\"\">\n <div class=\"default-title rounded-full\">\n <p class=\"mat-h1\">{{title}}</p>\n </div>\n </div>\n </div>\n</ng-container>\n",
|
|
137
|
+
styles: [".banner-container{min-height:243px;position:relative;margin:auto;padding-bottom:40px}.banner-container.inline-meta{padding-bottom:0!important}.banner-container.flat .banner .banner-image{border-radius:0!important}@media screen and (min-width:768px) and (max-width:1024px){.banner-container{min-height:280px!important}.navigation.middle-inline .prev{left:15%!important}}@media screen and (min-width:768px) and (max-width:1180px){.atictitopbanner{height:280px!important}}@media screen and (min-width:879px){.atictitopbanner{height:380px!important}}.banner-overlay{z-index:1;top:0;left:0;width:100%;height:100%;background:linear-gradient(to left,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 15%,rgba(0,0,0,0) 85%,rgba(0,0,0,.25) 100%);border-radius:inherit}.banner{-webkit-animation-name:fade;-webkit-animation-duration:1.5s;animation-name:fade;animation-duration:1.5s;border-radius:inherit;height:inherit}.banner .banner-image{width:100%;min-height:380px;display:block;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.banner .bannerimage-mdo{width:100%;display:block;height:inherit;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.banner-meta{text-align:center;z-index:2;padding:8px 12px;position:absolute;bottom:0;left:50%;border-radius:12px;transform:translateX(-50%);box-sizing:border-box}.banner-meta.left{left:0;transform:translateX(0)}.banner-meta.right{left:100%;transform:translateX(-100%)}.banner-meta .banner-title{color:#f2f2f2;margin-bottom:8px;font-size:1.1rem}@media only screen and (max-width:599px){.banner-meta .banner-title{display:none}}.banner-meta .dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.banner-meta .dots-container .dot{cursor:pointer;height:6px;width:6px;margin:0 4px;background-color:rgba(0,0,0,.4);border-radius:50%;display:inline-block;transition:background-color .5s!important}@media only screen and (max-width:599px){.banner-meta .dots-container .dot{height:8px;width:8px;margin:0 4px}}.banner-meta .dots-container .dot.active{border-radius:4px;background-color:#f3962f;width:16px}@keyframes fade{from{opacity:.25}to{opacity:1}}.next,.prev{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-weight:700;background-color:#1b2133!important;border-radius:50%;z-index:999;height:32px!important;width:32px!important;display:flex;align-items:center;margin-top:-16px;justify-content:center}.prev{left:0;margin-left:-16px}.next{right:0;margin-right:-16px}.navigation.bottom-right .prev{left:unset;right:45px;bottom:-15px;top:unset}.navigation.bottom-right .next{left:unset;right:15px;bottom:-15px;top:unset}.navigation.bottom-center .prev{left:calc(50% - 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-center .next{left:calc(50% + 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-left .prev{left:15px;right:unset;bottom:-15px;top:unset}.navigation.bottom-left .next{left:60px;right:unset;bottom:-15px;top:unset}.navigation.middle-inline .prev{left:30px}.navigation.middle-inline .next{right:30px}.banner-container-solo{overflow:hidden;margin:auto;border-radius:12px}.banner-image-solo{width:100%;display:block;border-radius:12px;background:#f5f6fa;-o-object-fit:cover;object-fit:cover;height:inherit}.default-slider{height:100%;background:#d4e2fb}.default-slider .default-title{text-align:center;position:absolute;top:50%;left:0;right:0;margin:auto;transform:translateY(-50%);z-index:999;background:#e6efff;padding:32px;width:500px}.default-slider .default-title p{word-break:break-word;margin:0!important;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;text-transform:uppercase}@media screen and (max-width:768px){.default-slider{height:384px;width:100%}.default-slider .default-title{width:unset!important}}@media screen and (min-width:769px){.navigation.middle-inline .prev{left:18%!important}.navigation.middle-inline .next{right:6%!important}}"]
|
|
138
|
+
}] }
|
|
139
|
+
];
|
|
140
|
+
/** @nocollapse */
|
|
141
|
+
SlidersLibComponent.ctorParameters = () => [
|
|
142
|
+
{ type: EventService },
|
|
143
|
+
{ type: ValueService }
|
|
144
|
+
];
|
|
145
|
+
SlidersLibComponent.propDecorators = {
|
|
146
|
+
widgetData: [{ type: Input }],
|
|
147
|
+
styleData: [{ type: Input }],
|
|
148
|
+
title: [{ type: Input }],
|
|
149
|
+
type: [{ type: Input }],
|
|
150
|
+
id: [{ type: HostBinding, args: ['id',] }]
|
|
151
|
+
};
|
|
152
|
+
if (false) {
|
|
153
|
+
/** @type {?} */
|
|
154
|
+
SlidersLibComponent.prototype.widgetData;
|
|
155
|
+
/** @type {?} */
|
|
156
|
+
SlidersLibComponent.prototype.styleData;
|
|
157
|
+
/** @type {?} */
|
|
158
|
+
SlidersLibComponent.prototype.title;
|
|
159
|
+
/** @type {?} */
|
|
160
|
+
SlidersLibComponent.prototype.type;
|
|
161
|
+
/** @type {?} */
|
|
162
|
+
SlidersLibComponent.prototype.id;
|
|
163
|
+
/**
|
|
164
|
+
* @type {?}
|
|
165
|
+
* @private
|
|
166
|
+
*/
|
|
167
|
+
SlidersLibComponent.prototype.defaultMenuSubscribe;
|
|
168
|
+
/** @type {?} */
|
|
169
|
+
SlidersLibComponent.prototype.isLtMedium$;
|
|
170
|
+
/** @type {?} */
|
|
171
|
+
SlidersLibComponent.prototype.currentIndex;
|
|
172
|
+
/** @type {?} */
|
|
173
|
+
SlidersLibComponent.prototype.slideInterval;
|
|
174
|
+
/** @type {?} */
|
|
175
|
+
SlidersLibComponent.prototype.isMobile;
|
|
176
|
+
/**
|
|
177
|
+
* @type {?}
|
|
178
|
+
* @private
|
|
179
|
+
*/
|
|
180
|
+
SlidersLibComponent.prototype.events;
|
|
181
|
+
/**
|
|
182
|
+
* @type {?}
|
|
183
|
+
* @private
|
|
184
|
+
*/
|
|
185
|
+
Sl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4gICAgfSlcbiAgfVxuXG4gIG5nT25EZXN0cm95KCkge1xuICAgIGlmICh0aGlzLmRlZmF1bHRNZW51U3Vic2NyaWJlKSB7XG4gICAgICB0aGlzLmRlZmF1bHRNZW51U3Vic2NyaWJlLnVuc3Vic2NyaWJlKClcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function ICarousel() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?|undefined} */
|
|
11
|
-
ICarousel.prototype.title;
|
|
12
|
-
/** @type {?|undefined} */
|
|
13
|
-
ICarousel.prototype.redirectUrl;
|
|
14
|
-
/** @type {?|undefined} */
|
|
15
|
-
ICarousel.prototype.openInNewTab;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
ICarousel.prototype.banners;
|
|
18
|
-
/** @type {?|undefined} */
|
|
19
|
-
ICarousel.prototype.mailTo;
|
|
20
|
-
/** @type {?|undefined} */
|
|
21
|
-
ICarousel.prototype.queryParams;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @record
|
|
25
|
-
*/
|
|
26
|
-
export function ICarouselStyle() { }
|
|
27
|
-
if (false) {
|
|
28
|
-
/** @type {?|undefined} */
|
|
29
|
-
ICarouselStyle.prototype.bannerMetaClass;
|
|
30
|
-
/** @type {?|undefined} */
|
|
31
|
-
ICarouselStyle.prototype.bannerMetaAlign;
|
|
32
|
-
/** @type {?|undefined} */
|
|
33
|
-
ICarouselStyle.prototype.navigationArrows;
|
|
34
|
-
/** @type {?|undefined} */
|
|
35
|
-
ICarouselStyle.prototype.dots;
|
|
36
|
-
/** @type {?|undefined} */
|
|
37
|
-
ICarouselStyle.prototype.borderRadius;
|
|
38
|
-
/** @type {?|undefined} */
|
|
39
|
-
ICarouselStyle.prototype.customHeight;
|
|
40
|
-
/** @type {?|undefined} */
|
|
41
|
-
ICarouselStyle.prototype.arrowsPlacement;
|
|
42
|
-
/** @type {?} */
|
|
43
|
-
ICarouselStyle.prototype.imageBorderWidth;
|
|
44
|
-
/** @type {?} */
|
|
45
|
-
ICarouselStyle.prototype.imageBorderColor;
|
|
46
|
-
/** @type {?} */
|
|
47
|
-
ICarouselStyle.prototype.imageBorderStyle;
|
|
48
|
-
/** @type {?} */
|
|
49
|
-
ICarouselStyle.prototype.responsive;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @record
|
|
53
|
-
*/
|
|
54
|
-
function IBannerUnit() { }
|
|
55
|
-
if (false) {
|
|
56
|
-
/** @type {?} */
|
|
57
|
-
IBannerUnit.prototype.xs;
|
|
58
|
-
/** @type {?} */
|
|
59
|
-
IBannerUnit.prototype.s;
|
|
60
|
-
/** @type {?} */
|
|
61
|
-
IBannerUnit.prototype.m;
|
|
62
|
-
/** @type {?} */
|
|
63
|
-
IBannerUnit.prototype.l;
|
|
64
|
-
/** @type {?} */
|
|
65
|
-
IBannerUnit.prototype.xl;
|
|
66
|
-
}
|
|
67
|
-
//# 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
|
+
/**
|
|
6
|
+
* @record
|
|
7
|
+
*/
|
|
8
|
+
export function ICarousel() { }
|
|
9
|
+
if (false) {
|
|
10
|
+
/** @type {?|undefined} */
|
|
11
|
+
ICarousel.prototype.title;
|
|
12
|
+
/** @type {?|undefined} */
|
|
13
|
+
ICarousel.prototype.redirectUrl;
|
|
14
|
+
/** @type {?|undefined} */
|
|
15
|
+
ICarousel.prototype.openInNewTab;
|
|
16
|
+
/** @type {?} */
|
|
17
|
+
ICarousel.prototype.banners;
|
|
18
|
+
/** @type {?|undefined} */
|
|
19
|
+
ICarousel.prototype.mailTo;
|
|
20
|
+
/** @type {?|undefined} */
|
|
21
|
+
ICarousel.prototype.queryParams;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @record
|
|
25
|
+
*/
|
|
26
|
+
export function ICarouselStyle() { }
|
|
27
|
+
if (false) {
|
|
28
|
+
/** @type {?|undefined} */
|
|
29
|
+
ICarouselStyle.prototype.bannerMetaClass;
|
|
30
|
+
/** @type {?|undefined} */
|
|
31
|
+
ICarouselStyle.prototype.bannerMetaAlign;
|
|
32
|
+
/** @type {?|undefined} */
|
|
33
|
+
ICarouselStyle.prototype.navigationArrows;
|
|
34
|
+
/** @type {?|undefined} */
|
|
35
|
+
ICarouselStyle.prototype.dots;
|
|
36
|
+
/** @type {?|undefined} */
|
|
37
|
+
ICarouselStyle.prototype.borderRadius;
|
|
38
|
+
/** @type {?|undefined} */
|
|
39
|
+
ICarouselStyle.prototype.customHeight;
|
|
40
|
+
/** @type {?|undefined} */
|
|
41
|
+
ICarouselStyle.prototype.arrowsPlacement;
|
|
42
|
+
/** @type {?} */
|
|
43
|
+
ICarouselStyle.prototype.imageBorderWidth;
|
|
44
|
+
/** @type {?} */
|
|
45
|
+
ICarouselStyle.prototype.imageBorderColor;
|
|
46
|
+
/** @type {?} */
|
|
47
|
+
ICarouselStyle.prototype.imageBorderStyle;
|
|
48
|
+
/** @type {?} */
|
|
49
|
+
ICarouselStyle.prototype.responsive;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @record
|
|
53
|
+
*/
|
|
54
|
+
function IBannerUnit() { }
|
|
55
|
+
if (false) {
|
|
56
|
+
/** @type {?} */
|
|
57
|
+
IBannerUnit.prototype.xs;
|
|
58
|
+
/** @type {?} */
|
|
59
|
+
IBannerUnit.prototype.s;
|
|
60
|
+
/** @type {?} */
|
|
61
|
+
IBannerUnit.prototype.m;
|
|
62
|
+
/** @type {?} */
|
|
63
|
+
IBannerUnit.prototype.l;
|
|
64
|
+
/** @type {?} */
|
|
65
|
+
IBannerUnit.prototype.xl;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVycy5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzdW5iaXJkLWNiL2NvbnN1bXB0aW9uLyIsInNvdXJjZXMiOlsibGliL19jb21tb24vc2xpZGVycy9zbGlkZXJzLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSwrQkFPQzs7O0lBTkMsMEJBQWU7O0lBQ2YsZ0NBQXFCOztJQUNyQixpQ0FBc0I7O0lBQ3RCLDRCQUFxQjs7SUFDckIsMkJBQWdCOztJQUNoQixnQ0FBa0I7Ozs7O0FBSXBCLG9DQXVCQzs7O0lBdEJDLHlDQUFnQzs7SUFDaEMseUNBQW1DOztJQUNuQywwQ0FBd0M7O0lBQ3hDLDhCQUE0Qjs7SUFDNUIsc0NBQXNCOztJQUN0QixzQ0FBc0I7O0lBQ3RCLHlDQUFxRjs7SUFDckYsMENBQXdCOztJQUN4QiwwQ0FBd0I7O0lBQ3hCLDBDQUF3Qjs7SUFDeEIsb0NBV0M7Ozs7O0FBR0gsMEJBTUM7OztJQUxDLHlCQUFXOztJQUNYLHdCQUFVOztJQUNWLHdCQUFVOztJQUNWLHdCQUFVOztJQUNWLHlCQUFVIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJQ2Fyb3VzZWwge1xuICB0aXRsZT86IHN0cmluZyxcbiAgcmVkaXJlY3RVcmw/OiBzdHJpbmcsXG4gIG9wZW5Jbk5ld1RhYj86IHN0cmluZyxcbiAgYmFubmVyczogSUJhbm5lclVuaXQsXG4gIG1haWxUbz86IHN0cmluZyxcbiAgcXVlc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