@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,9 +0,0 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
export declare class DefaultThumbnailDirective implements OnChanges {
|
|
3
|
-
wsUtilsDefaultThumbnail: string;
|
|
4
|
-
src: string;
|
|
5
|
-
isSrcUpdateAttemptedForDefault: boolean;
|
|
6
|
-
srcUrl: string;
|
|
7
|
-
updateSrc(): void;
|
|
8
|
-
ngOnChanges(): void;
|
|
9
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
-
import { OnChanges, OnDestroy } from '@angular/core';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
export interface IImageResponsiveUnit {
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
}
|
|
7
|
-
export declare class ImageResponsiveDirective implements OnChanges, OnDestroy {
|
|
8
|
-
private breakpointObserver;
|
|
9
|
-
src: IImageResponsiveUnit | null;
|
|
10
|
-
srcBindUrl: string;
|
|
11
|
-
currentSize: string;
|
|
12
|
-
breakpointSubscription: Subscription | null;
|
|
13
|
-
constructor(breakpointObserver: BreakpointObserver);
|
|
14
|
-
ngOnChanges(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
private setSrc;
|
|
17
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { NsContent } from './widget-content.model';
|
|
2
|
-
export declare namespace NsCardContent {
|
|
3
|
-
interface ICard {
|
|
4
|
-
content: NsContent.IContent;
|
|
5
|
-
cardSubType: TCardSubType;
|
|
6
|
-
context: {
|
|
7
|
-
pageSection: string;
|
|
8
|
-
position?: number;
|
|
9
|
-
};
|
|
10
|
-
intranetMode?: 'greyOut' | 'hide';
|
|
11
|
-
deletedMode?: 'greyOut' | 'hide';
|
|
12
|
-
likes?: number;
|
|
13
|
-
contentTags?: IContentTags;
|
|
14
|
-
stateData: any;
|
|
15
|
-
}
|
|
16
|
-
interface IContentTags {
|
|
17
|
-
daysSpan?: number;
|
|
18
|
-
excludeContentType?: NsContent.EContentTypes[];
|
|
19
|
-
excludeMimeType?: string[];
|
|
20
|
-
tag: string;
|
|
21
|
-
criteriaField?: string;
|
|
22
|
-
}
|
|
23
|
-
interface ICompetency extends ICard {
|
|
24
|
-
competencyArea: '';
|
|
25
|
-
competencyObject: {};
|
|
26
|
-
}
|
|
27
|
-
type TCardSubType = 'standard' | 'minimal' | 'space-saving' | 'card-user-details' | 'basic-info' | 'basic-details' | 'card-description-back' | 'network-card';
|
|
28
|
-
enum EContentStatus {
|
|
29
|
-
LIVE = "Live",
|
|
30
|
-
EXPIRED = "Expired",
|
|
31
|
-
DELETED = "Deleted",
|
|
32
|
-
MARK_FOR_DELETION = "MarkedForDeletion"
|
|
33
|
-
}
|
|
34
|
-
enum ACBPConst {
|
|
35
|
-
UPCOMING = "upcoming",
|
|
36
|
-
ALL = "All",
|
|
37
|
-
OVERDUE = "overdue",
|
|
38
|
-
SUCCESS = "success"
|
|
39
|
-
}
|
|
40
|
-
enum IGOTConst {
|
|
41
|
-
COMPETENCIES = "competencies_v5",
|
|
42
|
-
RETIRED = "Retired"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { NsContent } from './widget-content.model';
|
|
2
|
-
export declare namespace NsCardContent {
|
|
3
|
-
interface ICard {
|
|
4
|
-
content: NsContent.IContent;
|
|
5
|
-
cardSubType: TCardSubType;
|
|
6
|
-
context: {
|
|
7
|
-
pageSection: string;
|
|
8
|
-
position?: number;
|
|
9
|
-
};
|
|
10
|
-
intranetMode?: 'greyOut' | 'hide';
|
|
11
|
-
deletedMode?: 'greyOut' | 'hide';
|
|
12
|
-
likes?: number;
|
|
13
|
-
contentTags?: IContentTags;
|
|
14
|
-
stateData: any;
|
|
15
|
-
cardCustomeClass?: any;
|
|
16
|
-
}
|
|
17
|
-
interface IContentTags {
|
|
18
|
-
daysSpan?: number;
|
|
19
|
-
excludeContentType?: NsContent.EContentTypes[];
|
|
20
|
-
excludeMimeType?: string[];
|
|
21
|
-
tag: string;
|
|
22
|
-
criteriaField?: string;
|
|
23
|
-
}
|
|
24
|
-
type TCardSubType = 'standard' | 'minimal' | 'space-saving' | 'card-user-details' | 'basic-info' | 'basic-details' | 'card-description-back' | 'network-card' | 'user-card';
|
|
25
|
-
enum EContentStatus {
|
|
26
|
-
LIVE = "Live",
|
|
27
|
-
EXPIRED = "Expired",
|
|
28
|
-
DELETED = "Deleted",
|
|
29
|
-
MARK_FOR_DELETION = "MarkedForDeletion"
|
|
30
|
-
}
|
|
31
|
-
enum ACBPConst {
|
|
32
|
-
UPCOMING = "upcoming",
|
|
33
|
-
ALL = "All",
|
|
34
|
-
OVERDUE = "overdue",
|
|
35
|
-
SUCCESS = "success"
|
|
36
|
-
}
|
|
37
|
-
enum IGOTConst {
|
|
38
|
-
COMPETENCIES = "competencies_v5",
|
|
39
|
-
RETIRED = "Retired"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { NsCardContent } from './card-content.model';
|
|
2
|
-
export declare namespace NsCardUser {
|
|
3
|
-
interface ICard {
|
|
4
|
-
user: user | IUserProfile;
|
|
5
|
-
cardSubType: NsCardContent.TCardSubType;
|
|
6
|
-
context: {
|
|
7
|
-
pageSection: string;
|
|
8
|
-
position?: number;
|
|
9
|
-
};
|
|
10
|
-
likes?: number;
|
|
11
|
-
stateData: any;
|
|
12
|
-
}
|
|
13
|
-
interface IUserProfile {
|
|
14
|
-
userId: string;
|
|
15
|
-
email?: string;
|
|
16
|
-
departmentName?: string;
|
|
17
|
-
userName?: string;
|
|
18
|
-
firstName?: string;
|
|
19
|
-
surName?: string;
|
|
20
|
-
middleName?: string;
|
|
21
|
-
lastName?: string;
|
|
22
|
-
rootOrgId?: string;
|
|
23
|
-
rootOrgName?: string;
|
|
24
|
-
profileImage?: string;
|
|
25
|
-
givenName?: string;
|
|
26
|
-
country?: null | string;
|
|
27
|
-
unit?: string | null;
|
|
28
|
-
source_profile_picture?: null | string;
|
|
29
|
-
dealerCode?: null | string;
|
|
30
|
-
isManager?: boolean;
|
|
31
|
-
competencies?: any;
|
|
32
|
-
systemTopics?: any;
|
|
33
|
-
desiredTopics?: any;
|
|
34
|
-
desiredCompetencies?: any;
|
|
35
|
-
userRoles?: any;
|
|
36
|
-
profileUpdateCompletion?: number;
|
|
37
|
-
profileImageUrl?: string;
|
|
38
|
-
professionalDetails?: any;
|
|
39
|
-
webPortalLang?: any;
|
|
40
|
-
description?: string;
|
|
41
|
-
}
|
|
42
|
-
interface user {
|
|
43
|
-
userId: string;
|
|
44
|
-
firstName?: string;
|
|
45
|
-
description?: string;
|
|
46
|
-
profileImage?: string;
|
|
47
|
-
}
|
|
48
|
-
type TCardSubType = 'standard' | 'minimal' | 'space-saving' | 'basic-info' | 'basic-details' | 'card-description-back' | 'network-card' | 'user-card';
|
|
49
|
-
}
|
|
@@ -1,128 +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 NsContentStripMultiple {
|
|
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
|
-
key: string;
|
|
15
|
-
title: string;
|
|
16
|
-
customeClass?: string;
|
|
17
|
-
name?: string;
|
|
18
|
-
mode?: 'accordion';
|
|
19
|
-
info?: IStripInfo;
|
|
20
|
-
viewMoreUrl?: {
|
|
21
|
-
queryParams?: any;
|
|
22
|
-
path?: string;
|
|
23
|
-
viewMoreText?: string;
|
|
24
|
-
};
|
|
25
|
-
preWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
26
|
-
postWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
27
|
-
stripConfig?: IStripConfig;
|
|
28
|
-
canHideStrip?: boolean;
|
|
29
|
-
filters?: any[];
|
|
30
|
-
selectAll?: boolean | null;
|
|
31
|
-
request?: {
|
|
32
|
-
search?: NSSearch.ISearchRequest;
|
|
33
|
-
searchV6?: NSSearch.ISearchV6Request;
|
|
34
|
-
searchRegionRecommendation?: NSSearch.ISearchOrgRegionRecommendationRequest;
|
|
35
|
-
api?: IStripRequestApi;
|
|
36
|
-
ids?: string[];
|
|
37
|
-
enrollmentList?: any;
|
|
38
|
-
comprelatedCbp?: any;
|
|
39
|
-
recommendedCourses?: any;
|
|
40
|
-
masterCompetency?: any;
|
|
41
|
-
mandatoryCourses?: any;
|
|
42
|
-
basedOnInterest?: any;
|
|
43
|
-
microsoftCourses?: any;
|
|
44
|
-
DAKSHTACourses?: any;
|
|
45
|
-
prarambhCourse?: any;
|
|
46
|
-
curatedCollections?: any;
|
|
47
|
-
moderatedCourses?: any;
|
|
48
|
-
};
|
|
49
|
-
searchV6Type?: 'KB' | 'Collections' | 'searchQuery' | null;
|
|
50
|
-
stripBackground?: string;
|
|
51
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
52
|
-
loader?: boolean;
|
|
53
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
54
|
-
refreshEvent?: Record<'eventType' | 'from', string>;
|
|
55
|
-
fetchLikes?: boolean;
|
|
56
|
-
}
|
|
57
|
-
interface IContentStripUnitV2 {
|
|
58
|
-
key: string;
|
|
59
|
-
title: string;
|
|
60
|
-
name?: string;
|
|
61
|
-
mode?: 'accordion';
|
|
62
|
-
info?: IStripInfo;
|
|
63
|
-
viewMoreUrl?: {
|
|
64
|
-
queryParams?: any;
|
|
65
|
-
path?: string;
|
|
66
|
-
};
|
|
67
|
-
preWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
68
|
-
postWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
69
|
-
stripConfig?: IStripConfig;
|
|
70
|
-
canHideStrip?: boolean;
|
|
71
|
-
filters?: any[];
|
|
72
|
-
selectAll?: boolean | null;
|
|
73
|
-
request?: {
|
|
74
|
-
search?: NSSearch.ISearchRequest;
|
|
75
|
-
searchV6?: NSSearch.ISearchV6RequestV2;
|
|
76
|
-
searchRegionRecommendation?: NSSearch.ISearchOrgRegionRecommendationRequest;
|
|
77
|
-
api?: IStripRequestApi;
|
|
78
|
-
ids?: string[];
|
|
79
|
-
enrollmentList?: any;
|
|
80
|
-
};
|
|
81
|
-
searchV6Type?: 'KB' | 'Collections' | 'searchQuery' | null;
|
|
82
|
-
stripBackground?: string;
|
|
83
|
-
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
84
|
-
loader?: boolean;
|
|
85
|
-
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
86
|
-
refreshEvent?: Record<'eventType' | 'from', string>;
|
|
87
|
-
fetchLikes?: boolean;
|
|
88
|
-
}
|
|
89
|
-
interface IStripRequestApi {
|
|
90
|
-
path: string;
|
|
91
|
-
queryParams?: {
|
|
92
|
-
pageNo?: number;
|
|
93
|
-
pageSize?: number;
|
|
94
|
-
pageState?: string;
|
|
95
|
-
sourceFields?: string;
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
interface IStripInfo {
|
|
99
|
-
mode: 'below' | 'popup' | 'modal';
|
|
100
|
-
visibilityMode?: 'hidden' | 'visible';
|
|
101
|
-
icon: {
|
|
102
|
-
icon: string;
|
|
103
|
-
scale: number;
|
|
104
|
-
style?: any;
|
|
105
|
-
};
|
|
106
|
-
widget: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
107
|
-
}
|
|
108
|
-
interface IStripConfig {
|
|
109
|
-
cardSubType: NsCardContent.TCardSubType;
|
|
110
|
-
postCardForSearch?: boolean;
|
|
111
|
-
intranetMode?: 'greyOut' | 'hide';
|
|
112
|
-
deletedMode?: 'greyOut' | 'hide';
|
|
113
|
-
contentTags?: IContentTags;
|
|
114
|
-
}
|
|
115
|
-
interface IContentTags {
|
|
116
|
-
daysSpan?: number;
|
|
117
|
-
excludeContentType?: NsContent.EContentTypes[];
|
|
118
|
-
excludeMimeType?: string[];
|
|
119
|
-
tag: string;
|
|
120
|
-
criteriaField: string;
|
|
121
|
-
}
|
|
122
|
-
interface IContentStripResponseApi {
|
|
123
|
-
contents: NsContent.IContent[];
|
|
124
|
-
hasMore?: boolean;
|
|
125
|
-
pageState?: string;
|
|
126
|
-
totalHits?: number;
|
|
127
|
-
}
|
|
128
|
-
}
|
package/lib/_models/event.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface ITodayEvents {
|
|
2
|
-
eventName: string;
|
|
3
|
-
eventStartTime?: string;
|
|
4
|
-
eventEndTime?: string;
|
|
5
|
-
eventStartDate?: string;
|
|
6
|
-
eventCreatedOn?: string;
|
|
7
|
-
eventDuration?: string;
|
|
8
|
-
eventjoined?: string;
|
|
9
|
-
eventThumbnail?: string;
|
|
10
|
-
pastevent?: boolean;
|
|
11
|
-
event?: IEventsDetails;
|
|
12
|
-
}
|
|
13
|
-
export interface IEventsDetails {
|
|
14
|
-
contentType?: string;
|
|
15
|
-
identifier?: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
resourceType?: string;
|
|
18
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export declare namespace NSProfileDataV3 {
|
|
2
|
-
interface IProfileJsonData {
|
|
3
|
-
tabs: IProfileTab[];
|
|
4
|
-
}
|
|
5
|
-
interface IProfileTab {
|
|
6
|
-
name: string;
|
|
7
|
-
key: string;
|
|
8
|
-
badges: {
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
uri?: string;
|
|
11
|
-
};
|
|
12
|
-
enabled: boolean;
|
|
13
|
-
check: boolean;
|
|
14
|
-
routerLink: string;
|
|
15
|
-
step: number;
|
|
16
|
-
description: string;
|
|
17
|
-
largeDesc?: any;
|
|
18
|
-
allowSkip?: any;
|
|
19
|
-
}
|
|
20
|
-
interface ICompetencie {
|
|
21
|
-
type: string;
|
|
22
|
-
status: string;
|
|
23
|
-
source: string;
|
|
24
|
-
competencySelfAttestedLevel?: string;
|
|
25
|
-
competencySelfAttestedLevelValue?: string;
|
|
26
|
-
competencySelfAttestedLevelName?: string;
|
|
27
|
-
osid?: string;
|
|
28
|
-
competencyType?: string;
|
|
29
|
-
description: string;
|
|
30
|
-
id: string;
|
|
31
|
-
name: string;
|
|
32
|
-
competencyLevel?: ICompetencyLevel[];
|
|
33
|
-
children?: any[];
|
|
34
|
-
competencyCBPCompletionLevel?: string;
|
|
35
|
-
competencyCBPCompletionLevelName?: string;
|
|
36
|
-
competencyCBPCompletionLevelValue?: string;
|
|
37
|
-
}
|
|
38
|
-
interface ICompetencyLevel {
|
|
39
|
-
name: string;
|
|
40
|
-
}
|
|
41
|
-
interface ITopic {
|
|
42
|
-
children: any[];
|
|
43
|
-
code: string;
|
|
44
|
-
description: string;
|
|
45
|
-
identifier: string;
|
|
46
|
-
index: number;
|
|
47
|
-
name: string;
|
|
48
|
-
noOfHoursConsumed: number;
|
|
49
|
-
status: string;
|
|
50
|
-
}
|
|
51
|
-
interface ISearch {
|
|
52
|
-
type: string;
|
|
53
|
-
field: string;
|
|
54
|
-
keyword: string;
|
|
55
|
-
}
|
|
56
|
-
interface IDesiredTopic {
|
|
57
|
-
request: {
|
|
58
|
-
userId: string;
|
|
59
|
-
profileDetails: {
|
|
60
|
-
desiredTopics: string[];
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
interface ISystemTopic {
|
|
65
|
-
request: {
|
|
66
|
-
userId: string;
|
|
67
|
-
profileDetails: {
|
|
68
|
-
systemTopics: ISystemTopicChield[];
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
interface ISystemTopicChield {
|
|
73
|
-
identifier: string;
|
|
74
|
-
name: string;
|
|
75
|
-
children: [];
|
|
76
|
-
}
|
|
77
|
-
interface IRolesAndActivities {
|
|
78
|
-
id: string;
|
|
79
|
-
name: string;
|
|
80
|
-
description: string;
|
|
81
|
-
activities: IRolesActivity[];
|
|
82
|
-
}
|
|
83
|
-
interface IRolesActivity {
|
|
84
|
-
description: string;
|
|
85
|
-
id: string;
|
|
86
|
-
name: string;
|
|
87
|
-
}
|
|
88
|
-
interface IChipItems {
|
|
89
|
-
name: string;
|
|
90
|
-
}
|
|
91
|
-
}
|