@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.
Files changed (192) hide show
  1. package/fesm2022/sunbird-cb-consumption.mjs +28254 -0
  2. package/fesm2022/sunbird-cb-consumption.mjs.map +1 -0
  3. package/index.d.ts +6549 -0
  4. package/index.d.ts.map +1 -0
  5. package/package.json +22 -19
  6. package/sunbird-cb-consumption-0.0.3-ang-17-20.tgz +0 -0
  7. package/bundles/sunbird-cb-consumption.umd.js +0 -8436
  8. package/bundles/sunbird-cb-consumption.umd.js.map +0 -1
  9. package/bundles/sunbird-cb-consumption.umd.min.js +0 -17
  10. package/bundles/sunbird-cb-consumption.umd.min.js.map +0 -1
  11. package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +0 -209
  12. package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +0 -173
  13. package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +0 -34
  14. package/esm2015/lib/_common/cards/card-user/card-user.component.js +0 -141
  15. package/esm2015/lib/_common/cards/cards.component.js +0 -107
  16. package/esm2015/lib/_common/cards/cards.module.js +0 -47
  17. package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +0 -324
  18. package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +0 -27
  19. package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +0 -52
  20. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +0 -1756
  21. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +0 -212
  22. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +0 -69
  23. package/esm2015/lib/_common/data-points/data-points.component.js +0 -110
  24. package/esm2015/lib/_common/data-points/data-points.module.js +0 -23
  25. package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +0 -56
  26. package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +0 -18
  27. package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +0 -267
  28. package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +0 -23
  29. package/esm2015/lib/_common/pills/pills.component.js +0 -49
  30. package/esm2015/lib/_common/pills/pills.module.js +0 -24
  31. package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +0 -40
  32. package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +0 -28
  33. package/esm2015/lib/_common/sliders/sliders.component.js +0 -184
  34. package/esm2015/lib/_common/sliders/sliders.model.js +0 -61
  35. package/esm2015/lib/_common/sliders/sliders.module.js +0 -50
  36. package/esm2015/lib/_constants/misc.constants.js +0 -5
  37. package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +0 -52
  38. package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +0 -19
  39. package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +0 -127
  40. package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +0 -19
  41. package/esm2015/lib/_directives/navigation/navigation.directive.js +0 -54
  42. package/esm2015/lib/_directives/navigation/navigation.module.js +0 -19
  43. package/esm2015/lib/_models/card-content-v2.model.js +0 -78
  44. package/esm2015/lib/_models/card-content.model.js +0 -69
  45. package/esm2015/lib/_models/card-users.model.js +0 -101
  46. package/esm2015/lib/_models/content-strip-multiple.model.js +0 -195
  47. package/esm2015/lib/_models/event.js +0 -45
  48. package/esm2015/lib/_models/profile-v3.models.js +0 -196
  49. package/esm2015/lib/_models/widget-content.model.js +0 -876
  50. package/esm2015/lib/_models/widget-search.model.js +0 -472
  51. package/esm2015/lib/_models/widget-user.model.js +0 -17
  52. package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +0 -19
  53. package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +0 -120
  54. package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +0 -19
  55. package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +0 -38
  56. package/esm2015/lib/_services/common-methods.service.js +0 -60
  57. package/esm2015/lib/_services/configurations.service.js +0 -243
  58. package/esm2015/lib/_services/insite-data.service.js +0 -45
  59. package/esm2015/lib/_services/multilingual-translations.service.js +0 -228
  60. package/esm2015/lib/_services/viewer-route-util.js +0 -125
  61. package/esm2015/lib/_services/widget-content.service.js +0 -829
  62. package/esm2015/lib/_services/widget-user.service.js +0 -439
  63. package/esm2015/lib/consumption.component.js +0 -26
  64. package/esm2015/lib/consumption.config.js +0 -12
  65. package/esm2015/lib/consumption.module.js +0 -26
  66. package/esm2015/lib/consumption.service.js +0 -18
  67. package/esm2015/lib/registration-lib.config.js +0 -21
  68. package/esm2015/public-api.js +0 -19
  69. package/esm2015/sunbird-cb-consumption.js +0 -42
  70. package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +0 -222
  71. package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +0 -182
  72. package/esm5/lib/_common/cards/card-resource/card-resource.component.js +0 -41
  73. package/esm5/lib/_common/cards/card-user/card-user.component.js +0 -147
  74. package/esm5/lib/_common/cards/cards.component.js +0 -127
  75. package/esm5/lib/_common/cards/cards.module.js +0 -51
  76. package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +0 -391
  77. package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +0 -31
  78. package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +0 -59
  79. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +0 -2063
  80. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +0 -212
  81. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +0 -73
  82. package/esm5/lib/_common/data-points/data-points.component.js +0 -120
  83. package/esm5/lib/_common/data-points/data-points.module.js +0 -27
  84. package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +0 -63
  85. package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +0 -22
  86. package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +0 -299
  87. package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +0 -27
  88. package/esm5/lib/_common/pills/pills.component.js +0 -58
  89. package/esm5/lib/_common/pills/pills.module.js +0 -28
  90. package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +0 -45
  91. package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +0 -32
  92. package/esm5/lib/_common/sliders/sliders.component.js +0 -211
  93. package/esm5/lib/_common/sliders/sliders.model.js +0 -61
  94. package/esm5/lib/_common/sliders/sliders.module.js +0 -67
  95. package/esm5/lib/_constants/misc.constants.js +0 -5
  96. package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +0 -60
  97. package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +0 -23
  98. package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +0 -137
  99. package/esm5/lib/_directives/image-responsive/image-responsive.module.js +0 -23
  100. package/esm5/lib/_directives/navigation/navigation.directive.js +0 -63
  101. package/esm5/lib/_directives/navigation/navigation.module.js +0 -23
  102. package/esm5/lib/_models/card-content-v2.model.js +0 -78
  103. package/esm5/lib/_models/card-content.model.js +0 -69
  104. package/esm5/lib/_models/card-users.model.js +0 -101
  105. package/esm5/lib/_models/content-strip-multiple.model.js +0 -195
  106. package/esm5/lib/_models/event.js +0 -45
  107. package/esm5/lib/_models/profile-v3.models.js +0 -196
  108. package/esm5/lib/_models/widget-content.model.js +0 -876
  109. package/esm5/lib/_models/widget-search.model.js +0 -472
  110. package/esm5/lib/_models/widget-user.model.js +0 -17
  111. package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +0 -23
  112. package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +0 -143
  113. package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +0 -23
  114. package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +0 -41
  115. package/esm5/lib/_services/common-methods.service.js +0 -73
  116. package/esm5/lib/_services/configurations.service.js +0 -257
  117. package/esm5/lib/_services/insite-data.service.js +0 -48
  118. package/esm5/lib/_services/multilingual-translations.service.js +0 -256
  119. package/esm5/lib/_services/viewer-route-util.js +0 -127
  120. package/esm5/lib/_services/widget-content.service.js +0 -1078
  121. package/esm5/lib/_services/widget-user.service.js +0 -501
  122. package/esm5/lib/consumption.component.js +0 -28
  123. package/esm5/lib/consumption.config.js +0 -12
  124. package/esm5/lib/consumption.module.js +0 -30
  125. package/esm5/lib/consumption.service.js +0 -21
  126. package/esm5/lib/registration-lib.config.js +0 -21
  127. package/esm5/public-api.js +0 -19
  128. package/esm5/sunbird-cb-consumption.js +0 -42
  129. package/fesm2015/sunbird-cb-consumption.js +0 -7211
  130. package/fesm2015/sunbird-cb-consumption.js.map +0 -1
  131. package/fesm5/sunbird-cb-consumption.js +0 -8190
  132. package/fesm5/sunbird-cb-consumption.js.map +0 -1
  133. package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +0 -35
  134. package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +0 -31
  135. package/lib/_common/cards/card-resource/card-resource.component.d.ts +0 -8
  136. package/lib/_common/cards/card-user/card-user.component.d.ts +0 -24
  137. package/lib/_common/cards/cards.component.d.ts +0 -20
  138. package/lib/_common/cards/cards.module.d.ts +0 -2
  139. package/lib/_common/competency-passbook/competency-passbook.component.d.ts +0 -36
  140. package/lib/_common/competency-passbook/competency-passbook.module.d.ts +0 -2
  141. package/lib/_common/competency-passbook/competency-passbook.service.d.ts +0 -8
  142. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +0 -180
  143. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +0 -134
  144. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +0 -5
  145. package/lib/_common/data-points/data-points.component.d.ts +0 -15
  146. package/lib/_common/data-points/data-points.module.d.ts +0 -2
  147. package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +0 -11
  148. package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +0 -2
  149. package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +0 -31
  150. package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +0 -2
  151. package/lib/_common/pills/pills.component.d.ts +0 -10
  152. package/lib/_common/pills/pills.module.d.ts +0 -2
  153. package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +0 -8
  154. package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +0 -2
  155. package/lib/_common/sliders/sliders.component.d.ts +0 -26
  156. package/lib/_common/sliders/sliders.model.d.ts +0 -34
  157. package/lib/_common/sliders/sliders.module.d.ts +0 -6
  158. package/lib/_constants/misc.constants.d.ts +0 -2
  159. package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +0 -9
  160. package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +0 -2
  161. package/lib/_directives/image-responsive/image-responsive.directive.d.ts +0 -17
  162. package/lib/_directives/image-responsive/image-responsive.module.d.ts +0 -2
  163. package/lib/_directives/navigation/navigation.directive.d.ts +0 -9
  164. package/lib/_directives/navigation/navigation.module.d.ts +0 -2
  165. package/lib/_models/card-content-v2.model.d.ts +0 -44
  166. package/lib/_models/card-content.model.d.ts +0 -41
  167. package/lib/_models/card-users.model.d.ts +0 -49
  168. package/lib/_models/content-strip-multiple.model.d.ts +0 -128
  169. package/lib/_models/event.d.ts +0 -18
  170. package/lib/_models/profile-v3.models.d.ts +0 -91
  171. package/lib/_models/widget-content.model.d.ts +0 -497
  172. package/lib/_models/widget-search.model.d.ts +0 -252
  173. package/lib/_models/widget-user.model.d.ts +0 -5
  174. package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +0 -2
  175. package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +0 -6
  176. package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +0 -2
  177. package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +0 -6
  178. package/lib/_services/common-methods.service.d.ts +0 -37
  179. package/lib/_services/configurations.service.d.ts +0 -71
  180. package/lib/_services/insite-data.service.d.ts +0 -7
  181. package/lib/_services/multilingual-translations.service.d.ts +0 -20
  182. package/lib/_services/viewer-route-util.d.ts +0 -8
  183. package/lib/_services/widget-content.service.d.ts +0 -83
  184. package/lib/_services/widget-user.service.d.ts +0 -31
  185. package/lib/consumption.component.d.ts +0 -5
  186. package/lib/consumption.config.d.ts +0 -6
  187. package/lib/consumption.module.d.ts +0 -2
  188. package/lib/consumption.service.d.ts +0 -3
  189. package/lib/registration-lib.config.d.ts +0 -4
  190. package/public-api.d.ts +0 -11
  191. package/sunbird-cb-consumption.d.ts +0 -37
  192. package/sunbird-cb-consumption.metadata.json +0 -1
@@ -1,6 +0,0 @@
1
- import { HammerGestureConfig } from '@angular/platform-browser';
2
- export declare class MyHammerConfig extends HammerGestureConfig {
3
- buildHammer(element: HTMLElement): any;
4
- }
5
- export declare class SlidersLibModule {
6
- }
@@ -1,2 +0,0 @@
1
- export declare type TFetchStatus = 'none' | 'fetching' | 'done' | 'error' | 'hasMore';
2
- export declare type TSendStatus = 'none' | 'sending' | 'done' | 'error';
@@ -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,2 +0,0 @@
1
- export declare class DefaultThumbnailModule {
2
- }
@@ -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,2 +0,0 @@
1
- export declare class ImageResponsiveModule {
2
- }
@@ -1,9 +0,0 @@
1
- import { OnChanges } from '@angular/core';
2
- export declare class NavigationDirective implements OnChanges {
3
- wsUtilsNavigation: string;
4
- openInNewTab: boolean;
5
- routeUrl: string;
6
- onMouseEnter($event: Event): void;
7
- constructor();
8
- ngOnChanges(): void;
9
- }
@@ -1,2 +0,0 @@
1
- export declare class NavigationModule {
2
- }
@@ -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
- }
@@ -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
- }