@sunbird-cb/consumption 0.0.63 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/bundles/sunbird-cb-consumption.umd.js +17470 -17345
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/announcements/announcements.component.js +150 -150
- package/esm2015/lib/_common/announcements/announcements.module.js +23 -23
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +158 -158
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +29 -29
- package/esm2015/lib/_common/calender/calender-day/calender-day.component.js +90 -90
- package/esm2015/lib/_common/calender/calender.component.js +299 -299
- package/esm2015/lib/_common/calender/calender.module.js +31 -31
- package/esm2015/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +170 -170
- package/esm2015/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +178 -178
- package/esm2015/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +166 -166
- package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +202 -202
- package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +154 -154
- package/esm2015/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +154 -154
- package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +167 -167
- package/esm2015/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +170 -170
- package/esm2015/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +261 -261
- package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +34 -34
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +141 -141
- package/esm2015/lib/_common/cards/card-wide/card-wide.component.js +166 -166
- package/esm2015/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +171 -171
- package/esm2015/lib/_common/cards/cards.component.js +167 -167
- package/esm2015/lib/_common/cards/cards.module.js +100 -100
- package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +81 -81
- package/esm2015/lib/_common/cbp-plan/cbp-plan.component.js +166 -166
- package/esm2015/lib/_common/cbp-plan/cbp-plan.module.js +27 -27
- package/esm2015/lib/_common/common-strip/common-strip.component.js +646 -646
- package/esm2015/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm2015/lib/_common/common-strip/common-strip.module.js +62 -62
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +384 -384
- package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +52 -52
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +332 -332
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +52 -52
- package/esm2015/lib/_common/content-progress/content-progress.component.js +89 -89
- package/esm2015/lib/_common/content-progress/content-progress.module.js +22 -22
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2559 -2443
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +69 -69
- package/esm2015/lib/_common/data-points/data-points.component.js +148 -148
- package/esm2015/lib/_common/data-points/data-points.module.js +23 -23
- package/esm2015/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +225 -225
- package/esm2015/lib/_common/dialog-components/dialog-components.module.js +43 -43
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +60 -60
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +18 -18
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +362 -362
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +255 -255
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel.module.js +52 -52
- package/esm2015/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +269 -269
- package/esm2015/lib/_common/microsites/providers/providers.module.js +51 -51
- package/esm2015/lib/_common/pills/pills.component.js +61 -61
- package/esm2015/lib/_common/pills/pills.module.js +24 -24
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +40 -40
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +28 -28
- package/esm2015/lib/_common/sliders/sliders.component.js +187 -184
- package/esm2015/lib/_common/sliders/sliders.model.js +67 -67
- package/esm2015/lib/_common/sliders/sliders.module.js +50 -50
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +206 -206
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.module.js +50 -50
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1613 -1613
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +69 -69
- package/esm2015/lib/_common/top-learners/top-learners.component.js +155 -155
- package/esm2015/lib/_common/top-learners/top-learners.module.js +23 -23
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +145 -145
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.module.js +38 -38
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.service.js +45 -45
- package/esm2015/lib/_constants/misc.constants.js +4 -4
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +51 -51
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +18 -18
- package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +126 -126
- package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +18 -18
- package/esm2015/lib/_directives/navigation/navigation.directive.js +53 -53
- package/esm2015/lib/_directives/navigation/navigation.module.js +18 -18
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.directive.js +42 -42
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.module.js +19 -19
- package/esm2015/lib/_models/card-content-v2.model.js +78 -78
- package/esm2015/lib/_models/card-content.model.js +69 -69
- package/esm2015/lib/_models/card-users.model.js +103 -103
- package/esm2015/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm2015/lib/_models/event.js +45 -45
- package/esm2015/lib/_models/profile-v3.models.js +196 -196
- package/esm2015/lib/_models/rating.model.js +44 -44
- package/esm2015/lib/_models/widget-content.model.js +876 -876
- package/esm2015/lib/_models/widget-search.model.js +471 -471
- package/esm2015/lib/_models/widget-user.model.js +17 -17
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.js +28 -28
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +119 -119
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +38 -38
- package/esm2015/lib/_services/certificate.service.js +63 -63
- package/esm2015/lib/_services/common-methods.service.js +84 -84
- package/esm2015/lib/_services/configurations.service.js +243 -243
- package/esm2015/lib/_services/insite-data.service.js +68 -68
- package/esm2015/lib/_services/multilingual-translations.service.js +231 -231
- package/esm2015/lib/_services/rating.service.js +171 -171
- package/esm2015/lib/_services/viewer-route-util.js +125 -125
- package/esm2015/lib/_services/widget-content.service.js +852 -852
- package/esm2015/lib/_services/widget-user.service.js +475 -475
- package/esm2015/lib/consumption.component.js +26 -26
- package/esm2015/lib/consumption.config.js +12 -12
- package/esm2015/lib/consumption.module.js +36 -36
- package/esm2015/lib/consumption.service.js +18 -18
- package/esm2015/lib/registration-lib.config.js +21 -21
- package/esm2015/public-api.js +31 -31
- package/esm2015/sunbird-cb-consumption.js +77 -77
- package/esm5/lib/_common/announcements/announcements.component.js +166 -166
- package/esm5/lib/_common/announcements/announcements.module.js +27 -27
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +175 -175
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +33 -33
- package/esm5/lib/_common/calender/calender-day/calender-day.component.js +101 -101
- package/esm5/lib/_common/calender/calender.component.js +334 -334
- package/esm5/lib/_common/calender/calender.module.js +35 -35
- package/esm5/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +186 -186
- package/esm5/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +187 -187
- package/esm5/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +176 -176
- package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +216 -216
- package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +164 -164
- package/esm5/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +164 -164
- package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +173 -173
- package/esm5/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +176 -176
- package/esm5/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +278 -278
- package/esm5/lib/_common/cards/card-resource/card-resource.component.js +41 -41
- package/esm5/lib/_common/cards/card-user/card-user.component.js +147 -147
- package/esm5/lib/_common/cards/card-wide/card-wide.component.js +172 -172
- package/esm5/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +181 -181
- package/esm5/lib/_common/cards/cards.component.js +199 -199
- package/esm5/lib/_common/cards/cards.module.js +104 -104
- package/esm5/lib/_common/cards/provider-card/provider-card.component.js +90 -90
- package/esm5/lib/_common/cbp-plan/cbp-plan.component.js +185 -185
- package/esm5/lib/_common/cbp-plan/cbp-plan.module.js +31 -31
- package/esm5/lib/_common/common-strip/common-strip.component.js +760 -760
- package/esm5/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm5/lib/_common/common-strip/common-strip.module.js +66 -66
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +454 -454
- package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +31 -31
- package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +59 -59
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +383 -383
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +31 -31
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +59 -59
- package/esm5/lib/_common/content-progress/content-progress.component.js +94 -94
- package/esm5/lib/_common/content-progress/content-progress.module.js +26 -26
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2970 -2848
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +73 -73
- package/esm5/lib/_common/data-points/data-points.component.js +163 -163
- package/esm5/lib/_common/data-points/data-points.module.js +27 -27
- package/esm5/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +248 -248
- package/esm5/lib/_common/dialog-components/dialog-components.module.js +47 -47
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +67 -67
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +22 -22
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +391 -391
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +27 -27
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +29 -29
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +292 -292
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel.module.js +56 -56
- package/esm5/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +312 -312
- package/esm5/lib/_common/microsites/providers/providers.module.js +55 -55
- package/esm5/lib/_common/pills/pills.component.js +70 -70
- package/esm5/lib/_common/pills/pills.module.js +28 -28
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +45 -45
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +32 -32
- package/esm5/lib/_common/sliders/sliders.component.js +214 -211
- package/esm5/lib/_common/sliders/sliders.model.js +67 -67
- package/esm5/lib/_common/sliders/sliders.module.js +67 -67
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +233 -233
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.module.js +67 -67
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1892 -1892
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +73 -73
- package/esm5/lib/_common/top-learners/top-learners.component.js +172 -172
- package/esm5/lib/_common/top-learners/top-learners.module.js +27 -27
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +168 -168
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.module.js +42 -42
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.service.js +48 -48
- package/esm5/lib/_constants/misc.constants.js +4 -4
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +59 -59
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +22 -22
- package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +136 -136
- package/esm5/lib/_directives/image-responsive/image-responsive.module.js +22 -22
- package/esm5/lib/_directives/navigation/navigation.directive.js +62 -62
- package/esm5/lib/_directives/navigation/navigation.module.js +22 -22
- package/esm5/lib/_directives/scrollable-item/scrollable-item.directive.js +45 -45
- package/esm5/lib/_directives/scrollable-item/scrollable-item.module.js +23 -23
- package/esm5/lib/_models/card-content-v2.model.js +78 -78
- package/esm5/lib/_models/card-content.model.js +69 -69
- package/esm5/lib/_models/card-users.model.js +103 -103
- package/esm5/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm5/lib/_models/event.js +45 -45
- package/esm5/lib/_models/profile-v3.models.js +196 -196
- package/esm5/lib/_models/rating.model.js +44 -44
- package/esm5/lib/_models/widget-content.model.js +876 -876
- package/esm5/lib/_models/widget-search.model.js +471 -471
- package/esm5/lib/_models/widget-user.model.js +17 -17
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.js +57 -57
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.module.js +23 -23
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +22 -22
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +142 -142
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +23 -23
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +41 -41
- package/esm5/lib/_services/certificate.service.js +70 -70
- package/esm5/lib/_services/common-methods.service.js +102 -102
- package/esm5/lib/_services/configurations.service.js +257 -257
- package/esm5/lib/_services/insite-data.service.js +82 -82
- package/esm5/lib/_services/multilingual-translations.service.js +259 -259
- package/esm5/lib/_services/rating.service.js +214 -214
- package/esm5/lib/_services/viewer-route-util.js +127 -127
- package/esm5/lib/_services/widget-content.service.js +1109 -1109
- package/esm5/lib/_services/widget-user.service.js +542 -542
- package/esm5/lib/consumption.component.js +28 -28
- package/esm5/lib/consumption.config.js +12 -12
- package/esm5/lib/consumption.module.js +40 -40
- package/esm5/lib/consumption.service.js +21 -21
- package/esm5/lib/registration-lib.config.js +21 -21
- package/esm5/public-api.js +31 -31
- package/esm5/sunbird-cb-consumption.js +77 -77
- package/fesm2015/sunbird-cb-consumption.js +15407 -15288
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +17476 -17351
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/announcements/announcements.component.d.ts +21 -21
- package/lib/_common/announcements/announcements.module.d.ts +2 -2
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.component.d.ts +20 -20
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.module.d.ts +2 -2
- package/lib/_common/calender/calender-day/calender-day.component.d.ts +18 -18
- package/lib/_common/calender/calender.component.d.ts +34 -34
- package/lib/_common/calender/calender.module.d.ts +2 -2
- package/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.d.ts +31 -31
- package/lib/_common/cards/card-karma-programs/card-karma-programs.component.d.ts +28 -28
- package/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.d.ts +26 -26
- package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +36 -36
- package/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.d.ts +27 -27
- package/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.d.ts +27 -27
- package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +33 -33
- package/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.d.ts +33 -33
- package/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.d.ts +41 -41
- package/lib/_common/cards/card-resource/card-resource.component.d.ts +8 -8
- package/lib/_common/cards/card-user/card-user.component.d.ts +24 -24
- package/lib/_common/cards/card-wide/card-wide.component.d.ts +30 -30
- package/lib/_common/cards/card-wide-v2/card-wide-v2.component.d.ts +34 -34
- package/lib/_common/cards/cards.component.d.ts +26 -26
- package/lib/_common/cards/cards.module.d.ts +2 -2
- package/lib/_common/cards/provider-card/provider-card.component.d.ts +14 -14
- package/lib/_common/cbp-plan/cbp-plan.component.d.ts +25 -25
- package/lib/_common/cbp-plan/cbp-plan.module.d.ts +2 -2
- package/lib/_common/common-strip/common-strip.component.d.ts +104 -104
- package/lib/_common/common-strip/common-strip.model.d.ts +141 -141
- package/lib/_common/common-strip/common-strip.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.component.d.ts +42 -42
- package/lib/_common/competency-passbook/competency-passbook.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.service.d.ts +8 -8
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.d.ts +43 -43
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.d.ts +2 -2
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.d.ts +8 -8
- package/lib/_common/content-progress/content-progress.component.d.ts +13 -13
- package/lib/_common/content-progress/content-progress.module.d.ts +2 -2
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +203 -201
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +149 -147
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +5 -5
- package/lib/_common/data-points/data-points.component.d.ts +17 -17
- package/lib/_common/data-points/data-points.module.d.ts +2 -2
- package/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.d.ts +22 -22
- package/lib/_common/dialog-components/dialog-components.module.d.ts +2 -2
- package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +12 -12
- package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +2 -2
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +33 -33
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
- package/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.d.ts +5 -5
- package/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.d.ts +39 -39
- package/lib/_common/microsites/mdo-channels/mdo-channel.module.d.ts +2 -2
- package/lib/_common/microsites/providers/providers-v2/providers-v2.component.d.ts +36 -36
- package/lib/_common/microsites/providers/providers.module.d.ts +2 -2
- package/lib/_common/pills/pills.component.d.ts +13 -13
- package/lib/_common/pills/pills.module.d.ts +2 -2
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +8 -8
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +2 -2
- package/lib/_common/sliders/sliders.component.d.ts +27 -26
- package/lib/_common/sliders/sliders.model.d.ts +40 -40
- package/lib/_common/sliders/sliders.module.d.ts +6 -6
- package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +29 -29
- package/lib/_common/sliders-ng-content/sliders-ng-content.model.d.ts +34 -34
- package/lib/_common/sliders-ng-content/sliders-ng-content.module.d.ts +6 -6
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.d.ts +161 -161
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts +149 -149
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.d.ts +5 -5
- package/lib/_common/top-learners/top-learners.component.d.ts +18 -18
- package/lib/_common/top-learners/top-learners.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.component.d.ts +22 -22
- package/lib/_common/user-content-rating/user-content-rating-lib.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.service.d.ts +7 -7
- package/lib/_constants/misc.constants.d.ts +2 -2
- package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
- package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
- package/lib/_directives/image-responsive/image-responsive.directive.d.ts +17 -17
- package/lib/_directives/image-responsive/image-responsive.module.d.ts +2 -2
- package/lib/_directives/navigation/navigation.directive.d.ts +9 -9
- package/lib/_directives/navigation/navigation.module.d.ts +2 -2
- package/lib/_directives/scrollable-item/scrollable-item.directive.d.ts +7 -7
- package/lib/_directives/scrollable-item/scrollable-item.module.d.ts +2 -2
- package/lib/_models/card-content-v2.model.d.ts +44 -44
- package/lib/_models/card-content.model.d.ts +41 -41
- package/lib/_models/card-users.model.d.ts +50 -50
- package/lib/_models/content-strip-multiple.model.d.ts +128 -128
- package/lib/_models/event.d.ts +18 -18
- package/lib/_models/profile-v3.models.d.ts +91 -91
- package/lib/_models/rating.model.d.ts +17 -17
- package/lib/_models/widget-content.model.d.ts +497 -497
- package/lib/_models/widget-search.model.d.ts +252 -252
- package/lib/_models/widget-user.model.d.ts +5 -5
- package/lib/_pipes/object-to-array/object-to-array.pipe.d.ts +4 -4
- package/lib/_pipes/object-to-array/object-to-array.pipe.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
- package/lib/_services/certificate.service.d.ts +8 -8
- package/lib/_services/common-methods.service.d.ts +39 -39
- package/lib/_services/configurations.service.d.ts +71 -71
- package/lib/_services/insite-data.service.d.ts +10 -10
- package/lib/_services/multilingual-translations.service.d.ts +20 -20
- package/lib/_services/rating.service.d.ts +15 -15
- package/lib/_services/viewer-route-util.d.ts +8 -8
- package/lib/_services/widget-content.service.d.ts +87 -87
- package/lib/_services/widget-user.service.d.ts +33 -33
- package/lib/consumption.component.d.ts +5 -5
- package/lib/consumption.config.d.ts +6 -6
- package/lib/consumption.module.d.ts +2 -2
- package/lib/consumption.service.d.ts +3 -3
- package/lib/registration-lib.config.d.ts +4 -4
- package/package.json +1 -1
- package/public-api.d.ts +23 -23
- package/sunbird-cb-consumption.d.ts +73 -73
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -1,167 +1,167 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
7
|
-
import { WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
|
|
8
|
-
import { NsCardContent } from '../../_models/card-content.model';
|
|
9
|
-
import { UtilityService } from '@sunbird-cb/utils-v2';
|
|
10
|
-
import { WidgetContentService } from '../../_services/widget-content.service';
|
|
11
|
-
import { Router } from '@angular/router';
|
|
12
|
-
export class CardsComponent extends WidgetBaseComponent {
|
|
13
|
-
/**
|
|
14
|
-
* @param {?} utilitySvc
|
|
15
|
-
* @param {?} contSvc
|
|
16
|
-
* @param {?} router
|
|
17
|
-
*/
|
|
18
|
-
constructor(utilitySvc, contSvc, router) {
|
|
19
|
-
super();
|
|
20
|
-
this.utilitySvc = utilitySvc;
|
|
21
|
-
this.contSvc = contSvc;
|
|
22
|
-
this.router = router;
|
|
23
|
-
this.triggerTelemetry = new EventEmitter();
|
|
24
|
-
this.isIntranetAllowedSettings = false;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @return {?}
|
|
28
|
-
*/
|
|
29
|
-
ngOnInit() {
|
|
30
|
-
this.cbPlanInterval = setInterval((/**
|
|
31
|
-
* @return {?}
|
|
32
|
-
*/
|
|
33
|
-
() => {
|
|
34
|
-
this.getCbPlanData();
|
|
35
|
-
}), 1000);
|
|
36
|
-
this.enrollInterval = setInterval((/**
|
|
37
|
-
* @return {?}
|
|
38
|
-
*/
|
|
39
|
-
() => {
|
|
40
|
-
this.getEnrollmentData();
|
|
41
|
-
// tslint:disable-next-line
|
|
42
|
-
}), 1000);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @return {?}
|
|
46
|
-
*/
|
|
47
|
-
get isLiveOrMarkForDeletion() {
|
|
48
|
-
if (!this.widgetData.content.status ||
|
|
49
|
-
this.widgetData.content.status === 'Live' ||
|
|
50
|
-
this.widgetData.content.status === 'MarkedForDeletion') {
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @return {?}
|
|
57
|
-
*/
|
|
58
|
-
get showIntranetContent() {
|
|
59
|
-
if (this.widgetData.content.isInIntranet && this.utilitySvc.isMobile) {
|
|
60
|
-
return !this.isIntranetAllowedSettings;
|
|
61
|
-
}
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @param {?} content
|
|
66
|
-
* @return {?}
|
|
67
|
-
*/
|
|
68
|
-
getRedirectUrlData(content) {
|
|
69
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
70
|
-
if (content.externalId) {
|
|
71
|
-
this.router.navigate([`app/toc/ext/${content.contentId}`]);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
/** @type {?} */
|
|
75
|
-
let urlData = yield this.contSvc.getResourseLink(content);
|
|
76
|
-
this.router.navigate([urlData.url], {
|
|
77
|
-
queryParams: urlData.queryParams
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @return {?}
|
|
84
|
-
*/
|
|
85
|
-
getCbPlanData() {
|
|
86
|
-
/** @type {?} */
|
|
87
|
-
let cbpList = {};
|
|
88
|
-
if (localStorage.getItem('cbpData')) {
|
|
89
|
-
/** @type {?} */
|
|
90
|
-
let cbpListArr = JSON.parse(localStorage.getItem('cbpData') || '');
|
|
91
|
-
if (cbpListArr && cbpListArr.length) {
|
|
92
|
-
cbpListArr.forEach((/**
|
|
93
|
-
* @param {?} data
|
|
94
|
-
* @return {?}
|
|
95
|
-
*/
|
|
96
|
-
(data) => {
|
|
97
|
-
cbpList[data.identifier] = data;
|
|
98
|
-
}));
|
|
99
|
-
}
|
|
100
|
-
this.cbPlanMapData = cbpList;
|
|
101
|
-
// this.karmaPointLoading = false
|
|
102
|
-
clearInterval(this.cbPlanInterval);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* @return {?}
|
|
107
|
-
*/
|
|
108
|
-
getEnrollmentData() {
|
|
109
|
-
if (localStorage.getItem('enrollmentMapData')) {
|
|
110
|
-
this.enrollmentMapData = JSON.parse(localStorage.getItem('enrollmentMapData') || '{}');
|
|
111
|
-
clearInterval(this.enrollInterval);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* @param {?} data
|
|
116
|
-
* @return {?}
|
|
117
|
-
*/
|
|
118
|
-
raiseCardClick(data) {
|
|
119
|
-
this.triggerTelemetry.emit(data);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
CardsComponent.decorators = [
|
|
123
|
-
{ type: Component, args: [{
|
|
124
|
-
selector: 'sb-uic-cards',
|
|
125
|
-
template: "<div class=\"widget-card-content-new\">\n <ng-container *ngIf=\"widgetData && (((widgetData?.deletedMode || 'none') === 'hide' && !!!isLiveOrMarkForDeletion)\n ? false\n : !((widgetData?.intranetMode || 'none') === 'hide' && !!showIntranetContent))\"\n [ngSwitch]=\"( (widgetData && widgetData?.cardSubType) || 'cardPortraitLib')\">\n <ng-container *ngSwitchDefault [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'user-card'\" [ngTemplateOutlet]=\"cardUser\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-lib'\" [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib-skeleton'\" [ngTemplateOutlet]=\"cardLandscapeLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-landscape-lib'\" [ngTemplateOutlet]=\"cardLandscapeLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib-skeleton'\" [ngTemplateOutlet]=\"cardWideLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-lib'\" [ngTemplateOutlet]=\"cardWideLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2'\" [ngTemplateOutlet]=\"cardWideV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-wide-v2-skeleton'\" [ngTemplateOutlet]=\"cardWideV2Skeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-lib'\" [ngTemplateOutlet]=\"cardMdo\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-home-lib'\" [ngTemplateOutlet]=\"cardMdoHome\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-home-lib-skeleton'\" [ngTemplateOutlet]=\"cardMdoHomeSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-mdo-lib-skeleton'\" [ngTemplateOutlet]=\"cardMdoSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-scheduled-assessment'\" [ngTemplateOutlet]=\"cardScheduledAssessment\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-scheduled-assessment-skeleton'\" [ngTemplateOutlet]=\"cardScheduledAssessmentSkelton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib'\" [ngTemplateOutlet]=\"cardKarmaProgram\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-skeleton'\" [ngTemplateOutlet]=\"cardKarmaProgramSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-progress-portrait-lib'\" [ngTemplateOutlet]=\"cardProgressLib\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-progress-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardProgressLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-v2'\" [ngTemplateOutlet]=\"cardKarmaProgramV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-v2-skeleton'\" [ngTemplateOutlet]=\"cardKarmaProgramV2\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-providers-lib'\" [ngTemplateOutlet]=\"cardProvider\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-providers-lib-skeleton'\" [ngTemplateOutlet]=\"cardProviderSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-ext-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitExtLibSkeleton\"></ng-container>\n <ng-container *ngSwitchCase=\"'card-portrait-ext-lib'\" [ngTemplateOutlet]=\"cardPortraitExtLib\"></ng-container>\n\n </ng-container>\n</div>\n\n<ng-template #cardPortraitLibSkeleton>\n <sb-uic-card-portrait [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardPortraitLib>\n <sb-uic-card-portrait \n [cbPlanMapData]=\"cbPlanMapData\"\n (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait>\n</ng-template>\n<ng-template #cardLandscapeLibSkeleton>\n <sb-uic-card-landscape [widgetData]=\"widgetData\" \n [cbPlanMapData]=\"cbPlanMapData\" [isCardLoading]=\"true\"></sb-uic-card-landscape>\n</ng-template>\n<ng-template #cardLandscapeLib>\n <sb-uic-card-landscape\n (contentData)=\"getRedirectUrlData($event)\"\n (triggerTelemetry)=\"raiseCardClick($event)\"\n [widgetData]=\"widgetData\"\n [cbPlanMapData]=\"cbPlanMapData\"\n [isCardLoading]=\"false\">\n </sb-uic-card-landscape>\n</ng-template>\n\n<ng-template #cardWideLib>\n <sb-uic-card-wide (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n<ng-template #cardWideLibSkeleton>\n <sb-uic-card-wide [widgetData]=\"widgetData\"></sb-uic-card-wide>\n</ng-template>\n\n<ng-template #cardWideV2Skeleton>\n <sb-uic-card-wide-v2 [widgetData]=\"widgetData\" [isCardLoading]=\"true\" ></sb-uic-card-wide-v2>\n</ng-template>\n<ng-template #cardWideV2>\n <sb-uic-card-wide-v2\n (contentData)=\"getRedirectUrlData($event)\"\n (triggerTelemetry)=\"raiseCardClick($event)\"\n [cbPlanMapData]=\"cbPlanMapData\"\n [isCardLoading]=\"false\"\n [widgetData]=\"widgetData\">\n </sb-uic-card-wide-v2>\n</ng-template>\n\n<ng-template #cardUser>\n <sb-uic-card-user [widgetData]=\"widgetData\"></sb-uic-card-user>\n</ng-template>\n<ng-template #cardMdoHome>\n <sb-uic-card-mdo-channel-v1 [isCardLoading]=\"false\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel-v1>\n</ng-template>\n<ng-template #cardMdoHomeSkeleton>\n <sb-uic-card-mdo-channel-v1 [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel-v1>\n</ng-template>\n<ng-template #cardMdo>\n <sb-uic-card-mdo-channel [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\n</ng-template>\n<ng-template #cardMdoSkeleton>\n <sb-uic-card-mdo-channel [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\n</ng-template>\n<ng-template #cardKarmaProgramSkeleton>\n <sb-uic-card-karma-programs [randomColorApply]=\"true\" \n [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-karma-programs>\n</ng-template>\n<ng-template #cardKarmaProgram>\n <sb-uic-card-karma-programs [randomColorApply]=\"true\" \n [isCardLoading]=\"false\" [widgetData]=\"widgetData\"></sb-uic-card-karma-programs>\n</ng-template>\n<ng-template #cardScheduledAssessmentSkelton>\n <sb-uic-card-assessment [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-assessment>\n</ng-template>\n<ng-template #cardScheduledAssessment>\n <sb-uic-card-assessment [widgetData]=\"widgetData\" (contentData)=\"getRedirectUrlData($event)\" [isCardLoading]=\"false\" [enrollmentMapData]=\"enrollmentMapData\"></sb-uic-card-assessment>\n</ng-template>\n<ng-template #cardProgressLibSkeleton>\n <sb-uic-card-progress-portrait-lib \n [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-progress-portrait-lib>\n</ng-template>\n<ng-template #cardProgressLib>\n <sb-uic-card-progress-portrait-lib \n [isCardLoading]=\"false\" (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-progress-portrait-lib>\n</ng-template>\n<ng-template #cardKarmaProgramV2>\n <!-- <sb-uic-card-karma-programs-v2 [widgetData]=\"widgetData\"><sb-uic-card-karma-programs-v2> -->\n</ng-template>\n<ng-template #cardProvider>\n <sb-uic-provider-card [isCardLoading]=\"false\" [widgetData]=\"widgetData\"></sb-uic-provider-card>\n</ng-template>\n<ng-template #cardProviderSkeleton>\n <sb-uic-provider-card [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-provider-card>\n</ng-template>\n\n<!-- cios card -->\n<ng-template #cardPortraitExtLibSkeleton>\n <sb-uic-card-portrait-ext [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait-ext>\n</ng-template>\n<ng-template #cardPortraitExtLib>\n <sb-uic-card-portrait-ext \n [cbPlanMapData]=\"cbPlanMapData\"\n (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait-ext>\n</ng-template>\n",
|
|
126
|
-
styles: [""]
|
|
127
|
-
}] }
|
|
128
|
-
];
|
|
129
|
-
/** @nocollapse */
|
|
130
|
-
CardsComponent.ctorParameters = () => [
|
|
131
|
-
{ type: UtilityService },
|
|
132
|
-
{ type: WidgetContentService },
|
|
133
|
-
{ type: Router }
|
|
134
|
-
];
|
|
135
|
-
CardsComponent.propDecorators = {
|
|
136
|
-
widgetData: [{ type: Input }],
|
|
137
|
-
triggerTelemetry: [{ type: Output }]
|
|
138
|
-
};
|
|
139
|
-
if (false) {
|
|
140
|
-
/** @type {?} */
|
|
141
|
-
CardsComponent.prototype.widgetData;
|
|
142
|
-
/** @type {?} */
|
|
143
|
-
CardsComponent.prototype.triggerTelemetry;
|
|
144
|
-
/** @type {?} */
|
|
145
|
-
CardsComponent.prototype.isIntranetAllowedSettings;
|
|
146
|
-
/** @type {?} */
|
|
147
|
-
CardsComponent.prototype.cbPlanMapData;
|
|
148
|
-
/** @type {?} */
|
|
149
|
-
CardsComponent.prototype.cbPlanInterval;
|
|
150
|
-
/** @type {?} */
|
|
151
|
-
CardsComponent.prototype.enrollInterval;
|
|
152
|
-
/** @type {?} */
|
|
153
|
-
CardsComponent.prototype.enrollmentMapData;
|
|
154
|
-
/**
|
|
155
|
-
* @type {?}
|
|
156
|
-
* @private
|
|
157
|
-
*/
|
|
158
|
-
CardsComponent.prototype.utilitySvc;
|
|
159
|
-
/**
|
|
160
|
-
* @type {?}
|
|
161
|
-
* @private
|
|
162
|
-
*/
|
|
163
|
-
CardsComponent.prototype.contSvc;
|
|
164
|
-
/** @type {?} */
|
|
165
|
-
CardsComponent.prototype.router;
|
|
166
|
-
}
|
|
167
|
-
//# 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 * as tslib_1 from "tslib";
|
|
6
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
7
|
+
import { WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
|
|
8
|
+
import { NsCardContent } from '../../_models/card-content.model';
|
|
9
|
+
import { UtilityService } from '@sunbird-cb/utils-v2';
|
|
10
|
+
import { WidgetContentService } from '../../_services/widget-content.service';
|
|
11
|
+
import { Router } from '@angular/router';
|
|
12
|
+
export class CardsComponent extends WidgetBaseComponent {
|
|
13
|
+
/**
|
|
14
|
+
* @param {?} utilitySvc
|
|
15
|
+
* @param {?} contSvc
|
|
16
|
+
* @param {?} router
|
|
17
|
+
*/
|
|
18
|
+
constructor(utilitySvc, contSvc, router) {
|
|
19
|
+
super();
|
|
20
|
+
this.utilitySvc = utilitySvc;
|
|
21
|
+
this.contSvc = contSvc;
|
|
22
|
+
this.router = router;
|
|
23
|
+
this.triggerTelemetry = new EventEmitter();
|
|
24
|
+
this.isIntranetAllowedSettings = false;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @return {?}
|
|
28
|
+
*/
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
this.cbPlanInterval = setInterval((/**
|
|
31
|
+
* @return {?}
|
|
32
|
+
*/
|
|
33
|
+
() => {
|
|
34
|
+
this.getCbPlanData();
|
|
35
|
+
}), 1000);
|
|
36
|
+
this.enrollInterval = setInterval((/**
|
|
37
|
+
* @return {?}
|
|
38
|
+
*/
|
|
39
|
+
() => {
|
|
40
|
+
this.getEnrollmentData();
|
|
41
|
+
// tslint:disable-next-line
|
|
42
|
+
}), 1000);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @return {?}
|
|
46
|
+
*/
|
|
47
|
+
get isLiveOrMarkForDeletion() {
|
|
48
|
+
if (!this.widgetData.content.status ||
|
|
49
|
+
this.widgetData.content.status === 'Live' ||
|
|
50
|
+
this.widgetData.content.status === 'MarkedForDeletion') {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @return {?}
|
|
57
|
+
*/
|
|
58
|
+
get showIntranetContent() {
|
|
59
|
+
if (this.widgetData.content.isInIntranet && this.utilitySvc.isMobile) {
|
|
60
|
+
return !this.isIntranetAllowedSettings;
|
|
61
|
+
}
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @param {?} content
|
|
66
|
+
* @return {?}
|
|
67
|
+
*/
|
|
68
|
+
getRedirectUrlData(content) {
|
|
69
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
if (content.externalId) {
|
|
71
|
+
this.router.navigate([`app/toc/ext/${content.contentId}`]);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
/** @type {?} */
|
|
75
|
+
let urlData = yield this.contSvc.getResourseLink(content);
|
|
76
|
+
this.router.navigate([urlData.url], {
|
|
77
|
+
queryParams: urlData.queryParams
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @return {?}
|
|
84
|
+
*/
|
|
85
|
+
getCbPlanData() {
|
|
86
|
+
/** @type {?} */
|
|
87
|
+
let cbpList = {};
|
|
88
|
+
if (localStorage.getItem('cbpData')) {
|
|
89
|
+
/** @type {?} */
|
|
90
|
+
let cbpListArr = JSON.parse(localStorage.getItem('cbpData') || '');
|
|
91
|
+
if (cbpListArr && cbpListArr.length) {
|
|
92
|
+
cbpListArr.forEach((/**
|
|
93
|
+
* @param {?} data
|
|
94
|
+
* @return {?}
|
|
95
|
+
*/
|
|
96
|
+
(data) => {
|
|
97
|
+
cbpList[data.identifier] = data;
|
|
98
|
+
}));
|
|
99
|
+
}
|
|
100
|
+
this.cbPlanMapData = cbpList;
|
|
101
|
+
// this.karmaPointLoading = false
|
|
102
|
+
clearInterval(this.cbPlanInterval);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @return {?}
|
|
107
|
+
*/
|
|
108
|
+
getEnrollmentData() {
|
|
109
|
+
if (localStorage.getItem('enrollmentMapData')) {
|
|
110
|
+
this.enrollmentMapData = JSON.parse(localStorage.getItem('enrollmentMapData') || '{}');
|
|
111
|
+
clearInterval(this.enrollInterval);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* @param {?} data
|
|
116
|
+
* @return {?}
|
|
117
|
+
*/
|
|
118
|
+
raiseCardClick(data) {
|
|
119
|
+
this.triggerTelemetry.emit(data);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
CardsComponent.decorators = [
|
|
123
|
+
{ type: Component, args: [{
|
|
124
|
+
selector: 'sb-uic-cards',
|
|
125
|
+
template: "<div class=\"widget-card-content-new\">\r\n <ng-container *ngIf=\"widgetData && (((widgetData?.deletedMode || 'none') === 'hide' && !!!isLiveOrMarkForDeletion)\r\n ? false\r\n : !((widgetData?.intranetMode || 'none') === 'hide' && !!showIntranetContent))\"\r\n [ngSwitch]=\"( (widgetData && widgetData?.cardSubType) || 'cardPortraitLib')\">\r\n <ng-container *ngSwitchDefault [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'user-card'\" [ngTemplateOutlet]=\"cardUser\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitLibSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-portrait-lib'\" [ngTemplateOutlet]=\"cardPortraitLib\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-landscape-lib-skeleton'\" [ngTemplateOutlet]=\"cardLandscapeLibSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-landscape-lib'\" [ngTemplateOutlet]=\"cardLandscapeLib\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-wide-lib-skeleton'\" [ngTemplateOutlet]=\"cardWideLibSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-wide-lib'\" [ngTemplateOutlet]=\"cardWideLib\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-wide-v2'\" [ngTemplateOutlet]=\"cardWideV2\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-wide-v2-skeleton'\" [ngTemplateOutlet]=\"cardWideV2Skeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-mdo-lib'\" [ngTemplateOutlet]=\"cardMdo\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-mdo-home-lib'\" [ngTemplateOutlet]=\"cardMdoHome\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-mdo-home-lib-skeleton'\" [ngTemplateOutlet]=\"cardMdoHomeSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-mdo-lib-skeleton'\" [ngTemplateOutlet]=\"cardMdoSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-scheduled-assessment'\" [ngTemplateOutlet]=\"cardScheduledAssessment\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-scheduled-assessment-skeleton'\" [ngTemplateOutlet]=\"cardScheduledAssessmentSkelton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-karma-program-lib'\" [ngTemplateOutlet]=\"cardKarmaProgram\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-skeleton'\" [ngTemplateOutlet]=\"cardKarmaProgramSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-progress-portrait-lib'\" [ngTemplateOutlet]=\"cardProgressLib\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-progress-portrait-lib-skeleton'\" [ngTemplateOutlet]=\"cardProgressLibSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-v2'\" [ngTemplateOutlet]=\"cardKarmaProgramV2\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-karma-program-lib-v2-skeleton'\" [ngTemplateOutlet]=\"cardKarmaProgramV2\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-providers-lib'\" [ngTemplateOutlet]=\"cardProvider\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-providers-lib-skeleton'\" [ngTemplateOutlet]=\"cardProviderSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-portrait-ext-lib-skeleton'\" [ngTemplateOutlet]=\"cardPortraitExtLibSkeleton\"></ng-container>\r\n <ng-container *ngSwitchCase=\"'card-portrait-ext-lib'\" [ngTemplateOutlet]=\"cardPortraitExtLib\"></ng-container>\r\n\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #cardPortraitLibSkeleton>\r\n <sb-uic-card-portrait [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait>\r\n</ng-template>\r\n<ng-template #cardPortraitLib>\r\n <sb-uic-card-portrait \r\n [cbPlanMapData]=\"cbPlanMapData\"\r\n (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait>\r\n</ng-template>\r\n<ng-template #cardLandscapeLibSkeleton>\r\n <sb-uic-card-landscape [widgetData]=\"widgetData\" \r\n [cbPlanMapData]=\"cbPlanMapData\" [isCardLoading]=\"true\"></sb-uic-card-landscape>\r\n</ng-template>\r\n<ng-template #cardLandscapeLib>\r\n <sb-uic-card-landscape\r\n (contentData)=\"getRedirectUrlData($event)\"\r\n (triggerTelemetry)=\"raiseCardClick($event)\"\r\n [widgetData]=\"widgetData\"\r\n [cbPlanMapData]=\"cbPlanMapData\"\r\n [isCardLoading]=\"false\">\r\n </sb-uic-card-landscape>\r\n</ng-template>\r\n\r\n<ng-template #cardWideLib>\r\n <sb-uic-card-wide (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-wide>\r\n</ng-template>\r\n<ng-template #cardWideLibSkeleton>\r\n <sb-uic-card-wide [widgetData]=\"widgetData\"></sb-uic-card-wide>\r\n</ng-template>\r\n\r\n<ng-template #cardWideV2Skeleton>\r\n <sb-uic-card-wide-v2 [widgetData]=\"widgetData\" [isCardLoading]=\"true\" ></sb-uic-card-wide-v2>\r\n</ng-template>\r\n<ng-template #cardWideV2>\r\n <sb-uic-card-wide-v2\r\n (contentData)=\"getRedirectUrlData($event)\"\r\n (triggerTelemetry)=\"raiseCardClick($event)\"\r\n [cbPlanMapData]=\"cbPlanMapData\"\r\n [isCardLoading]=\"false\"\r\n [widgetData]=\"widgetData\">\r\n </sb-uic-card-wide-v2>\r\n</ng-template>\r\n\r\n<ng-template #cardUser>\r\n <sb-uic-card-user [widgetData]=\"widgetData\"></sb-uic-card-user>\r\n</ng-template>\r\n<ng-template #cardMdoHome>\r\n <sb-uic-card-mdo-channel-v1 [isCardLoading]=\"false\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel-v1>\r\n</ng-template>\r\n<ng-template #cardMdoHomeSkeleton>\r\n <sb-uic-card-mdo-channel-v1 [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel-v1>\r\n</ng-template>\r\n<ng-template #cardMdo>\r\n <sb-uic-card-mdo-channel [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\r\n</ng-template>\r\n<ng-template #cardMdoSkeleton>\r\n <sb-uic-card-mdo-channel [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-mdo-channel>\r\n</ng-template>\r\n<ng-template #cardKarmaProgramSkeleton>\r\n <sb-uic-card-karma-programs [randomColorApply]=\"true\" \r\n [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-karma-programs>\r\n</ng-template>\r\n<ng-template #cardKarmaProgram>\r\n <sb-uic-card-karma-programs [randomColorApply]=\"true\" \r\n [isCardLoading]=\"false\" [widgetData]=\"widgetData\"></sb-uic-card-karma-programs>\r\n</ng-template>\r\n<ng-template #cardScheduledAssessmentSkelton>\r\n <sb-uic-card-assessment [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-assessment>\r\n</ng-template>\r\n<ng-template #cardScheduledAssessment>\r\n <sb-uic-card-assessment [widgetData]=\"widgetData\" (contentData)=\"getRedirectUrlData($event)\" [isCardLoading]=\"false\" [enrollmentMapData]=\"enrollmentMapData\"></sb-uic-card-assessment>\r\n</ng-template>\r\n<ng-template #cardProgressLibSkeleton>\r\n <sb-uic-card-progress-portrait-lib \r\n [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-card-progress-portrait-lib>\r\n</ng-template>\r\n<ng-template #cardProgressLib>\r\n <sb-uic-card-progress-portrait-lib \r\n [isCardLoading]=\"false\" (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\"></sb-uic-card-progress-portrait-lib>\r\n</ng-template>\r\n<ng-template #cardKarmaProgramV2>\r\n <!-- <sb-uic-card-karma-programs-v2 [widgetData]=\"widgetData\"><sb-uic-card-karma-programs-v2> -->\r\n</ng-template>\r\n<ng-template #cardProvider>\r\n <sb-uic-provider-card [isCardLoading]=\"false\" [widgetData]=\"widgetData\"></sb-uic-provider-card>\r\n</ng-template>\r\n<ng-template #cardProviderSkeleton>\r\n <sb-uic-provider-card [isCardLoading]=\"true\" [widgetData]=\"widgetData\"></sb-uic-provider-card>\r\n</ng-template>\r\n\r\n<!-- cios card -->\r\n<ng-template #cardPortraitExtLibSkeleton>\r\n <sb-uic-card-portrait-ext [widgetData]=\"widgetData\" [isCardLoading]=\"true\"></sb-uic-card-portrait-ext>\r\n</ng-template>\r\n<ng-template #cardPortraitExtLib>\r\n <sb-uic-card-portrait-ext \r\n [cbPlanMapData]=\"cbPlanMapData\"\r\n (contentData)=\"getRedirectUrlData($event)\" [widgetData]=\"widgetData\" [isCardLoading]=\"false\"></sb-uic-card-portrait-ext>\r\n</ng-template>\r\n",
|
|
126
|
+
styles: [""]
|
|
127
|
+
}] }
|
|
128
|
+
];
|
|
129
|
+
/** @nocollapse */
|
|
130
|
+
CardsComponent.ctorParameters = () => [
|
|
131
|
+
{ type: UtilityService },
|
|
132
|
+
{ type: WidgetContentService },
|
|
133
|
+
{ type: Router }
|
|
134
|
+
];
|
|
135
|
+
CardsComponent.propDecorators = {
|
|
136
|
+
widgetData: [{ type: Input }],
|
|
137
|
+
triggerTelemetry: [{ type: Output }]
|
|
138
|
+
};
|
|
139
|
+
if (false) {
|
|
140
|
+
/** @type {?} */
|
|
141
|
+
CardsComponent.prototype.widgetData;
|
|
142
|
+
/** @type {?} */
|
|
143
|
+
CardsComponent.prototype.triggerTelemetry;
|
|
144
|
+
/** @type {?} */
|
|
145
|
+
CardsComponent.prototype.isIntranetAllowedSettings;
|
|
146
|
+
/** @type {?} */
|
|
147
|
+
CardsComponent.prototype.cbPlanMapData;
|
|
148
|
+
/** @type {?} */
|
|
149
|
+
CardsComponent.prototype.cbPlanInterval;
|
|
150
|
+
/** @type {?} */
|
|
151
|
+
CardsComponent.prototype.enrollInterval;
|
|
152
|
+
/** @type {?} */
|
|
153
|
+
CardsComponent.prototype.enrollmentMapData;
|
|
154
|
+
/**
|
|
155
|
+
* @type {?}
|
|
156
|
+
* @private
|
|
157
|
+
*/
|
|
158
|
+
CardsComponent.prototype.utilitySvc;
|
|
159
|
+
/**
|
|
160
|
+
* @type {?}
|
|
161
|
+
* @private
|
|
162
|
+
*/
|
|
163
|
+
CardsComponent.prototype.contSvc;
|
|
164
|
+
/** @type {?} */
|
|
165
|
+
CardsComponent.prototype.router;
|
|
166
|
+
}
|
|
167
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHN1bmJpcmQtY2IvY29uc3VtcHRpb24vIiwic291cmNlcyI6WyJsaWIvX2NvbW1vbi9jYXJkcy9jYXJkcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBRSxtQkFBbUIsRUFBb0IsTUFBTSx5QkFBeUIsQ0FBQztBQUNoRixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDakUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQ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BKU09OLnBhcnNlKGxvY2FsU3RvcmFnZS5nZXRJdGVtKCdjYnBEYXRhJykgfHwgJycpXHJcbiAgICAgIGlmIChjYnBMaXN0QXJyICYmIGNicExpc3RBcnIubGVuZ3RoKSB7XHJcbiAgICAgICAgY2JwTGlzdEFyci5mb3JFYWNoKChkYXRhOiBhbnkpID0+IHtcclxuICAgICAgICAgIGNicExpc3RbZGF0YS5pZGVudGlmaWVyXSA9IGRhdGFcclxuICAgICAgICB9KVxyXG4gICAgICB9XHJcbiAgICAgIHRoaXMuY2JQbGFuTWFwRGF0YSA9IGNicExpc3RcclxuICAgICAgLy8gdGhpcy5rYXJtYVBvaW50TG9hZGluZyA9IGZhbHNlXHJcbiAgICAgIGNsZWFySW50ZXJ2YWwodGhpcy5jYlBsYW5JbnRlcnZhbClcclxuICAgIH1cclxuICB9XHJcblxyXG4gIGdldEVucm9sbG1lbnREYXRhKCkge1xyXG4gICAgaWYgKGxvY2FsU3RvcmFnZS5nZXRJdGVtKCdlbnJvbGxtZW50TWFwRGF0YScpKSB7XHJcbiAgICAgICB0aGlzLmVucm9sbG1lbnRNYXBEYXRhID0gSlNPTi5wYXJzZShsb2NhbFN0b3JhZ2UuZ2V0SXRlbSgnZW5yb2xsbWVudE1hcERhdGEnKSB8fCAne30nKVxyXG4gICAgICBjbGVhckludGVydmFsKHRoaXMuZW5yb2xsSW50ZXJ2YWwpXHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICByYWlzZUNhcmRDbGljayhkYXRhOiBhbnkpIHtcclxuICAgIHRoaXMudHJpZ2dlclRlbGVtZXRyeS5lbWl0KGRhdGEpXHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { MatButtonModule, MatCardModule, MatIconModule, MatProgressSpinnerModule, MatTooltipModule } from '@angular/material';
|
|
8
|
-
import { RouterModule } from '@angular/router';
|
|
9
|
-
import { CardResourceComponent } from './card-resource/card-resource.component';
|
|
10
|
-
import { CardsComponent } from './cards.component';
|
|
11
|
-
import { CardPortraitComponent } from './card-portrait/card-portrait.component';
|
|
12
|
-
import { PipePublicURLModule } from '../../_pipes/pipe-public-URL/pipe-public-URL.module';
|
|
13
|
-
import { ObjectToArrayPipeModule } from '../../_pipes/object-to-array/object-to-array.pipe.module';
|
|
14
|
-
import { DisplayContentTypeLibModule } from '../display-content-type-lib/display-content-type-lib.module';
|
|
15
|
-
import { DefaultThumbnailModule } from '../../_directives/default-thumbnail/default-thumbnail.module';
|
|
16
|
-
import { PipeDurationTransformModule } from '../../_pipes/pipe-duration-transform/pipe-duration-transform.module';
|
|
17
|
-
import { CardUserComponent } from './card-user/card-user.component';
|
|
18
|
-
import { SkeletonLoaderLibModule } from '../skeleton-loader-lib/skeleton-loader-lib.module';
|
|
19
|
-
import { CardLandscapeComponent } from './card-landscape/card-landscape.component';
|
|
20
|
-
import { CardWideComponent } from './card-wide/card-wide.component';
|
|
21
|
-
import { CardMDOChannelComponent } from './card-mdo-channel/card-mdo-channel.component';
|
|
22
|
-
import { CardWideV2Component } from './card-wide-v2/card-wide-v2.component';
|
|
23
|
-
import { CardKarmaProgramsComponent } from './card-karma-programs/card-karma-programs.component';
|
|
24
|
-
import { CardKarmaProgramsV2Component } from './card-karma-programs-v2/card-karma-programs-v2.component';
|
|
25
|
-
import { ProviderCardComponent } from './provider-card/provider-card.component';
|
|
26
|
-
import { CardPortraitExtComponent } from './card-portrait-ext/card-portrait-ext.component';
|
|
27
|
-
import { CardAssessmentComponent } from './card-assessment/card-assessment/card-assessment.component';
|
|
28
|
-
import { CardProgressPortraitLibComponent } from './card-progress-portrait-lib/card-progress-portrait-lib.component';
|
|
29
|
-
// import { ContentProgressComponent } from './content-progress/content-progress.component';
|
|
30
|
-
import { ContentProgressModule } from './../content-progress/content-progress.module';
|
|
31
|
-
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
32
|
-
import { HttpLoaderFactory } from '../content-strip-with-tabs-lib/content-strip-with-tabs-lib.module';
|
|
33
|
-
import { HttpClient } from '@angular/common/http';
|
|
34
|
-
import { DialogComponentsModule } from '../dialog-components/dialog-components.module';
|
|
35
|
-
import { CardMdoChannelV1Component } from './card-mdo-channel-v1/card-mdo-channel-v1.component';
|
|
36
|
-
import { AvatarPhotoLibModule } from '../avatar-photo-lib/avatar-photo-lib.module';
|
|
37
|
-
const ɵ0 = HttpLoaderFactory;
|
|
38
|
-
export class CardsModule {
|
|
39
|
-
}
|
|
40
|
-
CardsModule.decorators = [
|
|
41
|
-
{ type: NgModule, args: [{
|
|
42
|
-
declarations: [
|
|
43
|
-
CardResourceComponent,
|
|
44
|
-
CardsComponent, CardPortraitComponent,
|
|
45
|
-
CardUserComponent,
|
|
46
|
-
CardLandscapeComponent,
|
|
47
|
-
CardWideComponent,
|
|
48
|
-
CardMDOChannelComponent,
|
|
49
|
-
CardWideV2Component,
|
|
50
|
-
CardKarmaProgramsComponent,
|
|
51
|
-
CardKarmaProgramsV2Component,
|
|
52
|
-
ProviderCardComponent,
|
|
53
|
-
CardPortraitExtComponent,
|
|
54
|
-
CardAssessmentComponent,
|
|
55
|
-
CardProgressPortraitLibComponent,
|
|
56
|
-
CardMdoChannelV1Component
|
|
57
|
-
],
|
|
58
|
-
imports: [
|
|
59
|
-
CommonModule,
|
|
60
|
-
MatCardModule,
|
|
61
|
-
MatButtonModule,
|
|
62
|
-
MatTooltipModule,
|
|
63
|
-
MatIconModule,
|
|
64
|
-
MatTooltipModule,
|
|
65
|
-
RouterModule,
|
|
66
|
-
PipePublicURLModule,
|
|
67
|
-
ObjectToArrayPipeModule,
|
|
68
|
-
DisplayContentTypeLibModule,
|
|
69
|
-
DefaultThumbnailModule,
|
|
70
|
-
PipeDurationTransformModule,
|
|
71
|
-
SkeletonLoaderLibModule,
|
|
72
|
-
MatProgressSpinnerModule,
|
|
73
|
-
ContentProgressModule,
|
|
74
|
-
DialogComponentsModule,
|
|
75
|
-
TranslateModule.forRoot({
|
|
76
|
-
loader: {
|
|
77
|
-
provide: TranslateLoader,
|
|
78
|
-
useFactory: ɵ0,
|
|
79
|
-
deps: [HttpClient],
|
|
80
|
-
},
|
|
81
|
-
}),
|
|
82
|
-
AvatarPhotoLibModule
|
|
83
|
-
],
|
|
84
|
-
entryComponents: [CardsComponent],
|
|
85
|
-
exports: [
|
|
86
|
-
CardsComponent,
|
|
87
|
-
CardResourceComponent,
|
|
88
|
-
CardPortraitComponent,
|
|
89
|
-
CardLandscapeComponent,
|
|
90
|
-
CardUserComponent,
|
|
91
|
-
CardWideComponent,
|
|
92
|
-
CardMDOChannelComponent,
|
|
93
|
-
CardWideV2Component,
|
|
94
|
-
CardKarmaProgramsComponent,
|
|
95
|
-
CardKarmaProgramsV2Component,
|
|
96
|
-
CardPortraitExtComponent,
|
|
97
|
-
],
|
|
98
|
-
},] }
|
|
99
|
-
];
|
|
100
|
-
export { ɵ0 };
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
import { NgModule } from '@angular/core';
|
|
7
|
+
import { MatButtonModule, MatCardModule, MatIconModule, MatProgressSpinnerModule, MatTooltipModule } from '@angular/material';
|
|
8
|
+
import { RouterModule } from '@angular/router';
|
|
9
|
+
import { CardResourceComponent } from './card-resource/card-resource.component';
|
|
10
|
+
import { CardsComponent } from './cards.component';
|
|
11
|
+
import { CardPortraitComponent } from './card-portrait/card-portrait.component';
|
|
12
|
+
import { PipePublicURLModule } from '../../_pipes/pipe-public-URL/pipe-public-URL.module';
|
|
13
|
+
import { ObjectToArrayPipeModule } from '../../_pipes/object-to-array/object-to-array.pipe.module';
|
|
14
|
+
import { DisplayContentTypeLibModule } from '../display-content-type-lib/display-content-type-lib.module';
|
|
15
|
+
import { DefaultThumbnailModule } from '../../_directives/default-thumbnail/default-thumbnail.module';
|
|
16
|
+
import { PipeDurationTransformModule } from '../../_pipes/pipe-duration-transform/pipe-duration-transform.module';
|
|
17
|
+
import { CardUserComponent } from './card-user/card-user.component';
|
|
18
|
+
import { SkeletonLoaderLibModule } from '../skeleton-loader-lib/skeleton-loader-lib.module';
|
|
19
|
+
import { CardLandscapeComponent } from './card-landscape/card-landscape.component';
|
|
20
|
+
import { CardWideComponent } from './card-wide/card-wide.component';
|
|
21
|
+
import { CardMDOChannelComponent } from './card-mdo-channel/card-mdo-channel.component';
|
|
22
|
+
import { CardWideV2Component } from './card-wide-v2/card-wide-v2.component';
|
|
23
|
+
import { CardKarmaProgramsComponent } from './card-karma-programs/card-karma-programs.component';
|
|
24
|
+
import { CardKarmaProgramsV2Component } from './card-karma-programs-v2/card-karma-programs-v2.component';
|
|
25
|
+
import { ProviderCardComponent } from './provider-card/provider-card.component';
|
|
26
|
+
import { CardPortraitExtComponent } from './card-portrait-ext/card-portrait-ext.component';
|
|
27
|
+
import { CardAssessmentComponent } from './card-assessment/card-assessment/card-assessment.component';
|
|
28
|
+
import { CardProgressPortraitLibComponent } from './card-progress-portrait-lib/card-progress-portrait-lib.component';
|
|
29
|
+
// import { ContentProgressComponent } from './content-progress/content-progress.component';
|
|
30
|
+
import { ContentProgressModule } from './../content-progress/content-progress.module';
|
|
31
|
+
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
32
|
+
import { HttpLoaderFactory } from '../content-strip-with-tabs-lib/content-strip-with-tabs-lib.module';
|
|
33
|
+
import { HttpClient } from '@angular/common/http';
|
|
34
|
+
import { DialogComponentsModule } from '../dialog-components/dialog-components.module';
|
|
35
|
+
import { CardMdoChannelV1Component } from './card-mdo-channel-v1/card-mdo-channel-v1.component';
|
|
36
|
+
import { AvatarPhotoLibModule } from '../avatar-photo-lib/avatar-photo-lib.module';
|
|
37
|
+
const ɵ0 = HttpLoaderFactory;
|
|
38
|
+
export class CardsModule {
|
|
39
|
+
}
|
|
40
|
+
CardsModule.decorators = [
|
|
41
|
+
{ type: NgModule, args: [{
|
|
42
|
+
declarations: [
|
|
43
|
+
CardResourceComponent,
|
|
44
|
+
CardsComponent, CardPortraitComponent,
|
|
45
|
+
CardUserComponent,
|
|
46
|
+
CardLandscapeComponent,
|
|
47
|
+
CardWideComponent,
|
|
48
|
+
CardMDOChannelComponent,
|
|
49
|
+
CardWideV2Component,
|
|
50
|
+
CardKarmaProgramsComponent,
|
|
51
|
+
CardKarmaProgramsV2Component,
|
|
52
|
+
ProviderCardComponent,
|
|
53
|
+
CardPortraitExtComponent,
|
|
54
|
+
CardAssessmentComponent,
|
|
55
|
+
CardProgressPortraitLibComponent,
|
|
56
|
+
CardMdoChannelV1Component
|
|
57
|
+
],
|
|
58
|
+
imports: [
|
|
59
|
+
CommonModule,
|
|
60
|
+
MatCardModule,
|
|
61
|
+
MatButtonModule,
|
|
62
|
+
MatTooltipModule,
|
|
63
|
+
MatIconModule,
|
|
64
|
+
MatTooltipModule,
|
|
65
|
+
RouterModule,
|
|
66
|
+
PipePublicURLModule,
|
|
67
|
+
ObjectToArrayPipeModule,
|
|
68
|
+
DisplayContentTypeLibModule,
|
|
69
|
+
DefaultThumbnailModule,
|
|
70
|
+
PipeDurationTransformModule,
|
|
71
|
+
SkeletonLoaderLibModule,
|
|
72
|
+
MatProgressSpinnerModule,
|
|
73
|
+
ContentProgressModule,
|
|
74
|
+
DialogComponentsModule,
|
|
75
|
+
TranslateModule.forRoot({
|
|
76
|
+
loader: {
|
|
77
|
+
provide: TranslateLoader,
|
|
78
|
+
useFactory: ɵ0,
|
|
79
|
+
deps: [HttpClient],
|
|
80
|
+
},
|
|
81
|
+
}),
|
|
82
|
+
AvatarPhotoLibModule
|
|
83
|
+
],
|
|
84
|
+
entryComponents: [CardsComponent],
|
|
85
|
+
exports: [
|
|
86
|
+
CardsComponent,
|
|
87
|
+
CardResourceComponent,
|
|
88
|
+
CardPortraitComponent,
|
|
89
|
+
CardLandscapeComponent,
|
|
90
|
+
CardUserComponent,
|
|
91
|
+
CardWideComponent,
|
|
92
|
+
CardMDOChannelComponent,
|
|
93
|
+
CardWideV2Component,
|
|
94
|
+
CardKarmaProgramsComponent,
|
|
95
|
+
CardKarmaProgramsV2Component,
|
|
96
|
+
CardPortraitExtComponent,
|
|
97
|
+
],
|
|
98
|
+
},] }
|
|
99
|
+
];
|
|
100
|
+
export { ɵ0 };
|
|
101
101
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHN1bmJpcmQtY2IvY29uc3VtcHRpb24vIiwic291cmNlcyI6WyJsaWIvX2NvbW1vbi9jYXJkcy9jYXJkcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxlQUFlLEVBQUUsYUFBYSxFQUFFLGFBQWEsRUFBRSx3QkFBd0IsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQzlILE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNoRixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFFLHFCQUFxQ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