@sunbird-cb/consumption 0.0.2 → 0.0.3-ang-17-20
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/fesm2022/sunbird-cb-consumption.mjs +28254 -0
- package/fesm2022/sunbird-cb-consumption.mjs.map +1 -0
- package/index.d.ts +6549 -0
- package/index.d.ts.map +1 -0
- package/package.json +22 -19
- package/sunbird-cb-consumption-0.0.3-ang-17-20.tgz +0 -0
- package/bundles/sunbird-cb-consumption.umd.js +0 -8436
- package/bundles/sunbird-cb-consumption.umd.js.map +0 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +0 -17
- package/bundles/sunbird-cb-consumption.umd.min.js.map +0 -1
- package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +0 -209
- package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +0 -173
- package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +0 -34
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +0 -141
- package/esm2015/lib/_common/cards/cards.component.js +0 -107
- package/esm2015/lib/_common/cards/cards.module.js +0 -47
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +0 -324
- package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +0 -27
- package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +0 -52
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +0 -1756
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +0 -212
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +0 -69
- package/esm2015/lib/_common/data-points/data-points.component.js +0 -110
- package/esm2015/lib/_common/data-points/data-points.module.js +0 -23
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +0 -56
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +0 -18
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +0 -267
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +0 -23
- package/esm2015/lib/_common/pills/pills.component.js +0 -49
- package/esm2015/lib/_common/pills/pills.module.js +0 -24
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +0 -40
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +0 -28
- package/esm2015/lib/_common/sliders/sliders.component.js +0 -184
- package/esm2015/lib/_common/sliders/sliders.model.js +0 -61
- package/esm2015/lib/_common/sliders/sliders.module.js +0 -50
- package/esm2015/lib/_constants/misc.constants.js +0 -5
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +0 -52
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +0 -19
- package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +0 -127
- package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +0 -19
- package/esm2015/lib/_directives/navigation/navigation.directive.js +0 -54
- package/esm2015/lib/_directives/navigation/navigation.module.js +0 -19
- package/esm2015/lib/_models/card-content-v2.model.js +0 -78
- package/esm2015/lib/_models/card-content.model.js +0 -69
- package/esm2015/lib/_models/card-users.model.js +0 -101
- package/esm2015/lib/_models/content-strip-multiple.model.js +0 -195
- package/esm2015/lib/_models/event.js +0 -45
- package/esm2015/lib/_models/profile-v3.models.js +0 -196
- package/esm2015/lib/_models/widget-content.model.js +0 -876
- package/esm2015/lib/_models/widget-search.model.js +0 -472
- package/esm2015/lib/_models/widget-user.model.js +0 -17
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +0 -19
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +0 -120
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +0 -19
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +0 -38
- package/esm2015/lib/_services/common-methods.service.js +0 -60
- package/esm2015/lib/_services/configurations.service.js +0 -243
- package/esm2015/lib/_services/insite-data.service.js +0 -45
- package/esm2015/lib/_services/multilingual-translations.service.js +0 -228
- package/esm2015/lib/_services/viewer-route-util.js +0 -125
- package/esm2015/lib/_services/widget-content.service.js +0 -829
- package/esm2015/lib/_services/widget-user.service.js +0 -439
- package/esm2015/lib/consumption.component.js +0 -26
- package/esm2015/lib/consumption.config.js +0 -12
- package/esm2015/lib/consumption.module.js +0 -26
- package/esm2015/lib/consumption.service.js +0 -18
- package/esm2015/lib/registration-lib.config.js +0 -21
- package/esm2015/public-api.js +0 -19
- package/esm2015/sunbird-cb-consumption.js +0 -42
- package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +0 -222
- package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +0 -182
- package/esm5/lib/_common/cards/card-resource/card-resource.component.js +0 -41
- package/esm5/lib/_common/cards/card-user/card-user.component.js +0 -147
- package/esm5/lib/_common/cards/cards.component.js +0 -127
- package/esm5/lib/_common/cards/cards.module.js +0 -51
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +0 -391
- package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +0 -31
- package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +0 -59
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +0 -2063
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +0 -212
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +0 -73
- package/esm5/lib/_common/data-points/data-points.component.js +0 -120
- package/esm5/lib/_common/data-points/data-points.module.js +0 -27
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +0 -63
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +0 -22
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +0 -299
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +0 -27
- package/esm5/lib/_common/pills/pills.component.js +0 -58
- package/esm5/lib/_common/pills/pills.module.js +0 -28
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +0 -45
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +0 -32
- package/esm5/lib/_common/sliders/sliders.component.js +0 -211
- package/esm5/lib/_common/sliders/sliders.model.js +0 -61
- package/esm5/lib/_common/sliders/sliders.module.js +0 -67
- package/esm5/lib/_constants/misc.constants.js +0 -5
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +0 -60
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +0 -23
- package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +0 -137
- package/esm5/lib/_directives/image-responsive/image-responsive.module.js +0 -23
- package/esm5/lib/_directives/navigation/navigation.directive.js +0 -63
- package/esm5/lib/_directives/navigation/navigation.module.js +0 -23
- package/esm5/lib/_models/card-content-v2.model.js +0 -78
- package/esm5/lib/_models/card-content.model.js +0 -69
- package/esm5/lib/_models/card-users.model.js +0 -101
- package/esm5/lib/_models/content-strip-multiple.model.js +0 -195
- package/esm5/lib/_models/event.js +0 -45
- package/esm5/lib/_models/profile-v3.models.js +0 -196
- package/esm5/lib/_models/widget-content.model.js +0 -876
- package/esm5/lib/_models/widget-search.model.js +0 -472
- package/esm5/lib/_models/widget-user.model.js +0 -17
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +0 -23
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +0 -143
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +0 -23
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +0 -41
- package/esm5/lib/_services/common-methods.service.js +0 -73
- package/esm5/lib/_services/configurations.service.js +0 -257
- package/esm5/lib/_services/insite-data.service.js +0 -48
- package/esm5/lib/_services/multilingual-translations.service.js +0 -256
- package/esm5/lib/_services/viewer-route-util.js +0 -127
- package/esm5/lib/_services/widget-content.service.js +0 -1078
- package/esm5/lib/_services/widget-user.service.js +0 -501
- package/esm5/lib/consumption.component.js +0 -28
- package/esm5/lib/consumption.config.js +0 -12
- package/esm5/lib/consumption.module.js +0 -30
- package/esm5/lib/consumption.service.js +0 -21
- package/esm5/lib/registration-lib.config.js +0 -21
- package/esm5/public-api.js +0 -19
- package/esm5/sunbird-cb-consumption.js +0 -42
- package/fesm2015/sunbird-cb-consumption.js +0 -7211
- package/fesm2015/sunbird-cb-consumption.js.map +0 -1
- package/fesm5/sunbird-cb-consumption.js +0 -8190
- package/fesm5/sunbird-cb-consumption.js.map +0 -1
- package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +0 -35
- package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +0 -31
- package/lib/_common/cards/card-resource/card-resource.component.d.ts +0 -8
- package/lib/_common/cards/card-user/card-user.component.d.ts +0 -24
- package/lib/_common/cards/cards.component.d.ts +0 -20
- package/lib/_common/cards/cards.module.d.ts +0 -2
- package/lib/_common/competency-passbook/competency-passbook.component.d.ts +0 -36
- package/lib/_common/competency-passbook/competency-passbook.module.d.ts +0 -2
- package/lib/_common/competency-passbook/competency-passbook.service.d.ts +0 -8
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +0 -180
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +0 -134
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +0 -5
- package/lib/_common/data-points/data-points.component.d.ts +0 -15
- package/lib/_common/data-points/data-points.module.d.ts +0 -2
- package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +0 -11
- package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +0 -2
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +0 -31
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +0 -2
- package/lib/_common/pills/pills.component.d.ts +0 -10
- package/lib/_common/pills/pills.module.d.ts +0 -2
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +0 -8
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +0 -2
- package/lib/_common/sliders/sliders.component.d.ts +0 -26
- package/lib/_common/sliders/sliders.model.d.ts +0 -34
- package/lib/_common/sliders/sliders.module.d.ts +0 -6
- package/lib/_constants/misc.constants.d.ts +0 -2
- package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +0 -9
- package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +0 -2
- package/lib/_directives/image-responsive/image-responsive.directive.d.ts +0 -17
- package/lib/_directives/image-responsive/image-responsive.module.d.ts +0 -2
- package/lib/_directives/navigation/navigation.directive.d.ts +0 -9
- package/lib/_directives/navigation/navigation.module.d.ts +0 -2
- package/lib/_models/card-content-v2.model.d.ts +0 -44
- package/lib/_models/card-content.model.d.ts +0 -41
- package/lib/_models/card-users.model.d.ts +0 -49
- package/lib/_models/content-strip-multiple.model.d.ts +0 -128
- package/lib/_models/event.d.ts +0 -18
- package/lib/_models/profile-v3.models.d.ts +0 -91
- package/lib/_models/widget-content.model.d.ts +0 -497
- package/lib/_models/widget-search.model.d.ts +0 -252
- package/lib/_models/widget-user.model.d.ts +0 -5
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +0 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +0 -6
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +0 -2
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +0 -6
- package/lib/_services/common-methods.service.d.ts +0 -37
- package/lib/_services/configurations.service.d.ts +0 -71
- package/lib/_services/insite-data.service.d.ts +0 -7
- package/lib/_services/multilingual-translations.service.d.ts +0 -20
- package/lib/_services/viewer-route-util.d.ts +0 -8
- package/lib/_services/widget-content.service.d.ts +0 -83
- package/lib/_services/widget-user.service.d.ts +0 -31
- package/lib/consumption.component.d.ts +0 -5
- package/lib/consumption.config.d.ts +0 -6
- package/lib/consumption.module.d.ts +0 -2
- package/lib/consumption.service.d.ts +0 -3
- package/lib/registration-lib.config.d.ts +0 -4
- package/public-api.d.ts +0 -11
- package/sunbird-cb-consumption.d.ts +0 -37
- package/sunbird-cb-consumption.metadata.json +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { NsCardContent } from '../../../_models/card-content.model';
|
|
3
|
-
import { MatSnackBar } from '@angular/material';
|
|
4
|
-
import { ConfigurationsService, EventService } from '@sunbird-cb/utils';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { MultilingualTranslationsService } from '../../../_services/multilingual-translations.service';
|
|
7
|
-
export declare class CardLandscapeComponent implements OnInit {
|
|
8
|
-
private snackBar;
|
|
9
|
-
private events;
|
|
10
|
-
private translate;
|
|
11
|
-
private langtranslations;
|
|
12
|
-
private configSvc;
|
|
13
|
-
widgetData: NsCardContent.ICard;
|
|
14
|
-
isLiveOrMarkForDeletion: any;
|
|
15
|
-
showIntranetContent: any;
|
|
16
|
-
isIntranetAllowedSettings: any;
|
|
17
|
-
isCardLoading: boolean;
|
|
18
|
-
contentData: EventEmitter<any>;
|
|
19
|
-
isCardFlipped: boolean;
|
|
20
|
-
defaultThumbnail: any;
|
|
21
|
-
acbpConstants: typeof NsCardContent.ACBPConst;
|
|
22
|
-
sourceLogos: any;
|
|
23
|
-
defaultSLogo: any;
|
|
24
|
-
showFlip: boolean;
|
|
25
|
-
widgetType: any;
|
|
26
|
-
widgetSubType: any;
|
|
27
|
-
cbPlanMapData: any;
|
|
28
|
-
cbPlanInterval: any;
|
|
29
|
-
constructor(snackBar: MatSnackBar, events: EventService, translate: TranslateService, langtranslations: MultilingualTranslationsService, configSvc: ConfigurationsService);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
showSnackbar(): void;
|
|
32
|
-
getRedirectUrlData(contentData: any): void;
|
|
33
|
-
raiseTelemetry(): void;
|
|
34
|
-
getCbPlanData(): void;
|
|
35
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { NsCardContent } from '../../../_models/card-content.model';
|
|
3
|
-
import { MatSnackBar } from '@angular/material';
|
|
4
|
-
import { ConfigurationsService, EventService } from '@sunbird-cb/utils';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { MultilingualTranslationsService } from '../../../_services/multilingual-translations.service';
|
|
7
|
-
export declare class CardPortraitComponent implements OnInit {
|
|
8
|
-
private snackBar;
|
|
9
|
-
private events;
|
|
10
|
-
private translate;
|
|
11
|
-
private langtranslations;
|
|
12
|
-
private configSvc;
|
|
13
|
-
widgetData: NsCardContent.ICard;
|
|
14
|
-
isLiveOrMarkForDeletion: any;
|
|
15
|
-
showIntranetContent: any;
|
|
16
|
-
isIntranetAllowedSettings: any;
|
|
17
|
-
isCardLoading: boolean;
|
|
18
|
-
contentData: EventEmitter<any>;
|
|
19
|
-
isCardFlipped: boolean;
|
|
20
|
-
defaultThumbnail: any;
|
|
21
|
-
sourceLogos: any;
|
|
22
|
-
defaultSLogo: any;
|
|
23
|
-
showFlip: boolean;
|
|
24
|
-
widgetType: any;
|
|
25
|
-
widgetSubType: any;
|
|
26
|
-
constructor(snackBar: MatSnackBar, events: EventService, translate: TranslateService, langtranslations: MultilingualTranslationsService, configSvc: ConfigurationsService);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
showSnackbar(): void;
|
|
29
|
-
getRedirectUrlData(contentData: any): void;
|
|
30
|
-
raiseTelemetry(): void;
|
|
31
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver';
|
|
3
|
-
import { NsCardContent } from '../../../_models/card-content.model';
|
|
4
|
-
export declare class CardResourceComponent extends WidgetBaseComponent implements OnInit, NsWidgetResolver.IWidgetData<NsCardContent.ICard> {
|
|
5
|
-
widgetData: NsCardContent.ICard;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { NsCardUser } from '../../../_models/card-users.model';
|
|
3
|
-
import { MatSnackBar } from '@angular/material';
|
|
4
|
-
import { ConfigurationsService, EventService } from '@sunbird-cb/utils';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { MultilingualTranslationsService } from '../../../_services/multilingual-translations.service';
|
|
7
|
-
export declare class CardUserComponent implements OnInit {
|
|
8
|
-
private snackBar;
|
|
9
|
-
private events;
|
|
10
|
-
private translate;
|
|
11
|
-
private langtranslations;
|
|
12
|
-
private configSvc;
|
|
13
|
-
widgetData: NsCardUser.ICard;
|
|
14
|
-
userData: EventEmitter<any>;
|
|
15
|
-
defaultThumbnail: any;
|
|
16
|
-
sourceLogos: any;
|
|
17
|
-
defaultSLogo: any;
|
|
18
|
-
widgetType: any;
|
|
19
|
-
widgetSubType: any;
|
|
20
|
-
constructor(snackBar: MatSnackBar, events: EventService, translate: TranslateService, langtranslations: MultilingualTranslationsService, configSvc: ConfigurationsService);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
getRedirectUrlData(userData: any): void;
|
|
23
|
-
raiseTelemetry(): void;
|
|
24
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { WidgetBaseComponent, NsWidgetResolver } from '@sunbird-cb/resolver';
|
|
3
|
-
import { NsCardContent } from '../../_models/card-content.model';
|
|
4
|
-
import { UtilityService } from '@sunbird-cb/utils';
|
|
5
|
-
import { ConfigurationsService } from '../../_services/configurations.service';
|
|
6
|
-
import { WidgetContentService } from '../../_services/widget-content.service';
|
|
7
|
-
import { Router } from '@angular/router';
|
|
8
|
-
export declare class CardsComponent extends WidgetBaseComponent implements OnInit, NsWidgetResolver.IWidgetData<NsCardContent.ICard> {
|
|
9
|
-
private utilitySvc;
|
|
10
|
-
private configSvc;
|
|
11
|
-
private contSvc;
|
|
12
|
-
router: Router;
|
|
13
|
-
widgetData: NsCardContent.ICard;
|
|
14
|
-
isIntranetAllowedSettings: boolean;
|
|
15
|
-
constructor(utilitySvc: UtilityService, configSvc: ConfigurationsService, contSvc: WidgetContentService, router: Router);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
readonly isLiveOrMarkForDeletion: boolean;
|
|
18
|
-
readonly showIntranetContent: boolean;
|
|
19
|
-
getRedirectUrlData(content: any): Promise<void>;
|
|
20
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ConfigurationsService } from '@sunbird-cb/utils';
|
|
3
|
-
import { WidgetContentService } from '../../_services/widget-content.service';
|
|
4
|
-
import { CompetencyPassbookService } from './competency-passbook.service';
|
|
5
|
-
import { Router } from '@angular/router';
|
|
6
|
-
export declare class CompetencyPassbookComponent implements OnInit {
|
|
7
|
-
configSvc: ConfigurationsService;
|
|
8
|
-
contentSvc: WidgetContentService;
|
|
9
|
-
competencySvc: CompetencyPassbookService;
|
|
10
|
-
router: Router;
|
|
11
|
-
objectData: any;
|
|
12
|
-
providerId: any;
|
|
13
|
-
emptyResponse: EventEmitter<any>;
|
|
14
|
-
loadCometency: boolean;
|
|
15
|
-
loadCompetencyArea: boolean;
|
|
16
|
-
orgId: any;
|
|
17
|
-
competencyArea: any[];
|
|
18
|
-
selectedValue: any;
|
|
19
|
-
competencyVersion: string;
|
|
20
|
-
competencyTheme: any;
|
|
21
|
-
allcompetencyTheme: any;
|
|
22
|
-
competencyStrength: any;
|
|
23
|
-
competencyThemeLength: any;
|
|
24
|
-
showAllTheme: any;
|
|
25
|
-
constructor(configSvc: ConfigurationsService, contentSvc: WidgetContentService, competencySvc: CompetencyPassbookService, router: Router);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
showMore(): void;
|
|
28
|
-
getCompetencyArea(): Promise<void>;
|
|
29
|
-
callCompetencySearch(request: any): Promise<any>;
|
|
30
|
-
competencyChange(e: any): void;
|
|
31
|
-
getAllCompetencies(): void;
|
|
32
|
-
getcompetencyTheme(value: any, addFilter?: any): Promise<void>;
|
|
33
|
-
viewMoreChildren(data: any): void;
|
|
34
|
-
displayAllTheme(event: any): void;
|
|
35
|
-
navigateToCompetency(compData: any): void;
|
|
36
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export declare class CompetencyPassbookService {
|
|
4
|
-
private http;
|
|
5
|
-
constructor(http: HttpClient);
|
|
6
|
-
getCompetencyList(payload: any): Observable<any>;
|
|
7
|
-
fetchCertificate(certId: string): Observable<any>;
|
|
8
|
-
}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
-
import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver';
|
|
3
|
-
import { NsContentStripWithTabs } from './content-strip-with-tabs-lib.model';
|
|
4
|
-
import { WidgetContentService } from '../../_services/widget-content.service';
|
|
5
|
-
import { NsContent } from '../../_models/widget-content.model';
|
|
6
|
-
import { MultilingualTranslationsService } from '../../_services/multilingual-translations.service';
|
|
7
|
-
import { LoggerService, EventService, ConfigurationsService, UtilityService } from '@sunbird-cb/utils';
|
|
8
|
-
import { Subscription } from 'rxjs';
|
|
9
|
-
import { WidgetUserService } from '../../_services/widget-user.service';
|
|
10
|
-
import { MatTabChangeEvent } from '@angular/material';
|
|
11
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
12
|
-
interface IStripUnitContentData {
|
|
13
|
-
key: string;
|
|
14
|
-
canHideStrip: boolean;
|
|
15
|
-
mode?: string;
|
|
16
|
-
showStrip: boolean;
|
|
17
|
-
disableTranslate: boolean;
|
|
18
|
-
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
19
|
-
stripTitle: string;
|
|
20
|
-
stripTitleLink?: {
|
|
21
|
-
link: {
|
|
22
|
-
queryParams: string;
|
|
23
|
-
};
|
|
24
|
-
icon: string;
|
|
25
|
-
queryParams: string;
|
|
26
|
-
};
|
|
27
|
-
sliderConfig?: {
|
|
28
|
-
showNavs: boolean;
|
|
29
|
-
showDots: boolean;
|
|
30
|
-
maxWidgets?: number;
|
|
31
|
-
cerificateCardMargin?: boolean;
|
|
32
|
-
};
|
|
33
|
-
stripConfig: any;
|
|
34
|
-
tabs?: NsContentStripWithTabs.IContentStripTab[] | undefined;
|
|
35
|
-
stripName?: string;
|
|
36
|
-
stripLogo?: string;
|
|
37
|
-
description?: string;
|
|
38
|
-
stripInfo?: NsContentStripWithTabs.IStripInfo;
|
|
39
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
40
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
41
|
-
showOnNoData: boolean;
|
|
42
|
-
showOnLoader: boolean;
|
|
43
|
-
showOnError: boolean;
|
|
44
|
-
loaderWidgets?: any;
|
|
45
|
-
stripBackground?: string;
|
|
46
|
-
secondaryHeading?: any;
|
|
47
|
-
viewMoreUrl: any;
|
|
48
|
-
}
|
|
49
|
-
export declare class ContentStripWithTabsLibComponent extends WidgetBaseComponent implements OnInit, OnDestroy, NsWidgetResolver.IWidgetData<NsContentStripWithTabs.IContentStripMultiple> {
|
|
50
|
-
private contentSvc;
|
|
51
|
-
private loggerSvc;
|
|
52
|
-
private eventSvc;
|
|
53
|
-
private configSvc;
|
|
54
|
-
utilitySvc: UtilityService;
|
|
55
|
-
private userSvc;
|
|
56
|
-
private translate;
|
|
57
|
-
private langtranslations;
|
|
58
|
-
widgetData: NsContentStripWithTabs.IContentStripMultiple;
|
|
59
|
-
emptyResponse: EventEmitter<any>;
|
|
60
|
-
providerId: any;
|
|
61
|
-
id: string;
|
|
62
|
-
stripsResultDataMap: {
|
|
63
|
-
[key: string]: IStripUnitContentData;
|
|
64
|
-
};
|
|
65
|
-
stripsKeyOrder: string[];
|
|
66
|
-
showAccordionData: boolean;
|
|
67
|
-
showParentLoader: boolean;
|
|
68
|
-
showParentError: boolean;
|
|
69
|
-
showParentNoData: boolean;
|
|
70
|
-
errorDataCount: number;
|
|
71
|
-
noDataCount: number;
|
|
72
|
-
successDataCount: number;
|
|
73
|
-
contentAvailable: boolean;
|
|
74
|
-
baseUrl: string;
|
|
75
|
-
veifiedKarmayogi: boolean;
|
|
76
|
-
environment: any;
|
|
77
|
-
changeEventSubscription: Subscription | null;
|
|
78
|
-
defaultMaxWidgets: number;
|
|
79
|
-
enrollInterval: any;
|
|
80
|
-
todaysEvents: any;
|
|
81
|
-
constructor(environment: any, contentSvc: WidgetContentService, loggerSvc: LoggerService, eventSvc: EventService, configSvc: ConfigurationsService, utilitySvc: UtilityService, userSvc: WidgetUserService, translate: TranslateService, langtranslations: MultilingualTranslationsService);
|
|
82
|
-
ngOnInit(): void;
|
|
83
|
-
ngOnDestroy(): void;
|
|
84
|
-
showAccordion(key: string): boolean;
|
|
85
|
-
setHiddenForStrip(key: string): void;
|
|
86
|
-
private getIfStripHidden;
|
|
87
|
-
private initData;
|
|
88
|
-
private fetchStripFromKey;
|
|
89
|
-
isStripShowing(data: any): any;
|
|
90
|
-
readonly isMobile: boolean;
|
|
91
|
-
getdata(data: IStripUnitContentData): {};
|
|
92
|
-
checkCondition(wData: NsContentStripWithTabs.IContentStripMultiple, data: IStripUnitContentData): boolean;
|
|
93
|
-
checkVisible(data: IStripUnitContentData): boolean;
|
|
94
|
-
getContineuLearningLenth(data: IStripUnitContentData): number;
|
|
95
|
-
getLength(data: IStripUnitContentData): number;
|
|
96
|
-
private getFiltersFromArray;
|
|
97
|
-
private transformSearchV6FiltersV2;
|
|
98
|
-
checkForDateFilters(filters: any): any;
|
|
99
|
-
private fetchStripFromRequestData;
|
|
100
|
-
fetchFromEnrollmentList(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): void;
|
|
101
|
-
splitEnrollmentTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): any[];
|
|
102
|
-
getInprogressAndCompleted(array: NsContent.IContent[], customFilter: any, strip: NsContentStripWithTabs.IContentStripUnit): {
|
|
103
|
-
value: string;
|
|
104
|
-
widgets: ({
|
|
105
|
-
widgetType: string;
|
|
106
|
-
widgetSubType: string;
|
|
107
|
-
widgetHostClass: string;
|
|
108
|
-
widgetData: {
|
|
109
|
-
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
110
|
-
cardCustomeClass: string;
|
|
111
|
-
context: {
|
|
112
|
-
pageSection: string;
|
|
113
|
-
position: number;
|
|
114
|
-
};
|
|
115
|
-
intranetMode: "" | "hide" | "greyOut";
|
|
116
|
-
deletedMode: "" | "hide" | "greyOut";
|
|
117
|
-
contentTags: NsContentStripWithTabs.IContentTags;
|
|
118
|
-
batch: any;
|
|
119
|
-
content: NsContent.IContent;
|
|
120
|
-
};
|
|
121
|
-
} | {
|
|
122
|
-
widgetType: string;
|
|
123
|
-
widgetSubType: string;
|
|
124
|
-
widgetHostClass: string;
|
|
125
|
-
widgetData: {};
|
|
126
|
-
})[];
|
|
127
|
-
}[];
|
|
128
|
-
fetchFromSearchV6(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
129
|
-
searchV6Request(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
130
|
-
fetchFromTrendingContent(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
131
|
-
trendingSearchRequest(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
132
|
-
toggleInfo(data: IStripUnitContentData): void;
|
|
133
|
-
private transformContentsToWidgets;
|
|
134
|
-
private transformEventsToWidgets;
|
|
135
|
-
private transformSkeletonToWidgets;
|
|
136
|
-
private processStrip;
|
|
137
|
-
private checkParentStatus;
|
|
138
|
-
checkForEmptyWidget(strip: NsContentStripWithTabs.IContentStripUnit): boolean;
|
|
139
|
-
tabClicked(tabEvent: MatTabChangeEvent, stripMap: IStripUnitContentData, stripKey: string): void;
|
|
140
|
-
getTabDataByNewReqSearchV6(strip: NsContentStripWithTabs.IContentStripUnit, tabIndex: number, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
141
|
-
getTabDataByNewReqTrending(strip: NsContentStripWithTabs.IContentStripUnit, tabIndex: number, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
142
|
-
getTabDataByfilter(strip: NsContentStripWithTabs.IContentStripUnit, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): void;
|
|
143
|
-
fetchAllCbpPlans(strip: any, calculateParentStatus?: boolean): Promise<void>;
|
|
144
|
-
splitCbpTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): any[];
|
|
145
|
-
getTabsList(array: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): {
|
|
146
|
-
value: string;
|
|
147
|
-
widgets: ({
|
|
148
|
-
widgetType: string;
|
|
149
|
-
widgetSubType: string;
|
|
150
|
-
widgetHostClass: string;
|
|
151
|
-
widgetData: {
|
|
152
|
-
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
153
|
-
cardCustomeClass: string;
|
|
154
|
-
context: {
|
|
155
|
-
pageSection: string;
|
|
156
|
-
position: number;
|
|
157
|
-
};
|
|
158
|
-
intranetMode: "" | "hide" | "greyOut";
|
|
159
|
-
deletedMode: "" | "hide" | "greyOut";
|
|
160
|
-
contentTags: NsContentStripWithTabs.IContentTags;
|
|
161
|
-
batch: any;
|
|
162
|
-
content: NsContent.IContent;
|
|
163
|
-
};
|
|
164
|
-
} | {
|
|
165
|
-
widgetType: string;
|
|
166
|
-
widgetSubType: string;
|
|
167
|
-
widgetHostClass: string;
|
|
168
|
-
widgetData: {};
|
|
169
|
-
})[];
|
|
170
|
-
}[];
|
|
171
|
-
getSelectedIndex(stripsResultDataMap: any, key: any): number;
|
|
172
|
-
translateLabels(label: string, type: any): any;
|
|
173
|
-
identify(index: number, item: any): any;
|
|
174
|
-
tracker(index: number, item: any): any;
|
|
175
|
-
fetchAllTopContent(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
176
|
-
fetchAllFeaturedContent(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
177
|
-
postRequestMethod(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], apiUrl: string, calculateParentStatus: boolean): Promise<any>;
|
|
178
|
-
postMethodFilters(filters: any): any;
|
|
179
|
-
}
|
|
180
|
-
export {};
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { NsWidgetResolver } from '@sunbird-cb/resolver';
|
|
2
|
-
import { NSSearch } from '../../_models/widget-search.model';
|
|
3
|
-
import { NsContent } from '../../_models/widget-content.model';
|
|
4
|
-
import { NsCardContent } from '../../_models/card-content.model';
|
|
5
|
-
export declare namespace NsContentStripWithTabs {
|
|
6
|
-
interface IContentStripMultiple {
|
|
7
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
8
|
-
loader?: boolean;
|
|
9
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
10
|
-
strips: IContentStripUnit[];
|
|
11
|
-
isChannelStrip?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface IContentStripUnit {
|
|
14
|
-
disableTranslate?: any;
|
|
15
|
-
key: string;
|
|
16
|
-
title: string;
|
|
17
|
-
customeClass?: string;
|
|
18
|
-
nodataMsg?: string;
|
|
19
|
-
stripTitleLink?: {
|
|
20
|
-
link: {
|
|
21
|
-
queryParams: string;
|
|
22
|
-
};
|
|
23
|
-
icon: string;
|
|
24
|
-
queryParams: string;
|
|
25
|
-
};
|
|
26
|
-
sliderConfig?: {
|
|
27
|
-
showNavs: boolean;
|
|
28
|
-
showDots: boolean;
|
|
29
|
-
maxWidgets?: number;
|
|
30
|
-
cerificateCardMargin?: boolean;
|
|
31
|
-
};
|
|
32
|
-
tabs?: NsContentStripWithTabs.IContentStripTab[] | undefined;
|
|
33
|
-
titleDescription?: string;
|
|
34
|
-
name?: string;
|
|
35
|
-
mode?: 'accordion';
|
|
36
|
-
info?: IStripInfo;
|
|
37
|
-
logo?: string;
|
|
38
|
-
preWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
39
|
-
postWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
40
|
-
stripConfig?: IStripConfig;
|
|
41
|
-
canHideStrip?: boolean;
|
|
42
|
-
filters?: any[];
|
|
43
|
-
selectAll?: boolean | null;
|
|
44
|
-
request?: {
|
|
45
|
-
search?: NSSearch.ISearchRequest;
|
|
46
|
-
searchV6?: NSSearch.ISearchV6Request;
|
|
47
|
-
topContent?: any;
|
|
48
|
-
featureContent?: any;
|
|
49
|
-
enrollmentList?: any;
|
|
50
|
-
cbpList?: any;
|
|
51
|
-
apiUrl: string;
|
|
52
|
-
searchRegionRecommendation?: NSSearch.ISearchOrgRegionRecommendationRequest;
|
|
53
|
-
api?: IStripRequestApi;
|
|
54
|
-
networkApi?: INetworkRequestApi;
|
|
55
|
-
ids?: string[];
|
|
56
|
-
recommendedCourses?: any;
|
|
57
|
-
masterCompetency?: any;
|
|
58
|
-
trendingSearch?: any;
|
|
59
|
-
};
|
|
60
|
-
searchV6Type?: 'KB' | 'Collections' | 'searchQuery' | null;
|
|
61
|
-
stripBackground?: string;
|
|
62
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
63
|
-
loader?: boolean;
|
|
64
|
-
loaderWidgets?: any;
|
|
65
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
66
|
-
refreshEvent?: Record<'eventType' | 'from', string>;
|
|
67
|
-
fetchLikes?: boolean;
|
|
68
|
-
secondaryHeading?: any;
|
|
69
|
-
viewMoreUrl?: {
|
|
70
|
-
queryParams?: any;
|
|
71
|
-
viewMoreText: string;
|
|
72
|
-
path: string;
|
|
73
|
-
};
|
|
74
|
-
data?: [];
|
|
75
|
-
}
|
|
76
|
-
interface IStripRequestApi {
|
|
77
|
-
path: string;
|
|
78
|
-
queryParams?: {
|
|
79
|
-
pageNo?: number;
|
|
80
|
-
pageSize?: number;
|
|
81
|
-
pageState?: string;
|
|
82
|
-
sourceFields?: string;
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
interface INetworkRequestApi {
|
|
86
|
-
path: string;
|
|
87
|
-
data?: any;
|
|
88
|
-
}
|
|
89
|
-
interface IStripInfo {
|
|
90
|
-
mode: 'below' | 'popup' | 'modal';
|
|
91
|
-
visibilityMode?: 'hidden' | 'visible';
|
|
92
|
-
icon: {
|
|
93
|
-
icon: string;
|
|
94
|
-
scale: number;
|
|
95
|
-
style?: any;
|
|
96
|
-
};
|
|
97
|
-
widget: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
98
|
-
}
|
|
99
|
-
interface IStripConfig {
|
|
100
|
-
cardSubType: NsCardContent.TCardSubType;
|
|
101
|
-
postCardForSearch?: boolean;
|
|
102
|
-
intranetMode?: 'greyOut' | 'hide';
|
|
103
|
-
deletedMode?: 'greyOut' | 'hide';
|
|
104
|
-
contentTags?: IContentTags;
|
|
105
|
-
hideShowAll?: boolean;
|
|
106
|
-
}
|
|
107
|
-
interface IContentTags {
|
|
108
|
-
daysSpan?: number;
|
|
109
|
-
excludeContentType?: NsContent.EContentTypes[];
|
|
110
|
-
excludeMimeType?: string[];
|
|
111
|
-
tag: string;
|
|
112
|
-
criteriaField: string;
|
|
113
|
-
}
|
|
114
|
-
interface IContentStripResponseApi {
|
|
115
|
-
contents: NsContent.IContent[];
|
|
116
|
-
hasMore?: boolean;
|
|
117
|
-
pageState?: string;
|
|
118
|
-
totalHits?: number;
|
|
119
|
-
}
|
|
120
|
-
interface IContentStripTab {
|
|
121
|
-
label: string;
|
|
122
|
-
value: string;
|
|
123
|
-
showTabDataCount: boolean;
|
|
124
|
-
requestRequired?: boolean;
|
|
125
|
-
computeDataOnClick?: boolean;
|
|
126
|
-
computeDataOnClickKey?: string;
|
|
127
|
-
request?: any;
|
|
128
|
-
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
129
|
-
maxWidgets?: number;
|
|
130
|
-
fetchTabStatus?: string;
|
|
131
|
-
nodataMsg?: string;
|
|
132
|
-
tabLoading?: boolean;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { InsiteDataService } from '../../_services/insite-data.service';
|
|
3
|
-
export declare class DataPointsComponent implements OnInit {
|
|
4
|
-
insightSvc: InsiteDataService;
|
|
5
|
-
objectData: any;
|
|
6
|
-
layoutType: string;
|
|
7
|
-
fetchDataFromApi: boolean;
|
|
8
|
-
providerId: any;
|
|
9
|
-
customArray: any[][];
|
|
10
|
-
isDataLoading: boolean;
|
|
11
|
-
constructor(insightSvc: InsiteDataService);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
createCustomArray(arr: any[]): any[][];
|
|
14
|
-
getInsiteData(): void;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { NsContent } from '../../_models/widget-content.model';
|
|
3
|
-
import { MultilingualTranslationsService } from '../../_services/multilingual-translations.service';
|
|
4
|
-
export declare class DisplayContentTypeLibComponent implements OnInit {
|
|
5
|
-
private langtranslations;
|
|
6
|
-
displayContentType: NsContent.EDisplayContentTypes;
|
|
7
|
-
displayContentTypeEnum: typeof NsContent.EDisplayContentTypes;
|
|
8
|
-
constructor(langtranslations: MultilingualTranslationsService);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
translateLabels(label: string, type: any): any;
|
|
11
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnChanges, OnDestroy, EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
-
import { TFetchStatus } from '../../_constants/misc.constants';
|
|
3
|
-
export declare class HorizontalScrollerV2Component implements OnInit, OnChanges, OnDestroy {
|
|
4
|
-
loadStatus: TFetchStatus;
|
|
5
|
-
onHover: boolean;
|
|
6
|
-
sliderConfig: {
|
|
7
|
-
showNavs: boolean;
|
|
8
|
-
showDots: boolean;
|
|
9
|
-
cerificateCardMargin: boolean;
|
|
10
|
-
};
|
|
11
|
-
loadNext: EventEmitter<any>;
|
|
12
|
-
widgetsLength: any;
|
|
13
|
-
defaultMaxWidgets: any;
|
|
14
|
-
stripConfig: any;
|
|
15
|
-
horizontalScrollElem: ElementRef | null;
|
|
16
|
-
enablePrev: boolean;
|
|
17
|
-
enableNext: boolean;
|
|
18
|
-
activeNav: number;
|
|
19
|
-
cardSubType: string;
|
|
20
|
-
bottomDotsArray: any;
|
|
21
|
-
private scrollObserver;
|
|
22
|
-
constructor();
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngOnChanges(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
showPrev(): void;
|
|
27
|
-
showNext(): void;
|
|
28
|
-
private updateNavigationBtnStatus;
|
|
29
|
-
slideTo(ele: any): void;
|
|
30
|
-
getBottomDotsArray(): void;
|
|
31
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
export declare class PillsComponent implements OnInit {
|
|
3
|
-
pillsData: any;
|
|
4
|
-
selectedValue: any;
|
|
5
|
-
isLoading: boolean;
|
|
6
|
-
pillClick: EventEmitter<any>;
|
|
7
|
-
constructor();
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
selectedPill(pillData: any): void;
|
|
10
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver';
|
|
3
|
-
import { ICarousel, ICarouselStyle } from './sliders.model';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
5
|
-
import { EventService, ValueService } from '@sunbird-cb/utils';
|
|
6
|
-
export declare class SlidersLibComponent extends WidgetBaseComponent implements OnInit, OnDestroy, NsWidgetResolver.IWidgetData<ICarousel[]> {
|
|
7
|
-
private events;
|
|
8
|
-
private valueSvc;
|
|
9
|
-
widgetData: ICarousel[];
|
|
10
|
-
styleData: ICarouselStyle;
|
|
11
|
-
title: any;
|
|
12
|
-
id: string;
|
|
13
|
-
private defaultMenuSubscribe;
|
|
14
|
-
isLtMedium$: import("rxjs").Observable<boolean>;
|
|
15
|
-
currentIndex: number;
|
|
16
|
-
slideInterval: Subscription | null;
|
|
17
|
-
isMobile: boolean;
|
|
18
|
-
constructor(events: EventService, valueSvc: ValueService);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
reInitiateSlideInterval(): void;
|
|
21
|
-
slideTo(index: number): void;
|
|
22
|
-
readonly isOpenInNewTab: boolean;
|
|
23
|
-
openInNewTab(): void;
|
|
24
|
-
raiseTelemetry(bannerUrl: string | undefined): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export interface ICarousel {
|
|
2
|
-
title?: string;
|
|
3
|
-
redirectUrl?: string;
|
|
4
|
-
openInNewTab?: string;
|
|
5
|
-
banners: IBannerUnit;
|
|
6
|
-
mailTo?: string;
|
|
7
|
-
queryParams?: any;
|
|
8
|
-
}
|
|
9
|
-
export interface ICarouselStyle {
|
|
10
|
-
bannerMetaClass?: "inline-meta";
|
|
11
|
-
bannerMetaAlign?: "right" | "left";
|
|
12
|
-
navigationArrows?: "hidden" | "visible";
|
|
13
|
-
dots?: "hidden" | "visible";
|
|
14
|
-
borderRadius?: string;
|
|
15
|
-
customHeight?: string;
|
|
16
|
-
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
17
|
-
responsive: {
|
|
18
|
-
bannerMetaClass?: "inline-meta";
|
|
19
|
-
bannerMetaAlign?: "right" | "left";
|
|
20
|
-
navigationArrows?: "hidden" | "visible";
|
|
21
|
-
dots?: "hidden" | "visible";
|
|
22
|
-
borderRadius?: string;
|
|
23
|
-
customHeight?: string;
|
|
24
|
-
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
interface IBannerUnit {
|
|
28
|
-
xs: string;
|
|
29
|
-
s: string;
|
|
30
|
-
m: string;
|
|
31
|
-
l: string;
|
|
32
|
-
xl: string;
|
|
33
|
-
}
|
|
34
|
-
export {};
|