@sunbird-cb/consumption 0.0.44 → 0.0.46
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/bundles/sunbird-cb-consumption.umd.js +4429 -68
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +34 -24
- package/esm2015/lib/_common/cards/cards.component.js +2 -2
- package/esm2015/lib/_common/cards/cards.module.js +3 -1
- package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +168 -0
- package/esm2015/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +3 -3
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +2794 -0
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -0
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +69 -0
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +2 -2
- package/esm2015/public-api.js +2 -1
- package/esm2015/sunbird-cb-consumption.js +37 -35
- package/esm5/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +46 -30
- package/esm5/lib/_common/cards/cards.component.js +2 -2
- package/esm5/lib/_common/cards/cards.module.js +3 -1
- package/esm5/lib/_common/cards/provider-card/provider-card.component.js +177 -0
- package/esm5/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +3 -3
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +4119 -0
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -0
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +73 -0
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +3 -3
- package/esm5/public-api.js +2 -1
- package/esm5/sunbird-cb-consumption.js +37 -35
- package/fesm2015/sunbird-cb-consumption.js +3044 -28
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +4392 -35
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.d.ts +4 -3
- package/lib/_common/cards/provider-card/provider-card.component.d.ts +12 -0
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.d.ts +202 -0
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts +149 -0
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.d.ts +5 -0
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/sunbird-cb-consumption.d.ts +35 -33
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -15,13 +15,14 @@ export declare class CardAssessmentComponent implements OnInit {
|
|
|
15
15
|
defaultSLogo: any;
|
|
16
16
|
daysRemaining: number;
|
|
17
17
|
startDate: any;
|
|
18
|
+
endDate: any;
|
|
18
19
|
daysPending: boolean;
|
|
20
|
+
daysFinish: boolean;
|
|
19
21
|
private intervalId;
|
|
20
22
|
constructor(configSvc: ConfigurationsService, contSvc: WidgetContentService);
|
|
21
23
|
ngOnInit(): void;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
updateCountdown(targetDate: any): void;
|
|
24
|
+
startCountdown(data: any): void;
|
|
25
|
+
updateCountdown(startDate: any, endDate: any): void;
|
|
25
26
|
clearTimer(): void;
|
|
26
27
|
ngOnDestroy(): void;
|
|
27
28
|
getRedirectUrlData(contentData: any): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
export declare class ProviderCardComponent implements OnInit {
|
|
3
|
+
providers: {
|
|
4
|
+
name: string;
|
|
5
|
+
link: string;
|
|
6
|
+
logo: string;
|
|
7
|
+
}[];
|
|
8
|
+
colors: string[];
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
redirectTo(provider: any): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
+
import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver-v2';
|
|
3
|
+
import { NsContentStripWithTabs } from './content-strip-with-tabs-pills.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-v2';
|
|
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
|
+
import { Router } from '@angular/router';
|
|
13
|
+
interface IStripUnitContentData {
|
|
14
|
+
key: string;
|
|
15
|
+
canHideStrip: boolean;
|
|
16
|
+
mode?: string;
|
|
17
|
+
showStrip: boolean;
|
|
18
|
+
disableTranslate: boolean;
|
|
19
|
+
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
20
|
+
stripTitle: string;
|
|
21
|
+
stripTitleLink?: {
|
|
22
|
+
link: {
|
|
23
|
+
queryParams: string;
|
|
24
|
+
};
|
|
25
|
+
icon: string;
|
|
26
|
+
queryParams: string;
|
|
27
|
+
};
|
|
28
|
+
sliderConfig?: {
|
|
29
|
+
showNavs: boolean;
|
|
30
|
+
showDots: boolean;
|
|
31
|
+
maxWidgets?: number;
|
|
32
|
+
cerificateCardMargin?: boolean;
|
|
33
|
+
};
|
|
34
|
+
stripConfig: any;
|
|
35
|
+
tabs?: NsContentStripWithTabs.IContentStripTab[] | undefined;
|
|
36
|
+
stripName?: string;
|
|
37
|
+
stripLogo?: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
stripInfo?: NsContentStripWithTabs.IStripInfo;
|
|
40
|
+
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
41
|
+
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
42
|
+
showOnNoData: boolean;
|
|
43
|
+
showOnLoader: boolean;
|
|
44
|
+
showOnError: boolean;
|
|
45
|
+
loaderWidgets?: any;
|
|
46
|
+
stripBackground?: string;
|
|
47
|
+
secondaryHeading?: any;
|
|
48
|
+
viewMoreUrl: any;
|
|
49
|
+
request?: any;
|
|
50
|
+
}
|
|
51
|
+
export declare class ContentStripWithTabsPillsComponent extends WidgetBaseComponent implements OnInit, OnDestroy, NsWidgetResolver.IWidgetData<NsContentStripWithTabs.IContentStripMultiple> {
|
|
52
|
+
private contentSvc;
|
|
53
|
+
private loggerSvc;
|
|
54
|
+
private eventSvc;
|
|
55
|
+
private configSvc;
|
|
56
|
+
utilitySvc: UtilityService;
|
|
57
|
+
router: Router;
|
|
58
|
+
private userSvc;
|
|
59
|
+
private translate;
|
|
60
|
+
private langtranslations;
|
|
61
|
+
widgetData: NsContentStripWithTabs.IContentStripMultiple;
|
|
62
|
+
emptyResponse: EventEmitter<any>;
|
|
63
|
+
viewAllResponse: EventEmitter<any>;
|
|
64
|
+
telemtryResponse: EventEmitter<any>;
|
|
65
|
+
providerId: any;
|
|
66
|
+
emitViewAll: boolean;
|
|
67
|
+
channnelName: any;
|
|
68
|
+
id: string;
|
|
69
|
+
stripsResultDataMap: {
|
|
70
|
+
[key: string]: IStripUnitContentData;
|
|
71
|
+
};
|
|
72
|
+
stripsKeyOrder: string[];
|
|
73
|
+
showAccordionData: boolean;
|
|
74
|
+
showParentLoader: boolean;
|
|
75
|
+
showParentError: boolean;
|
|
76
|
+
showParentNoData: boolean;
|
|
77
|
+
errorDataCount: number;
|
|
78
|
+
noDataCount: number;
|
|
79
|
+
successDataCount: number;
|
|
80
|
+
contentAvailable: boolean;
|
|
81
|
+
baseUrl: string;
|
|
82
|
+
veifiedKarmayogi: boolean;
|
|
83
|
+
environment: any;
|
|
84
|
+
changeEventSubscription: Subscription | null;
|
|
85
|
+
defaultMaxWidgets: number;
|
|
86
|
+
enrollInterval: any;
|
|
87
|
+
todaysEvents: any;
|
|
88
|
+
enrollmentMapData: any;
|
|
89
|
+
constructor(environment: any, contentSvc: WidgetContentService, loggerSvc: LoggerService, eventSvc: EventService, configSvc: ConfigurationsService, utilitySvc: UtilityService, router: Router, userSvc: WidgetUserService, translate: TranslateService, langtranslations: MultilingualTranslationsService);
|
|
90
|
+
ngOnInit(): void;
|
|
91
|
+
ngOnDestroy(): void;
|
|
92
|
+
showAccordion(key: string): boolean;
|
|
93
|
+
setHiddenForStrip(key: string): void;
|
|
94
|
+
private getIfStripHidden;
|
|
95
|
+
private initData;
|
|
96
|
+
private fetchStripFromKey;
|
|
97
|
+
isStripShowing(data: any): any;
|
|
98
|
+
readonly isMobile: boolean;
|
|
99
|
+
getdata(data: IStripUnitContentData): {};
|
|
100
|
+
checkCondition(wData: NsContentStripWithTabs.IContentStripMultiple, data: IStripUnitContentData): boolean;
|
|
101
|
+
checkVisible(data: IStripUnitContentData): boolean;
|
|
102
|
+
getContineuLearningLenth(data: IStripUnitContentData): number;
|
|
103
|
+
getLength(data: IStripUnitContentData): any;
|
|
104
|
+
private getFiltersFromArray;
|
|
105
|
+
private transformSearchV6FiltersV2;
|
|
106
|
+
checkForDateFilters(filters: any): any;
|
|
107
|
+
private fetchStripFromRequestData;
|
|
108
|
+
fetchFromEnrollmentList(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): void;
|
|
109
|
+
splitEnrollmentTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): any[];
|
|
110
|
+
getInprogressAndCompleted(array: NsContent.IContent[], customFilter: any, strip: NsContentStripWithTabs.IContentStripUnit): {
|
|
111
|
+
value: string;
|
|
112
|
+
widgets: ({
|
|
113
|
+
widgetType: string;
|
|
114
|
+
widgetSubType: string;
|
|
115
|
+
widgetHostClass: string;
|
|
116
|
+
widgetData: {
|
|
117
|
+
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
118
|
+
cardCustomeClass: string;
|
|
119
|
+
context: {
|
|
120
|
+
pageSection: string;
|
|
121
|
+
position: number;
|
|
122
|
+
};
|
|
123
|
+
intranetMode: "" | "hide" | "greyOut";
|
|
124
|
+
deletedMode: "" | "hide" | "greyOut";
|
|
125
|
+
contentTags: NsContentStripWithTabs.IContentTags;
|
|
126
|
+
batch: any;
|
|
127
|
+
content: NsContent.IContent;
|
|
128
|
+
};
|
|
129
|
+
} | {
|
|
130
|
+
widgetType: string;
|
|
131
|
+
widgetSubType: string;
|
|
132
|
+
widgetHostClass: string;
|
|
133
|
+
widgetData: {};
|
|
134
|
+
})[];
|
|
135
|
+
}[];
|
|
136
|
+
checkInvitOnlyAssessments(content: any, strip: any, calculateParentStatus: any, viewMoreUrl: any): void;
|
|
137
|
+
fetchFromTrendingContent(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
138
|
+
toggleInfo(data: IStripUnitContentData): void;
|
|
139
|
+
private transformContentsToWidgets;
|
|
140
|
+
private transformEventsToWidgets;
|
|
141
|
+
private transformSkeletonToWidgets;
|
|
142
|
+
private processStrip;
|
|
143
|
+
private checkParentStatus;
|
|
144
|
+
checkForEmptyWidget(strip: NsContentStripWithTabs.IContentStripUnit): boolean;
|
|
145
|
+
getTabDataByfilter(strip: NsContentStripWithTabs.IContentStripUnit, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): void;
|
|
146
|
+
getSelectedIndex(stripsResultDataMap: any, key: any): number;
|
|
147
|
+
translateLabels(label: string, type: any): any;
|
|
148
|
+
identify(index: number, item: any): any;
|
|
149
|
+
tracker(index: number, item: any): any;
|
|
150
|
+
fetchAllTopContent(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
151
|
+
fetchAllFeaturedContent(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
152
|
+
raiseTelemetry(stripData: any): void;
|
|
153
|
+
postRequestMethod(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], apiUrl: string, calculateParentStatus: boolean): Promise<any>;
|
|
154
|
+
getRequestMethod(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], apiUrl: string, calculateParentStatus: boolean): Promise<any>;
|
|
155
|
+
postMethodFilters(filters: any): any;
|
|
156
|
+
getFullUrl(apiUrl: any, id: string): string;
|
|
157
|
+
redirectViewAll(stripData: any, path: string, queryParamsData: any): void;
|
|
158
|
+
fetchAllBookMarkData(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
159
|
+
private transformAllContentsToWidgets;
|
|
160
|
+
fetchAllPlaylistSearch(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
161
|
+
fetchPlaylistReadData(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
162
|
+
fetchCiosContentData(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
163
|
+
fetchForYouData(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): void;
|
|
164
|
+
fetchFromSearchV6(strip: NsContentStripWithTabs.IContentStripUnit, calculateParentStatus?: boolean): Promise<void>;
|
|
165
|
+
getTabDataByNewReqTrending(strip: NsContentStripWithTabs.IContentStripUnit, tabIndex: number, pillIndex: number, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
166
|
+
getTabDataByNewReqSearchV6(strip: NsContentStripWithTabs.IContentStripUnit, tabIndex: number, pillIndex: number, currentTab: NsContentStripWithTabs.IContentStripTab, calculateParentStatus: boolean): Promise<void>;
|
|
167
|
+
trendingSearchRequest(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
168
|
+
tabClicked(tabEvent: MatTabChangeEvent, pillIndex: any, stripMap: IStripUnitContentData, stripKey: string): void;
|
|
169
|
+
pillClicked(event: any, stripMap: IStripUnitContentData, stripKey: any, pillIndex: any, tabIndex: any): void;
|
|
170
|
+
searchV6Request(strip: NsContentStripWithTabs.IContentStripUnit, request: NsContentStripWithTabs.IContentStripUnit['request'], calculateParentStatus: boolean): Promise<any>;
|
|
171
|
+
getSelectedPillIndex(tabdata: any, tabIndex: any): any;
|
|
172
|
+
fetchAllCbpPlans(strip: any, calculateParentStatus?: boolean): Promise<void>;
|
|
173
|
+
splitCbpTabsData(contentNew: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): NsContentStripWithTabs.IContentStripTab[];
|
|
174
|
+
getTabsList(array: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit): {
|
|
175
|
+
value: string;
|
|
176
|
+
widgets: ({
|
|
177
|
+
widgetType: string;
|
|
178
|
+
widgetSubType: string;
|
|
179
|
+
widgetHostClass: string;
|
|
180
|
+
widgetData: {
|
|
181
|
+
cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
|
|
182
|
+
cardCustomeClass: string;
|
|
183
|
+
context: {
|
|
184
|
+
pageSection: string;
|
|
185
|
+
position: number;
|
|
186
|
+
};
|
|
187
|
+
intranetMode: "" | "hide" | "greyOut";
|
|
188
|
+
deletedMode: "" | "hide" | "greyOut";
|
|
189
|
+
contentTags: NsContentStripWithTabs.IContentTags;
|
|
190
|
+
batch: any;
|
|
191
|
+
content: NsContent.IContent;
|
|
192
|
+
};
|
|
193
|
+
} | {
|
|
194
|
+
widgetType: string;
|
|
195
|
+
widgetSubType: string;
|
|
196
|
+
widgetHostClass: string;
|
|
197
|
+
widgetData: {};
|
|
198
|
+
})[];
|
|
199
|
+
}[];
|
|
200
|
+
resetSelectedPill(pillData: any): void;
|
|
201
|
+
}
|
|
202
|
+
export {};
|
package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { NsWidgetResolver } from '@sunbird-cb/resolver-v2';
|
|
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
|
+
type: string;
|
|
15
|
+
disableTranslate?: any;
|
|
16
|
+
key: string;
|
|
17
|
+
title: string;
|
|
18
|
+
customeClass?: string;
|
|
19
|
+
nodataMsg?: 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
|
+
dotsAlign?: "right" | "left";
|
|
33
|
+
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
34
|
+
responsive?: {
|
|
35
|
+
showNavs: boolean;
|
|
36
|
+
showDots: boolean;
|
|
37
|
+
dotsAlign?: "right" | "left";
|
|
38
|
+
arrowsPlacement?: "bottom-right" | "bottom-center" | "bottom-left" | "middle-inline";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
tabs?: NsContentStripWithTabs.IContentStripTab[] | undefined;
|
|
42
|
+
titleDescription?: string;
|
|
43
|
+
name?: string;
|
|
44
|
+
mode?: string | 'accordion';
|
|
45
|
+
info?: IStripInfo;
|
|
46
|
+
logo?: string;
|
|
47
|
+
preWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
48
|
+
postWidgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
49
|
+
stripConfig?: IStripConfig;
|
|
50
|
+
canHideStrip?: boolean;
|
|
51
|
+
showStrip: boolean;
|
|
52
|
+
filters?: any[];
|
|
53
|
+
selectAll?: boolean | null;
|
|
54
|
+
request?: {
|
|
55
|
+
playlistRead: any;
|
|
56
|
+
playlistSearch?: any;
|
|
57
|
+
ciosContent?: any;
|
|
58
|
+
search?: NSSearch.ISearchRequest;
|
|
59
|
+
searchV6?: NSSearch.ISearchV6Request;
|
|
60
|
+
topContent?: any;
|
|
61
|
+
featureContent?: any;
|
|
62
|
+
bookmarkRead?: any;
|
|
63
|
+
enrollmentList?: any;
|
|
64
|
+
cbpList?: any;
|
|
65
|
+
apiUrl: string;
|
|
66
|
+
searchRegionRecommendation?: NSSearch.ISearchOrgRegionRecommendationRequest;
|
|
67
|
+
api?: IStripRequestApi;
|
|
68
|
+
networkApi?: INetworkRequestApi;
|
|
69
|
+
ids?: string[];
|
|
70
|
+
recommendedCourses?: any;
|
|
71
|
+
masterCompetency?: any;
|
|
72
|
+
trendingSearch?: any;
|
|
73
|
+
};
|
|
74
|
+
searchV6Type?: 'KB' | 'Collections' | 'searchQuery' | null;
|
|
75
|
+
stripBackground?: string;
|
|
76
|
+
noDataWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
77
|
+
loader?: boolean;
|
|
78
|
+
loaderWidgets?: any;
|
|
79
|
+
errorWidget?: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
80
|
+
refreshEvent?: Record<'eventType' | 'from', string>;
|
|
81
|
+
fetchLikes?: boolean;
|
|
82
|
+
secondaryHeading?: any;
|
|
83
|
+
viewMoreUrl?: {
|
|
84
|
+
queryParams?: any;
|
|
85
|
+
viewMoreText: string;
|
|
86
|
+
path: string;
|
|
87
|
+
};
|
|
88
|
+
data?: [];
|
|
89
|
+
}
|
|
90
|
+
interface IStripRequestApi {
|
|
91
|
+
path: string;
|
|
92
|
+
queryParams?: {
|
|
93
|
+
pageNo?: number;
|
|
94
|
+
pageSize?: number;
|
|
95
|
+
pageState?: string;
|
|
96
|
+
sourceFields?: string;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
interface INetworkRequestApi {
|
|
100
|
+
path: string;
|
|
101
|
+
data?: any;
|
|
102
|
+
}
|
|
103
|
+
interface IStripInfo {
|
|
104
|
+
mode: 'below' | 'popup' | 'modal';
|
|
105
|
+
visibilityMode?: 'hidden' | 'visible';
|
|
106
|
+
icon: {
|
|
107
|
+
icon: string;
|
|
108
|
+
scale: number;
|
|
109
|
+
style?: any;
|
|
110
|
+
};
|
|
111
|
+
widget: NsWidgetResolver.IRenderConfigWithAnyData;
|
|
112
|
+
}
|
|
113
|
+
interface IStripConfig {
|
|
114
|
+
cardSubType: NsCardContent.TCardSubType;
|
|
115
|
+
postCardForSearch?: boolean;
|
|
116
|
+
intranetMode?: 'greyOut' | 'hide';
|
|
117
|
+
deletedMode?: 'greyOut' | 'hide';
|
|
118
|
+
contentTags?: IContentTags;
|
|
119
|
+
hideShowAll?: boolean;
|
|
120
|
+
}
|
|
121
|
+
interface IContentTags {
|
|
122
|
+
daysSpan?: number;
|
|
123
|
+
excludeContentType?: NsContent.EContentTypes[];
|
|
124
|
+
excludeMimeType?: string[];
|
|
125
|
+
tag: string;
|
|
126
|
+
criteriaField: string;
|
|
127
|
+
}
|
|
128
|
+
interface IContentStripResponseApi {
|
|
129
|
+
contents: NsContent.IContent[];
|
|
130
|
+
hasMore?: boolean;
|
|
131
|
+
pageState?: string;
|
|
132
|
+
totalHits?: number;
|
|
133
|
+
}
|
|
134
|
+
interface IContentStripTab {
|
|
135
|
+
pillsData?: any;
|
|
136
|
+
label: string;
|
|
137
|
+
value: string;
|
|
138
|
+
showTabDataCount: boolean;
|
|
139
|
+
requestRequired?: boolean;
|
|
140
|
+
computeDataOnClick?: boolean;
|
|
141
|
+
computeDataOnClickKey?: string;
|
|
142
|
+
request?: any;
|
|
143
|
+
widgets?: NsWidgetResolver.IRenderConfigWithAnyData[];
|
|
144
|
+
maxWidgets?: number;
|
|
145
|
+
fetchTabStatus?: string;
|
|
146
|
+
nodataMsg?: string;
|
|
147
|
+
tabLoading?: boolean;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
export declare class PipeDurationTransformPipe implements PipeTransform {
|
|
3
|
-
transform(data: number, type
|
|
3
|
+
transform(data: number, type: 'time24' | 'hms' | 'hour' | 'hms2H' | 'hms2M' | 'day'): any;
|
|
4
4
|
defaultDuration(h: number, m: number, s: number): string;
|
|
5
5
|
hmsCalculation(h: number, m: number, s: number, dur: string, type: string): string;
|
|
6
6
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './lib/consumption.component';
|
|
|
3
3
|
export * from './lib/consumption.module';
|
|
4
4
|
export * from './lib/registration-lib.config';
|
|
5
5
|
export * from './lib/consumption.config';
|
|
6
|
+
export * from './lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module';
|
|
6
7
|
export * from './lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module';
|
|
7
8
|
export * from './lib/_common/common-strip/common-strip.module';
|
|
8
9
|
export * from './lib/_common/sliders/sliders.module';
|
|
@@ -3,64 +3,66 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
5
|
export { AnnouncementsComponent as ɵs } from './lib/_common/announcements/announcements.component';
|
|
6
|
-
export { AvatarPhotoLibComponent as
|
|
7
|
-
export { AvatarPhotoLibModule as
|
|
6
|
+
export { AvatarPhotoLibComponent as ɵbx } from './lib/_common/avatar-photo-lib/avatar-photo-lib.component';
|
|
7
|
+
export { AvatarPhotoLibModule as ɵbw } from './lib/_common/avatar-photo-lib/avatar-photo-lib.module';
|
|
8
8
|
export { CalenderDayComponent as ɵq } from './lib/_common/calender/calender-day/calender-day.component';
|
|
9
9
|
export { CalenderComponent as ɵp } from './lib/_common/calender/calender.component';
|
|
10
|
-
export { CardAssessmentComponent as
|
|
10
|
+
export { CardAssessmentComponent as ɵbf } from './lib/_common/cards/card-assessment/card-assessment/card-assessment.component';
|
|
11
11
|
export { CardKarmaProgramsV2Component as ɵbc } from './lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component';
|
|
12
12
|
export { CardKarmaProgramsComponent as ɵbb } from './lib/_common/cards/card-karma-programs/card-karma-programs.component';
|
|
13
13
|
export { CardLandscapeComponent as ɵx } from './lib/_common/cards/card-landscape/card-landscape.component';
|
|
14
|
-
export { CardMdoChannelV1Component as
|
|
14
|
+
export { CardMdoChannelV1Component as ɵbi } from './lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component';
|
|
15
15
|
export { CardMDOChannelComponent as ɵz } from './lib/_common/cards/card-mdo-channel/card-mdo-channel.component';
|
|
16
|
-
export { CardPortraitExtComponent as
|
|
16
|
+
export { CardPortraitExtComponent as ɵbe } from './lib/_common/cards/card-portrait-ext/card-portrait-ext.component';
|
|
17
17
|
export { CardPortraitComponent as ɵv } from './lib/_common/cards/card-portrait/card-portrait.component';
|
|
18
|
-
export { CardProgressPortraitLibComponent as
|
|
18
|
+
export { CardProgressPortraitLibComponent as ɵbg } from './lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component';
|
|
19
19
|
export { CardResourceComponent as ɵt } from './lib/_common/cards/card-resource/card-resource.component';
|
|
20
20
|
export { CardUserComponent as ɵw } from './lib/_common/cards/card-user/card-user.component';
|
|
21
21
|
export { CardWideV2Component as ɵba } from './lib/_common/cards/card-wide-v2/card-wide-v2.component';
|
|
22
22
|
export { CardWideComponent as ɵy } from './lib/_common/cards/card-wide/card-wide.component';
|
|
23
23
|
export { CardsComponent as ɵu } from './lib/_common/cards/cards.component';
|
|
24
|
+
export { ProviderCardComponent as ɵbd } from './lib/_common/cards/provider-card/provider-card.component';
|
|
24
25
|
export { CommonStripComponent as ɵr } from './lib/_common/common-strip/common-strip.component';
|
|
25
|
-
export { CompetencyPassbookMdoComponent as
|
|
26
|
-
export { CompetencyPassbookMdoService as
|
|
27
|
-
export { CompetencyPassbookComponent as
|
|
28
|
-
export { CompetencyPassbookService as
|
|
29
|
-
export { ContentProgressComponent as
|
|
26
|
+
export { CompetencyPassbookMdoComponent as ɵcd } from './lib/_common/competency-passbook-mdo/competency-passbook-mdo.component';
|
|
27
|
+
export { CompetencyPassbookMdoService as ɵce } from './lib/_common/competency-passbook-mdo/competency-passbook-mdo.service';
|
|
28
|
+
export { CompetencyPassbookComponent as ɵbz } from './lib/_common/competency-passbook/competency-passbook.component';
|
|
29
|
+
export { CompetencyPassbookService as ɵca } from './lib/_common/competency-passbook/competency-passbook.service';
|
|
30
|
+
export { ContentProgressComponent as ɵbt } from './lib/_common/content-progress/content-progress.component';
|
|
30
31
|
export { ContentStripWithTabsLibComponent as ɵa } from './lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component';
|
|
31
32
|
export { DataPointsComponent as ɵl } from './lib/_common/data-points/data-points.component';
|
|
32
|
-
export { CertificateDialogComponent as
|
|
33
|
-
export { DialogComponentsModule as
|
|
34
|
-
export { DisplayContentTypeLibComponent as
|
|
35
|
-
export { DisplayContentTypeLibModule as
|
|
33
|
+
export { CertificateDialogComponent as ɵbv } from './lib/_common/dialog-components/certificate-dialog/certificate-dialog.component';
|
|
34
|
+
export { DialogComponentsModule as ɵbu } from './lib/_common/dialog-components/dialog-components.module';
|
|
35
|
+
export { DisplayContentTypeLibComponent as ɵbo } from './lib/_common/display-content-type-lib/display-content-type-lib.component';
|
|
36
|
+
export { DisplayContentTypeLibModule as ɵbn } from './lib/_common/display-content-type-lib/display-content-type-lib.module';
|
|
36
37
|
export { HorizontalScrollerV2Component as ɵf } from './lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component';
|
|
37
38
|
export { HorizontalScrollerV2Module as ɵe } from './lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module';
|
|
38
|
-
export { PillsComponent as
|
|
39
|
-
export { PillsModule as
|
|
39
|
+
export { PillsComponent as ɵcc } from './lib/_common/pills/pills.component';
|
|
40
|
+
export { PillsModule as ɵcb } from './lib/_common/pills/pills.module';
|
|
40
41
|
export { SkeletonLoaderLibComponent as ɵo } from './lib/_common/skeleton-loader-lib/skeleton-loader-lib.component';
|
|
41
42
|
export { SkeletonLoaderLibModule as ɵn } from './lib/_common/skeleton-loader-lib/skeleton-loader-lib.module';
|
|
42
|
-
export { SlidersNgContentLibComponent as
|
|
43
|
-
export { MyHammerConfig as
|
|
43
|
+
export { SlidersNgContentLibComponent as ɵcl } from './lib/_common/sliders-ng-content/sliders-ng-content.component';
|
|
44
|
+
export { MyHammerConfig as ɵcj, SlidersNgContentLibModule as ɵck } from './lib/_common/sliders-ng-content/sliders-ng-content.module';
|
|
44
45
|
export { SlidersLibComponent as ɵg } from './lib/_common/sliders/sliders.component';
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
46
|
+
export { ContentStripWithTabsPillsComponent as ɵby } from './lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component';
|
|
47
|
+
export { UserContentRatingLibComponent as ɵcf } from './lib/_common/user-content-rating/user-content-rating-lib.component';
|
|
48
|
+
export { UserContentRatingLibService as ɵci } from './lib/_common/user-content-rating/user-content-rating-lib.service';
|
|
49
|
+
export { DefaultThumbnailDirective as ɵbq } from './lib/_directives/default-thumbnail/default-thumbnail.directive';
|
|
50
|
+
export { DefaultThumbnailModule as ɵbp } from './lib/_directives/default-thumbnail/default-thumbnail.module';
|
|
49
51
|
export { ImageResponsiveDirective as ɵk } from './lib/_directives/image-responsive/image-responsive.directive';
|
|
50
52
|
export { ImageResponsiveModule as ɵj } from './lib/_directives/image-responsive/image-responsive.module';
|
|
51
53
|
export { NavigationDirective as ɵi } from './lib/_directives/navigation/navigation.directive';
|
|
52
54
|
export { NavigationModule as ɵh } from './lib/_directives/navigation/navigation.module';
|
|
53
|
-
export { ScrollableItemDirective as
|
|
54
|
-
export { ScrollableItemModule as
|
|
55
|
-
export { ObjectToArrayPipe as
|
|
56
|
-
export { ObjectToArrayPipeModule as
|
|
57
|
-
export { PipeDurationTransformModule as
|
|
58
|
-
export { PipeDurationTransformPipe as
|
|
59
|
-
export { PipePublicURLModule as
|
|
60
|
-
export { PipePublicURL as
|
|
61
|
-
export { CertificateService as
|
|
55
|
+
export { ScrollableItemDirective as ɵcg } from './lib/_directives/scrollable-item/scrollable-item.directive';
|
|
56
|
+
export { ScrollableItemModule as ɵcm } from './lib/_directives/scrollable-item/scrollable-item.module';
|
|
57
|
+
export { ObjectToArrayPipe as ɵbm } from './lib/_pipes/object-to-array/object-to-array.pipe';
|
|
58
|
+
export { ObjectToArrayPipeModule as ɵbl } from './lib/_pipes/object-to-array/object-to-array.pipe.module';
|
|
59
|
+
export { PipeDurationTransformModule as ɵbr } from './lib/_pipes/pipe-duration-transform/pipe-duration-transform.module';
|
|
60
|
+
export { PipeDurationTransformPipe as ɵbs } from './lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe';
|
|
61
|
+
export { PipePublicURLModule as ɵbj } from './lib/_pipes/pipe-public-URL/pipe-public-URL.module';
|
|
62
|
+
export { PipePublicURL as ɵbk } from './lib/_pipes/pipe-public-URL/pipe-public-URL.pipe';
|
|
63
|
+
export { CertificateService as ɵbh } from './lib/_services/certificate.service';
|
|
62
64
|
export { ConfigurationsService as ɵd } from './lib/_services/configurations.service';
|
|
63
65
|
export { InsiteDataService as ɵm } from './lib/_services/insite-data.service';
|
|
64
66
|
export { MultilingualTranslationsService as ɵc } from './lib/_services/multilingual-translations.service';
|
|
65
|
-
export { RatingService as
|
|
67
|
+
export { RatingService as ɵch } from './lib/_services/rating.service';
|
|
66
68
|
export { WidgetUserService as ɵb } from './lib/_services/widget-user.service';
|