@sunbird-cb/consumption 0.0.64 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/bundles/sunbird-cb-consumption.umd.js +17470 -17348
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/announcements/announcements.component.js +150 -150
- package/esm2015/lib/_common/announcements/announcements.module.js +23 -23
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +158 -158
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +29 -29
- package/esm2015/lib/_common/calender/calender-day/calender-day.component.js +90 -90
- package/esm2015/lib/_common/calender/calender.component.js +299 -299
- package/esm2015/lib/_common/calender/calender.module.js +31 -31
- package/esm2015/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +170 -170
- package/esm2015/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +178 -178
- package/esm2015/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +166 -166
- package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +202 -202
- package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +154 -154
- package/esm2015/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +154 -154
- package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +167 -167
- package/esm2015/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +170 -170
- package/esm2015/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +261 -261
- package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +34 -34
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +141 -141
- package/esm2015/lib/_common/cards/card-wide/card-wide.component.js +166 -166
- package/esm2015/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +171 -171
- package/esm2015/lib/_common/cards/cards.component.js +167 -167
- package/esm2015/lib/_common/cards/cards.module.js +100 -100
- package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +81 -81
- package/esm2015/lib/_common/cbp-plan/cbp-plan.component.js +166 -166
- package/esm2015/lib/_common/cbp-plan/cbp-plan.module.js +27 -27
- package/esm2015/lib/_common/common-strip/common-strip.component.js +646 -646
- package/esm2015/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm2015/lib/_common/common-strip/common-strip.module.js +62 -62
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +384 -384
- package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +52 -52
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +332 -332
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +52 -52
- package/esm2015/lib/_common/content-progress/content-progress.component.js +89 -89
- package/esm2015/lib/_common/content-progress/content-progress.module.js +22 -22
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2559 -2443
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +69 -69
- package/esm2015/lib/_common/data-points/data-points.component.js +148 -148
- package/esm2015/lib/_common/data-points/data-points.module.js +23 -23
- package/esm2015/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +225 -225
- package/esm2015/lib/_common/dialog-components/dialog-components.module.js +43 -43
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +60 -60
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +18 -18
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +362 -362
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +255 -255
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel.module.js +52 -52
- package/esm2015/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +269 -269
- package/esm2015/lib/_common/microsites/providers/providers.module.js +51 -51
- package/esm2015/lib/_common/pills/pills.component.js +61 -61
- package/esm2015/lib/_common/pills/pills.module.js +24 -24
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +40 -40
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +28 -28
- package/esm2015/lib/_common/sliders/sliders.component.js +187 -187
- package/esm2015/lib/_common/sliders/sliders.model.js +67 -67
- package/esm2015/lib/_common/sliders/sliders.module.js +50 -50
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +206 -206
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.module.js +50 -50
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1613 -1613
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +69 -69
- package/esm2015/lib/_common/top-learners/top-learners.component.js +155 -155
- package/esm2015/lib/_common/top-learners/top-learners.module.js +23 -23
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +145 -145
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.module.js +38 -38
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.service.js +45 -45
- package/esm2015/lib/_constants/misc.constants.js +4 -4
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +51 -51
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +18 -18
- package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +126 -126
- package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +18 -18
- package/esm2015/lib/_directives/navigation/navigation.directive.js +53 -53
- package/esm2015/lib/_directives/navigation/navigation.module.js +18 -18
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.directive.js +42 -42
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.module.js +19 -19
- package/esm2015/lib/_models/card-content-v2.model.js +78 -78
- package/esm2015/lib/_models/card-content.model.js +69 -69
- package/esm2015/lib/_models/card-users.model.js +103 -103
- package/esm2015/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm2015/lib/_models/event.js +45 -45
- package/esm2015/lib/_models/profile-v3.models.js +196 -196
- package/esm2015/lib/_models/rating.model.js +44 -44
- package/esm2015/lib/_models/widget-content.model.js +876 -876
- package/esm2015/lib/_models/widget-search.model.js +471 -471
- package/esm2015/lib/_models/widget-user.model.js +17 -17
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.js +28 -28
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +119 -119
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +38 -38
- package/esm2015/lib/_services/certificate.service.js +63 -63
- package/esm2015/lib/_services/common-methods.service.js +84 -84
- package/esm2015/lib/_services/configurations.service.js +243 -243
- package/esm2015/lib/_services/insite-data.service.js +68 -68
- package/esm2015/lib/_services/multilingual-translations.service.js +231 -231
- package/esm2015/lib/_services/rating.service.js +171 -171
- package/esm2015/lib/_services/viewer-route-util.js +125 -125
- package/esm2015/lib/_services/widget-content.service.js +852 -852
- package/esm2015/lib/_services/widget-user.service.js +475 -475
- package/esm2015/lib/consumption.component.js +26 -26
- package/esm2015/lib/consumption.config.js +12 -12
- package/esm2015/lib/consumption.module.js +36 -36
- package/esm2015/lib/consumption.service.js +18 -18
- package/esm2015/lib/registration-lib.config.js +21 -21
- package/esm2015/public-api.js +31 -31
- package/esm2015/sunbird-cb-consumption.js +77 -77
- package/esm5/lib/_common/announcements/announcements.component.js +166 -166
- package/esm5/lib/_common/announcements/announcements.module.js +27 -27
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +175 -175
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +33 -33
- package/esm5/lib/_common/calender/calender-day/calender-day.component.js +101 -101
- package/esm5/lib/_common/calender/calender.component.js +334 -334
- package/esm5/lib/_common/calender/calender.module.js +35 -35
- package/esm5/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +186 -186
- package/esm5/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +187 -187
- package/esm5/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +176 -176
- package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +216 -216
- package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +164 -164
- package/esm5/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +164 -164
- package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +173 -173
- package/esm5/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +176 -176
- package/esm5/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +278 -278
- package/esm5/lib/_common/cards/card-resource/card-resource.component.js +41 -41
- package/esm5/lib/_common/cards/card-user/card-user.component.js +147 -147
- package/esm5/lib/_common/cards/card-wide/card-wide.component.js +172 -172
- package/esm5/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +181 -181
- package/esm5/lib/_common/cards/cards.component.js +199 -199
- package/esm5/lib/_common/cards/cards.module.js +104 -104
- package/esm5/lib/_common/cards/provider-card/provider-card.component.js +90 -90
- package/esm5/lib/_common/cbp-plan/cbp-plan.component.js +185 -185
- package/esm5/lib/_common/cbp-plan/cbp-plan.module.js +31 -31
- package/esm5/lib/_common/common-strip/common-strip.component.js +760 -760
- package/esm5/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm5/lib/_common/common-strip/common-strip.module.js +66 -66
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +454 -454
- package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +31 -31
- package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +59 -59
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +383 -383
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +31 -31
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +59 -59
- package/esm5/lib/_common/content-progress/content-progress.component.js +94 -94
- package/esm5/lib/_common/content-progress/content-progress.module.js +26 -26
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2970 -2848
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +73 -73
- package/esm5/lib/_common/data-points/data-points.component.js +163 -163
- package/esm5/lib/_common/data-points/data-points.module.js +27 -27
- package/esm5/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +248 -248
- package/esm5/lib/_common/dialog-components/dialog-components.module.js +47 -47
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +67 -67
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +22 -22
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +391 -391
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +27 -27
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +29 -29
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +292 -292
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel.module.js +56 -56
- package/esm5/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +312 -312
- package/esm5/lib/_common/microsites/providers/providers.module.js +55 -55
- package/esm5/lib/_common/pills/pills.component.js +70 -70
- package/esm5/lib/_common/pills/pills.module.js +28 -28
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +45 -45
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +32 -32
- package/esm5/lib/_common/sliders/sliders.component.js +214 -214
- package/esm5/lib/_common/sliders/sliders.model.js +67 -67
- package/esm5/lib/_common/sliders/sliders.module.js +67 -67
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +233 -233
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.module.js +67 -67
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1892 -1892
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +73 -73
- package/esm5/lib/_common/top-learners/top-learners.component.js +172 -172
- package/esm5/lib/_common/top-learners/top-learners.module.js +27 -27
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +168 -168
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.module.js +42 -42
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.service.js +48 -48
- package/esm5/lib/_constants/misc.constants.js +4 -4
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +59 -59
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +22 -22
- package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +136 -136
- package/esm5/lib/_directives/image-responsive/image-responsive.module.js +22 -22
- package/esm5/lib/_directives/navigation/navigation.directive.js +62 -62
- package/esm5/lib/_directives/navigation/navigation.module.js +22 -22
- package/esm5/lib/_directives/scrollable-item/scrollable-item.directive.js +45 -45
- package/esm5/lib/_directives/scrollable-item/scrollable-item.module.js +23 -23
- package/esm5/lib/_models/card-content-v2.model.js +78 -78
- package/esm5/lib/_models/card-content.model.js +69 -69
- package/esm5/lib/_models/card-users.model.js +103 -103
- package/esm5/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm5/lib/_models/event.js +45 -45
- package/esm5/lib/_models/profile-v3.models.js +196 -196
- package/esm5/lib/_models/rating.model.js +44 -44
- package/esm5/lib/_models/widget-content.model.js +876 -876
- package/esm5/lib/_models/widget-search.model.js +471 -471
- package/esm5/lib/_models/widget-user.model.js +17 -17
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.js +57 -57
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.module.js +23 -23
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +22 -22
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +142 -142
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +23 -23
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +41 -41
- package/esm5/lib/_services/certificate.service.js +70 -70
- package/esm5/lib/_services/common-methods.service.js +102 -102
- package/esm5/lib/_services/configurations.service.js +257 -257
- package/esm5/lib/_services/insite-data.service.js +82 -82
- package/esm5/lib/_services/multilingual-translations.service.js +259 -259
- package/esm5/lib/_services/rating.service.js +214 -214
- package/esm5/lib/_services/viewer-route-util.js +127 -127
- package/esm5/lib/_services/widget-content.service.js +1109 -1109
- package/esm5/lib/_services/widget-user.service.js +542 -542
- package/esm5/lib/consumption.component.js +28 -28
- package/esm5/lib/consumption.config.js +12 -12
- package/esm5/lib/consumption.module.js +40 -40
- package/esm5/lib/consumption.service.js +21 -21
- package/esm5/lib/registration-lib.config.js +21 -21
- package/esm5/public-api.js +31 -31
- package/esm5/sunbird-cb-consumption.js +77 -77
- package/fesm2015/sunbird-cb-consumption.js +15407 -15291
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +17476 -17354
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/announcements/announcements.component.d.ts +21 -21
- package/lib/_common/announcements/announcements.module.d.ts +2 -2
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.component.d.ts +20 -20
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.module.d.ts +2 -2
- package/lib/_common/calender/calender-day/calender-day.component.d.ts +18 -18
- package/lib/_common/calender/calender.component.d.ts +34 -34
- package/lib/_common/calender/calender.module.d.ts +2 -2
- package/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.d.ts +31 -31
- package/lib/_common/cards/card-karma-programs/card-karma-programs.component.d.ts +28 -28
- package/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.d.ts +26 -26
- package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +36 -36
- package/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.d.ts +27 -27
- package/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.d.ts +27 -27
- package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +33 -33
- package/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.d.ts +33 -33
- package/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.d.ts +41 -41
- package/lib/_common/cards/card-resource/card-resource.component.d.ts +8 -8
- package/lib/_common/cards/card-user/card-user.component.d.ts +24 -24
- package/lib/_common/cards/card-wide/card-wide.component.d.ts +30 -30
- package/lib/_common/cards/card-wide-v2/card-wide-v2.component.d.ts +34 -34
- package/lib/_common/cards/cards.component.d.ts +26 -26
- package/lib/_common/cards/cards.module.d.ts +2 -2
- package/lib/_common/cards/provider-card/provider-card.component.d.ts +14 -14
- package/lib/_common/cbp-plan/cbp-plan.component.d.ts +25 -25
- package/lib/_common/cbp-plan/cbp-plan.module.d.ts +2 -2
- package/lib/_common/common-strip/common-strip.component.d.ts +104 -104
- package/lib/_common/common-strip/common-strip.model.d.ts +141 -141
- package/lib/_common/common-strip/common-strip.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.component.d.ts +42 -42
- package/lib/_common/competency-passbook/competency-passbook.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.service.d.ts +8 -8
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.d.ts +43 -43
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.d.ts +2 -2
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.d.ts +8 -8
- package/lib/_common/content-progress/content-progress.component.d.ts +13 -13
- package/lib/_common/content-progress/content-progress.module.d.ts +2 -2
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +203 -201
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +149 -147
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +5 -5
- package/lib/_common/data-points/data-points.component.d.ts +17 -17
- package/lib/_common/data-points/data-points.module.d.ts +2 -2
- package/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.d.ts +22 -22
- package/lib/_common/dialog-components/dialog-components.module.d.ts +2 -2
- package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +12 -12
- package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +2 -2
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +33 -33
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
- package/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.d.ts +5 -5
- package/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.d.ts +39 -39
- package/lib/_common/microsites/mdo-channels/mdo-channel.module.d.ts +2 -2
- package/lib/_common/microsites/providers/providers-v2/providers-v2.component.d.ts +36 -36
- package/lib/_common/microsites/providers/providers.module.d.ts +2 -2
- package/lib/_common/pills/pills.component.d.ts +13 -13
- package/lib/_common/pills/pills.module.d.ts +2 -2
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +8 -8
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +2 -2
- package/lib/_common/sliders/sliders.component.d.ts +27 -27
- package/lib/_common/sliders/sliders.model.d.ts +40 -40
- package/lib/_common/sliders/sliders.module.d.ts +6 -6
- package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +29 -29
- package/lib/_common/sliders-ng-content/sliders-ng-content.model.d.ts +34 -34
- package/lib/_common/sliders-ng-content/sliders-ng-content.module.d.ts +6 -6
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.d.ts +161 -161
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts +149 -149
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.d.ts +5 -5
- package/lib/_common/top-learners/top-learners.component.d.ts +18 -18
- package/lib/_common/top-learners/top-learners.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.component.d.ts +22 -22
- package/lib/_common/user-content-rating/user-content-rating-lib.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.service.d.ts +7 -7
- package/lib/_constants/misc.constants.d.ts +2 -2
- package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
- package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
- package/lib/_directives/image-responsive/image-responsive.directive.d.ts +17 -17
- package/lib/_directives/image-responsive/image-responsive.module.d.ts +2 -2
- package/lib/_directives/navigation/navigation.directive.d.ts +9 -9
- package/lib/_directives/navigation/navigation.module.d.ts +2 -2
- package/lib/_directives/scrollable-item/scrollable-item.directive.d.ts +7 -7
- package/lib/_directives/scrollable-item/scrollable-item.module.d.ts +2 -2
- package/lib/_models/card-content-v2.model.d.ts +44 -44
- package/lib/_models/card-content.model.d.ts +41 -41
- package/lib/_models/card-users.model.d.ts +50 -50
- package/lib/_models/content-strip-multiple.model.d.ts +128 -128
- package/lib/_models/event.d.ts +18 -18
- package/lib/_models/profile-v3.models.d.ts +91 -91
- package/lib/_models/rating.model.d.ts +17 -17
- package/lib/_models/widget-content.model.d.ts +497 -497
- package/lib/_models/widget-search.model.d.ts +252 -252
- package/lib/_models/widget-user.model.d.ts +5 -5
- package/lib/_pipes/object-to-array/object-to-array.pipe.d.ts +4 -4
- package/lib/_pipes/object-to-array/object-to-array.pipe.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
- package/lib/_services/certificate.service.d.ts +8 -8
- package/lib/_services/common-methods.service.d.ts +39 -39
- package/lib/_services/configurations.service.d.ts +71 -71
- package/lib/_services/insite-data.service.d.ts +10 -10
- package/lib/_services/multilingual-translations.service.d.ts +20 -20
- package/lib/_services/rating.service.d.ts +15 -15
- package/lib/_services/viewer-route-util.d.ts +8 -8
- package/lib/_services/widget-content.service.d.ts +87 -87
- package/lib/_services/widget-user.service.d.ts +33 -33
- package/lib/consumption.component.d.ts +5 -5
- package/lib/consumption.config.d.ts +6 -6
- package/lib/consumption.module.d.ts +2 -2
- package/lib/consumption.service.d.ts +3 -3
- package/lib/registration-lib.config.d.ts +4 -4
- package/package.json +1 -1
- package/public-api.d.ts +23 -23
- package/sunbird-cb-consumption.d.ts +73 -73
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -1,145 +1,145 @@
|
|
|
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, QueryList, ViewChildren } from '@angular/core';
|
|
6
|
-
import { RatingService } from '../../_services/rating.service';
|
|
7
|
-
import { ScrollableItemDirective } from './../../_directives/scrollable-item/scrollable-item.directive';
|
|
8
|
-
import { UserContentRatingLibService } from './user-content-rating-lib.service';
|
|
9
|
-
export class UserContentRatingLibComponent {
|
|
10
|
-
/**
|
|
11
|
-
* @param {?} ratingService
|
|
12
|
-
* @param {?} userRatingSvc
|
|
13
|
-
*/
|
|
14
|
-
constructor(ratingService, userRatingSvc) {
|
|
15
|
-
this.ratingService = ratingService;
|
|
16
|
-
this.userRatingSvc = userRatingSvc;
|
|
17
|
-
this.currentIndex = 0;
|
|
18
|
-
this.providerId = '';
|
|
19
|
-
this.formData = '';
|
|
20
|
-
this.emptyResponse = new EventEmitter();
|
|
21
|
-
this.styleData = {};
|
|
22
|
-
this.contentdata = [];
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
ngOnInit() {
|
|
28
|
-
this.styleData = this.formData && this.formData.sliderData && this.formData.sliderData.styleData;
|
|
29
|
-
this.getTopReviews();
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @return {?}
|
|
33
|
-
*/
|
|
34
|
-
getTopReviews() {
|
|
35
|
-
this.contentdata = [];
|
|
36
|
-
this.userRatingSvc.fetchTopReviews(this.providerId).subscribe((/**
|
|
37
|
-
* @param {?} response
|
|
38
|
-
* @return {?}
|
|
39
|
-
*/
|
|
40
|
-
(response) => {
|
|
41
|
-
if (response && response.result && response.result.content.length) {
|
|
42
|
-
response.result.content.forEach((/**
|
|
43
|
-
* @param {?} contentEle
|
|
44
|
-
* @return {?}
|
|
45
|
-
*/
|
|
46
|
-
(contentEle) => {
|
|
47
|
-
/** @type {?} */
|
|
48
|
-
let localData = {};
|
|
49
|
-
localData['content'] = contentEle.contentInfo;
|
|
50
|
-
localData['rating'] = contentEle.rating;
|
|
51
|
-
localData['review'] = contentEle.review;
|
|
52
|
-
localData['userDetails'] = contentEle.userDetails;
|
|
53
|
-
localData['cardSubType'] = "card-wide-lib";
|
|
54
|
-
localData['cardCustomeClass'] = "";
|
|
55
|
-
this.contentdata.push(localData);
|
|
56
|
-
}));
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
this.emptyResponse.emit(true);
|
|
60
|
-
}
|
|
61
|
-
}), (/**
|
|
62
|
-
* @param {?} _error
|
|
63
|
-
* @return {?}
|
|
64
|
-
*/
|
|
65
|
-
(_error) => {
|
|
66
|
-
this.emptyResponse.emit(true);
|
|
67
|
-
}));
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* @param {?} ratingIndex
|
|
71
|
-
* @param {?} avg
|
|
72
|
-
* @return {?}
|
|
73
|
-
*/
|
|
74
|
-
getRatingIcon(ratingIndex, avg) {
|
|
75
|
-
return this.ratingService.getRatingIcon(ratingIndex, avg);
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @param {?} ratingIndex
|
|
79
|
-
* @param {?} avg
|
|
80
|
-
* @return {?}
|
|
81
|
-
*/
|
|
82
|
-
getRatingIconClass(ratingIndex, avg) {
|
|
83
|
-
return this.ratingService.getRatingIconClass(ratingIndex, avg);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @param {?} indexValue
|
|
87
|
-
* @return {?}
|
|
88
|
-
*/
|
|
89
|
-
getCurrentIndex(indexValue) {
|
|
90
|
-
this.currentIndex = indexValue;
|
|
91
|
-
this.handleScrollClick(indexValue);
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* @param {?} dataValue
|
|
95
|
-
* @return {?}
|
|
96
|
-
*/
|
|
97
|
-
handleScrollClick(dataValue) {
|
|
98
|
-
/** @type {?} */
|
|
99
|
-
const item = this.scrollableItems.find((/**
|
|
100
|
-
* @param {?} x
|
|
101
|
-
* @return {?}
|
|
102
|
-
*/
|
|
103
|
-
x => x.key === dataValue));
|
|
104
|
-
item.scrollIntoView("nearest");
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
UserContentRatingLibComponent.decorators = [
|
|
108
|
-
{ type: Component, args: [{
|
|
109
|
-
selector: 'sb-uic-user-content-rating',
|
|
110
|
-
template: "<ng-container *ngIf=\"contentdata.length\">\n <div class=\"user-rating-section\">\n <sb-uic-sliders-ng-content [title]=\"'providerName'\" [currentIndex]=\"currentIndex\" (currentIndexValue)=\"getCurrentIndex($event)\" [loadNgContentData]=\"true\" [widgetData]=\"contentdata\" [styleData]=\"styleData\">\n <div sliderbody>\n <div class=\"flex users-block\">\n <ng-container *ngFor=\"let userData of contentdata; let j = index\">\n <div class=\"avatar-block mr-1\" [sbUicScrollableItem]=\"j\"\n [ngClass]=\"{'user-active': j === currentIndex}\" (click)=\"handleScrollClick(currentIndex);currentIndex = j\">\n <sb-uic-avatar-photo [defaulfColor]=\"'#1B2133'\" [datalen]=\"1\" [randomColor]=\"true\" [name]=\"userData?.userDetails?.firstName\" [photoUrl]=\"userData?.userDetails?.profileImageUrl\" size=\"m-side-rating\">\n </sb-uic-avatar-photo>\n </div>\n </ng-container>\n </div>\n <div *ngFor=\"let ratingData of contentdata; let i = index\" [hidden]=\"i !== currentIndex\">\n <div class=\"user-ratting-wrapper flex flex-wrap justify-center\">\n <div class=\"w-full mr-0 md:mr-8 ml-0 md:ml-8 pb-5\">\n <sb-uic-cards [widgetData]=\"ratingData\"></sb-uic-cards>\n </div>\n <div class=\"title-border-v2\"></div>\n <p class=\"userName w-full mb-4 pt-2\">{{ratingData?.userDetails?.firstName}}</p>\n <div class=\"flex w-full flex-row justify-center gap-2 mb-4\">\n <mat-icon class=\"mat-icon material-icons rating-icon ws-mat-black16-text\"\n [ngClass]=\"{'ws-mat-orange-text': getRatingIconClass(rating, ratingData?.rating)}\"\n *ngFor=\"let rating of [1, 2, 3, 4, 5]\">\n {{ getRatingIcon(rating, ratingData?.rating) }}\n </mat-icon>\n </div>\n <p class=\"content-feedback w-full mb-4 px-4 md:px-8\">{{ratingData?.review}}</p>\n </div>\n </div>\n </div>\n </sb-uic-sliders-ng-content>\n </div>\n</ng-container>\n\n",
|
|
111
|
-
styles: [".user-ratting-wrapper .userName{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:center}.user-ratting-wrapper .content-feedback{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:center;color:rgba(0,0,0,.87)}.user-ratting-wrapper .content-info{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;color:#666}.avatar-block{border:8px solid transparent;position:relative;cursor:pointer;width:48px;height:48px}.user-active{content:\"\";border:5px solid #f3972e;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-bottom:0;width:48px;height:48px}.user-active::after{content:\" \";position:absolute;top:106%;left:50%;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top:18px solid #f3972e}.users-block{overflow-x:auto;padding:16px;padding-bottom:10px!important;width:100%}.title-border-v2{margin:10px;width:300px;height:3px;background:linear-gradient(90deg,rgba(255,255,255,0) 0,#ef951e 20%,#ef951e 80%,rgba(255,255,255,0) 100%)}.user-ratting-wrapper{border:1px solid #f3962f;border-radius:15px;padding:15px 0;background:linear-gradient(111.16deg,rgba(243,150,47,.24) 9.09%,rgba(255,255,255,0) 74.81%)}.user-rating-section ::ng-deep.prev{margin-left:-50px;top:59%}.user-rating-section ::ng-deep.next{margin-right:-50px;top:59%}.user-rating-section ::ng-deep.dots-container{display:none!important}@media screen and (min-width:1024px){.user-rating-section .users-block{justify-content:center}}@media screen and (max-width:768px){.user-rating-section ::ng-deep.next{margin-right:-16px;top:59%}.user-rating-section .users-block{width:90%}.user-rating-section ::ng-deep.widget-card-content-new{margin:0 15px}.user-rating-section .user-ratting-wrapper{padding:15px 0}.user-rating-section ::ng-deep.dots-container{display:block!important}.user-rating-section ::ng-deep.banner-meta{bottom:-12px}}"]
|
|
112
|
-
}] }
|
|
113
|
-
];
|
|
114
|
-
/** @nocollapse */
|
|
115
|
-
UserContentRatingLibComponent.ctorParameters = () => [
|
|
116
|
-
{ type: RatingService },
|
|
117
|
-
{ type: UserContentRatingLibService }
|
|
118
|
-
];
|
|
119
|
-
UserContentRatingLibComponent.propDecorators = {
|
|
120
|
-
providerId: [{ type: Input }],
|
|
121
|
-
formData: [{ type: Input }],
|
|
122
|
-
emptyResponse: [{ type: Output }],
|
|
123
|
-
scrollableItems: [{ type: ViewChildren, args: [ScrollableItemDirective,] }]
|
|
124
|
-
};
|
|
125
|
-
if (false) {
|
|
126
|
-
/** @type {?} */
|
|
127
|
-
UserContentRatingLibComponent.prototype.currentIndex;
|
|
128
|
-
/** @type {?} */
|
|
129
|
-
UserContentRatingLibComponent.prototype.providerId;
|
|
130
|
-
/** @type {?} */
|
|
131
|
-
UserContentRatingLibComponent.prototype.formData;
|
|
132
|
-
/** @type {?} */
|
|
133
|
-
UserContentRatingLibComponent.prototype.emptyResponse;
|
|
134
|
-
/** @type {?} */
|
|
135
|
-
UserContentRatingLibComponent.prototype.styleData;
|
|
136
|
-
/** @type {?} */
|
|
137
|
-
UserContentRatingLibComponent.prototype.contentdata;
|
|
138
|
-
/** @type {?} */
|
|
139
|
-
UserContentRatingLibComponent.prototype.scrollableItems;
|
|
140
|
-
/** @type {?} */
|
|
141
|
-
UserContentRatingLibComponent.prototype.ratingService;
|
|
142
|
-
/** @type {?} */
|
|
143
|
-
UserContentRatingLibComponent.prototype.userRatingSvc;
|
|
144
|
-
}
|
|
145
|
-
//# 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, QueryList, ViewChildren } from '@angular/core';
|
|
6
|
+
import { RatingService } from '../../_services/rating.service';
|
|
7
|
+
import { ScrollableItemDirective } from './../../_directives/scrollable-item/scrollable-item.directive';
|
|
8
|
+
import { UserContentRatingLibService } from './user-content-rating-lib.service';
|
|
9
|
+
export class UserContentRatingLibComponent {
|
|
10
|
+
/**
|
|
11
|
+
* @param {?} ratingService
|
|
12
|
+
* @param {?} userRatingSvc
|
|
13
|
+
*/
|
|
14
|
+
constructor(ratingService, userRatingSvc) {
|
|
15
|
+
this.ratingService = ratingService;
|
|
16
|
+
this.userRatingSvc = userRatingSvc;
|
|
17
|
+
this.currentIndex = 0;
|
|
18
|
+
this.providerId = '';
|
|
19
|
+
this.formData = '';
|
|
20
|
+
this.emptyResponse = new EventEmitter();
|
|
21
|
+
this.styleData = {};
|
|
22
|
+
this.contentdata = [];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @return {?}
|
|
26
|
+
*/
|
|
27
|
+
ngOnInit() {
|
|
28
|
+
this.styleData = this.formData && this.formData.sliderData && this.formData.sliderData.styleData;
|
|
29
|
+
this.getTopReviews();
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @return {?}
|
|
33
|
+
*/
|
|
34
|
+
getTopReviews() {
|
|
35
|
+
this.contentdata = [];
|
|
36
|
+
this.userRatingSvc.fetchTopReviews(this.providerId).subscribe((/**
|
|
37
|
+
* @param {?} response
|
|
38
|
+
* @return {?}
|
|
39
|
+
*/
|
|
40
|
+
(response) => {
|
|
41
|
+
if (response && response.result && response.result.content.length) {
|
|
42
|
+
response.result.content.forEach((/**
|
|
43
|
+
* @param {?} contentEle
|
|
44
|
+
* @return {?}
|
|
45
|
+
*/
|
|
46
|
+
(contentEle) => {
|
|
47
|
+
/** @type {?} */
|
|
48
|
+
let localData = {};
|
|
49
|
+
localData['content'] = contentEle.contentInfo;
|
|
50
|
+
localData['rating'] = contentEle.rating;
|
|
51
|
+
localData['review'] = contentEle.review;
|
|
52
|
+
localData['userDetails'] = contentEle.userDetails;
|
|
53
|
+
localData['cardSubType'] = "card-wide-lib";
|
|
54
|
+
localData['cardCustomeClass'] = "";
|
|
55
|
+
this.contentdata.push(localData);
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
this.emptyResponse.emit(true);
|
|
60
|
+
}
|
|
61
|
+
}), (/**
|
|
62
|
+
* @param {?} _error
|
|
63
|
+
* @return {?}
|
|
64
|
+
*/
|
|
65
|
+
(_error) => {
|
|
66
|
+
this.emptyResponse.emit(true);
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @param {?} ratingIndex
|
|
71
|
+
* @param {?} avg
|
|
72
|
+
* @return {?}
|
|
73
|
+
*/
|
|
74
|
+
getRatingIcon(ratingIndex, avg) {
|
|
75
|
+
return this.ratingService.getRatingIcon(ratingIndex, avg);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @param {?} ratingIndex
|
|
79
|
+
* @param {?} avg
|
|
80
|
+
* @return {?}
|
|
81
|
+
*/
|
|
82
|
+
getRatingIconClass(ratingIndex, avg) {
|
|
83
|
+
return this.ratingService.getRatingIconClass(ratingIndex, avg);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @param {?} indexValue
|
|
87
|
+
* @return {?}
|
|
88
|
+
*/
|
|
89
|
+
getCurrentIndex(indexValue) {
|
|
90
|
+
this.currentIndex = indexValue;
|
|
91
|
+
this.handleScrollClick(indexValue);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @param {?} dataValue
|
|
95
|
+
* @return {?}
|
|
96
|
+
*/
|
|
97
|
+
handleScrollClick(dataValue) {
|
|
98
|
+
/** @type {?} */
|
|
99
|
+
const item = this.scrollableItems.find((/**
|
|
100
|
+
* @param {?} x
|
|
101
|
+
* @return {?}
|
|
102
|
+
*/
|
|
103
|
+
x => x.key === dataValue));
|
|
104
|
+
item.scrollIntoView("nearest");
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
UserContentRatingLibComponent.decorators = [
|
|
108
|
+
{ type: Component, args: [{
|
|
109
|
+
selector: 'sb-uic-user-content-rating',
|
|
110
|
+
template: "<ng-container *ngIf=\"contentdata.length\">\r\n <div class=\"user-rating-section\">\r\n <sb-uic-sliders-ng-content [title]=\"'providerName'\" [currentIndex]=\"currentIndex\" (currentIndexValue)=\"getCurrentIndex($event)\" [loadNgContentData]=\"true\" [widgetData]=\"contentdata\" [styleData]=\"styleData\">\r\n <div sliderbody>\r\n <div class=\"flex users-block\">\r\n <ng-container *ngFor=\"let userData of contentdata; let j = index\">\r\n <div class=\"avatar-block mr-1\" [sbUicScrollableItem]=\"j\"\r\n [ngClass]=\"{'user-active': j === currentIndex}\" (click)=\"handleScrollClick(currentIndex);currentIndex = j\">\r\n <sb-uic-avatar-photo [defaulfColor]=\"'#1B2133'\" [datalen]=\"1\" [randomColor]=\"true\" [name]=\"userData?.userDetails?.firstName\" [photoUrl]=\"userData?.userDetails?.profileImageUrl\" size=\"m-side-rating\">\r\n </sb-uic-avatar-photo>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div *ngFor=\"let ratingData of contentdata; let i = index\" [hidden]=\"i !== currentIndex\">\r\n <div class=\"user-ratting-wrapper flex flex-wrap justify-center\">\r\n <div class=\"w-full mr-0 md:mr-8 ml-0 md:ml-8 pb-5\">\r\n <sb-uic-cards [widgetData]=\"ratingData\"></sb-uic-cards>\r\n </div>\r\n <div class=\"title-border-v2\"></div>\r\n <p class=\"userName w-full mb-4 pt-2\">{{ratingData?.userDetails?.firstName}}</p>\r\n <div class=\"flex w-full flex-row justify-center gap-2 mb-4\">\r\n <mat-icon class=\"mat-icon material-icons rating-icon ws-mat-black16-text\"\r\n [ngClass]=\"{'ws-mat-orange-text': getRatingIconClass(rating, ratingData?.rating)}\"\r\n *ngFor=\"let rating of [1, 2, 3, 4, 5]\">\r\n {{ getRatingIcon(rating, ratingData?.rating) }}\r\n </mat-icon>\r\n </div>\r\n <p class=\"content-feedback w-full mb-4 px-4 md:px-8\">{{ratingData?.review}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n </sb-uic-sliders-ng-content>\r\n </div>\r\n</ng-container>\r\n\r\n",
|
|
111
|
+
styles: [".user-ratting-wrapper .userName{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:center}.user-ratting-wrapper .content-feedback{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:center;color:rgba(0,0,0,.87)}.user-ratting-wrapper .content-info{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;color:#666}.avatar-block{border:8px solid transparent;position:relative;cursor:pointer;width:48px;height:48px}.user-active{content:\"\";border:5px solid #f3972e;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-bottom:0;width:48px;height:48px}.user-active::after{content:\" \";position:absolute;top:106%;left:50%;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top:18px solid #f3972e}.users-block{overflow-x:auto;padding:16px;padding-bottom:10px!important;width:100%}.title-border-v2{margin:10px;width:300px;height:3px;background:linear-gradient(90deg,rgba(255,255,255,0) 0,#ef951e 20%,#ef951e 80%,rgba(255,255,255,0) 100%)}.user-ratting-wrapper{border:1px solid #f3962f;border-radius:15px;padding:15px 0;background:linear-gradient(111.16deg,rgba(243,150,47,.24) 9.09%,rgba(255,255,255,0) 74.81%)}.user-rating-section ::ng-deep.prev{margin-left:-50px;top:59%}.user-rating-section ::ng-deep.next{margin-right:-50px;top:59%}.user-rating-section ::ng-deep.dots-container{display:none!important}@media screen and (min-width:1024px){.user-rating-section .users-block{justify-content:center}}@media screen and (max-width:768px){.user-rating-section ::ng-deep.next{margin-right:-16px;top:59%}.user-rating-section .users-block{width:90%}.user-rating-section ::ng-deep.widget-card-content-new{margin:0 15px}.user-rating-section .user-ratting-wrapper{padding:15px 0}.user-rating-section ::ng-deep.dots-container{display:block!important}.user-rating-section ::ng-deep.banner-meta{bottom:-12px}}"]
|
|
112
|
+
}] }
|
|
113
|
+
];
|
|
114
|
+
/** @nocollapse */
|
|
115
|
+
UserContentRatingLibComponent.ctorParameters = () => [
|
|
116
|
+
{ type: RatingService },
|
|
117
|
+
{ type: UserContentRatingLibService }
|
|
118
|
+
];
|
|
119
|
+
UserContentRatingLibComponent.propDecorators = {
|
|
120
|
+
providerId: [{ type: Input }],
|
|
121
|
+
formData: [{ type: Input }],
|
|
122
|
+
emptyResponse: [{ type: Output }],
|
|
123
|
+
scrollableItems: [{ type: ViewChildren, args: [ScrollableItemDirective,] }]
|
|
124
|
+
};
|
|
125
|
+
if (false) {
|
|
126
|
+
/** @type {?} */
|
|
127
|
+
UserContentRatingLibComponent.prototype.currentIndex;
|
|
128
|
+
/** @type {?} */
|
|
129
|
+
UserContentRatingLibComponent.prototype.providerId;
|
|
130
|
+
/** @type {?} */
|
|
131
|
+
UserContentRatingLibComponent.prototype.formData;
|
|
132
|
+
/** @type {?} */
|
|
133
|
+
UserContentRatingLibComponent.prototype.emptyResponse;
|
|
134
|
+
/** @type {?} */
|
|
135
|
+
UserContentRatingLibComponent.prototype.styleData;
|
|
136
|
+
/** @type {?} */
|
|
137
|
+
UserContentRatingLibComponent.prototype.contentdata;
|
|
138
|
+
/** @type {?} */
|
|
139
|
+
UserContentRatingLibComponent.prototype.scrollableItems;
|
|
140
|
+
/** @type {?} */
|
|
141
|
+
UserContentRatingLibComponent.prototype.ratingService;
|
|
142
|
+
/** @type {?} */
|
|
143
|
+
UserContentRatingLibComponent.prototype.userRatingSvc;
|
|
144
|
+
}
|
|
145
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1jb250ZW50LXJhdGluZy1saWIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHN1bmJpcmQtY2IvY29uc3VtcHRpb24vIiwic291cmNlcyI6WyJsaWIvX2NvbW1vbi91c2VyLWNvbnRl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KHJhdGluZ0luZGV4OiBudW1iZXIsIGF2ZzogbnVtYmVyKTogYm9vbGVhbiB7XHJcbiAgICByZXR1cm4gdGhpcy5yYXRpbmdTZXJ2aWNlLmdldFJhdGluZ0ljb25DbGFzcyhyYXRpbmdJbmRleCwgYXZnKVxyXG4gIH1cclxuXHJcbiAgZ2V0Q3VycmVudEluZGV4KGluZGV4VmFsdWU6IGFueSkge1xyXG4gICAgdGhpcy5jdXJyZW50SW5kZXggPSBpbmRleFZhbHVlXHJcbiAgICB0aGlzLmhhbmRsZVNjcm9sbENsaWNrKGluZGV4VmFsdWUpXHJcbiAgfVxyXG5cclxuICBoYW5kbGVTY3JvbGxDbGljayhkYXRhVmFsdWU6IHN0cmluZykge1xyXG4gICAgY29uc3QgaXRlbSA9IHRoaXMuc2Nyb2xsYWJsZUl0ZW1zLmZpbmQoeCA9PiB4LmtleSA9PT0gZGF0YVZhbHVlKVxyXG4gICAgaXRlbS5zY3JvbGxJbnRvVmlldyhcIm5lYXJlc3RcIik7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import { MatChipsModule, MatIconModule } from '@angular/material';
|
|
8
|
-
import { UserContentRatingLibComponent } from './user-content-rating-lib.component';
|
|
9
|
-
import { SkeletonLoaderLibModule } from '../skeleton-loader-lib/skeleton-loader-lib.module';
|
|
10
|
-
import { SlidersLibModule } from '../sliders/sliders.module';
|
|
11
|
-
import { RatingService } from '../../_services/rating.service';
|
|
12
|
-
import { CardsModule } from '../cards/cards.module';
|
|
13
|
-
import { AvatarPhotoLibModule } from '../avatar-photo-lib/avatar-photo-lib.module';
|
|
14
|
-
import { SlidersNgContentLibModule } from '../sliders-ng-content/sliders-ng-content.module';
|
|
15
|
-
import { ScrollableItemModule } from '../../_directives/scrollable-item/scrollable-item.module';
|
|
16
|
-
import { UserContentRatingLibService } from './user-content-rating-lib.service';
|
|
17
|
-
export class UserContentRatingLibModule {
|
|
18
|
-
}
|
|
19
|
-
UserContentRatingLibModule.decorators = [
|
|
20
|
-
{ type: NgModule, args: [{
|
|
21
|
-
declarations: [UserContentRatingLibComponent],
|
|
22
|
-
imports: [
|
|
23
|
-
CommonModule,
|
|
24
|
-
MatIconModule,
|
|
25
|
-
MatChipsModule,
|
|
26
|
-
SkeletonLoaderLibModule,
|
|
27
|
-
SlidersLibModule,
|
|
28
|
-
CardsModule,
|
|
29
|
-
AvatarPhotoLibModule,
|
|
30
|
-
SlidersNgContentLibModule,
|
|
31
|
-
ScrollableItemModule
|
|
32
|
-
],
|
|
33
|
-
exports: [UserContentRatingLibComponent],
|
|
34
|
-
providers: [RatingService, UserContentRatingLibService],
|
|
35
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
36
|
-
},] }
|
|
37
|
-
];
|
|
38
|
-
//# 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 { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { MatChipsModule, MatIconModule } from '@angular/material';
|
|
8
|
+
import { UserContentRatingLibComponent } from './user-content-rating-lib.component';
|
|
9
|
+
import { SkeletonLoaderLibModule } from '../skeleton-loader-lib/skeleton-loader-lib.module';
|
|
10
|
+
import { SlidersLibModule } from '../sliders/sliders.module';
|
|
11
|
+
import { RatingService } from '../../_services/rating.service';
|
|
12
|
+
import { CardsModule } from '../cards/cards.module';
|
|
13
|
+
import { AvatarPhotoLibModule } from '../avatar-photo-lib/avatar-photo-lib.module';
|
|
14
|
+
import { SlidersNgContentLibModule } from '../sliders-ng-content/sliders-ng-content.module';
|
|
15
|
+
import { ScrollableItemModule } from '../../_directives/scrollable-item/scrollable-item.module';
|
|
16
|
+
import { UserContentRatingLibService } from './user-content-rating-lib.service';
|
|
17
|
+
export class UserContentRatingLibModule {
|
|
18
|
+
}
|
|
19
|
+
UserContentRatingLibModule.decorators = [
|
|
20
|
+
{ type: NgModule, args: [{
|
|
21
|
+
declarations: [UserContentRatingLibComponent],
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
MatIconModule,
|
|
25
|
+
MatChipsModule,
|
|
26
|
+
SkeletonLoaderLibModule,
|
|
27
|
+
SlidersLibModule,
|
|
28
|
+
CardsModule,
|
|
29
|
+
AvatarPhotoLibModule,
|
|
30
|
+
SlidersNgContentLibModule,
|
|
31
|
+
ScrollableItemModule
|
|
32
|
+
],
|
|
33
|
+
exports: [UserContentRatingLibComponent],
|
|
34
|
+
providers: [RatingService, UserContentRatingLibService],
|
|
35
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
36
|
+
},] }
|
|
37
|
+
];
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1jb250ZW50LXJhdGluZy1saWIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHN1bmJpcmQtY2IvY29uc3VtcHRpb24vIiwic291cmNlcyI6WyJsaWIvX2NvbW1vbi91c2VyLWNvbnRlbnQtcmF0aW5nL3VzZXItY29udGVudC1yYXRpbmctbGliLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQ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ZW50Lm1vZHVsZSc7XHJcbmltcG9ydCB7IFNjcm9sbGFibGVJdGVtTW9kdWxlIH0gZnJvbSAnLi4vLi4vX2RpcmVjdGl2ZXMvc2Nyb2xsYWJsZS1pdGVtL3Njcm9sbGFibGUtaXRlbS5tb2R1bGUnO1xyXG5pbXBvcnQgeyBVc2VyQ29udGVudFJhdGluZ0xpYlNlcnZpY2UgfSBmcm9tICcuL3VzZXItY29udGVudC1yYXRpbmctbGliLnNlcnZpY2UnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1VzZXJDb250ZW50UmF0aW5nTGliQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBNYXRJY29uTW9kdWxlLFxyXG4gICAgTWF0Q2hpcHNNb2R1bGUsXHJcbiAgICBTa2VsZXRvbkxvYWRlckxpYk1vZHVsZSxcclxuICAgIFNsaWRlcnNMaWJNb2R1bGUsXHJcbiAgICBDYXJkc01vZHVsZSxcclxuICAgIEF2YXRhclBob3RvTGliTW9kdWxlLFxyXG4gICAgU2xpZGVyc05nQ29udGVudExpYk1vZHVsZSxcclxuICAgIFNjcm9sbGFibGVJdGVtTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbVXNlckNvbnRlbnRSYXRpbmdMaWJDb21wb25lbnRdLFxyXG4gIHByb3ZpZGVyczogW1JhdGluZ1NlcnZpY2UsIFVzZXJDb250ZW50UmF0aW5nTGliU2VydmljZV0sXHJcbiAgc2NoZW1hczpbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV1cclxufSlcclxuZXhwb3J0IGNsYXNzIFVzZXJDb250ZW50UmF0aW5nTGliTW9kdWxlIHsgfVxyXG4iXX0=
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { Injectable } from '@angular/core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common/http";
|
|
9
|
-
/** @type {?} */
|
|
10
|
-
const API_END_POINTS = {
|
|
11
|
-
TOP_REVIEWS: `/apis/proxies/v8/ratings/v1/topReviews`
|
|
12
|
-
};
|
|
13
|
-
export class UserContentRatingLibService {
|
|
14
|
-
/**
|
|
15
|
-
* @param {?} http
|
|
16
|
-
*/
|
|
17
|
-
constructor(http) {
|
|
18
|
-
this.http = http;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @param {?} doId
|
|
22
|
-
* @return {?}
|
|
23
|
-
*/
|
|
24
|
-
fetchTopReviews(doId) {
|
|
25
|
-
return this.http.get(`${API_END_POINTS.TOP_REVIEWS}/${doId}`);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
UserContentRatingLibService.decorators = [
|
|
29
|
-
{ type: Injectable, args: [{
|
|
30
|
-
providedIn: 'root'
|
|
31
|
-
},] }
|
|
32
|
-
];
|
|
33
|
-
/** @nocollapse */
|
|
34
|
-
UserContentRatingLibService.ctorParameters = () => [
|
|
35
|
-
{ type: HttpClient }
|
|
36
|
-
];
|
|
37
|
-
/** @nocollapse */ UserContentRatingLibService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function UserContentRatingLibService_Factory() { return new UserContentRatingLibService(i0.ɵɵinject(i1.HttpClient)); }, token: UserContentRatingLibService, providedIn: "root" });
|
|
38
|
-
if (false) {
|
|
39
|
-
/**
|
|
40
|
-
* @type {?}
|
|
41
|
-
* @private
|
|
42
|
-
*/
|
|
43
|
-
UserContentRatingLibService.prototype.http;
|
|
44
|
-
}
|
|
45
|
-
//# 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 { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { Injectable } from '@angular/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/common/http";
|
|
9
|
+
/** @type {?} */
|
|
10
|
+
const API_END_POINTS = {
|
|
11
|
+
TOP_REVIEWS: `/apis/proxies/v8/ratings/v1/topReviews`
|
|
12
|
+
};
|
|
13
|
+
export class UserContentRatingLibService {
|
|
14
|
+
/**
|
|
15
|
+
* @param {?} http
|
|
16
|
+
*/
|
|
17
|
+
constructor(http) {
|
|
18
|
+
this.http = http;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @param {?} doId
|
|
22
|
+
* @return {?}
|
|
23
|
+
*/
|
|
24
|
+
fetchTopReviews(doId) {
|
|
25
|
+
return this.http.get(`${API_END_POINTS.TOP_REVIEWS}/${doId}`);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
UserContentRatingLibService.decorators = [
|
|
29
|
+
{ type: Injectable, args: [{
|
|
30
|
+
providedIn: 'root'
|
|
31
|
+
},] }
|
|
32
|
+
];
|
|
33
|
+
/** @nocollapse */
|
|
34
|
+
UserContentRatingLibService.ctorParameters = () => [
|
|
35
|
+
{ type: HttpClient }
|
|
36
|
+
];
|
|
37
|
+
/** @nocollapse */ UserContentRatingLibService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function UserContentRatingLibService_Factory() { return new UserContentRatingLibService(i0.ɵɵinject(i1.HttpClient)); }, token: UserContentRatingLibService, providedIn: "root" });
|
|
38
|
+
if (false) {
|
|
39
|
+
/**
|
|
40
|
+
* @type {?}
|
|
41
|
+
* @private
|
|
42
|
+
*/
|
|
43
|
+
UserContentRatingLibService.prototype.http;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ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FMgPSB7XHJcbiAgVE9QX1JFVklFV1M6IGAvYXBpcy9wcm94aWVzL3Y4L3JhdGluZ3MvdjEvdG9wUmV2aWV3c2BcclxufVxyXG5ASW5qZWN0YWJsZSh7XHJcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBVc2VyQ29udGVudFJhdGluZ0xpYlNlcnZpY2Uge1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGh0dHA6IEh0dHBDbGllbnQpIHsgfVxyXG4gIGZldGNoVG9wUmV2aWV3cyhkb0lkOiBhbnkpOiBPYnNlcnZhYmxlPGFueT4ge1xyXG4gICAgcmV0dXJuIHRoaXMuaHR0cC5nZXQ8YW55PihgJHtBUElfRU5EX1BPSU5UUy5UT1BfUkVWSUVXU30vJHtkb0lkfWApXHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlzYy5jb25zdGFudHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac3VuYmlyZC1jYi9jb25zdW1wdGlvbi8iLCJzb3VyY2VzIjpbImxpYi9fY29uc3RhbnRzL21pc2MuY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBURmV0Y2hTdGF0dXMgPSAnbm9uZScgfCAnZmV0Y2hpbmcnIHwgJ2RvbmUnIHwgJ2Vycm9yJyB8ICdoYXNNb3JlJztcclxuZXhwb3J0IHR5cGUgVFNlbmRTdGF0dXMgPSAnbm9uZScgfCAnc2VuZGluZycgfCAnZG9uZScgfCAnZXJyb3InO1xyXG4iXX0=
|