@sunbird-cb/consumption 0.0.1
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 -0
- package/bundles/sunbird-cb-consumption.umd.js +8116 -0
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -0
- package/bundles/sunbird-cb-consumption.umd.min.js +17 -0
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -0
- package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +209 -0
- package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +173 -0
- package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +34 -0
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +141 -0
- package/esm2015/lib/_common/cards/cards.component.js +107 -0
- package/esm2015/lib/_common/cards/cards.module.js +47 -0
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +324 -0
- package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +27 -0
- package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +52 -0
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +1594 -0
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +212 -0
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +69 -0
- package/esm2015/lib/_common/data-points/data-points.component.js +53 -0
- package/esm2015/lib/_common/data-points/data-points.module.js +19 -0
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +56 -0
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +18 -0
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +268 -0
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -0
- package/esm2015/lib/_common/pills/pills.component.js +49 -0
- package/esm2015/lib/_common/pills/pills.module.js +24 -0
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +40 -0
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +28 -0
- package/esm2015/lib/_common/sliders/sliders.component.js +184 -0
- package/esm2015/lib/_common/sliders/sliders.model.js +61 -0
- package/esm2015/lib/_common/sliders/sliders.module.js +50 -0
- package/esm2015/lib/_constants/misc.constants.js +5 -0
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +52 -0
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +19 -0
- package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +127 -0
- package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +19 -0
- package/esm2015/lib/_directives/navigation/navigation.directive.js +54 -0
- package/esm2015/lib/_directives/navigation/navigation.module.js +19 -0
- package/esm2015/lib/_models/card-content-v2.model.js +78 -0
- package/esm2015/lib/_models/card-content.model.js +69 -0
- package/esm2015/lib/_models/card-users.model.js +101 -0
- package/esm2015/lib/_models/content-strip-multiple.model.js +195 -0
- package/esm2015/lib/_models/event.js +45 -0
- package/esm2015/lib/_models/profile-v3.models.js +196 -0
- package/esm2015/lib/_models/widget-content.model.js +876 -0
- package/esm2015/lib/_models/widget-search.model.js +472 -0
- package/esm2015/lib/_models/widget-user.model.js +17 -0
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +19 -0
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +120 -0
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +19 -0
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +38 -0
- package/esm2015/lib/_services/common-methods.service.js +60 -0
- package/esm2015/lib/_services/configurations.service.js +243 -0
- package/esm2015/lib/_services/multilingual-translations.service.js +228 -0
- package/esm2015/lib/_services/viewer-route-util.js +125 -0
- package/esm2015/lib/_services/widget-content.service.js +818 -0
- package/esm2015/lib/_services/widget-user.service.js +439 -0
- package/esm2015/lib/consumption.component.js +26 -0
- package/esm2015/lib/consumption.config.js +12 -0
- package/esm2015/lib/consumption.module.js +26 -0
- package/esm2015/lib/consumption.service.js +18 -0
- package/esm2015/lib/registration-lib.config.js +21 -0
- package/esm2015/public-api.js +19 -0
- package/esm2015/sunbird-cb-consumption.js +41 -0
- package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +222 -0
- package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +182 -0
- package/esm5/lib/_common/cards/card-resource/card-resource.component.js +41 -0
- package/esm5/lib/_common/cards/card-user/card-user.component.js +147 -0
- package/esm5/lib/_common/cards/cards.component.js +127 -0
- package/esm5/lib/_common/cards/cards.module.js +51 -0
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +391 -0
- package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +31 -0
- package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +59 -0
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +1861 -0
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +212 -0
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +73 -0
- package/esm5/lib/_common/data-points/data-points.component.js +62 -0
- package/esm5/lib/_common/data-points/data-points.module.js +23 -0
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +63 -0
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +22 -0
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +300 -0
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +27 -0
- package/esm5/lib/_common/pills/pills.component.js +58 -0
- package/esm5/lib/_common/pills/pills.module.js +28 -0
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +45 -0
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +32 -0
- package/esm5/lib/_common/sliders/sliders.component.js +211 -0
- package/esm5/lib/_common/sliders/sliders.model.js +61 -0
- package/esm5/lib/_common/sliders/sliders.module.js +67 -0
- package/esm5/lib/_constants/misc.constants.js +5 -0
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +60 -0
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +23 -0
- package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +137 -0
- package/esm5/lib/_directives/image-responsive/image-responsive.module.js +23 -0
- package/esm5/lib/_directives/navigation/navigation.directive.js +63 -0
- package/esm5/lib/_directives/navigation/navigation.module.js +23 -0
- package/esm5/lib/_models/card-content-v2.model.js +78 -0
- package/esm5/lib/_models/card-content.model.js +69 -0
- package/esm5/lib/_models/card-users.model.js +101 -0
- package/esm5/lib/_models/content-strip-multiple.model.js +195 -0
- package/esm5/lib/_models/event.js +45 -0
- package/esm5/lib/_models/profile-v3.models.js +196 -0
- package/esm5/lib/_models/widget-content.model.js +876 -0
- package/esm5/lib/_models/widget-search.model.js +472 -0
- package/esm5/lib/_models/widget-user.model.js +17 -0
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +23 -0
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +143 -0
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +23 -0
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +41 -0
- package/esm5/lib/_services/common-methods.service.js +73 -0
- package/esm5/lib/_services/configurations.service.js +257 -0
- package/esm5/lib/_services/multilingual-translations.service.js +256 -0
- package/esm5/lib/_services/viewer-route-util.js +127 -0
- package/esm5/lib/_services/widget-content.service.js +1062 -0
- package/esm5/lib/_services/widget-user.service.js +501 -0
- package/esm5/lib/consumption.component.js +28 -0
- package/esm5/lib/consumption.config.js +12 -0
- package/esm5/lib/consumption.module.js +30 -0
- package/esm5/lib/consumption.service.js +21 -0
- package/esm5/lib/registration-lib.config.js +21 -0
- package/esm5/public-api.js +19 -0
- package/esm5/sunbird-cb-consumption.js +41 -0
- package/fesm2015/sunbird-cb-consumption.js +6940 -0
- package/fesm2015/sunbird-cb-consumption.js.map +1 -0
- package/fesm5/sunbird-cb-consumption.js +7871 -0
- package/fesm5/sunbird-cb-consumption.js.map +1 -0
- package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +35 -0
- package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +31 -0
- package/lib/_common/cards/card-resource/card-resource.component.d.ts +8 -0
- package/lib/_common/cards/card-user/card-user.component.d.ts +24 -0
- package/lib/_common/cards/cards.component.d.ts +20 -0
- package/lib/_common/cards/cards.module.d.ts +2 -0
- package/lib/_common/competency-passbook/competency-passbook.component.d.ts +36 -0
- package/lib/_common/competency-passbook/competency-passbook.module.d.ts +2 -0
- package/lib/_common/competency-passbook/competency-passbook.service.d.ts +8 -0
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +174 -0
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +131 -0
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +5 -0
- package/lib/_common/data-points/data-points.component.d.ts +9 -0
- package/lib/_common/data-points/data-points.module.d.ts +2 -0
- package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +11 -0
- package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +2 -0
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +31 -0
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -0
- package/lib/_common/pills/pills.component.d.ts +10 -0
- package/lib/_common/pills/pills.module.d.ts +2 -0
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +8 -0
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +2 -0
- package/lib/_common/sliders/sliders.component.d.ts +26 -0
- package/lib/_common/sliders/sliders.model.d.ts +34 -0
- package/lib/_common/sliders/sliders.module.d.ts +6 -0
- package/lib/_constants/misc.constants.d.ts +2 -0
- package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -0
- package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +2 -0
- package/lib/_directives/image-responsive/image-responsive.directive.d.ts +17 -0
- package/lib/_directives/image-responsive/image-responsive.module.d.ts +2 -0
- package/lib/_directives/navigation/navigation.directive.d.ts +9 -0
- package/lib/_directives/navigation/navigation.module.d.ts +2 -0
- package/lib/_models/card-content-v2.model.d.ts +44 -0
- package/lib/_models/card-content.model.d.ts +41 -0
- package/lib/_models/card-users.model.d.ts +49 -0
- package/lib/_models/content-strip-multiple.model.d.ts +128 -0
- package/lib/_models/event.d.ts +18 -0
- package/lib/_models/profile-v3.models.d.ts +91 -0
- package/lib/_models/widget-content.model.d.ts +497 -0
- package/lib/_models/widget-search.model.d.ts +252 -0
- package/lib/_models/widget-user.model.d.ts +5 -0
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -0
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -0
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -0
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -0
- package/lib/_services/common-methods.service.d.ts +37 -0
- package/lib/_services/configurations.service.d.ts +71 -0
- package/lib/_services/multilingual-translations.service.d.ts +20 -0
- package/lib/_services/viewer-route-util.d.ts +8 -0
- package/lib/_services/widget-content.service.d.ts +82 -0
- package/lib/_services/widget-user.service.d.ts +31 -0
- package/lib/consumption.component.d.ts +5 -0
- package/lib/consumption.config.d.ts +6 -0
- package/lib/consumption.module.d.ts +2 -0
- package/lib/consumption.service.d.ts +3 -0
- package/lib/registration-lib.config.d.ts +4 -0
- package/package.json +23 -0
- package/public-api.d.ts +11 -0
- package/sunbird-cb-consumption.d.ts +36 -0
- package/sunbird-cb-consumption.metadata.json +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } 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
|
+
id: string;
|
|
60
|
+
stripsResultDataMap: {
|
|
61
|
+
[key: string]: IStripUnitContentData;
|
|
62
|
+
};
|
|
63
|
+
stripsKeyOrder: string[];
|
|
64
|
+
showAccordionData: boolean;
|
|
65
|
+
showParentLoader: boolean;
|
|
66
|
+
showParentError: boolean;
|
|
67
|
+
showParentNoData: boolean;
|
|
68
|
+
errorDataCount: number;
|
|
69
|
+
noDataCount: number;
|
|
70
|
+
successDataCount: number;
|
|
71
|
+
contentAvailable: boolean;
|
|
72
|
+
baseUrl: string;
|
|
73
|
+
veifiedKarmayogi: boolean;
|
|
74
|
+
environment: any;
|
|
75
|
+
changeEventSubscription: Subscription | null;
|
|
76
|
+
defaultMaxWidgets: number;
|
|
77
|
+
enrollInterval: any;
|
|
78
|
+
todaysEvents: any;
|
|
79
|
+
constructor(environment: any, contentSvc: WidgetContentService, loggerSvc: LoggerService, eventSvc: EventService, configSvc: ConfigurationsService, utilitySvc: UtilityService, userSvc: WidgetUserService, translate: TranslateService, langtranslations: MultilingualTranslationsService);
|
|
80
|
+
ngOnInit(): void;
|
|
81
|
+
ngOnDestroy(): void;
|
|
82
|
+
showAccordion(key: string): boolean;
|
|
83
|
+
setHiddenForStrip(key: string): void;
|
|
84
|
+
private getIfStripHidden;
|
|
85
|
+
private initData;
|
|
86
|
+
private fetchStripFromKey;
|
|
87
|
+
isStripShowing(data: any): any;
|
|
88
|
+
readonly isMobile: boolean;
|
|
89
|
+
getdata(data: IStripUnitContentData): {};
|
|
90
|
+
checkCondition(wData: NsContentStripWithTabs.IContentStripMultiple, data: IStripUnitContentData): boolean;
|
|
91
|
+
checkVisible(data: IStripUnitContentData): boolean;
|
|
92
|
+
getContineuLearningLenth(data: IStripUnitContentData): number;
|
|
93
|
+
getLength(data: IStripUnitContentData): number;
|
|
94
|
+
private getFiltersFromArray;
|
|
95
|
+
private transformSearchV6FiltersV2;
|
|
96
|
+
checkForDateFilters(filters: any): any;
|
|
97
|
+
private fetchStripFromRequestData;
|
|
98
|
+
fetchFromEnrollmentList(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): void;
|
|
99
|
+
splitEnrollmentTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): any[];
|
|
100
|
+
getInprogressAndCompleted(array: NsContent.IContent[], customFilter: any, strip: NsContentStripWithTabs.IContentStripUnit): {
|
|
101
|
+
value: string;
|
|
102
|
+
widgets: ({
|
|
103
|
+
widgetType: string;
|
|
104
|
+
widgetSubType: string;
|
|
105
|
+
widgetHostClass: string;
|
|
106
|
+
widgetData: {
|
|
107
|
+
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
108
|
+
cardCustomeClass: string;
|
|
109
|
+
context: {
|
|
110
|
+
pageSection: string;
|
|
111
|
+
position: number;
|
|
112
|
+
};
|
|
113
|
+
intranetMode: "" | "hide" | "greyOut";
|
|
114
|
+
deletedMode: "" | "hide" | "greyOut";
|
|
115
|
+
contentTags: NsContentStripWithTabs.IContentTags;
|
|
116
|
+
batch: any;
|
|
117
|
+
content: NsContent.IContent;
|
|
118
|
+
};
|
|
119
|
+
} | {
|
|
120
|
+
widgetType: string;
|
|
121
|
+
widgetSubType: string;
|
|
122
|
+
widgetHostClass: string;
|
|
123
|
+
widgetData: {};
|
|
124
|
+
})[];
|
|
125
|
+
}[];
|
|
126
|
+
fetchFromSearchV6(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
127
|
+
searchV6Request(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
128
|
+
fetchFromTrendingContent(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
129
|
+
trendingSearchRequest(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
130
|
+
toggleInfo(data: IStripUnitContentData): void;
|
|
131
|
+
private transformContentsToWidgets;
|
|
132
|
+
private transformEventsToWidgets;
|
|
133
|
+
private transformSkeletonToWidgets;
|
|
134
|
+
private processStrip;
|
|
135
|
+
private checkParentStatus;
|
|
136
|
+
checkForEmptyWidget(strip: NsContentStripWithTabs.IContentStripUnit): boolean;
|
|
137
|
+
tabClicked(tabEvent: MatTabChangeEvent, stripMap: IStripUnitContentData, stripKey: string): void;
|
|
138
|
+
getTabDataByNewReqSearchV6(strip: NsContentStripWithTabs.IContentStripUnit, tabIndex: number, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
139
|
+
getTabDataByNewReqTrending(strip: NsContentStripWithTabs.IContentStripUnit, tabIndex: number, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
140
|
+
getTabDataByfilter(strip: NsContentStripWithTabs.IContentStripUnit, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): void;
|
|
141
|
+
fetchAllCbpPlans(strip: any, calculateParentStatus?: boolean): Promise<void>;
|
|
142
|
+
splitCbpTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): any[];
|
|
143
|
+
getTabsList(array: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): {
|
|
144
|
+
value: string;
|
|
145
|
+
widgets: ({
|
|
146
|
+
widgetType: string;
|
|
147
|
+
widgetSubType: string;
|
|
148
|
+
widgetHostClass: string;
|
|
149
|
+
widgetData: {
|
|
150
|
+
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
151
|
+
cardCustomeClass: string;
|
|
152
|
+
context: {
|
|
153
|
+
pageSection: string;
|
|
154
|
+
position: number;
|
|
155
|
+
};
|
|
156
|
+
intranetMode: "" | "hide" | "greyOut";
|
|
157
|
+
deletedMode: "" | "hide" | "greyOut";
|
|
158
|
+
contentTags: NsContentStripWithTabs.IContentTags;
|
|
159
|
+
batch: any;
|
|
160
|
+
content: NsContent.IContent;
|
|
161
|
+
};
|
|
162
|
+
} | {
|
|
163
|
+
widgetType: string;
|
|
164
|
+
widgetSubType: string;
|
|
165
|
+
widgetHostClass: string;
|
|
166
|
+
widgetData: {};
|
|
167
|
+
})[];
|
|
168
|
+
}[];
|
|
169
|
+
getSelectedIndex(stripsResultDataMap: any, key: any): number;
|
|
170
|
+
translateLabels(label: string, type: any): any;
|
|
171
|
+
identify(index: number, item: any): any;
|
|
172
|
+
tracker(index: number, item: any): any;
|
|
173
|
+
}
|
|
174
|
+
export {};
|
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
enrollmentList?: any;
|
|
48
|
+
cbpList?: any;
|
|
49
|
+
searchRegionRecommendation?: NSSearch.ISearchOrgRegionRecommendationRequest;
|
|
50
|
+
api?: IStripRequestApi;
|
|
51
|
+
networkApi?: INetworkRequestApi;
|
|
52
|
+
ids?: string[];
|
|
53
|
+
recommendedCourses?: any;
|
|
54
|
+
masterCompetency?: any;
|
|
55
|
+
trendingSearch?: any;
|
|
56
|
+
};
|
|
57
|
+
searchV6Type?: 'KB' | 'Collections' | 'searchQuery' | null;
|
|
58
|
+
stripBackground?: string;
|
|
59
|
+
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
60
|
+
loader?: boolean;
|
|
61
|
+
loaderWidgets?: any;
|
|
62
|
+
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
63
|
+
refreshEvent?: Record<'eventType' | 'from', string>;
|
|
64
|
+
fetchLikes?: boolean;
|
|
65
|
+
secondaryHeading?: any;
|
|
66
|
+
viewMoreUrl?: {
|
|
67
|
+
queryParams?: any;
|
|
68
|
+
viewMoreText: string;
|
|
69
|
+
path: string;
|
|
70
|
+
};
|
|
71
|
+
data?: [];
|
|
72
|
+
}
|
|
73
|
+
interface IStripRequestApi {
|
|
74
|
+
path: string;
|
|
75
|
+
queryParams?: {
|
|
76
|
+
pageNo?: number;
|
|
77
|
+
pageSize?: number;
|
|
78
|
+
pageState?: string;
|
|
79
|
+
sourceFields?: string;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
interface INetworkRequestApi {
|
|
83
|
+
path: string;
|
|
84
|
+
data?: any;
|
|
85
|
+
}
|
|
86
|
+
interface IStripInfo {
|
|
87
|
+
mode: 'below' | 'popup' | 'modal';
|
|
88
|
+
visibilityMode?: 'hidden' | 'visible';
|
|
89
|
+
icon: {
|
|
90
|
+
icon: string;
|
|
91
|
+
scale: number;
|
|
92
|
+
style?: any;
|
|
93
|
+
};
|
|
94
|
+
widget: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
95
|
+
}
|
|
96
|
+
interface IStripConfig {
|
|
97
|
+
cardSubType: NsCardContent.TCardSubType;
|
|
98
|
+
postCardForSearch?: boolean;
|
|
99
|
+
intranetMode?: 'greyOut' | 'hide';
|
|
100
|
+
deletedMode?: 'greyOut' | 'hide';
|
|
101
|
+
contentTags?: IContentTags;
|
|
102
|
+
hideShowAll?: boolean;
|
|
103
|
+
}
|
|
104
|
+
interface IContentTags {
|
|
105
|
+
daysSpan?: number;
|
|
106
|
+
excludeContentType?: NsContent.EContentTypes[];
|
|
107
|
+
excludeMimeType?: string[];
|
|
108
|
+
tag: string;
|
|
109
|
+
criteriaField: string;
|
|
110
|
+
}
|
|
111
|
+
interface IContentStripResponseApi {
|
|
112
|
+
contents: NsContent.IContent[];
|
|
113
|
+
hasMore?: boolean;
|
|
114
|
+
pageState?: string;
|
|
115
|
+
totalHits?: number;
|
|
116
|
+
}
|
|
117
|
+
interface IContentStripTab {
|
|
118
|
+
label: string;
|
|
119
|
+
value: string;
|
|
120
|
+
showTabDataCount: boolean;
|
|
121
|
+
requestRequired?: boolean;
|
|
122
|
+
computeDataOnClick?: boolean;
|
|
123
|
+
computeDataOnClickKey?: string;
|
|
124
|
+
request?: any;
|
|
125
|
+
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
126
|
+
maxWidgets?: number;
|
|
127
|
+
fetchTabStatus?: string;
|
|
128
|
+
nodataMsg?: string;
|
|
129
|
+
tabLoading?: boolean;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 {};
|