@sunbird-cb/utils-v2 0.0.21 → 0.0.22-ang-9-12
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-utils-v2.umd.js +1284 -2508
- package/bundles/sunbird-cb-utils-v2.umd.js.map +1 -1
- package/bundles/sunbird-cb-utils-v2.umd.min.js +1 -1
- package/bundles/sunbird-cb-utils-v2.umd.min.js.map +1 -1
- package/esm2015/lib/components/image-crop/image-crop.component.js +19 -47
- package/esm2015/lib/components/image-crop/image-crop.module.js +8 -2
- package/esm2015/lib/constants/features.enum.js +555 -555
- package/esm2015/lib/constants/instances.enum.js +5 -5
- package/esm2015/lib/constants/misc.constants.js +1 -0
- package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +11 -21
- package/esm2015/lib/directives/default-thumbnail/default-thumbnail.directive.js +1 -7
- package/esm2015/lib/directives/image-responsive/image-responsive.directive.js +6 -11
- package/esm2015/lib/directives/in-view-port/in-view-port.directive.js +9 -12
- package/esm2015/lib/directives/navigation/navigation.directive.js +1 -6
- package/esm2015/lib/helpers/functions/getStringifiedQueryParams.js +4 -4
- package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +10 -19
- package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +4 -2
- package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +15 -31
- package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +4 -2
- package/esm2015/lib/helpers/logout/logout.component.js +11 -14
- package/esm2015/lib/helpers/logout/logout.module.js +3 -2
- package/esm2015/lib/models/profile-v3.models.js +2 -104
- package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +4 -4
- package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +1 -7
- package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +1 -1
- package/esm2015/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +1 -1
- package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +1 -11
- package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +1 -1
- package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +3 -3
- package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +5 -5
- package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +3 -3
- package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +6 -6
- package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +1 -1
- package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +4 -4
- package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +1 -6
- package/esm2015/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +4 -4
- package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +1 -4
- package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +1 -1
- package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +1 -1
- package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +4 -4
- package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +5 -5
- package/esm2015/lib/resolvers/explore-detail.resolver.js +17 -19
- package/esm2015/lib/resolvers/marketing-offering.resolve.js +10 -10
- package/esm2015/lib/resolvers/module-name.resolver.js +2 -5
- package/esm2015/lib/resolvers/page-name.resolver.js +2 -2
- package/esm2015/lib/resolvers/page.constant.js +1 -1
- package/esm2015/lib/resolvers/page.model.js +2 -48
- package/esm2015/lib/resolvers/page.resolver.js +16 -17
- package/esm2015/lib/resolvers/resolver.model.js +2 -6
- package/esm2015/lib/services/auth-keycloak.service.js +35 -35
- package/esm2015/lib/services/auth-microsoft.service.js +21 -17
- package/esm2015/lib/services/card-content.model.js +1 -21
- package/esm2015/lib/services/configurations.model.js +2 -551
- package/esm2015/lib/services/configurations.service.js +2 -63
- package/esm2015/lib/services/content-strip-multiple.model.js +2 -75
- package/esm2015/lib/services/event.model.js +1 -114
- package/esm2015/lib/services/event.service.js +31 -24
- package/esm2015/lib/services/logger.service.js +8 -13
- package/esm2015/lib/services/ms-office.model.js +2 -8
- package/esm2015/lib/services/multilingual-translations.service.js +11 -15
- package/esm2015/lib/services/nps-grid.service.js +6 -8
- package/esm2015/lib/services/subapplication-respond.service.js +16 -20
- package/esm2015/lib/services/telemetry.service.js +73 -80
- package/esm2015/lib/services/user-preference.model.js +2 -38
- package/esm2015/lib/services/user-preference.service.js +23 -15
- package/esm2015/lib/services/utility.service.js +16 -27
- package/esm2015/lib/services/value.service.js +8 -10
- package/esm2015/lib/services/widget-content.model.js +1 -242
- package/esm2015/lib/services/widget-content.service.js +29 -21
- package/esm2015/lib/services/widget-resolver.model.js +2 -57
- package/esm2015/lib/services/widget-search.model.js +2 -126
- package/esm2015/public-api.js +96 -88
- package/esm2015/sunbird-cb-utils-v2.js +2 -10
- package/esm5/lib/components/image-crop/image-crop.component.js +30 -48
- package/esm5/lib/components/image-crop/image-crop.module.js +8 -2
- package/esm5/lib/constants/features.enum.js +555 -555
- package/esm5/lib/constants/instances.enum.js +5 -5
- package/esm5/lib/constants/misc.constants.js +1 -0
- package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +14 -24
- package/esm5/lib/directives/default-thumbnail/default-thumbnail.directive.js +1 -7
- package/esm5/lib/directives/image-responsive/image-responsive.directive.js +6 -11
- package/esm5/lib/directives/in-view-port/in-view-port.directive.js +9 -12
- package/esm5/lib/directives/navigation/navigation.directive.js +1 -6
- package/esm5/lib/helpers/functions/getStringifiedQueryParams.js +4 -4
- package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +10 -19
- package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +4 -2
- package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +15 -31
- package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +4 -2
- package/esm5/lib/helpers/logout/logout.component.js +12 -15
- package/esm5/lib/helpers/logout/logout.module.js +3 -2
- package/esm5/lib/models/profile-v3.models.js +2 -104
- package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +4 -4
- package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +1 -7
- package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +1 -1
- package/esm5/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +1 -1
- package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +1 -11
- package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +1 -1
- package/esm5/lib/pipes/pipe-filter/pipe-filter.pipe.js +3 -3
- package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +5 -5
- package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +3 -3
- package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +9 -9
- package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +1 -1
- package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +4 -4
- package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +1 -6
- package/esm5/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +4 -4
- package/esm5/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +1 -4
- package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +1 -1
- package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +13 -3
- package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +4 -4
- package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +5 -5
- package/esm5/lib/resolvers/explore-detail.resolver.js +17 -19
- package/esm5/lib/resolvers/marketing-offering.resolve.js +10 -10
- package/esm5/lib/resolvers/module-name.resolver.js +2 -5
- package/esm5/lib/resolvers/page-name.resolver.js +2 -2
- package/esm5/lib/resolvers/page.constant.js +1 -1
- package/esm5/lib/resolvers/page.model.js +2 -48
- package/esm5/lib/resolvers/page.resolver.js +36 -22
- package/esm5/lib/resolvers/resolver.model.js +2 -6
- package/esm5/lib/services/auth-keycloak.service.js +86 -48
- package/esm5/lib/services/auth-microsoft.service.js +55 -24
- package/esm5/lib/services/card-content.model.js +1 -21
- package/esm5/lib/services/configurations.model.js +2 -551
- package/esm5/lib/services/configurations.service.js +2 -63
- package/esm5/lib/services/content-strip-multiple.model.js +2 -75
- package/esm5/lib/services/event.model.js +1 -114
- package/esm5/lib/services/event.service.js +66 -28
- package/esm5/lib/services/logger.service.js +12 -17
- package/esm5/lib/services/ms-office.model.js +2 -8
- package/esm5/lib/services/multilingual-translations.service.js +11 -15
- package/esm5/lib/services/nps-grid.service.js +6 -8
- package/esm5/lib/services/subapplication-respond.service.js +30 -24
- package/esm5/lib/services/telemetry.service.js +94 -91
- package/esm5/lib/services/user-preference.model.js +2 -38
- package/esm5/lib/services/user-preference.service.js +63 -17
- package/esm5/lib/services/utility.service.js +23 -34
- package/esm5/lib/services/value.service.js +8 -10
- package/esm5/lib/services/widget-content.model.js +1 -242
- package/esm5/lib/services/widget-content.service.js +69 -23
- package/esm5/lib/services/widget-resolver.model.js +2 -57
- package/esm5/lib/services/widget-search.model.js +2 -126
- package/esm5/public-api.js +96 -88
- package/esm5/sunbird-cb-utils-v2.js +2 -10
- package/fesm2015/sunbird-cb-utils-v2.js +972 -2207
- package/fesm2015/sunbird-cb-utils-v2.js.map +1 -1
- package/fesm5/sunbird-cb-utils-v2.js +1262 -2264
- package/fesm5/sunbird-cb-utils-v2.js.map +1 -1
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +3 -3
- package/lib/helpers/logout/logout.component.d.ts +2 -2
- package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +4 -4
- package/lib/resolvers/page.model.d.ts +1 -1
- package/lib/services/auth-keycloak.service.d.ts +9 -9
- package/lib/services/auth-microsoft.service.d.ts +2 -2
- package/lib/services/configurations.model.d.ts +29 -27
- package/lib/services/content-strip-multiple.model.d.ts +7 -6
- package/lib/services/event.service.d.ts +2 -0
- package/lib/services/logger.service.d.ts +4 -4
- package/lib/services/telemetry.service.d.ts +3 -3
- package/lib/services/utility.service.d.ts +7 -7
- package/lib/services/widget-content.model.d.ts +21 -20
- package/package.json +12 -12
- package/public-api.d.ts +8 -0
- package/sunbird-cb-utils-v2-0.0.22-ang-9-12.tgz +0 -0
- package/sunbird-cb-utils-v2.d.ts +0 -8
- package/sunbird-cb-utils-v2.metadata.json +1 -1
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
1
|
+
import { ɵɵdefineInjectable, Injectable, ɵɵinject, EventEmitter, Inject, Component, Output, NgModule, Directive, Input, HostBinding, HostListener, ElementRef, ViewChild, Pipe, LOCALE_ID } from '@angular/core';
|
|
2
|
+
import { MatDialogRef, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
3
3
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
4
|
import { BehaviorSubject, ReplaySubject, Subject, fromEvent, timer, of, EMPTY, forkJoin } from 'rxjs';
|
|
5
5
|
import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
|
|
6
6
|
import { map, debounceTime, distinctUntilChanged, throttleTime, filter, catchError, mergeMap, retry } from 'rxjs/operators';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
|
-
import {
|
|
8
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
+
import { MatCardModule } from '@angular/material/card';
|
|
10
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
11
|
+
import { MatSliderModule } from '@angular/material/slider';
|
|
12
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
13
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
9
14
|
import { ImageCropperModule } from 'ngx-image-cropper';
|
|
15
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
10
16
|
import { Platform } from '@angular/cdk/platform';
|
|
11
17
|
import { HttpClient } from '@angular/common/http';
|
|
12
18
|
import { NavigationEnd, Router, ActivatedRoute, NavigationStart } from '@angular/router';
|
|
13
19
|
import _, { orderBy } from 'lodash';
|
|
14
20
|
import moment from 'moment';
|
|
15
|
-
import { __awaiter } from 'tslib';
|
|
16
21
|
import { KeycloakEventType, KeycloakService } from 'keycloak-angular';
|
|
17
22
|
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
18
23
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
@@ -87,86 +92,29 @@ class ConfigurationsService {
|
|
|
87
92
|
this.updatePlatformRating.next(state);
|
|
88
93
|
}
|
|
89
94
|
}
|
|
95
|
+
ConfigurationsService.ɵprov = ɵɵdefineInjectable({ factory: function ConfigurationsService_Factory() { return new ConfigurationsService(); }, token: ConfigurationsService, providedIn: "root" });
|
|
90
96
|
ConfigurationsService.decorators = [
|
|
91
97
|
{ type: Injectable, args: [{
|
|
92
98
|
providedIn: 'root',
|
|
93
99
|
},] }
|
|
94
100
|
];
|
|
95
101
|
ConfigurationsService.ctorParameters = () => [];
|
|
96
|
-
/** @nocollapse */ ConfigurationsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConfigurationsService_Factory() { return new ConfigurationsService(); }, token: ConfigurationsService, providedIn: "root" });
|
|
97
|
-
if (false) {
|
|
98
|
-
ConfigurationsService.prototype.appSetup;
|
|
99
|
-
ConfigurationsService.prototype.userUrl;
|
|
100
|
-
ConfigurationsService.prototype.baseUrl;
|
|
101
|
-
ConfigurationsService.prototype.sitePath;
|
|
102
|
-
ConfigurationsService.prototype.hostPath;
|
|
103
|
-
ConfigurationsService.prototype.userRoles;
|
|
104
|
-
ConfigurationsService.prototype.userGroups;
|
|
105
|
-
ConfigurationsService.prototype.restrictedFeatures;
|
|
106
|
-
ConfigurationsService.prototype.restrictedWidgets;
|
|
107
|
-
ConfigurationsService.prototype.instanceConfig;
|
|
108
|
-
ConfigurationsService.prototype.appsConfig;
|
|
109
|
-
ConfigurationsService.prototype.rootOrg;
|
|
110
|
-
ConfigurationsService.prototype.courseContentPath;
|
|
111
|
-
ConfigurationsService.prototype.org;
|
|
112
|
-
ConfigurationsService.prototype.activeOrg;
|
|
113
|
-
ConfigurationsService.prototype.isProduction;
|
|
114
|
-
ConfigurationsService.prototype.hasAcceptedTnc;
|
|
115
|
-
ConfigurationsService.prototype.profileDetailsStatus;
|
|
116
|
-
ConfigurationsService.prototype.isActive;
|
|
117
|
-
ConfigurationsService.prototype.userPreference;
|
|
118
|
-
ConfigurationsService.prototype.userProfile;
|
|
119
|
-
ConfigurationsService.prototype.userProfileV2;
|
|
120
|
-
ConfigurationsService.prototype.nodebbUserProfile;
|
|
121
|
-
ConfigurationsService.prototype.unMappedUser;
|
|
122
|
-
ConfigurationsService.prototype.isAuthenticated;
|
|
123
|
-
ConfigurationsService.prototype.isNewUser;
|
|
124
|
-
ConfigurationsService.prototype.portalUrls;
|
|
125
|
-
ConfigurationsService.prototype.positions;
|
|
126
|
-
ConfigurationsService.prototype.overrideThemeChanges;
|
|
127
|
-
ConfigurationsService.prototype.profileTimelyNudges;
|
|
128
|
-
ConfigurationsService.prototype.pinnedApps;
|
|
129
|
-
ConfigurationsService.prototype.prefChangeNotifier;
|
|
130
|
-
ConfigurationsService.prototype.tourGuideNotifier;
|
|
131
|
-
ConfigurationsService.prototype.authChangeNotifier;
|
|
132
|
-
ConfigurationsService.prototype.updateProfile;
|
|
133
|
-
ConfigurationsService.prototype.updateProfileObservable;
|
|
134
|
-
ConfigurationsService.prototype.updateTourGuide;
|
|
135
|
-
ConfigurationsService.prototype.updateTourGuideObservable;
|
|
136
|
-
ConfigurationsService.prototype.updatePlatformRating;
|
|
137
|
-
ConfigurationsService.prototype.updatePlatformRatingObservable$;
|
|
138
|
-
ConfigurationsService.prototype.languageTranslationFlag;
|
|
139
|
-
ConfigurationsService.prototype.activeThemeObject;
|
|
140
|
-
ConfigurationsService.prototype.activeFontObject;
|
|
141
|
-
ConfigurationsService.prototype.isDarkMode;
|
|
142
|
-
ConfigurationsService.prototype.isIntranetAllowed;
|
|
143
|
-
ConfigurationsService.prototype.isRTL;
|
|
144
|
-
ConfigurationsService.prototype.activeLocale;
|
|
145
|
-
ConfigurationsService.prototype.activeLocaleGroup;
|
|
146
|
-
ConfigurationsService.prototype.completedActivity;
|
|
147
|
-
ConfigurationsService.prototype.completedTour;
|
|
148
|
-
ConfigurationsService.prototype.profileSettings;
|
|
149
|
-
ConfigurationsService.prototype.primaryNavBar;
|
|
150
|
-
ConfigurationsService.prototype.pageNavBar;
|
|
151
|
-
ConfigurationsService.prototype.primaryNavBarConfig;
|
|
152
|
-
ConfigurationsService.prototype.welcomeTabs;
|
|
153
|
-
ConfigurationsService.prototype.compentency;
|
|
154
|
-
ConfigurationsService.prototype.cstoken;
|
|
155
|
-
ConfigurationsService.prototype.changeNavBarFullView;
|
|
156
|
-
ConfigurationsService.prototype.openExploreMenuForMWeb;
|
|
157
|
-
}
|
|
158
102
|
|
|
159
103
|
class ValueService {
|
|
160
104
|
constructor(breakpointObserver) {
|
|
161
105
|
this.breakpointObserver = breakpointObserver;
|
|
162
106
|
this.isXSmall$ = this.breakpointObserver
|
|
163
107
|
.observe([Breakpoints.XSmall])
|
|
164
|
-
.pipe(map((
|
|
108
|
+
.pipe(map((res) => res.matches));
|
|
165
109
|
this.isLtMedium$ = this.breakpointObserver
|
|
166
110
|
.observe([Breakpoints.XSmall, Breakpoints.Small])
|
|
167
|
-
.pipe(map((
|
|
111
|
+
.pipe(map((res) => res.matches));
|
|
168
112
|
}
|
|
169
113
|
}
|
|
114
|
+
ValueService.ctorParameters = () => [
|
|
115
|
+
{ type: BreakpointObserver }
|
|
116
|
+
];
|
|
117
|
+
ValueService.ɵprov = ɵɵdefineInjectable({ factory: function ValueService_Factory() { return new ValueService(ɵɵinject(BreakpointObserver)); }, token: ValueService, providedIn: "root" });
|
|
170
118
|
ValueService.decorators = [
|
|
171
119
|
{ type: Injectable, args: [{
|
|
172
120
|
providedIn: 'root',
|
|
@@ -175,21 +123,7 @@ ValueService.decorators = [
|
|
|
175
123
|
ValueService.ctorParameters = () => [
|
|
176
124
|
{ type: BreakpointObserver }
|
|
177
125
|
];
|
|
178
|
-
/** @nocollapse */ ValueService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ValueService_Factory() { return new ValueService(ɵɵinject(BreakpointObserver)); }, token: ValueService, providedIn: "root" });
|
|
179
|
-
if (false) {
|
|
180
|
-
ValueService.prototype.isXSmall$;
|
|
181
|
-
ValueService.prototype.isLtMedium$;
|
|
182
|
-
ValueService.prototype.breakpointObserver;
|
|
183
|
-
}
|
|
184
126
|
|
|
185
|
-
function IDialogueDta() { }
|
|
186
|
-
if (false) {
|
|
187
|
-
IDialogueDta.prototype.isRoundCrop;
|
|
188
|
-
IDialogueDta.prototype.imageFile;
|
|
189
|
-
IDialogueDta.prototype.height;
|
|
190
|
-
IDialogueDta.prototype.width;
|
|
191
|
-
IDialogueDta.prototype.imageFileName;
|
|
192
|
-
}
|
|
193
127
|
class ImageCropComponent {
|
|
194
128
|
constructor(dialogRef, configSvc, snackBar, valueSvc, data) {
|
|
195
129
|
this.dialogRef = dialogRef;
|
|
@@ -230,7 +164,7 @@ class ImageCropComponent {
|
|
|
230
164
|
}
|
|
231
165
|
ngOnInit() {
|
|
232
166
|
this.thumbnailSizeDetection();
|
|
233
|
-
this.valueSvc.isXSmall$.subscribe((
|
|
167
|
+
this.valueSvc.isXSmall$.subscribe((isXSmall) => {
|
|
234
168
|
this.isXSmall = isXSmall;
|
|
235
169
|
if (this.isXSmall) {
|
|
236
170
|
this.dialogRef.updateSize('90%');
|
|
@@ -238,7 +172,7 @@ class ImageCropComponent {
|
|
|
238
172
|
else {
|
|
239
173
|
this.dialogRef.updateSize('70%');
|
|
240
174
|
}
|
|
241
|
-
})
|
|
175
|
+
});
|
|
242
176
|
}
|
|
243
177
|
changeToDefaultImg($event) {
|
|
244
178
|
$event.target.src = this.configSvc.instanceConfig ?
|
|
@@ -261,10 +195,10 @@ class ImageCropComponent {
|
|
|
261
195
|
thumbnailSizeDetection() {
|
|
262
196
|
const fr = new FileReader();
|
|
263
197
|
fr.readAsDataURL(this.imageFile);
|
|
264
|
-
fr.onload = (
|
|
198
|
+
fr.onload = () => {
|
|
265
199
|
const img = new Image();
|
|
266
|
-
img.src =
|
|
267
|
-
img.onload = (
|
|
200
|
+
img.src = fr.result;
|
|
201
|
+
img.onload = () => {
|
|
268
202
|
this.width = img.width;
|
|
269
203
|
this.height = img.height;
|
|
270
204
|
if (!this.isRoundCrop) {
|
|
@@ -276,8 +210,8 @@ class ImageCropComponent {
|
|
|
276
210
|
this.isNotOfRequiredSize = true;
|
|
277
211
|
}
|
|
278
212
|
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
213
|
+
};
|
|
214
|
+
};
|
|
281
215
|
}
|
|
282
216
|
base64ImageToBlob(str) {
|
|
283
217
|
const pos = str.indexOf(';base64,');
|
|
@@ -298,7 +232,7 @@ class ImageCropComponent {
|
|
|
298
232
|
flipAfterRotate() {
|
|
299
233
|
const flippedH = this.transform.flipH;
|
|
300
234
|
const flippedV = this.transform.flipV;
|
|
301
|
-
this.transform = Object.assign({}, this.transform, { flipH: flippedV, flipV: flippedH });
|
|
235
|
+
this.transform = Object.assign(Object.assign({}, this.transform), { flipH: flippedV, flipV: flippedH });
|
|
302
236
|
}
|
|
303
237
|
rotateLeft() {
|
|
304
238
|
this.canvasRotation = this.canvasRotation - 1;
|
|
@@ -309,11 +243,11 @@ class ImageCropComponent {
|
|
|
309
243
|
this.flipAfterRotate();
|
|
310
244
|
}
|
|
311
245
|
flipHorizontal() {
|
|
312
|
-
this.transform = Object.assign({}, this.transform, { flipH: !this.transform.flipH });
|
|
246
|
+
this.transform = Object.assign(Object.assign({}, this.transform), { flipH: !this.transform.flipH });
|
|
313
247
|
}
|
|
314
248
|
zoom(event) {
|
|
315
249
|
this.resetValue = false;
|
|
316
|
-
this.transform = Object.assign({}, this.transform, { scale: event.value });
|
|
250
|
+
this.transform = Object.assign(Object.assign({}, this.transform), { scale: event.value });
|
|
317
251
|
}
|
|
318
252
|
croppingImage() {
|
|
319
253
|
this.dialogRef.close(this.cropimageFile);
|
|
@@ -327,12 +261,19 @@ class ImageCropComponent {
|
|
|
327
261
|
this.dialogRef.close();
|
|
328
262
|
}
|
|
329
263
|
}
|
|
264
|
+
ImageCropComponent.ctorParameters = () => [
|
|
265
|
+
{ type: MatDialogRef },
|
|
266
|
+
{ type: ConfigurationsService },
|
|
267
|
+
{ type: MatSnackBar },
|
|
268
|
+
{ type: ValueService },
|
|
269
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
270
|
+
];
|
|
330
271
|
ImageCropComponent.decorators = [
|
|
331
272
|
{ type: Component, args: [{
|
|
332
273
|
selector: 'ws-utils-image-crop',
|
|
333
274
|
template: "<ng-container *ngIf=\"isNotOfRequiredSize\">\r\n <mat-dialog-content>\r\n <div class=\"flex pl-4\">\r\n <mat-icon class=\"ws-mat-warn-text largeicon padding-remove-left\">warning</mat-icon>\r\n <h2 class=\"text-xl\" i18n>This image will appear stretched as it is not in proper dimension. Do you want to\r\n continue?</h2>\r\n </div>\r\n <div class=\"text-sm pl-4\">\r\n <div i18n class=\"pb-2\">Note:</div>\r\n <div i18n class=\"pb-2\">Required dimensions : 265 * 150</div>\r\n <div class=\"flex flex-wrap items-baseline\">\r\n <div>Current dimensions:</div>\r\n <div class=\"pl-1\">{{ width }} * {{ height }} px</div>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions class=\"flex flex-end\">\r\n <div class=\"flex flex-end\">\r\n <button mat-raised-button autofocus type=\"button\" (click)=\" close()\">\r\n <span i18n>No</span>\r\n </button>\r\n <button mat-raised-button type=\"button\" class=\"text-white ws-mat-primary-background text-white\"\r\n (click)=\" continueToImageCrop()\">\r\n <span class=\"text-white\" i18n>Yes</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n<ng-container *ngIf=\"isRoundCrop\">\r\n <!-- For Profile image - start -->\r\n <div class=\"flex flex-between\">\r\n <mat-icon class=\" ws-mat-primary-text margin-bottom-xxs\">crop</mat-icon>\r\n <p mat-dialog-title class=\"text-3xl font-weight-bold ws-mat-primary-text\" i18n>Profile Photo</p>\r\n <mat-icon class=\"float-right flex-end cursor-pointer\" (click)=\"close()\" i18n>close</mat-icon>\r\n\r\n </div>\r\n <mat-dialog-content class=\"p-0 overflow-hidden \" *ngIf=\"isRoundCrop\">\r\n <div class=\"flex flex-between\">\r\n <div class=\"profile-slides\">\r\n <image-cropper #imageCropper class=\"image-cropper-profile\" [imageFile]=\"imageFile\" [maintainAspectRatio]=\"true\"\r\n [aspectRatio]=\"250 / 250\" [resizeToWidth]=\"100\" [roundCropper]=\"isRoundCrop\" [resizeToHeight]=\"120\"\r\n [cropperMinWidth]=\"500\" [format]=\"'jpeg'\" [transform]=\"transform\" [canvasRotation]=\"canvasRotation\"\r\n (imageCropped)=\"imageCropped($event)\">\r\n </image-cropper>\r\n </div>\r\n </div>\r\n <ul class=\"toolbar cf\">\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"rotateLeft()\">\r\n <mat-icon class=\"text-white large-icon ws-mat-primary-text\">rotate_left</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Left</span>\r\n </button>\r\n </li>\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"rotateRight()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">rotate_right</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Right</span>\r\n </button></li>\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"flipHorizontal()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">flip</mat-icon>\r\n <span class=\"button-text\" i18n>Flip Horizontal</span>\r\n </button></li>\r\n <li><a href=\"#\"><i class=\"icon-cloud\"></i></a></li>\r\n </ul>\r\n </mat-dialog-content>\r\n</ng-container> <!-- For Profile image - end -->\r\n<ng-container>\r\n <ng-container *ngIf=\"!isNotOfRequiredSize && !isRoundCrop \">\r\n <div class=\"flex flex-between\">\r\n <mat-icon class=\" ws-mat-primary-text margin-bottom-xxs\">crop</mat-icon>\r\n <p mat-dialog-title class=\"text-3xl title-margin font-weight-bold ws-mat-primary-text\" i18n>Edit Image</p>\r\n <mat-icon class=\"float-right flex-end cursor-pointer\" (click)=\"close()\" i18n>\r\n close</mat-icon>\r\n </div>\r\n <mat-dialog-content *ngIf=\"!isRoundCrop\">\r\n <div class=\"flex flex-between\">\r\n <div class=\"Slides\">\r\n <image-cropper #imageCropper class=\"image-cropper padding-remove\" [imageFile]=\"imageFile\"\r\n [maintainAspectRatio]=\"true\" [aspectRatio]=\"opWidth / opHeight\" [resizeToWidth]=\"opWidth\"\r\n [roundCropper]=\"isRoundCrop\" [resizeToHeight]=\"opHeight\" [cropperMinWidth]=\"opWidth\" [format]=\"'jpeg'\"\r\n [transform]=\"transform\" [canvasRotation]=\"canvasRotation\" (imageCropped)=\"imageCropped($event)\">\r\n </image-cropper>\r\n <div class=\"flex flex-between\">\r\n <span class=\"my-3\" i18n>Zoom</span>\r\n <mat-slider class=\"w-full mx-3\" color=\"primary\" (input)=\"zoom($event)\" min=\"1\" max=\"2.5\" step=\"0.1\">\r\n </mat-slider>\r\n </div>\r\n <div class=\"edit-feature-window \" *ngIf=\"!isXSmall\">\r\n <div class=\"flex flex-between\">\r\n <button mat-raised-button class=\"mat-button\" (click)=\"rotateLeft()\">\r\n <mat-icon class=\"text-white large-icon ws-mat-primary-text\">rotate_left</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Left</span>\r\n </button>\r\n <button mat-raised-button class=\"mat-button\" (click)=\"rotateRight()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">rotate_right</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Right</span>\r\n </button>\r\n <button mat-raised-button class=\"mat-button\" (click)=\"flipHorizontal()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">flip</mat-icon>\r\n <span class=\"button-text\" i18n>Flip Horizontal</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <mat-card class=\"ws-mat-primary-border-top-bolder mat-elevation-z6 margin-bottom-l button-text\"\r\n *ngIf=\"isThumbnail\">\r\n <img [src]=\"imageFileBase64\" height=\"auto\" width=\"100%\" (error)=\"changeToDefaultImg($event)\" />\r\n <div class=\"flex flex-middle justify-center margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">image</mat-icon>\r\n <b class=\"mat-title margin-remove ws-mat-primary-text\" i18n>Preview</b>\r\n </div>\r\n </mat-card>\r\n </div>\r\n <div class=\"edit-feature-window heightwidth\">\r\n <!-- <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_horiz</mat-icon>\r\n <b class=\"mat-body margin-remove \" i18n>Cropped dimensions: {{ opWidth }} * {{ opHeight }} px</b>\r\n </div> -->\r\n <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_horiz</mat-icon>\r\n <b class=\"mat-body margin-remove \">\r\n <span i18n>Cropped Width: </span>\r\n <span>{{ croppedWidth }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_vert</mat-icon>\r\n <b class=\"mat-body margin-remove \">\r\n <span i18n>Cropped Height: </span>\r\n <span>{{ croppedHeight }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n </ng-container>\r\n <mat-dialog-actions align=\"end\" *ngIf=\"!isNotOfRequiredSize \">\r\n <div class=\"flex flex-end margin-bottom-s\">\r\n <!-- <button mat-raised-button type=\"button\" (click)=\" reset()\">\r\n <span i18n>Reset</span>\r\n </button> -->\r\n <button mat-raised-button type=\"button\" class=\"text-white ws-mat-primary-background text-white\"\r\n (click)=\" croppingImage()\">\r\n <span class=\"text-white\" i18n>Apply</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n",
|
|
334
275
|
styles: [".image-cropper{max-height:55vh}::ng-deep image-cropper .overlay{background-color:transparent!important}.Slides{display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto;padding:0 1.25em}.cursor{cursor:pointer}.edit-feature-window{background:0 0;justify-content:center}mat-toolbar{background-color:#fff!important;z-index:1!important}mat-dialog-content{padding:1.25em!important}.heightwidth{display:flex}@media only screen and (max-width:1030px){.Slides{padding:0;width:100%}mat-dialog-content{padding:.25em .5em!important}.heightwidth{display:block}.mat-button{min-width:auto;padding:0 14px}.button-text{display:none}}.largeicon{font-size:2em;padding:.13em .5em}.tooltip{background:#b71c1c}.dimension-icon{position:relative;top:.35em;padding:0 0 0 .3em}.image-cropper-profile{max-height:55vh}.profile-slides{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto}@media only screen and (max-width:1030px){.profile-slides{padding:0;width:100%}}.toolbar{left:50%;margin:1em 0 0 -10em;position:absolute;width:auto;border-radius:4px}.cf:after,.cf:before{content:\"\";display:table}.cf:after{clear:both}.toolbar li{float:left;list-style:none}.toolbar a{border-left:0 solid rgba(79,123,170,.4);border-right:1px solid rgba(255,255,255,.3)}.toolbar li:first-child a{border-left:none;border-radius:4px 0 0 4px}.toolbar li:last-child a{border-right:none;border-radius:0 4px 4px 0}"]
|
|
335
|
-
}] }
|
|
276
|
+
},] }
|
|
336
277
|
];
|
|
337
278
|
ImageCropComponent.ctorParameters = () => [
|
|
338
279
|
{ type: MatDialogRef },
|
|
@@ -344,33 +285,6 @@ ImageCropComponent.ctorParameters = () => [
|
|
|
344
285
|
ImageCropComponent.propDecorators = {
|
|
345
286
|
data: [{ type: Output }]
|
|
346
287
|
};
|
|
347
|
-
if (false) {
|
|
348
|
-
ImageCropComponent.prototype.data;
|
|
349
|
-
ImageCropComponent.prototype.isRoundCrop;
|
|
350
|
-
ImageCropComponent.prototype.isNotOfRequiredSize;
|
|
351
|
-
ImageCropComponent.prototype.imageFile;
|
|
352
|
-
ImageCropComponent.prototype.cropimageFile;
|
|
353
|
-
ImageCropComponent.prototype.imageFileBase64;
|
|
354
|
-
ImageCropComponent.prototype.width;
|
|
355
|
-
ImageCropComponent.prototype.height;
|
|
356
|
-
ImageCropComponent.prototype.opHeight;
|
|
357
|
-
ImageCropComponent.prototype.opWidth;
|
|
358
|
-
ImageCropComponent.prototype.imageDimensions;
|
|
359
|
-
ImageCropComponent.prototype.croppedHeight;
|
|
360
|
-
ImageCropComponent.prototype.croppedWidth;
|
|
361
|
-
ImageCropComponent.prototype.cropperReadyToStart;
|
|
362
|
-
ImageCropComponent.prototype.fileName;
|
|
363
|
-
ImageCropComponent.prototype.canvasRotation;
|
|
364
|
-
ImageCropComponent.prototype.transform;
|
|
365
|
-
ImageCropComponent.prototype.resetValue;
|
|
366
|
-
ImageCropComponent.prototype.element;
|
|
367
|
-
ImageCropComponent.prototype.isXSmall;
|
|
368
|
-
ImageCropComponent.prototype.isThumbnail;
|
|
369
|
-
ImageCropComponent.prototype.dialogRef;
|
|
370
|
-
ImageCropComponent.prototype.configSvc;
|
|
371
|
-
ImageCropComponent.prototype.snackBar;
|
|
372
|
-
ImageCropComponent.prototype.valueSvc;
|
|
373
|
-
}
|
|
374
288
|
|
|
375
289
|
class ImageCropModule {
|
|
376
290
|
}
|
|
@@ -394,572 +308,572 @@ ImageCropModule.decorators = [
|
|
|
394
308
|
},] }
|
|
395
309
|
];
|
|
396
310
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
311
|
+
var EFeatures;
|
|
312
|
+
(function (EFeatures) {
|
|
313
|
+
EFeatures["PLAYLIST"] = "playlist";
|
|
314
|
+
EFeatures["PLAYLIST_CREATE"] = "playlistCreate";
|
|
315
|
+
EFeatures["PLAYLIST_ADD_NEW_CONTENT"] = "playlistAddNewContent";
|
|
316
|
+
EFeatures["PLAYLIST_REMOVE_EXISTING_CONTENT"] = "playlistRemoveExistingContent";
|
|
317
|
+
EFeatures["PLAYLIST_DELETE"] = "playlistDelete";
|
|
318
|
+
EFeatures["PLAYLIST_SHARE"] = "playlistShare";
|
|
319
|
+
EFeatures["GOAL"] = "goal";
|
|
320
|
+
EFeatures["GOAL_CREATE_OWN"] = "goalCreateOwn";
|
|
321
|
+
EFeatures["GOAL_CREATE_SUGGESTED"] = "goalCreateSuggested";
|
|
322
|
+
EFeatures["GOAL_EDIT_EXISTING_GOAL"] = "goalEditExistingGoal";
|
|
323
|
+
EFeatures["GOAL_DELETE_EXISTING_GOAL"] = "goalDeleteExistingGoal";
|
|
324
|
+
EFeatures["GOAL_SHARE_GOAL_WITH_OTHERS"] = "goalShareGoalWithOthers";
|
|
325
|
+
EFeatures["GOAL_VIEW_ALL_GOALS_SECTION"] = "goalViewAllGoalsSection";
|
|
326
|
+
EFeatures["GOAL_VIEW_IN_PROGRESS_GOALS_SECTION"] = "goalViewInProgressGoalsSection";
|
|
327
|
+
EFeatures["GOAL_VIEW_COMPLETED_GOALS_SECTION"] = "goalViewCompletedGoalsSection";
|
|
328
|
+
EFeatures["NAVIGATOR"] = "navigator";
|
|
329
|
+
EFeatures["NAVIGATOR_VIEW_NAVIGATOR_CAROUSEL"] = "navigatorViewNavigatorCarousel";
|
|
330
|
+
EFeatures["NAVIGATOR_VIEW_ROLES_PAGE"] = "navigatorViewRolesPage";
|
|
331
|
+
EFeatures["NAVIGATOR_SELECT_ANY_PILLAR"] = "navigatorSelectAnyPillar";
|
|
332
|
+
EFeatures["NAVIGATOR_PURSUE_ANY_OFFERING"] = "navigatorPursueAnyOffering";
|
|
333
|
+
EFeatures["NAVIGATOR_CREATE_GOAL_FROM_OFFERING"] = "navigatorCreateGoalFromOffering";
|
|
334
|
+
EFeatures["NAVIGATOR_VIEW_EXPLORE_PAGE"] = "navigatorViewExplorePage";
|
|
335
|
+
EFeatures["NAVIGATOR_SELECT_ANY_LEARNING_PATH"] = "navigatorSelectAnyLearningPath";
|
|
336
|
+
EFeatures["NAVIGATOR_CREATE_GOAL_FROM_LEARNING_PATH"] = "navigatorCreateGoalFromLearningPath";
|
|
337
|
+
EFeatures["NAVIGATOR_VIEW_SUGGESTIONS_PAGE"] = "navigatorViewSuggestionsPage";
|
|
338
|
+
EFeatures["NAVIGATOR_SELECT_SUGGESTED_TOPICS"] = "navigatorSelectSuggestedTopics";
|
|
339
|
+
EFeatures["NAVIGATOR_GET_SUGGESTIONS_OF_SELECTED_TOPICS"] = "navigatorGetSuggestionsOfSelectedTopics";
|
|
340
|
+
EFeatures["NAVIGATOR_CREATE_GOAL_FROM_SELECTED_LEARNING_PATHS"] = "navigatorCreateGoalFromSelectedLearningPaths";
|
|
341
|
+
EFeatures["NAVIGATOR_VIEW_INDUSTRIES_PAGE"] = "navigatorViewIndustriesPage";
|
|
342
|
+
EFeatures["NAVIGATOR_VIEW_CME_PAGE"] = "navigatorViewCmePage";
|
|
343
|
+
EFeatures["NAVIGATOR_SELECT_SUBDOMAIN"] = "navigatorSelectSubdomain";
|
|
344
|
+
EFeatures["NAVIGATOR_SELECT_PILLAR"] = "navigatorSelectPillar";
|
|
345
|
+
EFeatures["NAVIGATOR_SELECT_THEME"] = "navigatorSelectTheme";
|
|
346
|
+
EFeatures["NAVIGATOR_VIEW_CPG_PAGE"] = "navigatorViewCpgPage";
|
|
347
|
+
EFeatures["NAVIGATOR_VIEW_ENERGY_PAGE"] = "navigatorViewEnergyPage";
|
|
348
|
+
EFeatures["NAVIGATOR_VIEW_FINANCIAL_SERVICES_PAGE"] = "navigatorViewFinancialServicesPage";
|
|
349
|
+
EFeatures["NAVIGATOR_VIEW_HEALTH_CARE_PAGE"] = "navigatorViewHealthCarePage";
|
|
350
|
+
EFeatures["NAVIGATOR_VIEW_INSURANCE_PAGE"] = "navigatorViewInsurancePage";
|
|
351
|
+
EFeatures["NAVIGATOR_VIEW_LIFE_SCIENCES_PAGE"] = "navigatorViewLifeSciencesPage";
|
|
352
|
+
EFeatures["NAVIGATOR_VIEW_MFG_PAGE"] = "navigatorViewMfgPage";
|
|
353
|
+
EFeatures["NAVIGATOR_VIEW_RETAIL_PAGE"] = "navigatorViewRetailPage";
|
|
354
|
+
EFeatures["NAVIGATOR_VIEW_TRAVEL_AND_HOSPITALITY_PAGE"] = "navigatorViewTravelAndHospitalityPage";
|
|
355
|
+
EFeatures["NAVIGATOR_VIEW_UTILITIES_PAGE"] = "navigatorViewUtilitiesPage";
|
|
356
|
+
EFeatures["NAVIGATOR_VIEW_CME_ANALYTICS"] = "navigatorViewCmeAnalytics";
|
|
357
|
+
EFeatures["NAVIGATOR_VIEW_GPG_ANALYTICS"] = "navigatorViewGpgAnalytics";
|
|
358
|
+
EFeatures["NAVIGATOR_VIEW_ENERGY_ANALYTICS"] = "navigatorViewEnergyAnalytics";
|
|
359
|
+
EFeatures["NAVIGATOR_VIEW_FINANCIAL_SERVICES_ANALYTICS"] = "navigatorViewFinancialServicesAnalytics";
|
|
360
|
+
EFeatures["NAVIGATOR_VIEW_HEALTH_CARE_ANALYTICS"] = "navigatorViewHealthCareAnalytics";
|
|
361
|
+
EFeatures["NAVIGATOR_VIEW_INSURANCE_ANALYTICS"] = "navigatorViewInsuranceAnalytics";
|
|
362
|
+
EFeatures["NAVIGATOR_VIEW_LIFE_SCIENCES_ANALYTICS"] = "navigatorViewLifeSciencesAnalytics";
|
|
363
|
+
EFeatures["NAVIGATOR_VIEW_MFG_ANALYTICS"] = "navigatorViewMfgAnalytics";
|
|
364
|
+
EFeatures["NAVIGATOR_VIEW_RETAIL_ANALYTICS"] = "navigatorViewRetailAnalytics";
|
|
365
|
+
EFeatures["NAVIGATOR_VIEW_TRAVEL_AND_HOSPITALITY_ANALYTICS"] = "navigatorViewTravelAndHospitalityAnalytics";
|
|
366
|
+
EFeatures["NAVIGATOR_VIEW_UTILITIES_ANALYTICS"] = "navigatorViewUtilitiesAnalytics";
|
|
367
|
+
EFeatures["NAVIGATOR_VIEW_PILLARS_PAGE"] = "navigatorViewPillarsPage";
|
|
368
|
+
EFeatures["NAVIGATOR_VIEW_DIFFERENT_COURSES_IN_PILLAR"] = "navigatorViewDifferentCoursesInPillar";
|
|
369
|
+
EFeatures["NAVIGATOR_VIEW_FULL_STACK_PAGE"] = "navigatorViewFullStackPage";
|
|
370
|
+
EFeatures["NAVIGATOR_VIEW_DIFFERENT_FULL_STACK_PROGRAMS"] = "navigatorViewDifferentFullStackPrograms";
|
|
371
|
+
EFeatures["CATALOG"] = "catalog";
|
|
372
|
+
EFeatures["CATALOG_VIEW_CATALOG_LIST"] = "catalogViewCatalogList";
|
|
373
|
+
EFeatures["CATALOG_SELECT_ITEM_FROM_CATALOG_LIST"] = "catalogSelectItemFromCatalogList";
|
|
374
|
+
EFeatures["CATALOG_VIEW_PROGRAMS_STRIP"] = "catalogViewProgramsStrip";
|
|
375
|
+
EFeatures["CATALOG_VIEW_COURSES_STRIP"] = "catalogViewCoursesStrip";
|
|
376
|
+
EFeatures["CATALOG_VIEW_LEARNING_MODULES_STRIP"] = "catalogViewLearningModulesStrip";
|
|
377
|
+
EFeatures["CATALOG_VIEW_RESOURCES_STRIP"] = "catalogViewResourcesStrip";
|
|
378
|
+
EFeatures["MARKETING_PAGE"] = "marketingPage";
|
|
379
|
+
EFeatures["MARKETING_PAGE_VIEW_BRAND_ASSETS_PAGE"] = "marketingPageViewBrandAssetsPage";
|
|
380
|
+
EFeatures["MARKETING_PAGE_VIEW_CORPORATE_STRIP"] = "marketingPageViewCorporateStrip";
|
|
381
|
+
EFeatures["MARKETING_PAGE_VIEW_EMPLOYEE_STRIP"] = "marketingPageViewEmployeeStrip";
|
|
382
|
+
EFeatures["MARKETING_PAGE_VIEW_EXPERIMENTAL_SHOWCASE_PAGE"] = "marketingPageViewExperimentalShowcasePage";
|
|
383
|
+
EFeatures["MARKETING_PAGE_VIEW_HUBS_PAGE"] = "marketingPageViewHubsPage";
|
|
384
|
+
EFeatures["MARKETING_PAGE_VIEW_CONNECTICUT_STRIP"] = "marketingPageViewConnecticutStrip";
|
|
385
|
+
EFeatures["MARKETING_PAGE_VIEW_INDIANA_STRIP"] = "marketingPageViewIndianaStrip";
|
|
386
|
+
EFeatures["MARKETING_PAGE_VIEW_RHODE_ISLAND_STRIP"] = "marketingPageViewRhodeIslandStrip";
|
|
387
|
+
EFeatures["MARKETING_PAGE_VIEW_CLIENT_STORIES_PAGE"] = "marketingPageViewClientStoriesPage";
|
|
388
|
+
EFeatures["MARKETING_PAGE_VIEW_AGILE_SCALE_AT_DIGITAL_STRIP"] = "marketingPageViewAgileScaleAtDigitalStrip";
|
|
389
|
+
EFeatures["MARKETING_PAGE_VIEW_AI_POWERED_CORE_STRIP"] = "marketingPageViewAiPoweredCoreStrip";
|
|
390
|
+
EFeatures["MARKETING_PAGE_VIEW_ALWAYS_ON_LEAVING_STRIP"] = "marketingPageViewAlwaysOnLeavingStrip";
|
|
391
|
+
EFeatures["MARKETING_PAGE_VIEW_SERVICES_PAGE"] = "marketingPageViewServicesPage";
|
|
392
|
+
EFeatures["MARKETING_PAGE_VIEW_SERVICES_PENTAGON"] = "marketingPageViewServicesPentagon";
|
|
393
|
+
EFeatures["MARKETING_PAGE_VIEW_OFFERINGS_LIST"] = "marketingPageViewOfferingsList";
|
|
394
|
+
EFeatures["MARKETING_PAGE_SELECT_ANY_OFFERING"] = "marketingPageSelectAnyOffering";
|
|
395
|
+
EFeatures["MARKETING_PAGE_SELECT_ANY_PILLAR_FROM_PENTAGON"] = "marketingPageSelectAnyPillarFromPentagon";
|
|
396
|
+
EFeatures["MARKETING_PAGE_VIEW_INDUSTRIES_PAGE"] = "marketingPageViewIndustriesPage";
|
|
397
|
+
EFeatures["MARKETING_PAGE_VIEW_INDUSTRIES_LIST"] = "marketingPageViewIndustriesList";
|
|
398
|
+
EFeatures["MARKETING_PAGE_SELECT_ANY_INDUSTRY"] = "marketingPageSelectAnyIndustry";
|
|
399
|
+
EFeatures["MARKETING_PAGE_VIEW_PRODUCT_AND_SUBSIDIARIES_PAGE"] = "marketingPageViewProductAndSubsidiariesPage";
|
|
400
|
+
EFeatures["MARKETING_PAGE_VIEW_PRODUCT_AND_SUBSIDIARIES_LIST"] = "marketingPageViewProductAndSubsidiariesList";
|
|
401
|
+
EFeatures["MARKETING_PAGE_SELECT_ANY_PRODUCT_AND_SUBSIDIARY"] = "marketingPageSelectAnyProductAndSubsidiary";
|
|
402
|
+
EFeatures["INTERESTS"] = "interests";
|
|
403
|
+
EFeatures["INTERESTS_ADD_INTERESTS_FROM_SEARCH"] = "interestsAddInterestsFromSearch";
|
|
404
|
+
EFeatures["INTERESTS_ADD_INTERESTS_FROM_OUR_SUGGESTIONS_SECTION"] = "interestsAddInterestsFromOurSuggestionsSection";
|
|
405
|
+
EFeatures["INTERESTS_REMOVE_INTERESTS_FROM_MY_INTERESTS_SECTION"] = "interestsRemoveInterestsFromMyInterestsSection";
|
|
406
|
+
EFeatures["INTERESTS_VIEW_INTERESTS_SEARCH_FIELD"] = "interestsViewInterestsSearchField";
|
|
407
|
+
EFeatures["INTERESTS_VIEW_MY_INTERESTS_SECTION"] = "interestsViewMyInterestsSection";
|
|
408
|
+
EFeatures["INTERESTS_VIEW_OWN_SUGGESTIONS_SECTION"] = "interestsViewOwnSuggestionsSection";
|
|
409
|
+
EFeatures["INTERESTS_VIEW_MORE_SUGGESTIONS_BUTTON"] = "interestsViewMoreSuggestionsButton";
|
|
410
|
+
EFeatures["FEEDBACK"] = "feedback";
|
|
411
|
+
EFeatures["FEEDBACK_VIEW_PLATFORM_FEEDBACK_SECTION"] = "feedbackViewPlatformFeedbackSection";
|
|
412
|
+
EFeatures["FEEDBACK_STAR_RATING_FOR_PLATFORM"] = "feedbackStarRatingForPlatform";
|
|
413
|
+
EFeatures["FEEDBACK_WRITE_PLATFORM_FEEDBACK"] = "feedbackWritePlatformFeedback";
|
|
414
|
+
EFeatures["FEEDBACK_RESET_PLATFORM_FEEDBACK"] = "feedbackResetPlatformFeedback";
|
|
415
|
+
EFeatures["FEEDBACK_SUBMIT_PLATFORM_FEEDBACK"] = "feedbackSubmitPlatformFeedback";
|
|
416
|
+
EFeatures["FEEDBACK_VIEW_CONTENT_FEEDBACK_SECTION"] = "feedbackViewContentFeedbackSection";
|
|
417
|
+
EFeatures["FEEDBACK_STAR_RATING_FOR_CONTENT"] = "feedbackStarRatingForContent";
|
|
418
|
+
EFeatures["FEEDBACK_WRITE_CONTENT_FEEDBACK"] = "feedbackWriteContentFeedback";
|
|
419
|
+
EFeatures["FEEDBACK_RESET_CONTENT_FEEDBACK"] = "feedbackResetContentFeedback";
|
|
420
|
+
EFeatures["FEEDBACK_SUBMIT_CONTENT_FEEDBACK"] = "feedbackSubmitContentFeedback";
|
|
421
|
+
EFeatures["FEEDBACK_VIEW_ISSUE_REPORTING_SECTION"] = "feedbackViewIssueReportingSection";
|
|
422
|
+
EFeatures["FEEDBACK_WRITING_ISSUE"] = "feedbackWritingIssue";
|
|
423
|
+
EFeatures["FEEDBACK_RESET_ISSUE"] = "feedbackResetIssue";
|
|
424
|
+
EFeatures["FEEDBACK_SUBMIT_ISSUE"] = "feedbackSubmitIssue";
|
|
425
|
+
EFeatures["CONTACT_US"] = "contactUs";
|
|
426
|
+
EFeatures["CONTACT_US_VIEW_RAISE_AHD_SECTION"] = "contactUsViewRaiseAhdSection";
|
|
427
|
+
EFeatures["CONTACT_US_VIEW_MAIL_US_SECTION"] = "contactUsViewMailUsSection";
|
|
428
|
+
EFeatures["CONTACT_US_VIEW_TALK_TO_US_SECTION"] = "contactUsViewTalkToUsSection";
|
|
429
|
+
EFeatures["CONTACT_US_RAISE_AHD"] = "contactUsRaiseAhd";
|
|
430
|
+
EFeatures["CONTACT_US_WRITE_EMAIL"] = "contactUsWriteEmail";
|
|
431
|
+
EFeatures["CONTACT_US_DIAL_FROM_PHONE"] = "contactUsDialFromPhone";
|
|
432
|
+
EFeatures["FAQ"] = "faq";
|
|
433
|
+
EFeatures["FAQ_VIEW_LOGIN_FAQS"] = "faqViewLoginFaqs";
|
|
434
|
+
EFeatures["FAQ_VIEW_ODC_ACCESS_FAQS"] = "faqViewOdcAccessFaqs";
|
|
435
|
+
EFeatures["FAQ_VIEW_COMPATIBILITY_FAQS"] = "faqViewCompatibilityFaqs";
|
|
436
|
+
EFeatures["FAQ_VIEW_INSTALLATION_FAQS"] = "faqViewInstallationFaqs";
|
|
437
|
+
EFeatures["FAQ_VIEW_PROGRESS_COMPLETION_FAQS"] = "faqViewProgressCompletionFaqs";
|
|
438
|
+
EFeatures["FAQ_VIEW_VIDEO_FAQS"] = "faqViewVideoFaqs";
|
|
439
|
+
EFeatures["FAQ_VIEW_AUTHORING_FAQS"] = "faqViewAuthoringFaqs";
|
|
440
|
+
EFeatures["MOBILE_APPS"] = "mobileApps";
|
|
441
|
+
EFeatures["MOBILE_APPS_VIEW_ANDROID_APP_SECTION"] = "mobileAppsViewAndroidAppSection";
|
|
442
|
+
EFeatures["MOBILE_APPS_DOWNLOAD_APP_FROM_PLAY_STORE"] = "mobileAppsDownloadAppFromPlayStore";
|
|
443
|
+
EFeatures["MOBILE_APPS_DOWNLOAD_APP_FROM_OUR_SERVER"] = "mobileAppsDownloadAppFromOurServer";
|
|
444
|
+
EFeatures["MOBILE_APPS_VIEW_QR_CODE_FOR_ANDROID_APP"] = "mobileAppsViewQrCodeForAndroidApp";
|
|
445
|
+
EFeatures["MOBILE_APPS_VIEW_IOS_APP_SECTION"] = "mobileAppsViewIosAppSection";
|
|
446
|
+
EFeatures["MOBILE_APPS_DOWNLOAD_IOS_APP"] = "mobileAppsDownloadIosApp";
|
|
447
|
+
EFeatures["MOBILE_APPS_VIEW_QR_CODE_FOR_IOS_APP"] = "mobileAppsViewQrCodeForIosApp";
|
|
448
|
+
EFeatures["ABOUT_US"] = "aboutUs";
|
|
449
|
+
EFeatures["ABOUT_US_VIEW_ABOUT_US_PAGE_SECTIONS"] = "aboutUsViewAboutUsPageSections";
|
|
450
|
+
EFeatures["SETTINGS"] = "settings";
|
|
451
|
+
EFeatures["SETTINGS_VIEW_LANGUAGE_SECTION"] = "settingsViewLanguageSection";
|
|
452
|
+
EFeatures["SETTINGS_VIEW_FONT_SIZE_SECTION"] = "settingsViewFontSizeSection";
|
|
453
|
+
EFeatures["SETTINGS_VIEW_THEME_SECTION"] = "settingsViewThemeSection";
|
|
454
|
+
EFeatures["SETTINGS_CHANGE_LANGUAGE"] = "settingsChangeLanguage";
|
|
455
|
+
EFeatures["SETTINGS_CHANGE_FONT_SIZE"] = "settingsChangeFontSize";
|
|
456
|
+
EFeatures["SETTINGS_CHANGE_THEME"] = "settingsChangeTheme";
|
|
457
|
+
EFeatures["LOGIN_PAGE"] = "loginPage";
|
|
458
|
+
EFeatures["LOGIN_PAGE_LOGIN_FOR_INFOSCIONS"] = "loginPageLoginForInfoscions";
|
|
459
|
+
EFeatures["LOGIN_PAGE_LOGIN_FOR_SUBSIDIARIES"] = "loginPageLoginForSubsidiaries";
|
|
460
|
+
EFeatures["LOGIN_PAGE_LOGIN_FOR_NEW_RECRUITS"] = "loginPageLoginForNewRecruits";
|
|
461
|
+
EFeatures["LOGIN_PAGE_ABOUT_US"] = "loginPageAboutUs";
|
|
462
|
+
EFeatures["LOGIN_PAGE_TERMS_OF_USE"] = "loginPageTermsOfUse";
|
|
463
|
+
EFeatures["LOGIN_PAGE_FAQS"] = "loginPageFaqs";
|
|
464
|
+
EFeatures["LOGIN_PAGE_CONTACT_US"] = "loginPageContactUs";
|
|
465
|
+
EFeatures["TOC_PAGE"] = "tocPage";
|
|
466
|
+
EFeatures["TOC_PAGE_VIEW_OVERVIEW_SECTION"] = "tocPageViewOverviewSection";
|
|
467
|
+
EFeatures["TOC_PAGE_VIEW_INSTRUCTOR_LED_SECTION"] = "tocPageViewInstructorLedSection";
|
|
468
|
+
EFeatures["TOC_PAGE_VIEW_COHORTS_SECTION"] = "tocPageViewCohortsSection";
|
|
469
|
+
EFeatures["TOC_PAGE_VIEW_DISCUSSION_FORUM_SECTION"] = "tocPageViewDiscussionForumSection";
|
|
470
|
+
EFeatures["TOC_PAGE_VIEW_COURSE_ANALYTICS_SECTION"] = "tocPageViewCourseAnalyticsSection";
|
|
471
|
+
EFeatures["TOC_PAGE_VIEW_WHATS_NEXT_SECTION"] = "tocPageViewWhatsNextSection";
|
|
472
|
+
EFeatures["TOC_PAGE_VIEW_PART_OF_SECTION"] = "tocPageViewPartOfSection";
|
|
473
|
+
EFeatures["TOC_PAGE_REGISTER_FOR_UPCOMING_TRAINING"] = "tocPageRegisterForUpcomingTraining";
|
|
474
|
+
EFeatures["TOC_PAGE_UNREGISTER_FROM_REGISTERED_TRAINING"] = "tocPageUnregisterFromRegisteredTraining";
|
|
475
|
+
EFeatures["TOC_PAGE_SHARE_INSTRUCTOR_LED_TRAININGS"] = "tocPageShareInstructorLedTrainings";
|
|
476
|
+
EFeatures["TOC_PAGE_VIEW_EDUCATORS_OF_TRAININGS"] = "tocPageViewEducatorsOfTrainings";
|
|
477
|
+
EFeatures["TOC_PAGE_NOMINATE_OTHERS_FOR_TRAININGS"] = "tocPageNominateOthersForTrainings";
|
|
478
|
+
EFeatures["TOC_PAGE_REQUEST_TRAINING"] = "tocPageRequestTraining";
|
|
479
|
+
EFeatures["TOC_PAGE_VIEW_ACTIVE_LEARNERS_SECTION"] = "tocPageViewActiveLearnersSection";
|
|
480
|
+
EFeatures["TOC_PAGE_VIEW_ALL_ACTIVE_LEARNERS"] = "tocPageViewAllActiveLearners";
|
|
481
|
+
EFeatures["TOC_PAGE_VIEW_CURRENTLY_ACTIVE_LEARNERS"] = "tocPageViewCurrentlyActiveLearners";
|
|
482
|
+
EFeatures["TOC_PAGE_VIEW_LEARNERS_SHARING_THE_SAME_GOALS"] = "tocPageViewLearnersSharingTheSameGoals";
|
|
483
|
+
EFeatures["TOC_PAGE_VIEW_EXPERTS_AND_TUTORS_SECTION"] = "tocPageViewExpertsAndTutorsSection";
|
|
484
|
+
EFeatures["TOC_PAGE_VIEW_ALL_EXPERTS_AND_TUTORS"] = "tocPageViewAllExpertsAndTutors";
|
|
485
|
+
EFeatures["TOC_PAGE_VIEW_AUTHORS_OF_COURSE"] = "tocPageViewAuthorsOfCourse";
|
|
486
|
+
EFeatures["TOC_PAGE_VIEW_EDUCATORS_OF_COURSE"] = "tocPageViewEducatorsOfCourse";
|
|
487
|
+
EFeatures["TOC_PAGE_VIEW_TOPPERS_OF_COURSE"] = "tocPageViewToppersOfCourse";
|
|
488
|
+
EFeatures["TOC_PAGE_MAIL_THE_PERSON"] = "tocPageMailThePerson";
|
|
489
|
+
EFeatures["TOC_PAGE_CALL_THE_PERSON"] = "tocPageCallThePerson";
|
|
490
|
+
EFeatures["TOC_PAGE_POST_VIEWS_IN_DISCUSSION_FORUM"] = "tocPagePostViewsInDiscussionForum";
|
|
491
|
+
EFeatures["TOC_PAGE_LEARN_THE_COURSE"] = "tocPageLearnTheCourse";
|
|
492
|
+
EFeatures["TOC_PAGE_LIKE_THE_COURSE"] = "tocPageLikeTheCourse";
|
|
493
|
+
EFeatures["TOC_PAGE_SHARE_THE_COURSE"] = "tocPageShareTheCourse";
|
|
494
|
+
EFeatures["TOC_PAGE_ADD_COURSE_TO_GOALS"] = "tocPageAddCourseToGoals";
|
|
495
|
+
EFeatures["TOC_PAGE_ADD_COURSE_TO_PLAYLIST"] = "tocPageAddCourseToPlaylist";
|
|
496
|
+
EFeatures["TOC_PAGE_ADD_COURSE_TO_WATCHLIST"] = "tocPageAddCourseToWatchlist";
|
|
497
|
+
EFeatures["TOC_PAGE_GIVE_COURSE_FEEDBACK"] = "tocPageGiveCourseFeedback";
|
|
498
|
+
EFeatures["TOC_PAGE_RESUME_THE_COURSE"] = "tocPageResumeTheCourse";
|
|
499
|
+
EFeatures["TOC_PAGE_START_OVER_THE_COURSE"] = "tocPageStartOverTheCourse";
|
|
500
|
+
EFeatures["TOC_PAGE_GO_TO_COURSE_QUIZ"] = "tocPageGoToCourseQuiz";
|
|
501
|
+
EFeatures["TOC_PAGE_GO_TO_COURSE_HANDS_ON"] = "tocPageGoToCourseHandsOn";
|
|
502
|
+
EFeatures["NAVBAR"] = "navbar";
|
|
503
|
+
EFeatures["NAVBAR_VIEW_LOGO"] = "navbarViewLogo";
|
|
504
|
+
EFeatures["NAVBAR_CATALOG_ICON"] = "navbarCatalogIcon";
|
|
505
|
+
EFeatures["NAVBAR_NAVIGATOR_ICON"] = "navbarNavigatorIcon";
|
|
506
|
+
EFeatures["NAVBAR_NOTIFICATION_ICON"] = "navbarNotificationIcon";
|
|
507
|
+
EFeatures["NAVBAR_SETTINGS_ICON"] = "navbarSettingsIcon";
|
|
508
|
+
EFeatures["NAVBAR_SEARCH_ICON"] = "navbarSearchIcon";
|
|
509
|
+
EFeatures["NAVBAR_APPS_ICON"] = "navbarAppsIcon";
|
|
510
|
+
EFeatures["HOME_PAGE"] = "homePage";
|
|
511
|
+
EFeatures["HOME_PAGE_VIEW_CAROUSEL"] = "homePageViewCarousel";
|
|
512
|
+
EFeatures["HOME_PAGE_VIEW_CONTINUE_LEARNING_STRIP"] = "homePageViewContinueLearningStrip";
|
|
513
|
+
EFeatures["HOME_PAGE_VIEW_FEATURED_APPS_STRIP"] = "homePageViewFeaturedAppsStrip";
|
|
514
|
+
EFeatures["HOME_PAGE_VIEW_RECENT_ADDITION_TO_PLAYLISTS_STRIP"] = "homePageViewRecentAdditionToPlaylistsStrip";
|
|
515
|
+
EFeatures["HOME_PAGE_VIEW_BASED_ON_YOUR_INTERESTS_STRIP"] = "homePageViewBasedOnYourInterestsStrip";
|
|
516
|
+
EFeatures["HOME_PAGE_VIEW_BASED_ON_WHAT_YOU_VIEWED_STRIP"] = "homePageViewBasedOnWhatYouViewedStrip";
|
|
517
|
+
EFeatures["HOME_PAGE_VIEW_LATEST_STRIP"] = "homePageViewLatestStrip";
|
|
518
|
+
EFeatures["HOME_PAGE_VIEW_TRENDING_STRIP"] = "homePageViewTrendingStrip";
|
|
519
|
+
EFeatures["HOME_PAGE_SHOW_COMPLETED_FILTER"] = "homePageShowCompletedFilter";
|
|
520
|
+
EFeatures["HOME_PAGE_SHOW_RESOURCES_FILTER"] = "homePageShowResourcesFilter";
|
|
521
|
+
EFeatures["TNC_PAGE"] = "tncPage";
|
|
522
|
+
EFeatures["TNC_PAGE_VIEW_CONTEST_RULES_SECTION"] = "tncPageViewContestRulesSection";
|
|
523
|
+
EFeatures["TNC_PAGE_VIEW_DATA_PRIVACY_SECTION"] = "tncPageViewDataPrivacySection";
|
|
524
|
+
EFeatures["TNC_PAGE_ACCEPT_TERMS_AND_CONDITIONS"] = "tncPageAcceptTermsAndConditions";
|
|
525
|
+
EFeatures["BLOGS"] = "blogs";
|
|
526
|
+
EFeatures["BLOG_VIEW_OTHERS_BLOGS"] = "blogViewOthersBlogs";
|
|
527
|
+
EFeatures["BLOGS_LIKE_OTHER_BLOGS"] = "blogsLikeOtherBlogs";
|
|
528
|
+
EFeatures["BLOGS_VIEW_MY_BLOGS"] = "blogsViewMyBlogs";
|
|
529
|
+
EFeatures["BLOGS_WRITE_NEW_BLOG"] = "blogsWriteNewBlog";
|
|
530
|
+
EFeatures["BLOGS_SAVE_BLOG_AS_DRAFT"] = "blogsSaveBlogAsDraft";
|
|
531
|
+
EFeatures["BLOGS_EDIT_MY_SAVED_BLOG"] = "blogsEditMySavedBlog";
|
|
532
|
+
EFeatures["BLOGS_PUBLISH_MY_BLOG"] = "blogsPublishMyBlog";
|
|
533
|
+
EFeatures["BLOGS_UPVOTE_FOR_BLOG"] = "blogsUpvoteForBlog";
|
|
534
|
+
EFeatures["BLOGS_DOWNVOTE_FOR_BLOG"] = "blogsDownvoteForBlog";
|
|
535
|
+
EFeatures["BLOGS_WRITE_RESPONSE_FOR_BLOG"] = "blogsWriteResponseForBlog";
|
|
536
|
+
EFeatures["BLOGS_DELETE_MY_BLOG"] = "blogsDeleteMyBlog";
|
|
537
|
+
EFeatures["BLOGS_EDIT_MY_RESPONSE"] = "blogsEditMyResponse";
|
|
538
|
+
EFeatures["BLOGS_DELETE_MY_RESPONSE"] = "blogsDeleteMyResponse";
|
|
539
|
+
EFeatures["BLOGS_VIEW_DRAFTS_SECTION"] = "blogsViewDraftsSection";
|
|
540
|
+
EFeatures["BLOGS_VIEW_PUBLISHED_SECTION"] = "blogsViewPublishedSection";
|
|
541
|
+
EFeatures["QUESTION_AND_ANSWER"] = "questionAndAnswer";
|
|
542
|
+
EFeatures["QUESTION_AND_ANSWER_VIEW_ALL_QUESTIONS_AND_ANSWERS"] = "questionAndAnswerViewAllQuestionsAndAnswers";
|
|
543
|
+
EFeatures["QUESTION_AND_ANSWER_VIEW_ONLY_UNANSWERED_QUESTIONS"] = "questionAndAnswerViewOnlyUnansweredQuestions";
|
|
544
|
+
EFeatures["QUESTION_AND_ANSWER_VIEW_MY_TIMELINE"] = "questionAndAnswerViewMyTimeline";
|
|
545
|
+
EFeatures["QUESTION_AND_ANSWER_ASK_NEW_QUESTION"] = "questionAndAnswerAskNewQuestion";
|
|
546
|
+
EFeatures["QUESTION_AND_ANSWER_VIEW_SPECIFIC_QUESTION"] = "questionAndAnswerViewSpecificQuestion";
|
|
547
|
+
EFeatures["QUESTION_AND_ANSWER_UPVOTE_FOR_ANSWER"] = "questionAndAnswerUpvoteForAnswer";
|
|
548
|
+
EFeatures["QUESTION_AND_ANSWER_DOWNVOTE_FOR_ANSWER"] = "questionAndAnswerDownvoteForAnswer";
|
|
549
|
+
EFeatures["QUESTION_AND_ANSWER_LIKE_AN_ANSWER"] = "questionAndAnswerLikeAnAnswer";
|
|
550
|
+
EFeatures["QUESTION_AND_ANSWER_ADD_COMMENT_FOR_ANY_ANSWER"] = "questionAndAnswerAddCommentForAnyAnswer";
|
|
551
|
+
EFeatures["QUESTION_AND_ANSWER_ADD_ANSWER_FOR_ANY_QUESTION"] = "questionAndAnswerAddAnswerForAnyQuestion";
|
|
552
|
+
EFeatures["QUESTION_AND_ANSWER_SAVE_QUESTION_AS_DRAFT"] = "questionAndAnswerSaveQuestionAsDraft";
|
|
553
|
+
EFeatures["QUESTION_AND_ANSWER_PUBLISH_SAVED_QUESTION"] = "questionAndAnswerPublishedSavedQuestion";
|
|
554
|
+
EFeatures["QUESTION_AND_ANSWER_VIEW_DRAFTS_SECTION"] = "questionAndAnswerViewDraftsSection";
|
|
555
|
+
EFeatures["QUESTION_AND_ANSWER_VIEW_PUBLISHED_SECTION"] = "questionAndAnswerViewPublishedSection";
|
|
556
|
+
EFeatures["BADGES"] = "badges";
|
|
557
|
+
EFeatures["BADGES_VIEW_RECENTLY_EARNED_BADGE"] = "badgesViewRecentlyEarnedBadge";
|
|
558
|
+
EFeatures["BADGES_VIEW_ALL_EARNED_BADGES"] = "badgesViewAllEarnedBadges";
|
|
559
|
+
EFeatures["BADGES_VIEW_NEXT_TARGETTED_BADGES"] = "badgesViewNextTargettedBadges";
|
|
560
|
+
EFeatures["HANDS_ON_DASHBOARD"] = "handsOnDashboard";
|
|
561
|
+
EFeatures["HANDS_ON_DASHBOARD_VIEW_MY_DASHBOARD"] = "handsOnDashboardViewMyDashboard";
|
|
562
|
+
EFeatures["HANDS_ON_DASHBOARD_VIEW_SHARED_PROFILE_SECTION"] = "handsOnDashboardViewSharedProfileSection";
|
|
563
|
+
EFeatures["LEARNING_HISTORY"] = "learningHistory";
|
|
564
|
+
EFeatures["LEARNING_HISTORY_VIEW_PROGRAMS_SECTION"] = "learningHistoryViewProgramsSection";
|
|
565
|
+
EFeatures["LEARNING_HISTORY_VIEW_COURSES_SECTION"] = "learningHistoryViewCoursesSection";
|
|
566
|
+
EFeatures["LEARNING_HISTORY_VIEW_LEARNING_MODULES_SECTION"] = "learningHistoryViewLearningModulesSection";
|
|
567
|
+
EFeatures["LEARNING_HISTORY_VIEW_RESOURCES_SECTION"] = "learningHistoryViewResourcesSection";
|
|
568
|
+
EFeatures["LEARNING_HISTORY_VIEW_CERTIFICATIONS_SECTION"] = "learningHistoryViewCertificationsSection";
|
|
569
|
+
EFeatures["LEARNING_HISTORY_APPLY_COMPLETED_FILTER"] = "learningHistoryApplyCompletedFilter";
|
|
570
|
+
EFeatures["LEARNING_HISTORY_VIEW_MORE_BUTTON"] = "learningHistoryViewMoreButton";
|
|
571
|
+
EFeatures["LEARNING_TIME"] = "learningTime";
|
|
572
|
+
EFeatures["LEARNING_TIME_VIEW_LEARNING_TIME_GRAPH"] = "learningTimeViewLearningTimeGraph";
|
|
573
|
+
EFeatures["LEARNING_TIME_APPLY_BAR_GRAPH_FILTER"] = "learningTimeApplyBarGraphFilter";
|
|
574
|
+
EFeatures["LEARNING_TIME_APPLY_DATE_RANGE_FILTER"] = "learningTimeApplyDateRangeFilter";
|
|
575
|
+
EFeatures["LEARNING_TIME_APPLY_TIME_SPENT_FILTER"] = "learningTimeApplyTimeSpentFilter";
|
|
576
|
+
EFeatures["LEARNING_TIME_APPLY_APP_AVERAGE_FILTER"] = "learningTimeApplyAppAverageFilter";
|
|
577
|
+
EFeatures["LEARNING_TIME_APPLY_USER_AVERAGE_OVER_PERIOD_FILTER"] = "learningTimeApplyUserAverageOverPeriodFilter";
|
|
578
|
+
EFeatures["NOTIFICATION"] = "notification";
|
|
579
|
+
EFeatures["NOTIFICATION_VIEW_RECENT_BADGE_EARNED"] = "notificationViewRecentBadgeEarned";
|
|
580
|
+
EFeatures["NOTIFICATION_VIEW_SHARED_PLAYLIST"] = "notificationViewSharedPlaylist";
|
|
581
|
+
EFeatures["NOTIFICATION_VIEW_SHARED_GOALS"] = "notificationViewSharedGoals";
|
|
582
|
+
EFeatures["PROFILE"] = "profile";
|
|
583
|
+
EFeatures["PROFILE_VIEW_BASIC_INFORMATION"] = "profileViewBasicInformation";
|
|
584
|
+
EFeatures["PROFILE_VIEW_RECENTLY_LEARNED_COURSES"] = "profileViewRecentlyLearnedCourses";
|
|
585
|
+
EFeatures["PROFILE_VIEW_LIKED_ITEMS"] = "profileViewLikedItems";
|
|
586
|
+
EFeatures["PROFILE_VIEW_BADGES_EARNED"] = "profileViewBadgesEarned";
|
|
587
|
+
EFeatures["BEHAVIORAL_SKILLS"] = "behavioralSkills";
|
|
588
|
+
EFeatures["BEHAVIORAL_SKILLS_VIEW_MODEL_CLIENT_INTERACTIONS"] = "behavioralSkillsViewModalClientInteractions";
|
|
589
|
+
EFeatures["BEHAVIORAL_SKILLS_VIEW_CLIENT_INTERACTION_TESTS"] = "behavioralSkillsViewClientInteractionTests";
|
|
590
|
+
EFeatures["CERTIFICATIONS"] = "certifications";
|
|
591
|
+
EFeatures["CERTIFICATIONS_VIEW_MY_APPROVALS_SECTION"] = "certificationsViewMyApprovalsSection";
|
|
592
|
+
EFeatures["CERTIFICATIONS_VIEW_MY_REQUESTS_SECTION"] = "certificationsViewMyRequestsSection";
|
|
593
|
+
EFeatures["CERTIFICATIONS_VIEW_MY_CERTIFICATIONS_SECTION"] = "certificationsViewMyCertificationsSection";
|
|
594
|
+
EFeatures["CERTIFICATIONS_APPLY_COMPLETION_STATUS_FILTER"] = "certificationsApplyCompletionStatusFilter";
|
|
595
|
+
EFeatures["CODE_CRACK"] = "codeCrack";
|
|
596
|
+
EFeatures["CODE_CRACK_VIEW_PUZZLE_MANIA"] = "codeCrackViewPuzzleMania";
|
|
597
|
+
EFeatures["CODE_CRACK_VIEW_CODE_CRACK"] = "codeCrackViewCodeCrack";
|
|
598
|
+
EFeatures["CODE_CRACK_VIEW_TECHNOLOGY_PLAYGROUND"] = "codeCrackViewTechnologyPlayground";
|
|
599
|
+
EFeatures["CODE_CRACK_WATCH_PROGRAMMING_CHALLENGES_VIDEO"] = "codeCrackWatchProgrammingChallengesVideo";
|
|
600
|
+
EFeatures["CODE_CRACK_VIEW_ACCELERATE"] = "codeCrackViewAccelerate";
|
|
601
|
+
EFeatures["CODE_CRACK_START_CODE_CRACK_TEST"] = "codeCrackStartCodeCrackTest";
|
|
602
|
+
EFeatures["CODE_CRACK_START_PUZZLE_MANIA"] = "codeCrackStartPuzzleMania";
|
|
603
|
+
EFeatures["CODE_CRACK_START_TECHNOLOGY_PLAYGROUND"] = "codeCrackStartTechnologyPlayground";
|
|
604
|
+
EFeatures["INSTRUCTOR_LED_TRAINING"] = "instructorLedTraining";
|
|
605
|
+
EFeatures["INSTRUCTOR_LED_TRAINING_VIEW_TRAINING_SCHEDULE_SECTION"] = "instructorLedTrainingViewTrainingScheduleSection";
|
|
606
|
+
EFeatures["INSTRUCTOR_LED_TRAINING_VIEW_FEEDBACK_SECTION"] = "instructorLedTrainingViewFeedbackSection";
|
|
607
|
+
EFeatures["INSTRUCTOR_LED_TRAINING_VIEW_TRAININGS_PLANNED_BY_YOUR_TEAM_SECTION"] = "instructorLedTrainingViewTrainingsPlannedByYourTeamSection";
|
|
608
|
+
EFeatures["INSTRUCTOR_LED_TRAINING_SEARCH_TRAINING"] = "instructorLedTrainingSearchTraining";
|
|
609
|
+
EFeatures["INSTRUCTOR_LED_TRAINING_REGISTER_FOR_TRAINING"] = "instructorLedTrainingRegisterForTraining";
|
|
610
|
+
EFeatures["INSTRUCTOR_LED_TRAINING_GIVE_TRAINING_FEEDBACK"] = "instructorLedTrainingGiveTrainingFeedback";
|
|
611
|
+
EFeatures["LEADERBOARD"] = "leaderboard";
|
|
612
|
+
EFeatures["LEADERBOARD_VIEW_WEEKLY_SECTION"] = "leaderboardViewWeeklySection";
|
|
613
|
+
EFeatures["LEADERBOARD_VIEW_MONTHLY_SECTION"] = "leaderboardViewMonthlySection";
|
|
614
|
+
EFeatures["LEADERBOARD_VIEW_HALL_OF_FAME_SECTION"] = "leaderboardViewHallOfSection";
|
|
615
|
+
EFeatures["LEADERBOARD_APPLY_LEARNER_COLLABORATOR_FILTER"] = "leaderboardApplyLearnerCollaboratorFilter";
|
|
616
|
+
EFeatures["LEADERBOARD_BACK_DATE_BUTTON"] = "leaderboardBackDatebutton";
|
|
617
|
+
EFeatures["LEADERBOARD_FORWARD_DATE_BUTTON"] = "leaderboardForwardDateButton";
|
|
618
|
+
EFeatures["PLAYGROUND"] = "playground";
|
|
619
|
+
EFeatures["PLAYGROUND_VIEW_TECHNOLOGY_PLAYGROUNDS_STRIP"] = "playgroundViewTechnologyPlaygorundsStrip";
|
|
620
|
+
EFeatures["PLAYGROUND_VIEW_ASSESSMENTS_PLAYGROUNDS_STRIP"] = "playgroundViewAssessmentsPlaygroundsStrip";
|
|
621
|
+
EFeatures["PUZZLE_MANIA"] = "puzzleMania";
|
|
622
|
+
EFeatures["PUZZLE_MANIA_VIEW_PUZZLE_MANIA"] = "puzzleManiaViewPuzzleMania";
|
|
623
|
+
EFeatures["PUZZLE_MANIA_VIEW_CODE_CRACK"] = "puzzleManiaViewCodeCrack";
|
|
624
|
+
EFeatures["PUZZLE_MANIA_VIEW_TECHNOLOGY_PLAYGROUND"] = "puzzleManiaViewTechnologyPlayground";
|
|
625
|
+
EFeatures["PUZZLE_MANIA_WATCH_PROGRAMMING_CHALLENGES_VIDEO"] = "puzzleManiaWatchProgrammingChallengesVideo";
|
|
626
|
+
EFeatures["PUZZLE_MANIA_VIEW_ACCELERATE"] = "puzzleManiaViewAccelerate";
|
|
627
|
+
EFeatures["PUZZLE_MANIA_START_CODE_CRACK_TEST"] = "puzzleManiaStartCodeCrackTest";
|
|
628
|
+
EFeatures["PUZZLE_MANIA_START_PUZZLE_MANIA"] = "puzzleManiaStartPuzzleMania";
|
|
629
|
+
EFeatures["PUZZLE_MANIA_START_TECHNOLOGY_PLAYGROUND"] = "puzzleManiaStartTechnologyPlayground";
|
|
630
|
+
EFeatures["FULL_STACK_SALES_LEADER"] = "fullStackSalesLeader";
|
|
631
|
+
EFeatures["FULL_STACK_SALES_LEADER_WATCH_LEADER_VIDEO"] = "fullStackSalesLeaderWatchLeaderVideo";
|
|
632
|
+
EFeatures["FULL_STACK_SALES_LEADER_EMBARK_ON_THIS_LEARNING_JOURNEY_BUTTON"] = "fullStackSalesLeaderEmbarkOnThisLearningJourneyButton";
|
|
633
|
+
EFeatures["FULL_STACK_SALES_LEADER_QUICK_TOUR_VIDEO_LINK"] = "fullStackSalesLeaderQuickTourVideoLink";
|
|
634
|
+
EFeatures["FULL_STACK_SALES_LEADER_FEEDBACK_LINK"] = "fullStackSalesLeaderFeedbackLink";
|
|
635
|
+
EFeatures["FULL_STACK_SALES_LEADER_DROP_NOTE_LINK"] = "fullStackSalesLeaderDropNoteLink";
|
|
636
|
+
EFeatures["ONBOARDING"] = "onboarding";
|
|
637
|
+
EFeatures["ONBOARDING_VIEW_DC_ONBOARDING_PROGRAMS_STRIP"] = "onboardingViewDcOnboardingProgramsStrip";
|
|
638
|
+
EFeatures["ONBOARDING_VIEW_ORGANISATIONAL_ONBOARDING_PROGRAMS_STRIP"] = "onboardingViewOrganisationalOnboardingProgramsStrip";
|
|
639
|
+
EFeatures["ONBOARDING_VIEW_ROLE_BASED_ONBOARDING_PROGRAMS_STRIP"] = "onboardingViewRoleBasedOnboardingProgramsStrip";
|
|
640
|
+
EFeatures["ONBOARDING_VIEW_UNIT_AND_PROJECT_ONBOARDING_PROGRAMS_STRIP"] = "onboardingViewUnitAndProjectOnboardingProgramsStrip";
|
|
641
|
+
EFeatures["SEARCH"] = "search";
|
|
642
|
+
EFeatures["SEARCH_SEARCHING_CONTENT"] = "searchSearchingContent";
|
|
643
|
+
EFeatures["KNOWLEDGE_HUB"] = "knowledgeHub";
|
|
644
|
+
EFeatures["KNOWLEDGE_HUB_SUBMIT_KNOWLEDGE_ARTIFACTS"] = "knowledgeHubSubmitKnowledgeArtifacts";
|
|
645
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_TOP_PROJECTS_SECTION"] = "knowledgeHubViewTopProjectsSection";
|
|
646
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_INTERESTING_READS_SECTION"] = "knowledgeHubViewInterestingReadsSection";
|
|
647
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_MARKETING_SECTION"] = "knowledgeHubViewMarketingSection";
|
|
648
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_KSHOP_CLASSIC_SECTION"] = "knowledgeHubViewKshopClassicSection";
|
|
649
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_TRENDING_TOOLS_SECTION"] = "knowledgeHubViewTrendingToolsSection";
|
|
650
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_DOCUMENTS_STRIP"] = "knowledgeHubViewDocumentsStrip";
|
|
651
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_TOOLS_STRIP"] = "knowledgeHubViewProjectReferencesStrip";
|
|
652
|
+
EFeatures["KNOWLEDGE_HUB_VIEW_MARKETING_STRIP"] = "knowledgeHubViewMarketingStrip";
|
|
653
|
+
EFeatures["CHANNELS"] = "channels";
|
|
654
|
+
EFeatures["CHANNELS_VIEW_LEADERSHIP_SECTION"] = "channelsViewLeadershipSection";
|
|
655
|
+
EFeatures["CHANNELS_VIEW_RAVI_KUMAR_PAGE"] = "channelsViewRaviKumarPage";
|
|
656
|
+
EFeatures["CHANNELS_VIEW_MOHIT_JOSHI_PAGE"] = "channelsViewMohitJoshiPage";
|
|
657
|
+
EFeatures["CHANNELS_FOLLOW_RAVI_KUMAR"] = "channelsFollowRaviKumar";
|
|
658
|
+
EFeatures["CHANNELS_MAIL_TO_RAVI_KUMAR"] = "channelsMailToRaviKumar";
|
|
659
|
+
EFeatures["CHANNELS_VIEW_ABOUT_RAVI_KUMAR_SECTION"] = "channelsViewAboutRaviKumarSection";
|
|
660
|
+
EFeatures["CHANNELS_VIEW_RAVI_KUMAR_TWEETS_SECTION"] = "channelsViewRaviKumarTweetsSection";
|
|
661
|
+
EFeatures["CHANNELS_VIEW_RAVI_KUMAR_ARTICLES_SECTION"] = "channelsViewRaviKumarArticlesSection";
|
|
662
|
+
EFeatures["CHANNELS_VIEW_RAVI_KUMAR_TRAILBLAZERS_SECTION"] = "channelsViewRaviKumarTrailblazersSection";
|
|
663
|
+
EFeatures["CHANNELS_VIEW_RAVI_KUMAR_COMMUNICATIONS_SECTION"] = "channelsViewRaviKumarCommunicationsSection";
|
|
664
|
+
EFeatures["CHANNELS_VIEW_RAVI_KUMAR_DISCUSSION_SECTION"] = "channelsViewraviKumarDiscussionSection";
|
|
665
|
+
EFeatures["CHANNELS_LIKE_TWEET_RAVI_KUMAR"] = "channelsLikeTweetRaviKumar";
|
|
666
|
+
EFeatures["CHANNELS_SHARE_TWEET_RAVI_KUMAR"] = "channelsShareTweetRaviKumar";
|
|
667
|
+
EFeatures["CHANNELS_POST_YOUR_THOUGHTS_IN_DISCUSSION_RAVI_KUMAR"] = "channelsPostYourThoughtsInDiscussionRaviKumar";
|
|
668
|
+
EFeatures["CHANNELS_FOLLOW_MOHIT_JOSHI"] = "channelsFollowMohitJoshi";
|
|
669
|
+
EFeatures["CHANNELS_MAIL_TO_MOHIT_JOSHI"] = "channelsMailToMohitJoshi";
|
|
670
|
+
EFeatures["CHANNELS_VIEW_ABOUT_MOHIT_JOSHI_SECTION"] = "channelsViewAboutMohitJoshiSection";
|
|
671
|
+
EFeatures["CHANNELS_VIEW_MOHIT_JOSHI_TWEETS_SECTION"] = "channelsViewMohitJoshiTweetsSection";
|
|
672
|
+
EFeatures["CHANNELS_VIEW_MOHIT_JOSHI_ARTICLES_SECTION"] = "channelsViewMohitJoshiArticlesSection";
|
|
673
|
+
EFeatures["CHANNELS_VIEW_MOHIT_JOSHI_TRAILBLAZERS_SECTION"] = "channelsViewMohitJoshiTrailblazersSection";
|
|
674
|
+
EFeatures["CHANNELS_VIEW_MOHIT_JOSHI_COMMUNICATIONS_SECTION"] = "channelsViewMohitJoshiCommunicationsSection";
|
|
675
|
+
EFeatures["CHANNELS_VIEW_MOHIT_JOSHI_DISCUSSION_SECTION"] = "channelsViewMohitJoshiDiscussionSection";
|
|
676
|
+
EFeatures["CHANNELS_LIKE_TWEET_MOHIT_JOSHI"] = "channelsLikeTweetMohitJoshi";
|
|
677
|
+
EFeatures["CHANNELS_SHARE_TWEET_MOHIT_JOSHI"] = "channelsShareTweetMohitJoshi";
|
|
678
|
+
EFeatures["CHANNELS_POST_YOUR_THOUGHTS_IN_DISCUSSION_MOHIT_JOSHI"] = "channelsPostYourThoughtsInDiscussionMohitJoshi";
|
|
679
|
+
EFeatures["CHANNELS_VIEW_CORPORATE_SECTION"] = "channelsViewCorporateSection";
|
|
680
|
+
EFeatures["CHANNELS_VIEW_EXPERIENCE_WOW_PAGE"] = "channelsViewExperienceWowPage";
|
|
681
|
+
EFeatures["CHANNELS_VIEW_iGOT_KNOWLEDGE_INSTITUTE_PAGE"] = "channelsViewiGOTKnowledgeInstitutePage";
|
|
682
|
+
EFeatures["CHANNELS_VIEW_CMT_LEARNING_HUB_PAGE"] = "channelsViewCmtLearningHubPage";
|
|
683
|
+
EFeatures["CHANNELS_VIEW_FULL_STACK_SALES_LEADERS_PAGE"] = "channelsViewFullStackSalesLeaderPage";
|
|
684
|
+
EFeatures["EXPERIENCE_WOW_PAGE"] = "experienceWowPage";
|
|
685
|
+
EFeatures["EXPERIENCE_WOW_PAGE_VIEW_PAGE_SECTIONS"] = "experienceWowPageViewPageSections";
|
|
686
|
+
EFeatures["EXPERIENCE_WOW_PAGE_CHECK_iGOT_STATISTICS"] = "experienceWowPageCheckiGOTStatistics";
|
|
687
|
+
EFeatures["EXPERIENCE_WOW_PAGE_CHECK_iGOT_ME_STATISTICS"] = "experienceWowPageCheckiGOTMeStatistics";
|
|
688
|
+
EFeatures["EXPERIENCE_WOW_PAGE_PROVIDE_SUGGESTIONS"] = "experienceWowPageProvideSuggestions";
|
|
689
|
+
EFeatures["EXPERIENCE_WOW_PAGE_SEND_MAIL_FOR_BECOMING_COCREATOR"] = "experienceWowPageSendMailForBecomingCocreator";
|
|
690
|
+
EFeatures["iGOT_RADIO"] = "iGOTRadio";
|
|
691
|
+
EFeatures["iGOT_RADIO_VIEW_PODCASTS_STRIP"] = "iGOTRadioViewPodcastsStrip";
|
|
692
|
+
EFeatures["iGOT_TV"] = "iGOTTv";
|
|
693
|
+
EFeatures["iGOT_TV_VIEW_JUST_FOR_YOU_SECTION"] = "iGOTTvViewJustForYouSection";
|
|
694
|
+
EFeatures["iGOT_TV_VIEW_MUST_VIEW_STRIP"] = "iGOTTvViewMustViewStrip";
|
|
695
|
+
EFeatures["iGOT_TV_VIEW_LATEST_STRIP"] = "iGOTTvViewLatestStrip";
|
|
696
|
+
EFeatures["iGOT_TV_VIEW_CHANNELS_SECTION"] = "iGOTTvViewChannelsSection";
|
|
697
|
+
EFeatures["iGOT_TV_VIEW_CHANNELS_STRIP"] = "iGOTTvViewChannelsStrip";
|
|
698
|
+
EFeatures["iGOT_TV_VIEW_BROADCAST_SECTION"] = "iGOTTvViewBroadcastSection";
|
|
699
|
+
EFeatures["iGOT_TV_VIEW_PREVIOUS_EVENTS_LIST"] = "iGOTTvViewPreviousEventsList";
|
|
700
|
+
EFeatures["iGOT_TV_VIEW_LIVE_EVENTS_LIST"] = "iGOTTvViewLiveEventsList";
|
|
701
|
+
EFeatures["iGOT_TV_VIEW_UPCOMING_EVENTS_LIST"] = "iGOTTvViewUpcomingEventsList";
|
|
702
|
+
EFeatures["LEADERSHIP_MESSAGES"] = "leadershipMessages";
|
|
703
|
+
EFeatures["LEADERSHIP_MESSAGES_VIEW_LEADERSHIP_VIDEO"] = "leadershipMessagesViewLeadershipVideo";
|
|
704
|
+
EFeatures["LIVING_LABS"] = "livingLabs";
|
|
705
|
+
EFeatures["LIVING_LABS_VIEW_LIVING_LABS_STRIP"] = "livingLabsViewLivingLabsStrip";
|
|
706
|
+
EFeatures["AMERICAS_CONFLUENECE"] = "americasConfluence";
|
|
707
|
+
EFeatures["AMERICAS_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS"] = "americasConfluenceViewConfluenceVideosStrips";
|
|
708
|
+
EFeatures["APAC_CONFLUENECE"] = "apacConfluence";
|
|
709
|
+
EFeatures["APAC_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS"] = "apacConfluenceViewConfluenceVideosStrips";
|
|
710
|
+
EFeatures["EMEA_CONFLUENECE"] = "emeaConfluence";
|
|
711
|
+
EFeatures["EMEA_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS"] = "emeaConfluenceViewConfluenceVideosStrips";
|
|
712
|
+
EFeatures["CONNECT"] = "connect";
|
|
713
|
+
EFeatures["CONNECT_VIEW_CONTENT_STRIP"] = "connectViewContentStrip";
|
|
714
|
+
EFeatures["LIVE_EVENTS"] = "liveEvents";
|
|
715
|
+
EFeatures["LIVE_EVENTS_WATCH_LIVE"] = "liveEventsWatchLive";
|
|
716
|
+
EFeatures["LIVE_EVENTS_WATCH_CLASSROOM_BROADCAST"] = "liveEventsWatchClassroomBroadcast";
|
|
717
|
+
EFeatures["LIVE_EVENTS_WATCH_THREE_SIXTY_VIDEO"] = "liveEventsWatchThreeSixtyVideo";
|
|
718
|
+
EFeatures["LIVE_EVENTS_WATCH_FAMILY_MATTERS_VIDEO"] = "liveEventsWatchFamilyMattersVideo";
|
|
719
|
+
EFeatures["LIVE_EVENTS_WATCH_CONFLUENCE_EVENTS"] = "liveEventsWatchConfluenceEvents";
|
|
720
|
+
EFeatures["DIGITAL_ASSISTANT_TOUR"] = "digitalAssistantTour";
|
|
721
|
+
EFeatures["DIGITAL_ASSISTANT_TOUR_WATCH_TOUR_VIDEO"] = "digitalAssistantTourWatchTourVideo";
|
|
722
|
+
EFeatures["QUICK_TOUR"] = "quickTour";
|
|
723
|
+
EFeatures["QUICK_TOUR_WATCH_TOUR_VIDEO"] = "quickTourWatchTourVideo";
|
|
724
|
+
EFeatures["LOGOUT"] = "logout";
|
|
725
|
+
EFeatures["LOGOUT_LOGS_OUT_FROM_APPLICATION"] = "logoutLogsOutFromApplication";
|
|
726
|
+
EFeatures["MY_ANALYTICS"] = "myAnalytics";
|
|
727
|
+
EFeatures["MY_ANALYTICS_APPLY_QUARTER_FILTERS"] = "myAnalyticsApplyQuarterFilters";
|
|
728
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_LEARNING_SECTION"] = "myAnalyticsViewMyLearningSection";
|
|
729
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_ASSESSMENT_SECTION"] = "myAnalyticsViewMyAssessmentSection";
|
|
730
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_REFACTORING_SECTION"] = "myAnalyticsViewMyRefactoringSection";
|
|
731
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_PLANS_SECTION"] = "myAnalyticsViewMyPlansSection";
|
|
732
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_COLLABORATORS_SECTION"] = "myAnalyticsViewMyCollaboratorsSection";
|
|
733
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_FEATURES_USAGE_SECTION"] = "myAnalyticsViewTopCoursesSection";
|
|
734
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_LEARNING_MINUTES"] = "myAnalyticsViewMyLearningMinutes";
|
|
735
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_LEARNING_POINTS"] = "myAnalyticsViewMyLearningPoints";
|
|
736
|
+
EFeatures["MY_ANALYTICS_VIEW_BADGES"] = "myAnalyticsViewBadges";
|
|
737
|
+
EFeatures["MY_ANALYTICS_VIEW_TIME_SPENT_BY_USER"] = "myAnalyticsViewTimeSpentByUser";
|
|
738
|
+
EFeatures["MY_ANALYTICS_VIEW_AVERAGE_MINUTES_ON_iGOT"] = "myAnalyticsViewAverageMinutesOniGOT";
|
|
739
|
+
EFeatures["MY_ANALYTICS_VIEW_AVERAGE_MINUTES_ACROSS_DIMENSIONS"] = "myAnalyticsViewAverageMinutesAcrossDimensions";
|
|
740
|
+
EFeatures["MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_USER"] = "myAnalyticsViewPercentageTimeSpentByUser";
|
|
741
|
+
EFeatures["MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_INFOSCIONS"] = "myAnalyticsViewPercentageTimeSpentByInfoscions";
|
|
742
|
+
EFeatures["MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_PEERS"] = "myAnalyticsViewPercentageTimeSpentByPeers";
|
|
743
|
+
EFeatures["MY_ANALYTICS_VIEW_TOTAL_ASSESSMENTS"] = "myAnalyticsViewTotalAssessments";
|
|
744
|
+
EFeatures["MY_ANALYTICS_VIEW_PENDING_ASSESSMENTS"] = "myAnalyticsViewPendingAssessments";
|
|
745
|
+
EFeatures["MY_ANALYTICS_VIEW_CERTIFICATIONS"] = "myAnalyticsViewCertifications";
|
|
746
|
+
EFeatures["MY_ANALYTICS_VIEW_ASSESSMENTS"] = "myAnalyticsViewAssessments";
|
|
747
|
+
EFeatures["MY_ANALYTICS_VIEW_RECENT_ASSESSMENTS"] = "myAnalyticsViewRecentAssessments";
|
|
748
|
+
EFeatures["MY_ANALYTICS_VIEW_ASSESSMENT_DETAILS"] = "myAnalyticsViewAssessmentDetails";
|
|
749
|
+
EFeatures["MY_ANALYTICS_VIEW_RECENT_ASSESSMENT"] = "myAnalyticsViewRecentAssessment";
|
|
750
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_REFACTORING_PROGRAM"] = "myAnalyticsViewMyRefactoringProgram";
|
|
751
|
+
EFeatures["MY_ANALYTICS_VIEW_NAVIGATOR"] = "myAnalyticsViewNavigator";
|
|
752
|
+
EFeatures["MY_ANALYTICS_VIEW_AI_AND_AUTOMATION_PROGRESS"] = "myAnalyticsViewAiAndAutomationProcess";
|
|
753
|
+
EFeatures["MY_ANALYTICS_VIEW_MY_GOALS"] = "myAnalyticsViewMyGoals";
|
|
754
|
+
EFeatures["MY_ANALYTICS_VIEW_PLAYLIST"] = "myAnalyticsViewPlaylist";
|
|
755
|
+
EFeatures["MY_ANALYTICS_VIEW_GOALS_SHARED_WITH_USER"] = "myAnalyticsViewGoalsSharedWithUser";
|
|
756
|
+
EFeatures["MY_ANALYTICS_VIEW_DETAILED_COURSES_PROGRESS"] = "myAnalyticsViewDetailedCoursesProgress";
|
|
757
|
+
EFeatures["MY_ANALYTICS_VIEW_GOALS_SHARED_BY_USER"] = "myAnalyticsViewGoalsSharedByUser";
|
|
758
|
+
EFeatures["MY_ANALYTICS_VIEW_ARTIFACTS_SHARED_BY_USER"] = "myAnalyticsViewArtifactsSharedByUser";
|
|
759
|
+
EFeatures["MY_ANALYTICS_VIEW_EXPERTS_USER_CONTACTED"] = "myAnalyticsViewExpertsUserContacted";
|
|
760
|
+
EFeatures["MY_ANALYTICS_VIEW_DETAILED_GOALS_SHARING"] = "myAnalyticsViewDetailedGoalsSharing";
|
|
761
|
+
EFeatures["MY_ANALYTICS_VIEW_PLAYGROUNDS"] = "myAnalyticsViewPlaygrounds";
|
|
762
|
+
EFeatures["MY_ANALYTICS_VIEW_LIKES"] = "myAnalyticsViewLikes";
|
|
763
|
+
EFeatures["MY_ANALYTICS_VIEW_SEARCH"] = "myAnalyticsViewSearch";
|
|
764
|
+
EFeatures["MY_ANALYTICS_VIEW_iGOT_TV"] = "myAnalyticsViewiGOTTv";
|
|
765
|
+
EFeatures["MY_ANALYTICS_VIEW_iGOT_RADIO"] = "myAnalyticsViewiGOTRadio";
|
|
766
|
+
EFeatures["MY_ANALYTICS_VIEW_iGOT_LIVE"] = "myAnalyticsViewiGOTLive";
|
|
767
|
+
EFeatures["MY_ANALYTICS_VIEW_TOP_COURSES_BY_USER_UNIT"] = "myAnalyticsViewTopCoursesByUserUnit";
|
|
768
|
+
EFeatures["MY_ANALYTICS_VIEW_TOP_COURSES_BY_USER_PEERS"] = "myAnalyticsViewTopCoursesbyUserPeers";
|
|
769
|
+
EFeatures["LEARNING_ANALYTICS"] = "learningAnalytics";
|
|
770
|
+
EFeatures["LEARNING_ANALYTICS_SEARCH_FOR_PARTICIPANTS_AND_EDUCATORS"] = "learningAnalyticsSearchForParticipantsAndEducators";
|
|
771
|
+
EFeatures["LEARNING_ANALYTICS_UNIT_FILTER"] = "learningAnalyticsUnitFilter";
|
|
772
|
+
EFeatures["LEARNING_ANALYTICS_PU_FILTER"] = "learningAnalyticsPuFilter";
|
|
773
|
+
EFeatures["LEARNING_ANALYTICS_DU_FILTER"] = "learningAnalyticsDuFilter";
|
|
774
|
+
EFeatures["LEARNING_ANALYTICS_ACCOUNT_FILTER"] = "learningAnalyticsAccountFilter";
|
|
775
|
+
EFeatures["LEARNING_ANALYTICS_LOCATION_FILTER"] = "learningAnalyticsLocationFilter";
|
|
776
|
+
EFeatures["LEARNING_ANALYTICS_QUARTER_FILTER"] = "learningAnalyticsQuarterFilter";
|
|
777
|
+
EFeatures["LEARNING_ANALYTICS_COMPLETED_FILTER"] = "learningAnalyticsCompletedFilter";
|
|
778
|
+
EFeatures["LEARNING_ANALYTICS_ETA_FILTER"] = "learningAnalyticsEtaFilter";
|
|
779
|
+
EFeatures["LEARNING_ANALYTICS_UNIQUE_USERS_DATA"] = "learningAnalyticsUniqueUsersData";
|
|
780
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_ONSITE_OFFSHORE"] = "learningAnalyticsUsersByOnsiteOffshore";
|
|
781
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_DEVICE_TYPE"] = "learningAnalyticsUsersByDeviceType";
|
|
782
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_UNIT"] = "learningAnalyticsUsersByUnit";
|
|
783
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_TRACK"] = "learningAnalyticsUsersByTrack";
|
|
784
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_PU_SALES"] = "learningAnalyticsUsersByPuSales";
|
|
785
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_CU_TYPE"] = "learningAnalyticsUsersByCuType";
|
|
786
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_SKILL"] = "learningAnalyticsUsersBySkill";
|
|
787
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_TOPICS"] = "learningAnalyticsUsersByTopics";
|
|
788
|
+
EFeatures["LEARNING_ANALYTICS_USERS_BY_HORIZON"] = "learningAnalyticsUsersByHorizon";
|
|
789
|
+
EFeatures["LEARNING_ANALYTICS_USERS_GROWTH"] = "learningAnalyticsUsersGrowth";
|
|
790
|
+
EFeatures["LEARNING_ANALYTICS_USERS_DETAILS"] = "learningAnalyticsUsersDetails";
|
|
791
|
+
EFeatures["LEARNING_ANALYTICS_VIEW_ALL_TRAININGS_SECTION"] = "learningAnalyticsViewAllTrainingsSection";
|
|
792
|
+
EFeatures["LEARNING_ANALYTICS_TALENT_GRID_FILTER"] = "learningAnalyticstalentGridFilter";
|
|
793
|
+
EFeatures["LEARNING_ANALYTICS_STACK_FILTER"] = "learningAnalyticsStackFilter";
|
|
794
|
+
EFeatures["LEARNING_ANALYTICS_UNIQUE_PARTICIPANTS"] = "learningAnalyticsUniqueParticipants";
|
|
795
|
+
EFeatures["LEARNING_ANALYTICS_OVERALL_PARTICIPANTS"] = "learningAnalyticsOverallParticipants";
|
|
796
|
+
EFeatures["LEARNING_ANALYTICS_AVERAGE_DAYS"] = "learningAnalyticsAverageDays";
|
|
797
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_ONSITE_ONSHORE"] = "learningAnalyticsParticipantsByOnsiteOnshore";
|
|
798
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_UNIT"] = "learningAnalyticsParticipantsByUnit";
|
|
799
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_PU"] = "learningAnalyticsParticipantsByPu";
|
|
800
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_SKILL_TYPE"] = "learningAnalyticsParticipantsBySkillType";
|
|
801
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_SKILL"] = "learningAnalyticsParticipantsBySkill";
|
|
802
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_STACKS"] = "learningAnalyticsParticipantsByStacks";
|
|
803
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_NEW_SERVICES"] = "learningAnalyticsParticipantsByNewServices";
|
|
804
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_LEARNING_TRACK"] = "learningAnalyticsParticipantsByLearningTrack";
|
|
805
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_OFFERING_MODE"] = "learningAnalyticsParticipantsByOfferingMode";
|
|
806
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_TOPICS"] = "learningAnalyticsParticipantsByTopics";
|
|
807
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_BY_ABCD"] = "learningAnalyticsParticipantsByAbcd";
|
|
808
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS_DETAILS"] = "learningAnalyticsParticipantsDetails";
|
|
809
|
+
EFeatures["LEARNING_ANALYTICS_SCHEDULES_SECTION"] = "learningAnalyticsSchedulesSection";
|
|
810
|
+
EFeatures["LEARNING_ANALYTICS_SCHEDULE_DATE_FILTER"] = "learningAnalyticsScheduleDateFilter";
|
|
811
|
+
EFeatures["LEARNING_ANALYTICS_PARTICIPANTS"] = "learningAnalyticsParticipants";
|
|
812
|
+
EFeatures["LEARNING_ANALYTICS_EDUCATORS"] = "learningAnalyticsEducators";
|
|
813
|
+
EFeatures["LEARNING_ANALYTICS_COURSES"] = "learningAnalyticsCourses";
|
|
814
|
+
EFeatures["LEARNING_ANALYTICS_SCHEDULES"] = "learningAnalyticsSchedules";
|
|
815
|
+
EFeatures["LEARNING_ANALYTICS_VIEW_TRAINING_SCHEDULES_SECTION"] = "learningAnalyticsTrainingSchedulesSection";
|
|
816
|
+
EFeatures["LEARNING_ANALYTICS_COURSES_BY_OFFERING_MODE"] = "learningAnalyticsCoursesByOfferingMode";
|
|
817
|
+
EFeatures["LEARNING_ANALYTICS_COURSES_BY_TRACK"] = "learningAnalyticsCoursesByTrack";
|
|
818
|
+
EFeatures["LEARNING_ANALYTICS_COURSES_BY_TOPIC"] = "learningAnalyticsCoursesByTopic";
|
|
819
|
+
EFeatures["LEARNING_ANALYTICS_COURSES_BY_ABCD"] = "learningAnalyticsCoursesByAbcd";
|
|
820
|
+
EFeatures["LEARNING_ANALYTICS_COURSES_BY_SKILL"] = "learningAnalyticsCoursesBySkill";
|
|
821
|
+
EFeatures["APPS_PAGE"] = "appsPage";
|
|
822
|
+
EFeatures["APPS_PAGE_VIEW_DIFFERENT_APPS_ICONS"] = "appsPageViewDifferentAppsIcons";
|
|
823
|
+
EFeatures["COURSE_CARD"] = "courseCard";
|
|
824
|
+
EFeatures["COURSE_CARD_LIKE_THE_COURSE_BUTTON"] = "courseCardLikeTheCourseButton";
|
|
825
|
+
EFeatures["COURSE_CARD_SHARE_THE_COURSE_BUTTON"] = "courseCardShareTheCourseButton";
|
|
826
|
+
EFeatures["COURSE_CARD_ADD_COURSE_TO_GOALS_BUTTON"] = "courseCardAddCourseToGoalsButton";
|
|
827
|
+
EFeatures["COURSE_CARD_ADD_COURSE_TO_PLAYLIST_BUTTON"] = "courseCardAddCourseToPlaylistButton";
|
|
828
|
+
EFeatures["COURSE_CARD_VIEW_MORE_OPTIONS_BUTTON"] = "courseCardViewMoreOptionsButton";
|
|
829
|
+
EFeatures["COURSE_CARD_START_COURSE_OPTION"] = "courseCardStartCourseOption";
|
|
830
|
+
EFeatures["COURSE_CARD_VIEW_TOC_OPTION"] = "courseCardViewTocOption";
|
|
831
|
+
EFeatures["COURSE_CARD_COHORTS_OPTION"] = "courseCardCohortsOption";
|
|
832
|
+
EFeatures["COURSE_CARD_ANALYTICS_OPTION"] = "courseCardAnalyticsOption";
|
|
833
|
+
EFeatures["SEARCH_RESULTS_PAGE"] = "searchResultsPage";
|
|
834
|
+
EFeatures["SEARCH_RESULTS_PAGE_VIEW_LEARNING_SECTION"] = "searchResultsPageViewLearningSection";
|
|
835
|
+
EFeatures["SEARCH_RESULTS_PAGE_VIEW_CERTIFICATIONS_SECTION"] = "searchResultsPageViewCertificationsSection";
|
|
836
|
+
EFeatures["SEARCH_RESULTS_PAGE_VIEW_KNOWLEDGE_SECTION"] = "searchResultsPageViewKnowledgeSection";
|
|
837
|
+
EFeatures["SEARCH_RESULTS_PAGE_VIEW_PROJECTS_SECTION"] = "searchResultsPageViewProjectsSection";
|
|
838
|
+
EFeatures["SEARCH_RESULTS_PAGE_VIEW_SOCIAL_SECTION"] = "searchResultsPageViewSocialSection";
|
|
839
|
+
EFeatures["SEARCH_RESULTS_PAGE_CATALOG_FILTER"] = "searchResultsPageCatalogFilter";
|
|
840
|
+
EFeatures["SEARCH_RESULTS_PAGE_DURATION_FILTER"] = "searchResultsPageDurationFilter";
|
|
841
|
+
EFeatures["SEARCH_RESULTS_PAGE_CONTENT_TYPE_FILTER"] = "searchResultsPageContentTypeFilter";
|
|
842
|
+
EFeatures["SEARCH_RESULTS_PAGE_LEVEL_FILTER"] = "searchResultsPageLevelFilter";
|
|
843
|
+
EFeatures["SEARCH_RESULTS_PAGE_SOURCE_FILTER"] = "searchResultsPageSourceFilter";
|
|
844
|
+
EFeatures["SEARCH_RESULTS_PAGE_UNIT_FILTER"] = "searchResultsPageUnitFilter";
|
|
845
|
+
EFeatures["SEARCH_RESULTS_PAGE_TYPE_FILTER"] = "searchResultsPageTypeFilter";
|
|
846
|
+
EFeatures["SEARCH_RESULTS_PAGE_PUBLISHED_DATE_FILTER"] = "searchResultsPagePublishedDateFilter";
|
|
847
|
+
EFeatures["SEARCH_RESULTS_PAGE_CATEGORY_FILTER"] = "searchResultsPageCategoryFilter";
|
|
848
|
+
EFeatures["SEARCH_RESULTS_PAGE_ITEM_TYPE_FILTER"] = "searchResultsPageItemTypeFilter";
|
|
849
|
+
EFeatures["SEARCH_RESULTS_PAGE_TOPICS_FILTER"] = "searchResultsPageTopicsFilter";
|
|
850
|
+
EFeatures["SEARCH_RESULTS_PAGE_AUTHORS_FILTER"] = "searchResultsPageAuthorsFilter";
|
|
851
|
+
EFeatures["SEARCH_RESULTS_PAGE_TAGS_FILTER"] = "searchResultsPageTagsFilter";
|
|
852
|
+
EFeatures["SEARCH_RESULTS_PAGE_GROUPS_FILTER"] = "searchResultsPageGroupsFilter";
|
|
853
|
+
EFeatures["SEARCH_RESULTS_PAGE_VIEW_RESULT_CARDS"] = "searchResultsPageViewResultCards";
|
|
854
|
+
EFeatures["SEARCH_RESULTS_PAGE_VIEW_RELATED_CONCEPTS"] = "searchResultsPageViewRelatedConcepts";
|
|
855
|
+
EFeatures["LAB_42_INTERVIEW"] = "interview";
|
|
856
|
+
EFeatures["LAB_42_DIALOGUE"] = "dialogue";
|
|
857
|
+
EFeatures["LAB_42_STRATEGY_MAP"] = "strategyMap";
|
|
858
|
+
EFeatures["LAB_42_VIRTUAL_CLASSROOM"] = "virtualClassroom";
|
|
859
|
+
EFeatures["LAB_42_PROJECT_STACK"] = "projectStack";
|
|
860
|
+
EFeatures["LAB_42_LIVE_TRANSCRIBE"] = "liveTranscribe";
|
|
861
|
+
EFeatures["LAB_42_EPOCH"] = "epoch";
|
|
862
|
+
EFeatures["LEARNING_ASSISTANT_MAQ"] = "learning-assistant-maq";
|
|
863
|
+
EFeatures["LEARNING_ASSISTANT_ILIPDP"] = "learning-assistant-ilipdp";
|
|
864
|
+
})(EFeatures || (EFeatures = {}));
|
|
950
865
|
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
866
|
+
var EInstance;
|
|
867
|
+
(function (EInstance) {
|
|
868
|
+
EInstance["INSTANCE"] = "RootOrg";
|
|
869
|
+
})(EInstance || (EInstance = {}));
|
|
954
870
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
ScrollingStateEnum
|
|
961
|
-
ScrollingStateEnum[ScrollingStateEnum.ScrollingDown] = 'ScrollingDown';
|
|
962
|
-
ScrollingStateEnum[ScrollingStateEnum.NoScrolling] = 'NoScrolling';
|
|
871
|
+
var ScrollingStateEnum;
|
|
872
|
+
(function (ScrollingStateEnum) {
|
|
873
|
+
ScrollingStateEnum[ScrollingStateEnum["ScrollingUp"] = 0] = "ScrollingUp";
|
|
874
|
+
ScrollingStateEnum[ScrollingStateEnum["ScrollingDown"] = 1] = "ScrollingDown";
|
|
875
|
+
ScrollingStateEnum[ScrollingStateEnum["NoScrolling"] = 2] = "NoScrolling";
|
|
876
|
+
})(ScrollingStateEnum || (ScrollingStateEnum = {}));
|
|
963
877
|
class ClassChangeOnScrollDirective {
|
|
964
878
|
constructor() {
|
|
965
879
|
this.wsClassOnScrollDirChange = 5000;
|
|
@@ -980,13 +894,13 @@ class ClassChangeOnScrollDirective {
|
|
|
980
894
|
ngOnInit() {
|
|
981
895
|
this.windowScrollSubscription = fromEvent(window, 'scroll')
|
|
982
896
|
.pipe(debounceTime(50))
|
|
983
|
-
.subscribe((
|
|
897
|
+
.subscribe(() => {
|
|
984
898
|
clearTimeout(this.timeoutTimer);
|
|
985
899
|
const curr = window.scrollY;
|
|
986
900
|
this.hasScrolledDown = curr > 56;
|
|
987
901
|
this.setScrollState(this.lastScreenTop, curr);
|
|
988
902
|
this.lastScreenTop = curr;
|
|
989
|
-
})
|
|
903
|
+
});
|
|
990
904
|
}
|
|
991
905
|
ngAfterViewInit() { }
|
|
992
906
|
ngOnDestroy() {
|
|
@@ -1009,9 +923,9 @@ class ClassChangeOnScrollDirective {
|
|
|
1009
923
|
}
|
|
1010
924
|
}
|
|
1011
925
|
resetScrollingState() {
|
|
1012
|
-
this.timeoutTimer = setTimeout((
|
|
926
|
+
this.timeoutTimer = setTimeout(() => {
|
|
1013
927
|
this.setScrollState();
|
|
1014
|
-
}
|
|
928
|
+
}, this.wsClassOnScrollDirChange || 5000);
|
|
1015
929
|
}
|
|
1016
930
|
}
|
|
1017
931
|
ClassChangeOnScrollDirective.decorators = [
|
|
@@ -1027,14 +941,6 @@ ClassChangeOnScrollDirective.propDecorators = {
|
|
|
1027
941
|
isNotScrolling: [{ type: HostBinding, args: ['class.scrolling-no',] }],
|
|
1028
942
|
hasScrolledDown: [{ type: HostBinding, args: ['class.scrolled-down',] }]
|
|
1029
943
|
};
|
|
1030
|
-
if (false) {
|
|
1031
|
-
ClassChangeOnScrollDirective.prototype.wsClassOnScrollDirChange;
|
|
1032
|
-
ClassChangeOnScrollDirective.prototype.hasScrolledDown;
|
|
1033
|
-
ClassChangeOnScrollDirective.prototype.windowScrollSubscription;
|
|
1034
|
-
ClassChangeOnScrollDirective.prototype.timeoutTimer;
|
|
1035
|
-
ClassChangeOnScrollDirective.prototype.lastScreenTop;
|
|
1036
|
-
ClassChangeOnScrollDirective.prototype.currState;
|
|
1037
|
-
}
|
|
1038
944
|
|
|
1039
945
|
class ClassChangeOnScrollModule {
|
|
1040
946
|
}
|
|
@@ -1078,12 +984,6 @@ DefaultThumbnailDirective.propDecorators = {
|
|
|
1078
984
|
srcUrl: [{ type: HostBinding, args: ['src',] }],
|
|
1079
985
|
updateSrc: [{ type: HostListener, args: ['error',] }]
|
|
1080
986
|
};
|
|
1081
|
-
if (false) {
|
|
1082
|
-
DefaultThumbnailDirective.prototype.wsUtilsDefaultThumbnail;
|
|
1083
|
-
DefaultThumbnailDirective.prototype.src;
|
|
1084
|
-
DefaultThumbnailDirective.prototype.isSrcUpdateAttemptedForDefault;
|
|
1085
|
-
DefaultThumbnailDirective.prototype.srcUrl;
|
|
1086
|
-
}
|
|
1087
987
|
|
|
1088
988
|
class DefaultThumbnailModule {
|
|
1089
989
|
}
|
|
@@ -1097,7 +997,6 @@ DefaultThumbnailModule.decorators = [
|
|
|
1097
997
|
},] }
|
|
1098
998
|
];
|
|
1099
999
|
|
|
1100
|
-
function IImageResponsiveUnit() { }
|
|
1101
1000
|
const customBreakPoints = {
|
|
1102
1001
|
xs: '(max-width: 450px)',
|
|
1103
1002
|
s: '(min-width: 450.001px) and (max-width: 768px)',
|
|
@@ -1123,7 +1022,7 @@ class ImageResponsiveDirective {
|
|
|
1123
1022
|
customBreakPoints.xxl,
|
|
1124
1023
|
])
|
|
1125
1024
|
.pipe(distinctUntilChanged())
|
|
1126
|
-
.subscribe(
|
|
1025
|
+
.subscribe(data => {
|
|
1127
1026
|
if (data.breakpoints[customBreakPoints.xxl]) {
|
|
1128
1027
|
this.currentSize = 'xxl';
|
|
1129
1028
|
}
|
|
@@ -1146,7 +1045,7 @@ class ImageResponsiveDirective {
|
|
|
1146
1045
|
this.currentSize = 'xl';
|
|
1147
1046
|
}
|
|
1148
1047
|
this.setSrc();
|
|
1149
|
-
})
|
|
1048
|
+
});
|
|
1150
1049
|
}
|
|
1151
1050
|
ngOnChanges() {
|
|
1152
1051
|
if (this.src) {
|
|
@@ -1166,6 +1065,9 @@ class ImageResponsiveDirective {
|
|
|
1166
1065
|
}
|
|
1167
1066
|
}
|
|
1168
1067
|
}
|
|
1068
|
+
ImageResponsiveDirective.ctorParameters = () => [
|
|
1069
|
+
{ type: BreakpointObserver }
|
|
1070
|
+
];
|
|
1169
1071
|
ImageResponsiveDirective.decorators = [
|
|
1170
1072
|
{ type: Directive, args: [{
|
|
1171
1073
|
selector: '[wsUtilsImageResponsive]',
|
|
@@ -1178,13 +1080,6 @@ ImageResponsiveDirective.propDecorators = {
|
|
|
1178
1080
|
src: [{ type: Input }],
|
|
1179
1081
|
srcBindUrl: [{ type: HostBinding, args: ['src',] }]
|
|
1180
1082
|
};
|
|
1181
|
-
if (false) {
|
|
1182
|
-
ImageResponsiveDirective.prototype.src;
|
|
1183
|
-
ImageResponsiveDirective.prototype.srcBindUrl;
|
|
1184
|
-
ImageResponsiveDirective.prototype.currentSize;
|
|
1185
|
-
ImageResponsiveDirective.prototype.breakpointSubscription;
|
|
1186
|
-
ImageResponsiveDirective.prototype.breakpointObserver;
|
|
1187
|
-
}
|
|
1188
1083
|
|
|
1189
1084
|
class ImageResponsiveModule {
|
|
1190
1085
|
}
|
|
@@ -1206,13 +1101,13 @@ class InViewPortDirective {
|
|
|
1206
1101
|
ngOnInit() {
|
|
1207
1102
|
this.check();
|
|
1208
1103
|
this.scroll =
|
|
1209
|
-
fromEvent(window, 'scroll').pipe(debounceTime(100)).subscribe((
|
|
1104
|
+
fromEvent(window, 'scroll').pipe(debounceTime(100)).subscribe(() => {
|
|
1210
1105
|
this.check();
|
|
1211
|
-
})
|
|
1106
|
+
});
|
|
1212
1107
|
this.resize =
|
|
1213
|
-
fromEvent(window, 'resize').pipe(debounceTime(100)).subscribe((
|
|
1108
|
+
fromEvent(window, 'resize').pipe(debounceTime(100)).subscribe(() => {
|
|
1214
1109
|
this.check();
|
|
1215
|
-
})
|
|
1110
|
+
});
|
|
1216
1111
|
}
|
|
1217
1112
|
ngOnDestroy() {
|
|
1218
1113
|
this.scroll.unsubscribe();
|
|
@@ -1245,6 +1140,9 @@ class InViewPortDirective {
|
|
|
1245
1140
|
this.inViewport.emit(event);
|
|
1246
1141
|
}
|
|
1247
1142
|
}
|
|
1143
|
+
InViewPortDirective.ctorParameters = () => [
|
|
1144
|
+
{ type: ElementRef }
|
|
1145
|
+
];
|
|
1248
1146
|
InViewPortDirective.decorators = [
|
|
1249
1147
|
{ type: Directive, args: [{
|
|
1250
1148
|
selector: '[wsUtilsInViewPort]',
|
|
@@ -1256,12 +1154,6 @@ InViewPortDirective.ctorParameters = () => [
|
|
|
1256
1154
|
InViewPortDirective.propDecorators = {
|
|
1257
1155
|
inViewport: [{ type: Output }]
|
|
1258
1156
|
};
|
|
1259
|
-
if (false) {
|
|
1260
|
-
InViewPortDirective.prototype.scroll;
|
|
1261
|
-
InViewPortDirective.prototype.resize;
|
|
1262
|
-
InViewPortDirective.prototype.inViewport;
|
|
1263
|
-
InViewPortDirective.prototype._el;
|
|
1264
|
-
}
|
|
1265
1157
|
|
|
1266
1158
|
class InViewPortModule {
|
|
1267
1159
|
}
|
|
@@ -1307,11 +1199,6 @@ NavigationDirective.propDecorators = {
|
|
|
1307
1199
|
routeUrl: [{ type: Input }, { type: HostBinding, args: ['attr.routerLink',] }],
|
|
1308
1200
|
onMouseEnter: [{ type: HostListener, args: ['mousedown', ['$event'],] }]
|
|
1309
1201
|
};
|
|
1310
|
-
if (false) {
|
|
1311
|
-
NavigationDirective.prototype.wsUtilsNavigation;
|
|
1312
|
-
NavigationDirective.prototype.openInNewTab;
|
|
1313
|
-
NavigationDirective.prototype.routeUrl;
|
|
1314
|
-
}
|
|
1315
1202
|
|
|
1316
1203
|
class NavigationModule {
|
|
1317
1204
|
}
|
|
@@ -1349,10 +1236,10 @@ PermissionModule.decorators = [
|
|
|
1349
1236
|
|
|
1350
1237
|
function getStringifiedQueryParams(obj) {
|
|
1351
1238
|
return Object.entries(obj)
|
|
1352
|
-
.filter(
|
|
1353
|
-
.map(
|
|
1239
|
+
.filter(u => u[1])
|
|
1240
|
+
.map(u => {
|
|
1354
1241
|
return `${u[0]}=${u[1]}`;
|
|
1355
|
-
})
|
|
1242
|
+
})
|
|
1356
1243
|
.join('&');
|
|
1357
1244
|
}
|
|
1358
1245
|
|
|
@@ -1371,19 +1258,19 @@ class HorizontalScrollerComponent {
|
|
|
1371
1258
|
const horizontalScrollElem = this.horizontalScrollElem;
|
|
1372
1259
|
this.scrollObserver = fromEvent(horizontalScrollElem.nativeElement, 'scroll')
|
|
1373
1260
|
.pipe(debounceTime(100), throttleTime(100))
|
|
1374
|
-
.subscribe(
|
|
1375
|
-
this.updateNavigationBtnStatus(
|
|
1376
|
-
.nativeElement)
|
|
1377
|
-
})
|
|
1261
|
+
.subscribe(_ => {
|
|
1262
|
+
this.updateNavigationBtnStatus(horizontalScrollElem
|
|
1263
|
+
.nativeElement);
|
|
1264
|
+
});
|
|
1378
1265
|
}
|
|
1379
1266
|
}
|
|
1380
1267
|
ngOnChanges() {
|
|
1381
|
-
timer(100).subscribe((
|
|
1268
|
+
timer(100).subscribe(() => {
|
|
1382
1269
|
if (this.horizontalScrollElem) {
|
|
1383
|
-
this.updateNavigationBtnStatus(
|
|
1384
|
-
.nativeElement)
|
|
1270
|
+
this.updateNavigationBtnStatus(this.horizontalScrollElem
|
|
1271
|
+
.nativeElement);
|
|
1385
1272
|
}
|
|
1386
|
-
})
|
|
1273
|
+
});
|
|
1387
1274
|
}
|
|
1388
1275
|
ngOnDestroy() {
|
|
1389
1276
|
if (this.scrollObserver) {
|
|
@@ -1433,7 +1320,7 @@ HorizontalScrollerComponent.decorators = [
|
|
|
1433
1320
|
selector: 'ws-utils-horizontal-scroller',
|
|
1434
1321
|
template: "<section class=\"horizontal-scroll-container h-full\">\r\n <button i18n-aria-label aria-label=\"back\" name=\"content-backward-button\" mat-mini-fab color=\"primary\" (click)=\"showPrev()\"\r\n class=\"prevBtn hidden-touch border-radius-xs\" [hidden]=\"!enablePrev\" [ngClass]=\"{'prevBtnHover': onHover}\">\r\n <mat-icon>navigate_before</mat-icon>\r\n </button>\r\n <div name=\"horizontal-scroll-content-strip\" class=\"horizontal-scroll-content\" #horizontalScrollElem>\r\n <ng-content></ng-content>\r\n </div>\r\n <button i18n-aria-label aria-label=\"next\" name=\"content-forward-button\" mat-mini-fab (click)=\"showNext()\" color=\"primary\"\r\n class=\"nextBtn hidden-touch border-radius-xs\" [ngClass]=\"{'nextBtnHover': onHover}\"\r\n [hidden]=\"!enableNext || loadStatus === 'fetching'\">\r\n <mat-icon>navigate_next</mat-icon>\r\n </button>\r\n <div class=\"nextLoading\" *ngIf=\"loadStatus === 'fetching'\">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n</section>",
|
|
1435
1322
|
styles: [".horizontal-scroll-container{position:relative;width:100%;min-height:100px}.nextBtn,.nextLoading,.prevBtn{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.border-radius-xs{border-radius:8px!important}.prevBtn{left:-16px}.nextBtn{right:-16px}.nextLoading{padding:0;right:-16px}.horizontal-scroll-content{overflow-y:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;height:100%;flex-wrap:nowrap;display:flex;align-items:stretch;-ms-overflow-style:none;scrollbar-width:none}.horizontal-scroll-content::-webkit-scrollbar{width:0;height:0}"]
|
|
1436
|
-
}] }
|
|
1323
|
+
},] }
|
|
1437
1324
|
];
|
|
1438
1325
|
HorizontalScrollerComponent.ctorParameters = () => [];
|
|
1439
1326
|
HorizontalScrollerComponent.propDecorators = {
|
|
@@ -1442,15 +1329,6 @@ HorizontalScrollerComponent.propDecorators = {
|
|
|
1442
1329
|
loadNext: [{ type: Output }],
|
|
1443
1330
|
horizontalScrollElem: [{ type: ViewChild, args: ['horizontalScrollElem', { static: true },] }]
|
|
1444
1331
|
};
|
|
1445
|
-
if (false) {
|
|
1446
|
-
HorizontalScrollerComponent.prototype.loadStatus;
|
|
1447
|
-
HorizontalScrollerComponent.prototype.onHover;
|
|
1448
|
-
HorizontalScrollerComponent.prototype.loadNext;
|
|
1449
|
-
HorizontalScrollerComponent.prototype.horizontalScrollElem;
|
|
1450
|
-
HorizontalScrollerComponent.prototype.enablePrev;
|
|
1451
|
-
HorizontalScrollerComponent.prototype.enableNext;
|
|
1452
|
-
HorizontalScrollerComponent.prototype.scrollObserver;
|
|
1453
|
-
}
|
|
1454
1332
|
|
|
1455
1333
|
class HorizontalScrollerModule {
|
|
1456
1334
|
}
|
|
@@ -1469,20 +1347,6 @@ HorizontalScrollerModule.decorators = [
|
|
|
1469
1347
|
|
|
1470
1348
|
var WsEvents;
|
|
1471
1349
|
(function (WsEvents) {
|
|
1472
|
-
function IWsEventsFromWidget() { }
|
|
1473
|
-
WsEvents.IWsEventsFromWidget = IWsEventsFromWidget;
|
|
1474
|
-
if (false) {
|
|
1475
|
-
IWsEventsFromWidget.prototype.type;
|
|
1476
|
-
IWsEventsFromWidget.prototype.widgetType;
|
|
1477
|
-
IWsEventsFromWidget.prototype.widgetSubType;
|
|
1478
|
-
}
|
|
1479
|
-
function IWsEventsFromPage() { }
|
|
1480
|
-
WsEvents.IWsEventsFromPage = IWsEventsFromPage;
|
|
1481
|
-
if (false) {
|
|
1482
|
-
IWsEventsFromPage.prototype.type;
|
|
1483
|
-
IWsEventsFromPage.prototype.pageUrl;
|
|
1484
|
-
IWsEventsFromPage.prototype.pageType;
|
|
1485
|
-
}
|
|
1486
1350
|
let WsEventType;
|
|
1487
1351
|
(function (WsEventType) {
|
|
1488
1352
|
WsEventType["Action"] = "Action";
|
|
@@ -1521,17 +1385,6 @@ var WsEvents;
|
|
|
1521
1385
|
(function (externalTelemetrypdata) {
|
|
1522
1386
|
externalTelemetrypdata["RBCP"] = "rbcp-web-ui";
|
|
1523
1387
|
})(externalTelemetrypdata = WsEvents.externalTelemetrypdata || (WsEvents.externalTelemetrypdata = {}));
|
|
1524
|
-
function IWsEvents() { }
|
|
1525
|
-
WsEvents.IWsEvents = IWsEvents;
|
|
1526
|
-
if (false) {
|
|
1527
|
-
IWsEvents.prototype.eventType;
|
|
1528
|
-
IWsEvents.prototype.eventLogLevel;
|
|
1529
|
-
IWsEvents.prototype.from;
|
|
1530
|
-
IWsEvents.prototype.to;
|
|
1531
|
-
IWsEvents.prototype.data;
|
|
1532
|
-
IWsEvents.prototype.passThroughData;
|
|
1533
|
-
IWsEvents.prototype.pageContext;
|
|
1534
|
-
}
|
|
1535
1388
|
let EnumTelemetrySubType;
|
|
1536
1389
|
(function (EnumTelemetrySubType) {
|
|
1537
1390
|
EnumTelemetrySubType["Init"] = "Init";
|
|
@@ -1547,33 +1400,6 @@ var WsEvents;
|
|
|
1547
1400
|
EnumTelemetrySubType["GetStarted"] = "Get Started";
|
|
1548
1401
|
EnumTelemetrySubType["PlatformRating"] = "PlatformRating";
|
|
1549
1402
|
})(EnumTelemetrySubType = WsEvents.EnumTelemetrySubType || (WsEvents.EnumTelemetrySubType = {}));
|
|
1550
|
-
function ITelemetryPageContext() { }
|
|
1551
|
-
WsEvents.ITelemetryPageContext = ITelemetryPageContext;
|
|
1552
|
-
if (false) {
|
|
1553
|
-
ITelemetryPageContext.prototype.pageId;
|
|
1554
|
-
ITelemetryPageContext.prototype.module;
|
|
1555
|
-
ITelemetryPageContext.prototype.pageIdExt;
|
|
1556
|
-
}
|
|
1557
|
-
function ITelemetryEdata() { }
|
|
1558
|
-
WsEvents.ITelemetryEdata = ITelemetryEdata;
|
|
1559
|
-
if (false) {
|
|
1560
|
-
ITelemetryEdata.prototype.type;
|
|
1561
|
-
ITelemetryEdata.prototype.subType;
|
|
1562
|
-
ITelemetryEdata.prototype.id;
|
|
1563
|
-
ITelemetryEdata.prototype.pageid;
|
|
1564
|
-
}
|
|
1565
|
-
function ITelemetryTabData() { }
|
|
1566
|
-
WsEvents.ITelemetryTabData = ITelemetryTabData;
|
|
1567
|
-
if (false) {
|
|
1568
|
-
ITelemetryTabData.prototype.label;
|
|
1569
|
-
ITelemetryTabData.prototype.index;
|
|
1570
|
-
}
|
|
1571
|
-
function IWsEventTelemetry() { }
|
|
1572
|
-
WsEvents.IWsEventTelemetry = IWsEventTelemetry;
|
|
1573
|
-
if (false) {
|
|
1574
|
-
IWsEventTelemetry.prototype.eventSubType;
|
|
1575
|
-
IWsEventTelemetry.prototype.pageContext;
|
|
1576
|
-
}
|
|
1577
1403
|
let EnumTelemetryPdfActivity;
|
|
1578
1404
|
(function (EnumTelemetryPdfActivity) {
|
|
1579
1405
|
EnumTelemetryPdfActivity["PAGE_CHANGED"] = "PAGE_CHANGED";
|
|
@@ -1582,57 +1408,6 @@ var WsEvents;
|
|
|
1582
1408
|
EnumTelemetryPdfActivity["ZOOM_CHANGE"] = "ZOOM_CHANGE";
|
|
1583
1409
|
EnumTelemetryPdfActivity["NONE"] = "NONE";
|
|
1584
1410
|
})(EnumTelemetryPdfActivity = WsEvents.EnumTelemetryPdfActivity || (WsEvents.EnumTelemetryPdfActivity = {}));
|
|
1585
|
-
function IWsEventTelemetryPdfData() { }
|
|
1586
|
-
WsEvents.IWsEventTelemetryPdfData = IWsEventTelemetryPdfData;
|
|
1587
|
-
if (false) {
|
|
1588
|
-
IWsEventTelemetryPdfData.prototype.activityType;
|
|
1589
|
-
IWsEventTelemetryPdfData.prototype.currentPage;
|
|
1590
|
-
IWsEventTelemetryPdfData.prototype.totalPage;
|
|
1591
|
-
IWsEventTelemetryPdfData.prototype.activityStartedAt;
|
|
1592
|
-
IWsEventTelemetryPdfData.prototype.object;
|
|
1593
|
-
}
|
|
1594
|
-
function IWsEventTelemetrySurveyData() { }
|
|
1595
|
-
WsEvents.IWsEventTelemetrySurveyData = IWsEventTelemetrySurveyData;
|
|
1596
|
-
if (false) {
|
|
1597
|
-
IWsEventTelemetrySurveyData.prototype.object;
|
|
1598
|
-
}
|
|
1599
|
-
function IWsEventTelemetryInteract() { }
|
|
1600
|
-
WsEvents.IWsEventTelemetryInteract = IWsEventTelemetryInteract;
|
|
1601
|
-
if (false) {
|
|
1602
|
-
IWsEventTelemetryInteract.prototype.edata;
|
|
1603
|
-
IWsEventTelemetryInteract.prototype.object;
|
|
1604
|
-
IWsEventTelemetryInteract.prototype.pageContext;
|
|
1605
|
-
}
|
|
1606
|
-
function IWsEventTelemetryFeedback() { }
|
|
1607
|
-
WsEvents.IWsEventTelemetryFeedback = IWsEventTelemetryFeedback;
|
|
1608
|
-
if (false) {
|
|
1609
|
-
IWsEventTelemetryFeedback.prototype.edata;
|
|
1610
|
-
IWsEventTelemetryFeedback.prototype.object;
|
|
1611
|
-
IWsEventTelemetryFeedback.prototype.pageContext;
|
|
1612
|
-
}
|
|
1613
|
-
function IWsEventTelemetryImpression() { }
|
|
1614
|
-
WsEvents.IWsEventTelemetryImpression = IWsEventTelemetryImpression;
|
|
1615
|
-
if (false) {
|
|
1616
|
-
IWsEventTelemetryImpression.prototype.edata;
|
|
1617
|
-
IWsEventTelemetryImpression.prototype.object;
|
|
1618
|
-
IWsEventTelemetryImpression.prototype.pageContext;
|
|
1619
|
-
}
|
|
1620
|
-
function IWsEventTelemetrySearch() { }
|
|
1621
|
-
WsEvents.IWsEventTelemetrySearch = IWsEventTelemetrySearch;
|
|
1622
|
-
if (false) {
|
|
1623
|
-
IWsEventTelemetrySearch.prototype.type;
|
|
1624
|
-
IWsEventTelemetrySearch.prototype.subType;
|
|
1625
|
-
IWsEventTelemetrySearch.prototype.query;
|
|
1626
|
-
IWsEventTelemetrySearch.prototype.filters;
|
|
1627
|
-
IWsEventTelemetrySearch.prototype.size;
|
|
1628
|
-
IWsEventTelemetrySearch.prototype.locale;
|
|
1629
|
-
}
|
|
1630
|
-
function IWsEventTelemetryHeartBeat() { }
|
|
1631
|
-
WsEvents.IWsEventTelemetryHeartBeat = IWsEventTelemetryHeartBeat;
|
|
1632
|
-
if (false) {
|
|
1633
|
-
IWsEventTelemetryHeartBeat.prototype.type;
|
|
1634
|
-
IWsEventTelemetryHeartBeat.prototype.id;
|
|
1635
|
-
}
|
|
1636
1411
|
let EnumTelemetryMediaActivity;
|
|
1637
1412
|
(function (EnumTelemetryMediaActivity) {
|
|
1638
1413
|
EnumTelemetryMediaActivity["PLAYED"] = "PLAYED";
|
|
@@ -1657,16 +1432,6 @@ var WsEvents;
|
|
|
1657
1432
|
EnumTelemetryMediaState["BUFFERING"] = "BUFFERING";
|
|
1658
1433
|
EnumTelemetryMediaState["NOT_STARTED"] = "NOT_STARTED";
|
|
1659
1434
|
})(EnumTelemetryMediaState = WsEvents.EnumTelemetryMediaState || (WsEvents.EnumTelemetryMediaState = {}));
|
|
1660
|
-
function IWsEventTelemetryMediaData() { }
|
|
1661
|
-
WsEvents.IWsEventTelemetryMediaData = IWsEventTelemetryMediaData;
|
|
1662
|
-
if (false) {
|
|
1663
|
-
IWsEventTelemetryMediaData.prototype.currentState;
|
|
1664
|
-
IWsEventTelemetryMediaData.prototype.activityType;
|
|
1665
|
-
IWsEventTelemetryMediaData.prototype.currentTime;
|
|
1666
|
-
IWsEventTelemetryMediaData.prototype.totalTime;
|
|
1667
|
-
IWsEventTelemetryMediaData.prototype.maxedSeekedTime;
|
|
1668
|
-
IWsEventTelemetryMediaData.prototype.activityStartedAt;
|
|
1669
|
-
}
|
|
1670
1435
|
let EnumTelemetrymodules;
|
|
1671
1436
|
(function (EnumTelemetrymodules) {
|
|
1672
1437
|
EnumTelemetrymodules["CONTENT"] = "content";
|
|
@@ -1725,17 +1490,7 @@ var WsEvents;
|
|
|
1725
1490
|
})(EnumInteractSubTypes = WsEvents.EnumInteractSubTypes || (WsEvents.EnumInteractSubTypes = {}));
|
|
1726
1491
|
})(WsEvents || (WsEvents = {}));
|
|
1727
1492
|
|
|
1728
|
-
function IWindowMobileAppModified() { }
|
|
1729
|
-
if (false) {
|
|
1730
|
-
IWindowMobileAppModified.prototype.appRef;
|
|
1731
|
-
IWindowMobileAppModified.prototype.webkit;
|
|
1732
|
-
}
|
|
1733
1493
|
const RANDOM_ID_PER_USER = 0;
|
|
1734
|
-
function IRecursiveData() { }
|
|
1735
|
-
if (false) {
|
|
1736
|
-
IRecursiveData.prototype.identifier;
|
|
1737
|
-
IRecursiveData.prototype.children;
|
|
1738
|
-
}
|
|
1739
1494
|
class UtilityService {
|
|
1740
1495
|
constructor(http, platform, router, route) {
|
|
1741
1496
|
this.http = http;
|
|
@@ -1743,13 +1498,13 @@ class UtilityService {
|
|
|
1743
1498
|
this.router = router;
|
|
1744
1499
|
this.route = route;
|
|
1745
1500
|
this.currentRouteData = [];
|
|
1746
|
-
this.router.events.subscribe((
|
|
1501
|
+
this.router.events.subscribe((event) => {
|
|
1747
1502
|
if (event instanceof NavigationEnd) {
|
|
1748
1503
|
const snapshot = this.route.snapshot;
|
|
1749
1504
|
const firstChild = snapshot.root.firstChild;
|
|
1750
1505
|
this.getChildRouteData(snapshot, firstChild);
|
|
1751
1506
|
}
|
|
1752
|
-
})
|
|
1507
|
+
});
|
|
1753
1508
|
}
|
|
1754
1509
|
getChildRouteData(snapshot, firstChild) {
|
|
1755
1510
|
if (firstChild) {
|
|
@@ -1773,9 +1528,9 @@ class UtilityService {
|
|
|
1773
1528
|
}
|
|
1774
1529
|
else {
|
|
1775
1530
|
if (node.children) {
|
|
1776
|
-
node.children.forEach(
|
|
1531
|
+
node.children.forEach(child => {
|
|
1777
1532
|
this.getLeafNodes(child, nodes);
|
|
1778
|
-
})
|
|
1533
|
+
});
|
|
1779
1534
|
}
|
|
1780
1535
|
}
|
|
1781
1536
|
return nodes;
|
|
@@ -1794,7 +1549,7 @@ class UtilityService {
|
|
|
1794
1549
|
return true;
|
|
1795
1550
|
}
|
|
1796
1551
|
const children = node.children || [];
|
|
1797
|
-
if (children.some(
|
|
1552
|
+
if (children.some(u => this.hasPath(u, pathArr, id))) {
|
|
1798
1553
|
return true;
|
|
1799
1554
|
}
|
|
1800
1555
|
pathArr.pop();
|
|
@@ -1831,17 +1586,24 @@ class UtilityService {
|
|
|
1831
1586
|
module: '',
|
|
1832
1587
|
pageId: '',
|
|
1833
1588
|
};
|
|
1834
|
-
this.currentRouteData.map((
|
|
1589
|
+
this.currentRouteData.map((rd) => {
|
|
1835
1590
|
if (rd.pageId) {
|
|
1836
1591
|
data.pageId = `${data.pageId}/${rd.pageId}`;
|
|
1837
1592
|
}
|
|
1838
1593
|
if (rd.module) {
|
|
1839
1594
|
data.module = rd.module;
|
|
1840
1595
|
}
|
|
1841
|
-
})
|
|
1596
|
+
});
|
|
1842
1597
|
return data;
|
|
1843
1598
|
}
|
|
1844
1599
|
}
|
|
1600
|
+
UtilityService.ctorParameters = () => [
|
|
1601
|
+
{ type: HttpClient },
|
|
1602
|
+
{ type: Platform },
|
|
1603
|
+
{ type: Router },
|
|
1604
|
+
{ type: ActivatedRoute }
|
|
1605
|
+
];
|
|
1606
|
+
UtilityService.ɵprov = ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(ɵɵinject(HttpClient), ɵɵinject(Platform), ɵɵinject(Router), ɵɵinject(ActivatedRoute)); }, token: UtilityService, providedIn: "root" });
|
|
1845
1607
|
UtilityService.decorators = [
|
|
1846
1608
|
{ type: Injectable, args: [{
|
|
1847
1609
|
providedIn: 'root',
|
|
@@ -1853,20 +1615,13 @@ UtilityService.ctorParameters = () => [
|
|
|
1853
1615
|
{ type: Router },
|
|
1854
1616
|
{ type: ActivatedRoute }
|
|
1855
1617
|
];
|
|
1856
|
-
/** @nocollapse */ UtilityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(ɵɵinject(HttpClient), ɵɵinject(Platform), ɵɵinject(Router), ɵɵinject(ActivatedRoute)); }, token: UtilityService, providedIn: "root" });
|
|
1857
|
-
if (false) {
|
|
1858
|
-
UtilityService.prototype.currentRouteData;
|
|
1859
|
-
UtilityService.prototype.http;
|
|
1860
|
-
UtilityService.prototype.platform;
|
|
1861
|
-
UtilityService.prototype.router;
|
|
1862
|
-
UtilityService.prototype.route;
|
|
1863
|
-
}
|
|
1864
1618
|
|
|
1865
1619
|
class EventService {
|
|
1866
1620
|
constructor(environment, utilitySvc) {
|
|
1867
1621
|
this.utilitySvc = utilitySvc;
|
|
1868
1622
|
this.todaysEvents = [];
|
|
1869
1623
|
this.todaysLiveEvents = [];
|
|
1624
|
+
this.keySpeakerEvents = [];
|
|
1870
1625
|
this.eventsSubject = new Subject();
|
|
1871
1626
|
this.events$ = this.eventsSubject.asObservable();
|
|
1872
1627
|
this.eventsChatbotSubject = new Subject();
|
|
@@ -1998,29 +1753,30 @@ class EventService {
|
|
|
1998
1753
|
return `${date} ${hour}${min}`;
|
|
1999
1754
|
}
|
|
2000
1755
|
sortItemByTime(eventsdata) {
|
|
2001
|
-
return eventsdata.sort((
|
|
1756
|
+
return eventsdata.sort((a, b) => {
|
|
2002
1757
|
const firstDate = new Date(a.eventDate);
|
|
2003
1758
|
const secondDate = new Date(b.eventDate);
|
|
2004
1759
|
return secondDate > firstDate ? 1 : -1;
|
|
2005
|
-
})
|
|
1760
|
+
});
|
|
2006
1761
|
}
|
|
2007
1762
|
sortItemByTimeAsc(eventsdata) {
|
|
2008
|
-
return eventsdata.sort((
|
|
1763
|
+
return eventsdata.sort((a, b) => {
|
|
2009
1764
|
const firstDate = new Date(a.eventDate);
|
|
2010
1765
|
const secondDate = new Date(b.eventDate);
|
|
2011
1766
|
return secondDate < firstDate ? 1 : -1;
|
|
2012
|
-
})
|
|
1767
|
+
});
|
|
2013
1768
|
}
|
|
2014
1769
|
setEventListData(eventObj) {
|
|
2015
1770
|
if (eventObj !== undefined) {
|
|
2016
1771
|
this.todaysEvents = [];
|
|
2017
1772
|
this.todaysLiveEvents = [];
|
|
1773
|
+
this.keySpeakerEvents = [];
|
|
2018
1774
|
const data = eventObj;
|
|
2019
1775
|
let isEventLive = false;
|
|
2020
1776
|
let isEventRecording = false;
|
|
2021
1777
|
let isEventPast = false;
|
|
2022
1778
|
let isEventFuture = false;
|
|
2023
|
-
Object.keys(data).forEach((
|
|
1779
|
+
Object.keys(data).forEach((index) => {
|
|
2024
1780
|
isEventRecording = false;
|
|
2025
1781
|
isEventLive = false;
|
|
2026
1782
|
isEventPast = false;
|
|
@@ -2096,8 +1852,10 @@ class EventService {
|
|
|
2096
1852
|
if (isToday && isEventLive) {
|
|
2097
1853
|
this.todaysLiveEvents.push(eventDataObj);
|
|
2098
1854
|
}
|
|
2099
|
-
|
|
1855
|
+
this.keySpeakerEvents.push(eventDataObj);
|
|
1856
|
+
});
|
|
2100
1857
|
this.todaysLiveEvents = this.sortItemByTime(this.todaysLiveEvents);
|
|
1858
|
+
this.keySpeakerEvents = this.getKeySpeakerEvents(this.keySpeakerEvents);
|
|
2101
1859
|
this.todaysEvents = this.getTodaysEvents(this.todaysEvents);
|
|
2102
1860
|
}
|
|
2103
1861
|
}
|
|
@@ -2106,15 +1864,33 @@ class EventService {
|
|
|
2106
1864
|
let pastEvents = [];
|
|
2107
1865
|
let futureEvents = [];
|
|
2108
1866
|
liveEvents = this.todaysLiveEvents;
|
|
2109
|
-
pastEvents = eventData.filter((
|
|
2110
|
-
futureEvents = eventData.filter((
|
|
1867
|
+
pastEvents = eventData.filter((pastEvent) => pastEvent.isEventPast);
|
|
1868
|
+
futureEvents = eventData.filter((futureEvent) => futureEvent.isEventFuture);
|
|
2111
1869
|
liveEvents = this.sortItemByTimeAsc(liveEvents);
|
|
2112
1870
|
futureEvents = this.sortItemByTimeAsc(futureEvents);
|
|
2113
1871
|
pastEvents = this.sortItemByTime(pastEvents);
|
|
2114
1872
|
this.todaysEvents = [...liveEvents, ...futureEvents, ...pastEvents];
|
|
2115
1873
|
return this.todaysEvents;
|
|
2116
1874
|
}
|
|
1875
|
+
getKeySpeakerEvents(eventData) {
|
|
1876
|
+
let liveEvents = [];
|
|
1877
|
+
let pastEvents = [];
|
|
1878
|
+
let futureEvents = [];
|
|
1879
|
+
liveEvents = this.todaysLiveEvents;
|
|
1880
|
+
pastEvents = eventData.filter((pastEvent) => pastEvent.isEventPast);
|
|
1881
|
+
futureEvents = eventData.filter((futureEvent) => futureEvent.isEventFuture);
|
|
1882
|
+
liveEvents = this.sortItemByTimeAsc(liveEvents);
|
|
1883
|
+
futureEvents = this.sortItemByTimeAsc(futureEvents);
|
|
1884
|
+
pastEvents = this.sortItemByTime(pastEvents);
|
|
1885
|
+
this.keySpeakerEvents = [...liveEvents, ...futureEvents, ...pastEvents];
|
|
1886
|
+
return this.keySpeakerEvents;
|
|
1887
|
+
}
|
|
2117
1888
|
}
|
|
1889
|
+
EventService.ctorParameters = () => [
|
|
1890
|
+
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] },
|
|
1891
|
+
{ type: UtilityService }
|
|
1892
|
+
];
|
|
1893
|
+
EventService.ɵprov = ɵɵdefineInjectable({ factory: function EventService_Factory() { return new EventService(ɵɵinject("environment"), ɵɵinject(UtilityService)); }, token: EventService, providedIn: "root" });
|
|
2118
1894
|
EventService.decorators = [
|
|
2119
1895
|
{ type: Injectable, args: [{
|
|
2120
1896
|
providedIn: 'root',
|
|
@@ -2124,21 +1900,6 @@ EventService.ctorParameters = () => [
|
|
|
2124
1900
|
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] },
|
|
2125
1901
|
{ type: UtilityService }
|
|
2126
1902
|
];
|
|
2127
|
-
/** @nocollapse */ EventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function EventService_Factory() { return new EventService(ɵɵinject("environment"), ɵɵinject(UtilityService)); }, token: EventService, providedIn: "root" });
|
|
2128
|
-
if (false) {
|
|
2129
|
-
EventService.prototype.todaysEvents;
|
|
2130
|
-
EventService.prototype.todaysLiveEvents;
|
|
2131
|
-
EventService.prototype.eventsSubject;
|
|
2132
|
-
EventService.prototype.events$;
|
|
2133
|
-
EventService.prototype.eventsChatbotSubject;
|
|
2134
|
-
EventService.prototype.chatbotEvents$;
|
|
2135
|
-
EventService.prototype.eventsGetStartSubject;
|
|
2136
|
-
EventService.prototype.getStartEvents$;
|
|
2137
|
-
EventService.prototype.eventsPRSubject;
|
|
2138
|
-
EventService.prototype.getPREvents$;
|
|
2139
|
-
EventService.prototype.environment;
|
|
2140
|
-
EventService.prototype.utilitySvc;
|
|
2141
|
-
}
|
|
2142
1903
|
|
|
2143
1904
|
class HorizontalScrollerV2Component {
|
|
2144
1905
|
constructor(eventService) {
|
|
@@ -2165,20 +1926,20 @@ class HorizontalScrollerV2Component {
|
|
|
2165
1926
|
const horizontalScrollElem = this.horizontalScrollElem;
|
|
2166
1927
|
this.scrollObserver = fromEvent(horizontalScrollElem.nativeElement, 'scroll')
|
|
2167
1928
|
.pipe(debounceTime(100), throttleTime(100))
|
|
2168
|
-
.subscribe(
|
|
2169
|
-
this.updateNavigationBtnStatus(
|
|
2170
|
-
.nativeElement)
|
|
2171
|
-
})
|
|
1929
|
+
.subscribe(_ => {
|
|
1930
|
+
this.updateNavigationBtnStatus(horizontalScrollElem
|
|
1931
|
+
.nativeElement);
|
|
1932
|
+
});
|
|
2172
1933
|
this.getBottomDotsArray();
|
|
2173
1934
|
}
|
|
2174
1935
|
}
|
|
2175
1936
|
ngOnChanges() {
|
|
2176
|
-
timer(100).subscribe((
|
|
1937
|
+
timer(100).subscribe(() => {
|
|
2177
1938
|
if (this.horizontalScrollElem) {
|
|
2178
|
-
this.updateNavigationBtnStatus(
|
|
2179
|
-
.nativeElement)
|
|
1939
|
+
this.updateNavigationBtnStatus(this.horizontalScrollElem
|
|
1940
|
+
.nativeElement);
|
|
2180
1941
|
}
|
|
2181
|
-
})
|
|
1942
|
+
});
|
|
2182
1943
|
this.getBottomDotsArray();
|
|
2183
1944
|
}
|
|
2184
1945
|
ngOnDestroy() {
|
|
@@ -2279,22 +2040,25 @@ class HorizontalScrollerV2Component {
|
|
|
2279
2040
|
}
|
|
2280
2041
|
}
|
|
2281
2042
|
else {
|
|
2282
|
-
setTimeout((
|
|
2043
|
+
setTimeout(() => {
|
|
2283
2044
|
arrLength = document.getElementsByClassName(this.cardSubType).length;
|
|
2284
2045
|
for (let i = 0; i < arrLength; i += 1) {
|
|
2285
2046
|
this.bottomDotsArray.push(i);
|
|
2286
2047
|
}
|
|
2287
|
-
}
|
|
2048
|
+
}, 1000);
|
|
2288
2049
|
}
|
|
2289
2050
|
}
|
|
2290
2051
|
}
|
|
2291
2052
|
}
|
|
2053
|
+
HorizontalScrollerV2Component.ctorParameters = () => [
|
|
2054
|
+
{ type: EventService }
|
|
2055
|
+
];
|
|
2292
2056
|
HorizontalScrollerV2Component.decorators = [
|
|
2293
2057
|
{ type: Component, args: [{
|
|
2294
2058
|
selector: 'ws-utils-horizontal-scroller-v2',
|
|
2295
2059
|
template: "<section class=\"horizontal-scroll-container h-full\" [ngClass]=\"{'px-4': sliderConfig.showNavs, 'mt-5':sliderConfig.cerificateCardMargin}\">\n <ng-container *ngIf=\"sliderConfig?.showNavs\">\n <button i18n-aria-label aria-label=\"back\" name=\"content-backward-button\" mat-mini-fab color=\"\" \n (click)=\"showPrev()\" class=\"prevBtn mat-elevation-z\" [hidden]=\"!enablePrev\"\n [ngClass]=\"{'prevBtnHover': onHover}\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </ng-container>\n <div name=\"horizontal-scroll-content-strip\" class=\"horizontal-scroll-content\" #horizontalScrollElem>\n <ng-content></ng-content>\n </div>\n <ng-container *ngIf=\"sliderConfig?.showNavs\">\n <button i18n-aria-label aria-label=\"next\" name=\"content-forward-button\" mat-mini-fab (click)=\"showNext()\"\n color=\"\" class=\"nextBtn mat-elevation-z\" [ngClass]=\"{'nextBtnHover': onHover}\"\n [hidden]=\"!enableNext || loadStatus === 'fetching'\">\n <mat-icon>navigate_next</mat-icon>\n </button>\n </ng-container>\n <!-- <div class=\"nextLoading\" *ngIf=\"loadStatus === 'fetching'\">\n <mat-spinner></mat-spinner>\n </div> --> \n</section>\n\n<div class=\"dots-container\" *ngIf=\"sliderConfig?.showDots\">\n <!-- <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" -->\n <span class=\"dot\" [ngClass]=\"{ active: j === activeNav }\" *ngFor=\"let slide of bottomDotsArray; let j = index\" (click)=\"slideTo(j)\"></span>\n</div>",
|
|
2296
2060
|
styles: [".horizontal-scroll-container{position:relative;width:100%;width:inherit}@media only screen and (max-width:599px){.horizontal-scroll-container{padding:0}}.nextBtn,.nextLoading,.prevBtn{position:absolute;top:50%;transform:translateY(-50%);z-index:999;height:32px!important;width:32px!important;display:flex;align-items:center;justify-content:center}.nextBtn,.prevBtn{border-radius:50%;background-color:#1b2133!important;color:#fff!important}.border-radius-xs{border-radius:8px!important}.prevBtn{left:0}.nextBtn{right:0}.nextLoading{padding:0;right:0}.horizontal-scroll-content{overflow-y:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;height:100%;flex-wrap:nowrap;display:flex;align-items:stretch;-ms-overflow-style:none;scrollbar-width:none}.horizontal-scroll-content::-webkit-scrollbar{width:0;height:0}.dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.dots-container .dot{cursor:pointer;height:6px;width:6px;margin:0 4px;background-color:rgba(0,0,0,.4);border-radius:50%;display:inline-block;transition:background-color .5s!important}.dots-container .dot.active{border-radius:4px;background-color:#f3962f;width:16px}@media screen and (max-width:768px){.nextBtn{right:-16px}.prevBtn{left:-16px}}"]
|
|
2297
|
-
}] }
|
|
2061
|
+
},] }
|
|
2298
2062
|
];
|
|
2299
2063
|
HorizontalScrollerV2Component.ctorParameters = () => [
|
|
2300
2064
|
{ type: EventService }
|
|
@@ -2311,25 +2075,6 @@ HorizontalScrollerV2Component.propDecorators = {
|
|
|
2311
2075
|
subtype: [{ type: Input }],
|
|
2312
2076
|
horizontalScrollElem: [{ type: ViewChild, args: ['horizontalScrollElem', { static: true },] }]
|
|
2313
2077
|
};
|
|
2314
|
-
if (false) {
|
|
2315
|
-
HorizontalScrollerV2Component.prototype.loadStatus;
|
|
2316
|
-
HorizontalScrollerV2Component.prototype.onHover;
|
|
2317
|
-
HorizontalScrollerV2Component.prototype.sliderConfig;
|
|
2318
|
-
HorizontalScrollerV2Component.prototype.loadNext;
|
|
2319
|
-
HorizontalScrollerV2Component.prototype.widgetsLength;
|
|
2320
|
-
HorizontalScrollerV2Component.prototype.defaultMaxWidgets;
|
|
2321
|
-
HorizontalScrollerV2Component.prototype.stripConfig;
|
|
2322
|
-
HorizontalScrollerV2Component.prototype.stripsResultDataMap;
|
|
2323
|
-
HorizontalScrollerV2Component.prototype.subtype;
|
|
2324
|
-
HorizontalScrollerV2Component.prototype.horizontalScrollElem;
|
|
2325
|
-
HorizontalScrollerV2Component.prototype.enablePrev;
|
|
2326
|
-
HorizontalScrollerV2Component.prototype.enableNext;
|
|
2327
|
-
HorizontalScrollerV2Component.prototype.activeNav;
|
|
2328
|
-
HorizontalScrollerV2Component.prototype.cardSubType;
|
|
2329
|
-
HorizontalScrollerV2Component.prototype.bottomDotsArray;
|
|
2330
|
-
HorizontalScrollerV2Component.prototype.scrollObserver;
|
|
2331
|
-
HorizontalScrollerV2Component.prototype.eventService;
|
|
2332
|
-
}
|
|
2333
2078
|
|
|
2334
2079
|
class HorizontalScrollerV2Module {
|
|
2335
2080
|
}
|
|
@@ -2353,7 +2098,7 @@ class LoggerService {
|
|
|
2353
2098
|
this.consoleInfo = console.info;
|
|
2354
2099
|
this.consoleLog = console.log;
|
|
2355
2100
|
this.consoleWarn = console.warn;
|
|
2356
|
-
this.noConsole = (
|
|
2101
|
+
this.noConsole = () => { };
|
|
2357
2102
|
}
|
|
2358
2103
|
get error() {
|
|
2359
2104
|
return this.consoleError;
|
|
@@ -2371,14 +2116,18 @@ class LoggerService {
|
|
|
2371
2116
|
if (this.configSvc.isProduction) {
|
|
2372
2117
|
return;
|
|
2373
2118
|
}
|
|
2374
|
-
const noConsoleWithError = (
|
|
2119
|
+
const noConsoleWithError = () => {
|
|
2375
2120
|
throw new Error('Console Functions Usage Are Not Allowed.');
|
|
2376
|
-
}
|
|
2121
|
+
};
|
|
2377
2122
|
console.warn = noConsoleWithError;
|
|
2378
2123
|
console.info = noConsoleWithError;
|
|
2379
2124
|
console.error = noConsoleWithError;
|
|
2380
2125
|
}
|
|
2381
2126
|
}
|
|
2127
|
+
LoggerService.ctorParameters = () => [
|
|
2128
|
+
{ type: ConfigurationsService }
|
|
2129
|
+
];
|
|
2130
|
+
LoggerService.ɵprov = ɵɵdefineInjectable({ factory: function LoggerService_Factory() { return new LoggerService(ɵɵinject(ConfigurationsService)); }, token: LoggerService, providedIn: "root" });
|
|
2382
2131
|
LoggerService.decorators = [
|
|
2383
2132
|
{ type: Injectable, args: [{
|
|
2384
2133
|
providedIn: 'root',
|
|
@@ -2387,16 +2136,16 @@ LoggerService.decorators = [
|
|
|
2387
2136
|
LoggerService.ctorParameters = () => [
|
|
2388
2137
|
{ type: ConfigurationsService }
|
|
2389
2138
|
];
|
|
2390
|
-
/** @nocollapse */ LoggerService.ngInjectableDef = ɵɵdefineInjectable({ factory: function LoggerService_Factory() { return new LoggerService(ɵɵinject(ConfigurationsService)); }, token: LoggerService, providedIn: "root" });
|
|
2391
|
-
if (false) {
|
|
2392
|
-
LoggerService.prototype.consoleError;
|
|
2393
|
-
LoggerService.prototype.consoleInfo;
|
|
2394
|
-
LoggerService.prototype.consoleLog;
|
|
2395
|
-
LoggerService.prototype.consoleWarn;
|
|
2396
|
-
LoggerService.prototype.noConsole;
|
|
2397
|
-
LoggerService.prototype.configSvc;
|
|
2398
|
-
}
|
|
2399
2139
|
|
|
2140
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2141
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
2142
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
2143
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
2144
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
2145
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
2146
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
2147
|
+
});
|
|
2148
|
+
};
|
|
2400
2149
|
const msTokenExpiryDuration = 600;
|
|
2401
2150
|
const storageKey = 'msLoginRequested';
|
|
2402
2151
|
const storage = localStorage;
|
|
@@ -2534,7 +2283,7 @@ class AuthMicrosoftService {
|
|
|
2534
2283
|
}
|
|
2535
2284
|
}
|
|
2536
2285
|
isValidEmail(email) {
|
|
2537
|
-
return this.msConfig.validEmailExtensions.some(
|
|
2286
|
+
return this.msConfig.validEmailExtensions.some(ext => email.endsWith(ext));
|
|
2538
2287
|
}
|
|
2539
2288
|
isValid(accessToken, expiresOn) {
|
|
2540
2289
|
if (accessToken && expiresOn) {
|
|
@@ -2567,6 +2316,11 @@ class AuthMicrosoftService {
|
|
|
2567
2316
|
};
|
|
2568
2317
|
}
|
|
2569
2318
|
}
|
|
2319
|
+
AuthMicrosoftService.ctorParameters = () => [
|
|
2320
|
+
{ type: LoggerService },
|
|
2321
|
+
{ type: HttpClient }
|
|
2322
|
+
];
|
|
2323
|
+
AuthMicrosoftService.ɵprov = ɵɵdefineInjectable({ factory: function AuthMicrosoftService_Factory() { return new AuthMicrosoftService(ɵɵinject(LoggerService), ɵɵinject(HttpClient)); }, token: AuthMicrosoftService, providedIn: "root" });
|
|
2570
2324
|
AuthMicrosoftService.decorators = [
|
|
2571
2325
|
{ type: Injectable, args: [{
|
|
2572
2326
|
providedIn: 'root',
|
|
@@ -2576,23 +2330,16 @@ AuthMicrosoftService.ctorParameters = () => [
|
|
|
2576
2330
|
{ type: LoggerService },
|
|
2577
2331
|
{ type: HttpClient }
|
|
2578
2332
|
];
|
|
2579
|
-
/** @nocollapse */ AuthMicrosoftService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthMicrosoftService_Factory() { return new AuthMicrosoftService(ɵɵinject(LoggerService), ɵɵinject(HttpClient)); }, token: AuthMicrosoftService, providedIn: "root" });
|
|
2580
|
-
if (false) {
|
|
2581
|
-
AuthMicrosoftService.prototype.msConfig;
|
|
2582
|
-
AuthMicrosoftService.prototype.emailUsed;
|
|
2583
|
-
AuthMicrosoftService.prototype.code;
|
|
2584
|
-
AuthMicrosoftService.prototype.msToken;
|
|
2585
|
-
AuthMicrosoftService.prototype.loggerSvc;
|
|
2586
|
-
AuthMicrosoftService.prototype.http;
|
|
2587
|
-
}
|
|
2588
2333
|
|
|
2589
|
-
function
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2334
|
+
var __awaiter$1 = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2335
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
2336
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
2337
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
2338
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
2339
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
2340
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
2341
|
+
});
|
|
2342
|
+
};
|
|
2596
2343
|
const storage$1 = localStorage;
|
|
2597
2344
|
const storageKey$1 = 'kc';
|
|
2598
2345
|
class AuthKeycloakService {
|
|
@@ -2602,7 +2349,7 @@ class AuthKeycloakService {
|
|
|
2602
2349
|
this.keycloakSvc = keycloakSvc;
|
|
2603
2350
|
this.msAuthSvc = msAuthSvc;
|
|
2604
2351
|
this.loginChangeSubject = new ReplaySubject(1);
|
|
2605
|
-
this.loginChangeSubject.subscribe((
|
|
2352
|
+
this.loginChangeSubject.subscribe((isLoggedIn) => {
|
|
2606
2353
|
this.configSvc.isAuthenticated = isLoggedIn;
|
|
2607
2354
|
if (isLoggedIn &&
|
|
2608
2355
|
this.configSvc.instanceConfig &&
|
|
@@ -2613,7 +2360,7 @@ class AuthKeycloakService {
|
|
|
2613
2360
|
userId: this.userId || '',
|
|
2614
2361
|
};
|
|
2615
2362
|
}
|
|
2616
|
-
})
|
|
2363
|
+
});
|
|
2617
2364
|
}
|
|
2618
2365
|
get isLoggedIn$() {
|
|
2619
2366
|
return this.loginChangeSubject.asObservable();
|
|
@@ -2639,8 +2386,8 @@ class AuthKeycloakService {
|
|
|
2639
2386
|
}
|
|
2640
2387
|
get userEmail() {
|
|
2641
2388
|
const kc = this.keycloakSvc.getKeycloakInstance();
|
|
2642
|
-
const tokenParsed =
|
|
2643
|
-
const idTokenParsed =
|
|
2389
|
+
const tokenParsed = kc.tokenParsed;
|
|
2390
|
+
const idTokenParsed = kc.idTokenParsed;
|
|
2644
2391
|
return ((tokenParsed && tokenParsed.email) ||
|
|
2645
2392
|
(idTokenParsed && idTokenParsed.email) ||
|
|
2646
2393
|
(idTokenParsed && idTokenParsed.encEmail) ||
|
|
@@ -2649,11 +2396,11 @@ class AuthKeycloakService {
|
|
|
2649
2396
|
}
|
|
2650
2397
|
get userName() {
|
|
2651
2398
|
const kc = this.keycloakSvc.getKeycloakInstance();
|
|
2652
|
-
return ((kc.tokenParsed &&
|
|
2653
|
-
(kc.idTokenParsed &&
|
|
2399
|
+
return ((kc.tokenParsed && kc.tokenParsed.name) ||
|
|
2400
|
+
(kc.idTokenParsed && kc.idTokenParsed.name));
|
|
2654
2401
|
}
|
|
2655
2402
|
initAuth() {
|
|
2656
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2403
|
+
return __awaiter$1(this, void 0, void 0, function* () {
|
|
2657
2404
|
if (!this.configSvc.instanceConfig) {
|
|
2658
2405
|
return false;
|
|
2659
2406
|
}
|
|
@@ -2670,7 +2417,7 @@ class AuthKeycloakService {
|
|
|
2670
2417
|
realm: instanceConfig.keycloak.realm,
|
|
2671
2418
|
clientId: instanceConfig.keycloak.clientId,
|
|
2672
2419
|
},
|
|
2673
|
-
initOptions: Object.assign({}, this.getSavedKcConfig(), { onLoad: instanceConfig.keycloak.onLoad || 'check-sso', checkLoginIframe: false }),
|
|
2420
|
+
initOptions: Object.assign(Object.assign({}, this.getSavedKcConfig()), { onLoad: instanceConfig.keycloak.onLoad || 'check-sso', checkLoginIframe: false }),
|
|
2674
2421
|
enableBearerInterceptor: true,
|
|
2675
2422
|
loadUserProfileAtStartUp: false,
|
|
2676
2423
|
bearerExcludedUrls: instanceConfig.keycloak.bearerExcludedUrls,
|
|
@@ -2700,7 +2447,7 @@ class AuthKeycloakService {
|
|
|
2700
2447
|
});
|
|
2701
2448
|
}
|
|
2702
2449
|
logout(redirectUrl = this.defaultRedirectUrl) {
|
|
2703
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2450
|
+
return __awaiter$1(this, void 0, void 0, function* () {
|
|
2704
2451
|
if (storage$1.getItem('telemetrySessionId')) {
|
|
2705
2452
|
storage$1.removeItem('telemetrySessionId');
|
|
2706
2453
|
}
|
|
@@ -2715,7 +2462,7 @@ class AuthKeycloakService {
|
|
|
2715
2462
|
});
|
|
2716
2463
|
}
|
|
2717
2464
|
force_logout() {
|
|
2718
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2465
|
+
return __awaiter$1(this, void 0, void 0, function* () {
|
|
2719
2466
|
if (storage$1.getItem('telemetrySessionId')) {
|
|
2720
2467
|
storage$1.removeItem('telemetrySessionId');
|
|
2721
2468
|
}
|
|
@@ -2736,7 +2483,7 @@ class AuthKeycloakService {
|
|
|
2736
2483
|
});
|
|
2737
2484
|
}
|
|
2738
2485
|
addKeycloakEventListener() {
|
|
2739
|
-
this.keycloakSvc.keycloakEvents$.subscribe((
|
|
2486
|
+
this.keycloakSvc.keycloakEvents$.subscribe((event) => {
|
|
2740
2487
|
switch (event.type) {
|
|
2741
2488
|
case KeycloakEventType.OnAuthError:
|
|
2742
2489
|
this.loginChangeSubject.next(false);
|
|
@@ -2761,16 +2508,16 @@ class AuthKeycloakService {
|
|
|
2761
2508
|
this.keycloakSvc.updateToken(60);
|
|
2762
2509
|
break;
|
|
2763
2510
|
}
|
|
2764
|
-
})
|
|
2511
|
+
});
|
|
2765
2512
|
}
|
|
2766
2513
|
setupGlobalAuthResponder() {
|
|
2767
2514
|
fromEvent(window, 'message')
|
|
2768
|
-
.pipe(filter((
|
|
2515
|
+
.pipe(filter((event) => Boolean(event) &&
|
|
2769
2516
|
Boolean(event.data) &&
|
|
2770
2517
|
event.data.type === 'AUTH_REQUEST' &&
|
|
2771
|
-
Boolean(event.source && typeof event.source.postMessage === 'function')))
|
|
2772
|
-
.subscribe((
|
|
2773
|
-
const contentWindow =
|
|
2518
|
+
Boolean(event.source && typeof event.source.postMessage === 'function')))
|
|
2519
|
+
.subscribe((event) => __awaiter$1(this, void 0, void 0, function* () {
|
|
2520
|
+
const contentWindow = event.source;
|
|
2774
2521
|
const token = yield this.keycloakSvc.getToken();
|
|
2775
2522
|
const response = {
|
|
2776
2523
|
app: 'WEB_PORTAL',
|
|
@@ -2783,7 +2530,7 @@ class AuthKeycloakService {
|
|
|
2783
2530
|
},
|
|
2784
2531
|
};
|
|
2785
2532
|
contentWindow.postMessage(response, '*');
|
|
2786
|
-
}))
|
|
2533
|
+
}));
|
|
2787
2534
|
}
|
|
2788
2535
|
saveKeycloakConfig() {
|
|
2789
2536
|
const kc = this.keycloakSvc.getKeycloakInstance();
|
|
@@ -2821,6 +2568,13 @@ class AuthKeycloakService {
|
|
|
2821
2568
|
}
|
|
2822
2569
|
}
|
|
2823
2570
|
}
|
|
2571
|
+
AuthKeycloakService.ctorParameters = () => [
|
|
2572
|
+
{ type: HttpClient },
|
|
2573
|
+
{ type: ConfigurationsService },
|
|
2574
|
+
{ type: KeycloakService },
|
|
2575
|
+
{ type: AuthMicrosoftService }
|
|
2576
|
+
];
|
|
2577
|
+
AuthKeycloakService.ɵprov = ɵɵdefineInjectable({ factory: function AuthKeycloakService_Factory() { return new AuthKeycloakService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService), ɵɵinject(KeycloakService), ɵɵinject(AuthMicrosoftService)); }, token: AuthKeycloakService, providedIn: "root" });
|
|
2824
2578
|
AuthKeycloakService.decorators = [
|
|
2825
2579
|
{ type: Injectable, args: [{
|
|
2826
2580
|
providedIn: 'root',
|
|
@@ -2832,14 +2586,6 @@ AuthKeycloakService.ctorParameters = () => [
|
|
|
2832
2586
|
{ type: KeycloakService },
|
|
2833
2587
|
{ type: AuthMicrosoftService }
|
|
2834
2588
|
];
|
|
2835
|
-
/** @nocollapse */ AuthKeycloakService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthKeycloakService_Factory() { return new AuthKeycloakService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService), ɵɵinject(KeycloakService), ɵɵinject(AuthMicrosoftService)); }, token: AuthKeycloakService, providedIn: "root" });
|
|
2836
|
-
if (false) {
|
|
2837
|
-
AuthKeycloakService.prototype.loginChangeSubject;
|
|
2838
|
-
AuthKeycloakService.prototype.http;
|
|
2839
|
-
AuthKeycloakService.prototype.configSvc;
|
|
2840
|
-
AuthKeycloakService.prototype.keycloakSvc;
|
|
2841
|
-
AuthKeycloakService.prototype.msAuthSvc;
|
|
2842
|
-
}
|
|
2843
2589
|
|
|
2844
2590
|
class LogoutComponent {
|
|
2845
2591
|
constructor(dialogRef, authSvc, configSvc, utilitySvc, translate) {
|
|
@@ -2853,7 +2599,7 @@ class LogoutComponent {
|
|
|
2853
2599
|
this.isDownloadableAndroid = false;
|
|
2854
2600
|
if (localStorage.getItem('websiteLanguage')) {
|
|
2855
2601
|
this.translate.setDefaultLang('en');
|
|
2856
|
-
const lang = localStorage.getItem('websiteLanguage') ||
|
|
2602
|
+
const lang = localStorage.getItem('websiteLanguage') || null;
|
|
2857
2603
|
this.translate.use(lang);
|
|
2858
2604
|
}
|
|
2859
2605
|
}
|
|
@@ -2900,30 +2646,27 @@ class LogoutComponent {
|
|
|
2900
2646
|
return false;
|
|
2901
2647
|
}
|
|
2902
2648
|
}
|
|
2649
|
+
LogoutComponent.ctorParameters = () => [
|
|
2650
|
+
{ type: MatDialogRef },
|
|
2651
|
+
{ type: AuthKeycloakService },
|
|
2652
|
+
{ type: ConfigurationsService },
|
|
2653
|
+
{ type: UtilityService },
|
|
2654
|
+
{ type: TranslateService }
|
|
2655
|
+
];
|
|
2903
2656
|
LogoutComponent.decorators = [
|
|
2904
2657
|
{ type: Component, args: [{
|
|
2905
2658
|
selector: 'ws-utils-logout',
|
|
2906
2659
|
template: "<h1 mat-dialog-title i18n>{{'utilslogout.logoutNow' | translate}}</h1>\r\n<div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n {{'utilslogout.logoutNote' | translate}}\r\n</div>\r\n<div mat-dialog-content class=\"text-base hide-overflow\" i18n>\r\n {{'utilslogout.logoutConfirm' | translate}}\r\n</div>\r\n<div mat-dialog-actions class=\"flex-row-reverse\">\r\n <button mat-flat-button color=\"warn\" [disabled]=\"disabled\" (click)=\"confirmed()\" i18n>\r\n {{'utilslogout.logoutYes' | translate}}\r\n </button>\r\n <button mat-button class=\"margin-right-xs\" mat-dialog-close cdkFocusInitial i18n>\r\n {{'utilslogout.logoutNo' | translate}}\r\n </button>\r\n</div>\r\n",
|
|
2907
2660
|
styles: [".hide-overflow{overflow:hidden}"]
|
|
2908
|
-
}] }
|
|
2661
|
+
},] }
|
|
2909
2662
|
];
|
|
2910
2663
|
LogoutComponent.ctorParameters = () => [
|
|
2911
|
-
{ type: MatDialogRef
|
|
2664
|
+
{ type: MatDialogRef },
|
|
2912
2665
|
{ type: AuthKeycloakService },
|
|
2913
2666
|
{ type: ConfigurationsService },
|
|
2914
2667
|
{ type: UtilityService },
|
|
2915
2668
|
{ type: TranslateService }
|
|
2916
2669
|
];
|
|
2917
|
-
if (false) {
|
|
2918
|
-
LogoutComponent.prototype.disabled;
|
|
2919
|
-
LogoutComponent.prototype.isDownloadableIos;
|
|
2920
|
-
LogoutComponent.prototype.isDownloadableAndroid;
|
|
2921
|
-
LogoutComponent.prototype.dialogRef;
|
|
2922
|
-
LogoutComponent.prototype.authSvc;
|
|
2923
|
-
LogoutComponent.prototype.configSvc;
|
|
2924
|
-
LogoutComponent.prototype.utilitySvc;
|
|
2925
|
-
LogoutComponent.prototype.translate;
|
|
2926
|
-
}
|
|
2927
2670
|
|
|
2928
2671
|
class LogoutModule {
|
|
2929
2672
|
}
|
|
@@ -2940,12 +2683,6 @@ LogoutModule.decorators = [
|
|
|
2940
2683
|
},] }
|
|
2941
2684
|
];
|
|
2942
2685
|
|
|
2943
|
-
function IDateRange() { }
|
|
2944
|
-
if (false) {
|
|
2945
|
-
IDateRange.prototype.fromDate;
|
|
2946
|
-
IDateRange.prototype.toDate;
|
|
2947
|
-
IDateRange.prototype.timeZone;
|
|
2948
|
-
}
|
|
2949
2686
|
class PipeConciseDateRangePipe {
|
|
2950
2687
|
transform(dateRange) {
|
|
2951
2688
|
try {
|
|
@@ -3052,13 +2789,6 @@ PipeCountTransformModule.decorators = [
|
|
|
3052
2789
|
},] }
|
|
3053
2790
|
];
|
|
3054
2791
|
|
|
3055
|
-
function ICertificationDate() { }
|
|
3056
|
-
if (false) {
|
|
3057
|
-
ICertificationDate.prototype.day;
|
|
3058
|
-
ICertificationDate.prototype.month;
|
|
3059
|
-
ICertificationDate.prototype.year;
|
|
3060
|
-
ICertificationDate.prototype.timeZone;
|
|
3061
|
-
}
|
|
3062
2792
|
class PipeDateConcatPipe {
|
|
3063
2793
|
constructor() {
|
|
3064
2794
|
this.months = [
|
|
@@ -3090,9 +2820,6 @@ PipeDateConcatPipe.decorators = [
|
|
|
3090
2820
|
},] }
|
|
3091
2821
|
];
|
|
3092
2822
|
PipeDateConcatPipe.ctorParameters = () => [];
|
|
3093
|
-
if (false) {
|
|
3094
|
-
PipeDateConcatPipe.prototype.months;
|
|
3095
|
-
}
|
|
3096
2823
|
|
|
3097
2824
|
class PipeDateConcatModule {
|
|
3098
2825
|
}
|
|
@@ -3226,8 +2953,8 @@ class PipeFilterPipe {
|
|
|
3226
2953
|
if (!term) {
|
|
3227
2954
|
return value;
|
|
3228
2955
|
}
|
|
3229
|
-
return (value || []).filter((
|
|
3230
|
-
.some(
|
|
2956
|
+
return (value || []).filter((item) => keys.split(',')
|
|
2957
|
+
.some(key => item.hasOwnProperty(key) && new RegExp(`^${term}$`, 'gi').test(item[key])));
|
|
3231
2958
|
}
|
|
3232
2959
|
}
|
|
3233
2960
|
PipeFilterPipe.decorators = [
|
|
@@ -3308,9 +3035,9 @@ class PipeFilterV2Pipe {
|
|
|
3308
3035
|
return items;
|
|
3309
3036
|
}
|
|
3310
3037
|
const searchTextLowerCase = searchText.toLowerCase();
|
|
3311
|
-
return items.filter(
|
|
3038
|
+
return items.filter(it => {
|
|
3312
3039
|
return `${it[key]} `.toLowerCase().includes(searchTextLowerCase);
|
|
3313
|
-
})
|
|
3040
|
+
});
|
|
3314
3041
|
}
|
|
3315
3042
|
}
|
|
3316
3043
|
PipeFilterV2Pipe.decorators = [
|
|
@@ -3336,13 +3063,13 @@ class PipeFilterV3Pipe {
|
|
|
3336
3063
|
if (filter && Array.isArray(items)) {
|
|
3337
3064
|
const filterKeys = Object.keys(filter);
|
|
3338
3065
|
if (isAnd) {
|
|
3339
|
-
return items.filter(
|
|
3066
|
+
return items.filter(item => filterKeys.reduce((memo, keyName) => (memo && new RegExp(filter[keyName], 'gi').test(item[keyName])) || filter[keyName] === '', true));
|
|
3340
3067
|
}
|
|
3341
|
-
return items.filter(
|
|
3342
|
-
return filterKeys.some(
|
|
3068
|
+
return items.filter(item => {
|
|
3069
|
+
return filterKeys.some(keyName => {
|
|
3343
3070
|
return new RegExp(filter[keyName], 'gi').test(item[keyName]) || filter[keyName] === '';
|
|
3344
|
-
})
|
|
3345
|
-
})
|
|
3071
|
+
});
|
|
3072
|
+
});
|
|
3346
3073
|
}
|
|
3347
3074
|
return items;
|
|
3348
3075
|
}
|
|
@@ -3375,7 +3102,7 @@ class PipeFilterSearchPipe {
|
|
|
3375
3102
|
}
|
|
3376
3103
|
const searchTextLowerCase = searchText.toLowerCase();
|
|
3377
3104
|
if (keys && keys.length) {
|
|
3378
|
-
const result = items.filter(
|
|
3105
|
+
const result = items.filter(it => {
|
|
3379
3106
|
if (it.profileDetails) {
|
|
3380
3107
|
return it['profileDetails']['personalDetails'][keys[0]].toLowerCase().includes(searchTextLowerCase);
|
|
3381
3108
|
}
|
|
@@ -3385,15 +3112,15 @@ class PipeFilterSearchPipe {
|
|
|
3385
3112
|
if (it.fullName) {
|
|
3386
3113
|
return it.fullName.toLowerCase().includes(searchTextLowerCase);
|
|
3387
3114
|
}
|
|
3388
|
-
})
|
|
3115
|
+
});
|
|
3389
3116
|
if (result && result.length <= 0) {
|
|
3390
3117
|
return [-1];
|
|
3391
3118
|
}
|
|
3392
3119
|
return result;
|
|
3393
3120
|
}
|
|
3394
|
-
return items.filter(
|
|
3121
|
+
return items.filter(it => {
|
|
3395
3122
|
return it.title.toLowerCase().includes(searchTextLowerCase);
|
|
3396
|
-
})
|
|
3123
|
+
});
|
|
3397
3124
|
}
|
|
3398
3125
|
}
|
|
3399
3126
|
PipeFilterSearchPipe.decorators = [
|
|
@@ -3419,9 +3146,9 @@ class PipeListFilterPipe {
|
|
|
3419
3146
|
if (!term) {
|
|
3420
3147
|
return value;
|
|
3421
3148
|
}
|
|
3422
|
-
return (value || []).filter((
|
|
3423
|
-
.some(
|
|
3424
|
-
&& item[key] && (`${item[key]} `).toLocaleLowerCase().includes(term.toLocaleLowerCase())))
|
|
3149
|
+
return (value || []).filter((item) => keys.split(',')
|
|
3150
|
+
.some(key => item.hasOwnProperty(key)
|
|
3151
|
+
&& item[key] && (`${item[key]} `).toLocaleLowerCase().includes(term.toLocaleLowerCase())));
|
|
3425
3152
|
}
|
|
3426
3153
|
}
|
|
3427
3154
|
PipeListFilterPipe.decorators = [
|
|
@@ -3478,9 +3205,6 @@ OrderByPipe.decorators = [
|
|
|
3478
3205
|
name: 'orderBy',
|
|
3479
3206
|
},] }
|
|
3480
3207
|
];
|
|
3481
|
-
if (false) {
|
|
3482
|
-
OrderByPipe.prototype.transform;
|
|
3483
|
-
}
|
|
3484
3208
|
|
|
3485
3209
|
class PipeOrderByModule {
|
|
3486
3210
|
}
|
|
@@ -3530,11 +3254,6 @@ PipeLimitToModule.decorators = [
|
|
|
3530
3254
|
},] }
|
|
3531
3255
|
];
|
|
3532
3256
|
|
|
3533
|
-
function IUserName() { }
|
|
3534
|
-
if (false) {
|
|
3535
|
-
IUserName.prototype.firstName;
|
|
3536
|
-
IUserName.prototype.email;
|
|
3537
|
-
}
|
|
3538
3257
|
class PipeNameTransformPipe {
|
|
3539
3258
|
transform(value) {
|
|
3540
3259
|
let result = '';
|
|
@@ -3618,6 +3337,9 @@ class PipeSafeSanitizerPipe {
|
|
|
3618
3337
|
}
|
|
3619
3338
|
}
|
|
3620
3339
|
}
|
|
3340
|
+
PipeSafeSanitizerPipe.ctorParameters = () => [
|
|
3341
|
+
{ type: DomSanitizer }
|
|
3342
|
+
];
|
|
3621
3343
|
PipeSafeSanitizerPipe.decorators = [
|
|
3622
3344
|
{ type: Pipe, args: [{
|
|
3623
3345
|
name: 'pipeSafeSanitizer',
|
|
@@ -3626,9 +3348,6 @@ PipeSafeSanitizerPipe.decorators = [
|
|
|
3626
3348
|
PipeSafeSanitizerPipe.ctorParameters = () => [
|
|
3627
3349
|
{ type: DomSanitizer }
|
|
3628
3350
|
];
|
|
3629
|
-
if (false) {
|
|
3630
|
-
PipeSafeSanitizerPipe.prototype.sanitizer;
|
|
3631
|
-
}
|
|
3632
3351
|
|
|
3633
3352
|
class PipeSafeSanitizerModule {
|
|
3634
3353
|
}
|
|
@@ -3655,6 +3374,9 @@ class PipePublicURL {
|
|
|
3655
3374
|
return value;
|
|
3656
3375
|
}
|
|
3657
3376
|
}
|
|
3377
|
+
PipePublicURL.ctorParameters = () => [
|
|
3378
|
+
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] }
|
|
3379
|
+
];
|
|
3658
3380
|
PipePublicURL.decorators = [
|
|
3659
3381
|
{ type: Pipe, args: [{
|
|
3660
3382
|
name: 'pipePublicURL',
|
|
@@ -3663,9 +3385,6 @@ PipePublicURL.decorators = [
|
|
|
3663
3385
|
PipePublicURL.ctorParameters = () => [
|
|
3664
3386
|
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] }
|
|
3665
3387
|
];
|
|
3666
|
-
if (false) {
|
|
3667
|
-
PipePublicURL.prototype.environment;
|
|
3668
|
-
}
|
|
3669
3388
|
|
|
3670
3389
|
class PipePublicURLModule {
|
|
3671
3390
|
}
|
|
@@ -3782,6 +3501,9 @@ class PipeCertificateImageURL {
|
|
|
3782
3501
|
}
|
|
3783
3502
|
}
|
|
3784
3503
|
}
|
|
3504
|
+
PipeCertificateImageURL.ctorParameters = () => [
|
|
3505
|
+
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] }
|
|
3506
|
+
];
|
|
3785
3507
|
PipeCertificateImageURL.decorators = [
|
|
3786
3508
|
{ type: Pipe, args: [{
|
|
3787
3509
|
name: 'pipeCertImageURL',
|
|
@@ -3790,9 +3512,6 @@ PipeCertificateImageURL.decorators = [
|
|
|
3790
3512
|
PipeCertificateImageURL.ctorParameters = () => [
|
|
3791
3513
|
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] }
|
|
3792
3514
|
];
|
|
3793
|
-
if (false) {
|
|
3794
|
-
PipeCertificateImageURL.prototype.environment;
|
|
3795
|
-
}
|
|
3796
3515
|
|
|
3797
3516
|
class PipeCertificateImageURLModule {
|
|
3798
3517
|
}
|
|
@@ -3832,6 +3551,9 @@ class PipeNicRelativePipe {
|
|
|
3832
3551
|
return newUrl;
|
|
3833
3552
|
}
|
|
3834
3553
|
}
|
|
3554
|
+
PipeNicRelativePipe.ctorParameters = () => [
|
|
3555
|
+
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] }
|
|
3556
|
+
];
|
|
3835
3557
|
PipeNicRelativePipe.decorators = [
|
|
3836
3558
|
{ type: Pipe, args: [{
|
|
3837
3559
|
name: 'PipeNicRelative',
|
|
@@ -3840,9 +3562,6 @@ PipeNicRelativePipe.decorators = [
|
|
|
3840
3562
|
PipeNicRelativePipe.ctorParameters = () => [
|
|
3841
3563
|
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] }
|
|
3842
3564
|
];
|
|
3843
|
-
if (false) {
|
|
3844
|
-
PipeNicRelativePipe.prototype.environment;
|
|
3845
|
-
}
|
|
3846
3565
|
|
|
3847
3566
|
class PipeNicRelativeModule {
|
|
3848
3567
|
}
|
|
@@ -3898,48 +3617,54 @@ class ExploreDetailResolve {
|
|
|
3898
3617
|
if (route.data.pageType === 'page' && route.data.pageKey) {
|
|
3899
3618
|
url = `${this.baseUrl}/page/${route.data.pageKey}.json`;
|
|
3900
3619
|
}
|
|
3901
|
-
return this.http.get(url).pipe(map(
|
|
3620
|
+
return this.http.get(url).pipe(map(pageData => ({ data: this.transformPageData(pageData, tag), error: null })), catchError(err => of({ data: null, error: err })));
|
|
3902
3621
|
}
|
|
3903
3622
|
transformPageData(pageData, tag) {
|
|
3904
3623
|
const DELIMITER = '>';
|
|
3905
3624
|
const path = tag.split(DELIMITER);
|
|
3906
|
-
pageData.pageLayout.widgetData.widgets = pageData.pageLayout.widgetData.widgets.map((
|
|
3625
|
+
pageData.pageLayout.widgetData.widgets = pageData.pageLayout.widgetData.widgets.map((widget) => {
|
|
3907
3626
|
if (pageData.navigationBar && pageData.navigationBar.links) {
|
|
3908
3627
|
pageData.navigationBar.links = pageData.navigationBar.links
|
|
3909
|
-
.filter((
|
|
3628
|
+
.filter((link) => link.widgetData.tags === tag);
|
|
3910
3629
|
}
|
|
3911
3630
|
if (widget.widgetSubType === 'cardBreadcrumb') {
|
|
3912
3631
|
widget.widgetData.path = [{
|
|
3913
3632
|
text: pageData.navigationBar.pageTitle,
|
|
3914
3633
|
clickUrl: pageData.navigationBar.pageBackLink,
|
|
3915
|
-
}].concat(path.map((
|
|
3634
|
+
}].concat(path.map((edge, idx) => ({
|
|
3916
3635
|
text: edge,
|
|
3917
3636
|
clickUrl: `/page/explore/${path.slice(0, idx + 1).join(DELIMITER)}`,
|
|
3918
|
-
})))
|
|
3637
|
+
})));
|
|
3919
3638
|
}
|
|
3920
3639
|
if (widget.widgetSubType === 'contentStripMultiple') {
|
|
3921
|
-
widget.widgetData.strips = widget.widgetData.strips.map((
|
|
3640
|
+
widget.widgetData.strips = widget.widgetData.strips.map((strip) => {
|
|
3922
3641
|
strip.request.searchV6.filters[0].andFilters.push({ catalogPaths: [tag] });
|
|
3923
3642
|
if (this.utilitySvc.isMobile && !this.isIntranetAllowedSettings) {
|
|
3924
3643
|
strip.request.searchV6.filters[0].andFilters.push({ isInIntranet: ['false'] });
|
|
3925
3644
|
}
|
|
3926
3645
|
return strip;
|
|
3927
|
-
})
|
|
3646
|
+
});
|
|
3928
3647
|
if (widget.widgetData.noDataWidget && widget.widgetData.noDataWidget.widgetData.strips) {
|
|
3929
|
-
widget.widgetData.noDataWidget.widgetData.strips = widget.widgetData.noDataWidget.widgetData.strips.map((
|
|
3648
|
+
widget.widgetData.noDataWidget.widgetData.strips = widget.widgetData.noDataWidget.widgetData.strips.map((strip) => {
|
|
3930
3649
|
strip.request.searchV6.filters[0].andFilters.push({ catalogPaths: [tag] });
|
|
3931
3650
|
if (this.utilitySvc.isMobile && !this.isIntranetAllowedSettings) {
|
|
3932
3651
|
strip.request.searchV6.filters[0].andFilters.push({ isInIntranet: ['false'] });
|
|
3933
3652
|
}
|
|
3934
3653
|
return strip;
|
|
3935
|
-
})
|
|
3654
|
+
});
|
|
3936
3655
|
}
|
|
3937
3656
|
}
|
|
3938
3657
|
return widget;
|
|
3939
|
-
})
|
|
3658
|
+
});
|
|
3940
3659
|
return pageData;
|
|
3941
3660
|
}
|
|
3942
3661
|
}
|
|
3662
|
+
ExploreDetailResolve.ctorParameters = () => [
|
|
3663
|
+
{ type: HttpClient },
|
|
3664
|
+
{ type: ConfigurationsService },
|
|
3665
|
+
{ type: UtilityService }
|
|
3666
|
+
];
|
|
3667
|
+
ExploreDetailResolve.ɵprov = ɵɵdefineInjectable({ factory: function ExploreDetailResolve_Factory() { return new ExploreDetailResolve(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService), ɵɵinject(UtilityService)); }, token: ExploreDetailResolve, providedIn: "root" });
|
|
3943
3668
|
ExploreDetailResolve.decorators = [
|
|
3944
3669
|
{ type: Injectable, args: [{
|
|
3945
3670
|
providedIn: 'root',
|
|
@@ -3950,14 +3675,6 @@ ExploreDetailResolve.ctorParameters = () => [
|
|
|
3950
3675
|
{ type: ConfigurationsService },
|
|
3951
3676
|
{ type: UtilityService }
|
|
3952
3677
|
];
|
|
3953
|
-
/** @nocollapse */ ExploreDetailResolve.ngInjectableDef = ɵɵdefineInjectable({ factory: function ExploreDetailResolve_Factory() { return new ExploreDetailResolve(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService), ɵɵinject(UtilityService)); }, token: ExploreDetailResolve, providedIn: "root" });
|
|
3954
|
-
if (false) {
|
|
3955
|
-
ExploreDetailResolve.prototype.baseUrl;
|
|
3956
|
-
ExploreDetailResolve.prototype.isIntranetAllowedSettings;
|
|
3957
|
-
ExploreDetailResolve.prototype.http;
|
|
3958
|
-
ExploreDetailResolve.prototype.configSvc;
|
|
3959
|
-
ExploreDetailResolve.prototype.utilitySvc;
|
|
3960
|
-
}
|
|
3961
3678
|
|
|
3962
3679
|
class MarketingOfferingResolve {
|
|
3963
3680
|
constructor(http) {
|
|
@@ -3965,21 +3682,25 @@ class MarketingOfferingResolve {
|
|
|
3965
3682
|
}
|
|
3966
3683
|
resolve(route, _state) {
|
|
3967
3684
|
const tag = route.params.tag;
|
|
3968
|
-
return this.http.get(route.data.pageUrl).pipe(map(
|
|
3685
|
+
return this.http.get(route.data.pageUrl).pipe(map(pageData => ({ data: this.transformPageData(pageData, tag), error: null })), catchError(err => of({ data: null, error: err })));
|
|
3969
3686
|
}
|
|
3970
3687
|
transformPageData(pageData, tag) {
|
|
3971
|
-
pageData.pageLayout.widgetData.widgets = pageData.pageLayout.widgetData.widgets.map((
|
|
3688
|
+
pageData.pageLayout.widgetData.widgets = pageData.pageLayout.widgetData.widgets.map((widget) => {
|
|
3972
3689
|
if (widget.widgetSubType === 'contentStripMultiple') {
|
|
3973
|
-
widget.widgetData.strips = widget.widgetData.strips.map((
|
|
3690
|
+
widget.widgetData.strips = widget.widgetData.strips.map((strip) => {
|
|
3974
3691
|
strip.request.search.filters.catalogPaths = [decodeURIComponent(tag)];
|
|
3975
3692
|
return strip;
|
|
3976
|
-
})
|
|
3693
|
+
});
|
|
3977
3694
|
}
|
|
3978
3695
|
return widget;
|
|
3979
|
-
})
|
|
3696
|
+
});
|
|
3980
3697
|
return pageData;
|
|
3981
3698
|
}
|
|
3982
3699
|
}
|
|
3700
|
+
MarketingOfferingResolve.ctorParameters = () => [
|
|
3701
|
+
{ type: HttpClient }
|
|
3702
|
+
];
|
|
3703
|
+
MarketingOfferingResolve.ɵprov = ɵɵdefineInjectable({ factory: function MarketingOfferingResolve_Factory() { return new MarketingOfferingResolve(ɵɵinject(HttpClient)); }, token: MarketingOfferingResolve, providedIn: "root" });
|
|
3983
3704
|
MarketingOfferingResolve.decorators = [
|
|
3984
3705
|
{ type: Injectable, args: [{
|
|
3985
3706
|
providedIn: 'root',
|
|
@@ -3988,58 +3709,6 @@ MarketingOfferingResolve.decorators = [
|
|
|
3988
3709
|
MarketingOfferingResolve.ctorParameters = () => [
|
|
3989
3710
|
{ type: HttpClient }
|
|
3990
3711
|
];
|
|
3991
|
-
/** @nocollapse */ MarketingOfferingResolve.ngInjectableDef = ɵɵdefineInjectable({ factory: function MarketingOfferingResolve_Factory() { return new MarketingOfferingResolve(ɵɵinject(HttpClient)); }, token: MarketingOfferingResolve, providedIn: "root" });
|
|
3992
|
-
if (false) {
|
|
3993
|
-
MarketingOfferingResolve.prototype.http;
|
|
3994
|
-
}
|
|
3995
|
-
|
|
3996
|
-
var NsPage;
|
|
3997
|
-
(function (NsPage) {
|
|
3998
|
-
function IPage() { }
|
|
3999
|
-
NsPage.IPage = IPage;
|
|
4000
|
-
if (false) {
|
|
4001
|
-
IPage.prototype.contentType;
|
|
4002
|
-
IPage.prototype.primaryCategory;
|
|
4003
|
-
IPage.prototype.navigationBar;
|
|
4004
|
-
IPage.prototype.pageLayout;
|
|
4005
|
-
IPage.prototype.tourGuide;
|
|
4006
|
-
}
|
|
4007
|
-
function INavBar() { }
|
|
4008
|
-
NsPage.INavBar = INavBar;
|
|
4009
|
-
if (false) {
|
|
4010
|
-
INavBar.prototype.links;
|
|
4011
|
-
INavBar.prototype.xsmallNonMenuLinks;
|
|
4012
|
-
INavBar.prototype.pageBackLink;
|
|
4013
|
-
INavBar.prototype.pageTitle;
|
|
4014
|
-
INavBar.prototype.background;
|
|
4015
|
-
}
|
|
4016
|
-
function INavBackground() { }
|
|
4017
|
-
NsPage.INavBackground = INavBackground;
|
|
4018
|
-
if (false) {
|
|
4019
|
-
INavBackground.prototype.color;
|
|
4020
|
-
INavBackground.prototype.styles;
|
|
4021
|
-
}
|
|
4022
|
-
function INavLink() { }
|
|
4023
|
-
NsPage.INavLink = INavLink;
|
|
4024
|
-
if (false) {
|
|
4025
|
-
INavLink.prototype.config;
|
|
4026
|
-
INavLink.prototype.actionBtnId;
|
|
4027
|
-
INavLink.prototype.actionBtn;
|
|
4028
|
-
INavLink.prototype.actionBtnName;
|
|
4029
|
-
}
|
|
4030
|
-
function INavLinkConfig() { }
|
|
4031
|
-
NsPage.INavLinkConfig = INavLinkConfig;
|
|
4032
|
-
if (false) {
|
|
4033
|
-
INavLinkConfig.prototype.type;
|
|
4034
|
-
INavLinkConfig.prototype.hideIcon;
|
|
4035
|
-
INavLinkConfig.prototype.hideTitle;
|
|
4036
|
-
INavLinkConfig.prototype.hideStatus;
|
|
4037
|
-
INavLinkConfig.prototype.hidePin;
|
|
4038
|
-
INavLinkConfig.prototype.iconColor;
|
|
4039
|
-
INavLinkConfig.prototype.treatAsCard;
|
|
4040
|
-
INavLinkConfig.prototype.useShortName;
|
|
4041
|
-
}
|
|
4042
|
-
})(NsPage || (NsPage = {}));
|
|
4043
3712
|
|
|
4044
3713
|
const JSON_MAP = {
|
|
4045
3714
|
pagename: 'lexid',
|
|
@@ -4082,32 +3751,38 @@ class PageResolve {
|
|
|
4082
3751
|
.post(`/apis/protected/v8/content/${id}?hierarchyType=minimal`, ['status', 'artifactUrl']);
|
|
4083
3752
|
}
|
|
4084
3753
|
getData(url) {
|
|
4085
|
-
const id =
|
|
3754
|
+
const id = url.split('/').pop().split('.')[0] || '';
|
|
4086
3755
|
const equivalentId = id.startsWith('lex_auth_') ? id : JSON_MAP[id];
|
|
4087
3756
|
if (equivalentId) {
|
|
4088
|
-
return forkJoin([this.setS3Cookie(equivalentId), this.getContent(equivalentId)]).pipe(mergeMap((
|
|
3757
|
+
return forkJoin([this.setS3Cookie(equivalentId), this.getContent(equivalentId)]).pipe(mergeMap(([_, v]) => {
|
|
4089
3758
|
if (v.status === 'Expired' || v.status === 'Deleted' || !v.artifactUrl) {
|
|
4090
3759
|
return of({ data: null, error: 'NoContent' });
|
|
4091
3760
|
}
|
|
4092
3761
|
return this.http
|
|
4093
3762
|
.get(`${v.artifactUrl}?ts=${new Date().getTime()}`)
|
|
4094
|
-
.pipe(map(
|
|
4095
|
-
})
|
|
3763
|
+
.pipe(map(data => ({ data, error: null })), catchError(err => of({ data: null, error: err })));
|
|
3764
|
+
}), catchError(err => of({ data: null, error: err })));
|
|
4096
3765
|
}
|
|
4097
3766
|
const pageRequest = [
|
|
4098
|
-
(equivalentId ? this.setS3Cookie(equivalentId) : of(true)).pipe(mergeMap((
|
|
3767
|
+
(equivalentId ? this.setS3Cookie(equivalentId) : of(true)).pipe(mergeMap(() => this.http.get(`${url}.json`).pipe(map(data => ({ data, error: null })), catchError(err => of({ data: null, error: err }))))),
|
|
4099
3768
|
this.locale === 'en' || this.locale === 'en-US' ?
|
|
4100
|
-
of({ data:
|
|
4101
|
-
this.http.get(`${url}.${this.locale}.json`).pipe(map(
|
|
3769
|
+
of({ data: undefined, error: null }) :
|
|
3770
|
+
this.http.get(`${url}.${this.locale}.json`).pipe(map(data => ({ data, error: null })), catchError(err => of({ data: null, error: err }))),
|
|
4102
3771
|
];
|
|
4103
|
-
return forkJoin(pageRequest).pipe(map((
|
|
3772
|
+
return forkJoin(pageRequest).pipe(map(([general, withLocale]) => {
|
|
4104
3773
|
if (withLocale.data) {
|
|
4105
3774
|
return withLocale;
|
|
4106
3775
|
}
|
|
4107
3776
|
return general;
|
|
4108
|
-
}))
|
|
3777
|
+
}));
|
|
4109
3778
|
}
|
|
4110
3779
|
}
|
|
3780
|
+
PageResolve.ctorParameters = () => [
|
|
3781
|
+
{ type: ConfigurationsService },
|
|
3782
|
+
{ type: HttpClient },
|
|
3783
|
+
{ type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
|
3784
|
+
];
|
|
3785
|
+
PageResolve.ɵprov = ɵɵdefineInjectable({ factory: function PageResolve_Factory() { return new PageResolve(ɵɵinject(ConfigurationsService), ɵɵinject(HttpClient), ɵɵinject(LOCALE_ID)); }, token: PageResolve, providedIn: "root" });
|
|
4111
3786
|
PageResolve.decorators = [
|
|
4112
3787
|
{ type: Injectable, args: [{
|
|
4113
3788
|
providedIn: 'root',
|
|
@@ -4118,13 +3793,6 @@ PageResolve.ctorParameters = () => [
|
|
|
4118
3793
|
{ type: HttpClient },
|
|
4119
3794
|
{ type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
|
4120
3795
|
];
|
|
4121
|
-
/** @nocollapse */ PageResolve.ngInjectableDef = ɵɵdefineInjectable({ factory: function PageResolve_Factory() { return new PageResolve(ɵɵinject(ConfigurationsService), ɵɵinject(HttpClient), ɵɵinject(LOCALE_ID)); }, token: PageResolve, providedIn: "root" });
|
|
4122
|
-
if (false) {
|
|
4123
|
-
PageResolve.prototype.baseUrl;
|
|
4124
|
-
PageResolve.prototype.configSvc;
|
|
4125
|
-
PageResolve.prototype.http;
|
|
4126
|
-
PageResolve.prototype.locale;
|
|
4127
|
-
}
|
|
4128
3796
|
|
|
4129
3797
|
class PageNameResolve {
|
|
4130
3798
|
constructor() { }
|
|
@@ -4148,13 +3816,13 @@ class PageNameResolve {
|
|
|
4148
3816
|
return 'common module';
|
|
4149
3817
|
}
|
|
4150
3818
|
}
|
|
3819
|
+
PageNameResolve.ɵprov = ɵɵdefineInjectable({ factory: function PageNameResolve_Factory() { return new PageNameResolve(); }, token: PageNameResolve, providedIn: "root" });
|
|
4151
3820
|
PageNameResolve.decorators = [
|
|
4152
3821
|
{ type: Injectable, args: [{
|
|
4153
3822
|
providedIn: 'root',
|
|
4154
3823
|
},] }
|
|
4155
3824
|
];
|
|
4156
3825
|
PageNameResolve.ctorParameters = () => [];
|
|
4157
|
-
/** @nocollapse */ PageNameResolve.ngInjectableDef = ɵɵdefineInjectable({ factory: function PageNameResolve_Factory() { return new PageNameResolve(); }, token: PageNameResolve, providedIn: "root" });
|
|
4158
3826
|
|
|
4159
3827
|
class ModuleNameResolve {
|
|
4160
3828
|
constructor() {
|
|
@@ -4181,698 +3849,16 @@ class ModuleNameResolve {
|
|
|
4181
3849
|
return 'common module';
|
|
4182
3850
|
}
|
|
4183
3851
|
}
|
|
3852
|
+
ModuleNameResolve.ɵprov = ɵɵdefineInjectable({ factory: function ModuleNameResolve_Factory() { return new ModuleNameResolve(); }, token: ModuleNameResolve, providedIn: "root" });
|
|
4184
3853
|
ModuleNameResolve.decorators = [
|
|
4185
3854
|
{ type: Injectable, args: [{
|
|
4186
3855
|
providedIn: 'root',
|
|
4187
3856
|
},] }
|
|
4188
3857
|
];
|
|
4189
3858
|
ModuleNameResolve.ctorParameters = () => [];
|
|
4190
|
-
/** @nocollapse */ ModuleNameResolve.ngInjectableDef = ɵɵdefineInjectable({ factory: function ModuleNameResolve_Factory() { return new ModuleNameResolve(); }, token: ModuleNameResolve, providedIn: "root" });
|
|
4191
|
-
if (false) {
|
|
4192
|
-
ModuleNameResolve.prototype.moduleName;
|
|
4193
|
-
}
|
|
4194
|
-
|
|
4195
|
-
function IResolveResponse() { }
|
|
4196
|
-
if (false) {
|
|
4197
|
-
IResolveResponse.prototype.data;
|
|
4198
|
-
IResolveResponse.prototype.error;
|
|
4199
|
-
}
|
|
4200
|
-
|
|
4201
|
-
var NsInstanceConfig;
|
|
4202
|
-
(function (NsInstanceConfig) {
|
|
4203
|
-
function IConfig() { }
|
|
4204
|
-
NsInstanceConfig.IConfig = IConfig;
|
|
4205
|
-
if (false) {
|
|
4206
|
-
IConfig.prototype.authoring;
|
|
4207
|
-
IConfig.prototype.appSetup;
|
|
4208
|
-
IConfig.prototype.chatBotUrl;
|
|
4209
|
-
IConfig.prototype.defaultFontsize;
|
|
4210
|
-
IConfig.prototype.defaultThemeClass;
|
|
4211
|
-
IConfig.prototype.defaultLocale;
|
|
4212
|
-
IConfig.prototype.disablePidCheck;
|
|
4213
|
-
IConfig.prototype.isMultilingualEnabled;
|
|
4214
|
-
IConfig.prototype.fontSizes;
|
|
4215
|
-
IConfig.prototype.isContentDownloadAvailable;
|
|
4216
|
-
IConfig.prototype.indexHtmlMeta;
|
|
4217
|
-
IConfig.prototype.keycloak;
|
|
4218
|
-
IConfig.prototype.locals;
|
|
4219
|
-
IConfig.prototype.microsoft;
|
|
4220
|
-
IConfig.prototype.telemetryConfig;
|
|
4221
|
-
IConfig.prototype.themes;
|
|
4222
|
-
IConfig.prototype.logos;
|
|
4223
|
-
IConfig.prototype.sources;
|
|
4224
|
-
IConfig.prototype.mailIds;
|
|
4225
|
-
IConfig.prototype.details;
|
|
4226
|
-
IConfig.prototype.validMailIdExtensionsForMailMe;
|
|
4227
|
-
IConfig.prototype.overrideThemeChanges;
|
|
4228
|
-
IConfig.prototype.defaultFeatureConfigs;
|
|
4229
|
-
IConfig.prototype.backgrounds;
|
|
4230
|
-
IConfig.prototype.featuredApps;
|
|
4231
|
-
IConfig.prototype.primaryNavBarConfig;
|
|
4232
|
-
IConfig.prototype.org;
|
|
4233
|
-
IConfig.prototype.rootOrg;
|
|
4234
|
-
IConfig.prototype.intranetIframeUrls;
|
|
4235
|
-
IConfig.prototype.showNavBarInSetup;
|
|
4236
|
-
IConfig.prototype.intranetUrlToCheck;
|
|
4237
|
-
IConfig.prototype.introVideo;
|
|
4238
|
-
IConfig.prototype.tourVideo;
|
|
4239
|
-
IConfig.prototype.isDownloadableSource;
|
|
4240
|
-
IConfig.prototype.isDownloadableIosResource;
|
|
4241
|
-
IConfig.prototype.isDownloadableAndroidResource;
|
|
4242
|
-
IConfig.prototype.sourceFieldsUserAutocomplete;
|
|
4243
|
-
IConfig.prototype.forgotPasswordConfig;
|
|
4244
|
-
IConfig.prototype.hubs;
|
|
4245
|
-
IConfig.prototype.courseContentPath;
|
|
4246
|
-
IConfig.prototype.portalUrls;
|
|
4247
|
-
IConfig.prototype.positions;
|
|
4248
|
-
IConfig.prototype.websitelanguages;
|
|
4249
|
-
IConfig.prototype.profileTimelyNudges;
|
|
4250
|
-
IConfig.prototype.npsCategory;
|
|
4251
|
-
IConfig.prototype.compentency;
|
|
4252
|
-
}
|
|
4253
|
-
function IPortalUrls() { }
|
|
4254
|
-
NsInstanceConfig.IPortalUrls = IPortalUrls;
|
|
4255
|
-
if (false) {
|
|
4256
|
-
IPortalUrls.prototype.igot;
|
|
4257
|
-
IPortalUrls.prototype.spv;
|
|
4258
|
-
IPortalUrls.prototype.mdo;
|
|
4259
|
-
IPortalUrls.prototype.cbc;
|
|
4260
|
-
IPortalUrls.prototype.cbp;
|
|
4261
|
-
IPortalUrls.prototype.frac;
|
|
4262
|
-
}
|
|
4263
|
-
function IForgotPassword() { }
|
|
4264
|
-
NsInstanceConfig.IForgotPassword = IForgotPassword;
|
|
4265
|
-
if (false) {
|
|
4266
|
-
IForgotPassword.prototype.local;
|
|
4267
|
-
IForgotPassword.prototype.enterprise;
|
|
4268
|
-
IForgotPassword.prototype.social;
|
|
4269
|
-
}
|
|
4270
|
-
function ISourceLogo() { }
|
|
4271
|
-
NsInstanceConfig.ISourceLogo = ISourceLogo;
|
|
4272
|
-
if (false) {
|
|
4273
|
-
ISourceLogo.prototype.sourceName;
|
|
4274
|
-
ISourceLogo.prototype.sourceId;
|
|
4275
|
-
ISourceLogo.prototype.logo;
|
|
4276
|
-
}
|
|
4277
|
-
function IPath() { }
|
|
4278
|
-
NsInstanceConfig.IPath = IPath;
|
|
4279
|
-
function IHubs() { }
|
|
4280
|
-
NsInstanceConfig.IHubs = IHubs;
|
|
4281
|
-
if (false) {
|
|
4282
|
-
IHubs.prototype.active;
|
|
4283
|
-
IHubs.prototype.desc;
|
|
4284
|
-
IHubs.prototype.hubname;
|
|
4285
|
-
IHubs.prototype.icon;
|
|
4286
|
-
IHubs.prototype.path;
|
|
4287
|
-
IHubs.prototype.order;
|
|
4288
|
-
}
|
|
4289
|
-
function IIndexHtmlMeta() { }
|
|
4290
|
-
NsInstanceConfig.IIndexHtmlMeta = IIndexHtmlMeta;
|
|
4291
|
-
if (false) {
|
|
4292
|
-
IIndexHtmlMeta.prototype.description;
|
|
4293
|
-
IIndexHtmlMeta.prototype.openSearchUrl;
|
|
4294
|
-
IIndexHtmlMeta.prototype.webmanifest;
|
|
4295
|
-
IIndexHtmlMeta.prototype.xIcon;
|
|
4296
|
-
IIndexHtmlMeta.prototype.pngIcon;
|
|
4297
|
-
}
|
|
4298
|
-
function IFontSize() { }
|
|
4299
|
-
NsInstanceConfig.IFontSize = IFontSize;
|
|
4300
|
-
if (false) {
|
|
4301
|
-
IFontSize.prototype.baseFontSize;
|
|
4302
|
-
IFontSize.prototype.fontClass;
|
|
4303
|
-
IFontSize.prototype.scale;
|
|
4304
|
-
}
|
|
4305
|
-
function IKeycloak() { }
|
|
4306
|
-
NsInstanceConfig.IKeycloak = IKeycloak;
|
|
4307
|
-
if (false) {
|
|
4308
|
-
IKeycloak.prototype.defaultidpHint;
|
|
4309
|
-
IKeycloak.prototype.isLoginHidden;
|
|
4310
|
-
IKeycloak.prototype.bearerExcludedUrls;
|
|
4311
|
-
IKeycloak.prototype.clientId;
|
|
4312
|
-
IKeycloak.prototype.key;
|
|
4313
|
-
IKeycloak.prototype.realm;
|
|
4314
|
-
IKeycloak.prototype.url;
|
|
4315
|
-
IKeycloak.prototype.changePasswordUrl;
|
|
4316
|
-
IKeycloak.prototype.onLoad;
|
|
4317
|
-
}
|
|
4318
|
-
function ILocalsConfig() { }
|
|
4319
|
-
NsInstanceConfig.ILocalsConfig = ILocalsConfig;
|
|
4320
|
-
if (false) {
|
|
4321
|
-
ILocalsConfig.prototype.isAvailable;
|
|
4322
|
-
ILocalsConfig.prototype.isEnabled;
|
|
4323
|
-
ILocalsConfig.prototype.locals;
|
|
4324
|
-
ILocalsConfig.prototype.path;
|
|
4325
|
-
ILocalsConfig.prototype.isRTL;
|
|
4326
|
-
}
|
|
4327
|
-
function IMicrosoft() { }
|
|
4328
|
-
NsInstanceConfig.IMicrosoft = IMicrosoft;
|
|
4329
|
-
if (false) {
|
|
4330
|
-
IMicrosoft.prototype.clientId;
|
|
4331
|
-
IMicrosoft.prototype.defaultEmailId;
|
|
4332
|
-
IMicrosoft.prototype.tenant;
|
|
4333
|
-
IMicrosoft.prototype.validEmailExtensions;
|
|
4334
|
-
IMicrosoft.prototype.isConfigured;
|
|
4335
|
-
}
|
|
4336
|
-
function ITheme() { }
|
|
4337
|
-
NsInstanceConfig.ITheme = ITheme;
|
|
4338
|
-
if (false) {
|
|
4339
|
-
ITheme.prototype.color;
|
|
4340
|
-
ITheme.prototype.themeFile;
|
|
4341
|
-
ITheme.prototype.themeClass;
|
|
4342
|
-
ITheme.prototype.themeName;
|
|
4343
|
-
}
|
|
4344
|
-
function IThemeColor() { }
|
|
4345
|
-
NsInstanceConfig.IThemeColor = IThemeColor;
|
|
4346
|
-
if (false) {
|
|
4347
|
-
IThemeColor.prototype.accent;
|
|
4348
|
-
IThemeColor.prototype.primary;
|
|
4349
|
-
IThemeColor.prototype.warn;
|
|
4350
|
-
}
|
|
4351
|
-
function IOverrideThemeChanges() { }
|
|
4352
|
-
NsInstanceConfig.IOverrideThemeChanges = IOverrideThemeChanges;
|
|
4353
|
-
if (false) {
|
|
4354
|
-
IOverrideThemeChanges.prototype.isEnabled;
|
|
4355
|
-
IOverrideThemeChanges.prototype.desktop;
|
|
4356
|
-
IOverrideThemeChanges.prototype.mWeb;
|
|
4357
|
-
}
|
|
4358
|
-
function IDesktop() { }
|
|
4359
|
-
NsInstanceConfig.IDesktop = IDesktop;
|
|
4360
|
-
if (false) {
|
|
4361
|
-
IDesktop.prototype.animationDuration;
|
|
4362
|
-
IDesktop.prototype.logoUrl;
|
|
4363
|
-
IDesktop.prototype.logoText;
|
|
4364
|
-
IDesktop.prototype.logoDisplayTime;
|
|
4365
|
-
IDesktop.prototype.backgroundTheme;
|
|
4366
|
-
}
|
|
4367
|
-
function IMWeb() { }
|
|
4368
|
-
NsInstanceConfig.IMWeb = IMWeb;
|
|
4369
|
-
if (false) {
|
|
4370
|
-
IMWeb.prototype.logoUrl;
|
|
4371
|
-
IMWeb.prototype.logoText;
|
|
4372
|
-
}
|
|
4373
|
-
function ILogos() { }
|
|
4374
|
-
NsInstanceConfig.ILogos = ILogos;
|
|
4375
|
-
if (false) {
|
|
4376
|
-
ILogos.prototype.app;
|
|
4377
|
-
ILogos.prototype.appTransparent;
|
|
4378
|
-
ILogos.prototype.appSecondary;
|
|
4379
|
-
ILogos.prototype.aboutFooter;
|
|
4380
|
-
ILogos.prototype.aboutHeader;
|
|
4381
|
-
ILogos.prototype.appBottomNav;
|
|
4382
|
-
ILogos.prototype.company;
|
|
4383
|
-
ILogos.prototype.developedBy;
|
|
4384
|
-
ILogos.prototype.poweredBy;
|
|
4385
|
-
ILogos.prototype.defaultContent;
|
|
4386
|
-
ILogos.prototype.defaultSourceLogo;
|
|
4387
|
-
ILogos.prototype.landingLogo;
|
|
4388
|
-
ILogos.prototype.navbarLogo;
|
|
4389
|
-
ILogos.prototype.playListLogo;
|
|
4390
|
-
ILogos.prototype.thumpsUp;
|
|
4391
|
-
}
|
|
4392
|
-
function IMailIds() { }
|
|
4393
|
-
NsInstanceConfig.IMailIds = IMailIds;
|
|
4394
|
-
if (false) {
|
|
4395
|
-
IMailIds.prototype.contactUs;
|
|
4396
|
-
IMailIds.prototype.default;
|
|
4397
|
-
IMailIds.prototype.support;
|
|
4398
|
-
}
|
|
4399
|
-
function IDetails() { }
|
|
4400
|
-
NsInstanceConfig.IDetails = IDetails;
|
|
4401
|
-
if (false) {
|
|
4402
|
-
IDetails.prototype.appName;
|
|
4403
|
-
}
|
|
4404
|
-
function IPrimaryNavbarConfig() { }
|
|
4405
|
-
NsInstanceConfig.IPrimaryNavbarConfig = IPrimaryNavbarConfig;
|
|
4406
|
-
if (false) {
|
|
4407
|
-
IPrimaryNavbarConfig.prototype.mediumScreen;
|
|
4408
|
-
IPrimaryNavbarConfig.prototype.smallScreen;
|
|
4409
|
-
}
|
|
4410
|
-
function IPrimaryNavBarScreen() { }
|
|
4411
|
-
if (false) {
|
|
4412
|
-
IPrimaryNavBarScreen.prototype.left;
|
|
4413
|
-
IPrimaryNavBarScreen.prototype.right;
|
|
4414
|
-
}
|
|
4415
|
-
function IPrimaryNavBarSide() { }
|
|
4416
|
-
if (false) {
|
|
4417
|
-
IPrimaryNavBarSide.prototype.type;
|
|
4418
|
-
IPrimaryNavBarSide.prototype.config;
|
|
4419
|
-
}
|
|
4420
|
-
function ITelemetryConfig() { }
|
|
4421
|
-
NsInstanceConfig.ITelemetryConfig = ITelemetryConfig;
|
|
4422
|
-
if (false) {
|
|
4423
|
-
ITelemetryConfig.prototype.pdata;
|
|
4424
|
-
ITelemetryConfig.prototype.object;
|
|
4425
|
-
ITelemetryConfig.prototype.uid;
|
|
4426
|
-
ITelemetryConfig.prototype.authtoken;
|
|
4427
|
-
ITelemetryConfig.prototype.env;
|
|
4428
|
-
ITelemetryConfig.prototype.channel;
|
|
4429
|
-
ITelemetryConfig.prototype.batchsize;
|
|
4430
|
-
ITelemetryConfig.prototype.host;
|
|
4431
|
-
ITelemetryConfig.prototype.endpoint;
|
|
4432
|
-
ITelemetryConfig.prototype.apislug;
|
|
4433
|
-
ITelemetryConfig.prototype.sid;
|
|
4434
|
-
ITelemetryConfig.prototype.publicEndpoint;
|
|
4435
|
-
ITelemetryConfig.prototype.protectedEndpoint;
|
|
4436
|
-
}
|
|
4437
|
-
})(NsInstanceConfig || (NsInstanceConfig = {}));
|
|
4438
|
-
var NsAppsConfig;
|
|
4439
|
-
(function (NsAppsConfig) {
|
|
4440
|
-
function IAppsConfig() { }
|
|
4441
|
-
NsAppsConfig.IAppsConfig = IAppsConfig;
|
|
4442
|
-
if (false) {
|
|
4443
|
-
IAppsConfig.prototype.groups;
|
|
4444
|
-
IAppsConfig.prototype.features;
|
|
4445
|
-
IAppsConfig.prototype.tourGuide;
|
|
4446
|
-
}
|
|
4447
|
-
function IGroup() { }
|
|
4448
|
-
NsAppsConfig.IGroup = IGroup;
|
|
4449
|
-
if (false) {
|
|
4450
|
-
IGroup.prototype.id;
|
|
4451
|
-
IGroup.prototype.iconType;
|
|
4452
|
-
IGroup.prototype.icon;
|
|
4453
|
-
IGroup.prototype.keywords;
|
|
4454
|
-
IGroup.prototype.name;
|
|
4455
|
-
IGroup.prototype.toolTip;
|
|
4456
|
-
IGroup.prototype.featureIds;
|
|
4457
|
-
IGroup.prototype.stripBackground;
|
|
4458
|
-
IGroup.prototype.hasRole;
|
|
4459
|
-
}
|
|
4460
|
-
function IFeature() { }
|
|
4461
|
-
NsAppsConfig.IFeature = IFeature;
|
|
4462
|
-
if (false) {
|
|
4463
|
-
IFeature.prototype.name;
|
|
4464
|
-
IFeature.prototype.id;
|
|
4465
|
-
IFeature.prototype.url;
|
|
4466
|
-
IFeature.prototype.permission;
|
|
4467
|
-
IFeature.prototype.iconType;
|
|
4468
|
-
IFeature.prototype.icon;
|
|
4469
|
-
IFeature.prototype.keywords;
|
|
4470
|
-
IFeature.prototype.toolTip;
|
|
4471
|
-
IFeature.prototype.accessKey;
|
|
4472
|
-
IFeature.prototype.status;
|
|
4473
|
-
IFeature.prototype.shortName;
|
|
4474
|
-
IFeature.prototype.description;
|
|
4475
|
-
IFeature.prototype.badgeEndpoint;
|
|
4476
|
-
IFeature.prototype.mobileAppFunction;
|
|
4477
|
-
IFeature.prototype.color;
|
|
4478
|
-
IFeature.prototype.target;
|
|
4479
|
-
}
|
|
4480
|
-
})(NsAppsConfig || (NsAppsConfig = {}));
|
|
4481
|
-
var NsUser;
|
|
4482
|
-
(function (NsUser) {
|
|
4483
|
-
function IUserProfile() { }
|
|
4484
|
-
NsUser.IUserProfile = IUserProfile;
|
|
4485
|
-
if (false) {
|
|
4486
|
-
IUserProfile.prototype.userId;
|
|
4487
|
-
IUserProfile.prototype.email;
|
|
4488
|
-
IUserProfile.prototype.departmentName;
|
|
4489
|
-
IUserProfile.prototype.userName;
|
|
4490
|
-
IUserProfile.prototype.firstName;
|
|
4491
|
-
IUserProfile.prototype.surName;
|
|
4492
|
-
IUserProfile.prototype.middleName;
|
|
4493
|
-
IUserProfile.prototype.lastName;
|
|
4494
|
-
IUserProfile.prototype.rootOrgId;
|
|
4495
|
-
IUserProfile.prototype.rootOrgName;
|
|
4496
|
-
IUserProfile.prototype.profileImage;
|
|
4497
|
-
IUserProfile.prototype.givenName;
|
|
4498
|
-
IUserProfile.prototype.country;
|
|
4499
|
-
IUserProfile.prototype.unit;
|
|
4500
|
-
IUserProfile.prototype.source_profile_picture;
|
|
4501
|
-
IUserProfile.prototype.dealerCode;
|
|
4502
|
-
IUserProfile.prototype.isManager;
|
|
4503
|
-
IUserProfile.prototype.competencies;
|
|
4504
|
-
IUserProfile.prototype.systemTopics;
|
|
4505
|
-
IUserProfile.prototype.desiredTopics;
|
|
4506
|
-
IUserProfile.prototype.desiredCompetencies;
|
|
4507
|
-
IUserProfile.prototype.userRoles;
|
|
4508
|
-
IUserProfile.prototype.profileUpdateCompletion;
|
|
4509
|
-
IUserProfile.prototype.profileImageUrl;
|
|
4510
|
-
IUserProfile.prototype.professionalDetails;
|
|
4511
|
-
IUserProfile.prototype.webPortalLang;
|
|
4512
|
-
IUserProfile.prototype.departmentImg;
|
|
4513
|
-
}
|
|
4514
|
-
function INodebbUserProfile() { }
|
|
4515
|
-
NsUser.INodebbUserProfile = INodebbUserProfile;
|
|
4516
|
-
if (false) {
|
|
4517
|
-
INodebbUserProfile.prototype.username;
|
|
4518
|
-
INodebbUserProfile.prototype.email;
|
|
4519
|
-
}
|
|
4520
|
-
function IUserPidProfile() { }
|
|
4521
|
-
NsUser.IUserPidProfile = IUserPidProfile;
|
|
4522
|
-
if (false) {
|
|
4523
|
-
IUserPidProfile.prototype.kid_updated;
|
|
4524
|
-
IUserPidProfile.prototype.user;
|
|
4525
|
-
}
|
|
4526
|
-
function IUserPidProfileV2() { }
|
|
4527
|
-
NsUser.IUserPidProfileV2 = IUserPidProfileV2;
|
|
4528
|
-
if (false) {
|
|
4529
|
-
IUserPidProfileV2.prototype.kid_updated;
|
|
4530
|
-
IUserPidProfileV2.prototype.result;
|
|
4531
|
-
}
|
|
4532
|
-
function IUserPidProfileVer2() { }
|
|
4533
|
-
NsUser.IUserPidProfileVer2 = IUserPidProfileVer2;
|
|
4534
|
-
if (false) {
|
|
4535
|
-
IUserPidProfileVer2.prototype.result;
|
|
4536
|
-
}
|
|
4537
|
-
function ISourceData() { }
|
|
4538
|
-
if (false) {
|
|
4539
|
-
ISourceData.prototype.GID;
|
|
4540
|
-
ISourceData.prototype.SNAMPRE;
|
|
4541
|
-
ISourceData.prototype.SNAMADD;
|
|
4542
|
-
ISourceData.prototype.LASTNAME;
|
|
4543
|
-
ISourceData.prototype.SN;
|
|
4544
|
-
ISourceData.prototype.GIVENNAME;
|
|
4545
|
-
ISourceData.prototype.NICKNAME;
|
|
4546
|
-
ISourceData.prototype.PREFERREDSN;
|
|
4547
|
-
ISourceData.prototype.PERSONALTITLE;
|
|
4548
|
-
ISourceData.prototype.MOBILE;
|
|
4549
|
-
ISourceData.prototype.MAIL;
|
|
4550
|
-
ISourceData.prototype.DEPARTMENTTEXT;
|
|
4551
|
-
ISourceData.prototype.COSTLOCATIONUNIT;
|
|
4552
|
-
ISourceData.prototype.COSTLOCATION;
|
|
4553
|
-
ISourceData.prototype.ORGID;
|
|
4554
|
-
ISourceData.prototype.MGMTRESP;
|
|
4555
|
-
ISourceData.prototype.UTC;
|
|
4556
|
-
ISourceData.prototype.CNAMEENG;
|
|
4557
|
-
ISourceData.prototype.LNAMEINT;
|
|
4558
|
-
ISourceData.prototype.USERTYPE;
|
|
4559
|
-
ISourceData.prototype.STATUS;
|
|
4560
|
-
ISourceData.prototype.CONTRACTSTATUS;
|
|
4561
|
-
}
|
|
4562
|
-
function IUser() { }
|
|
4563
|
-
if (false) {
|
|
4564
|
-
IUser.prototype.wid;
|
|
4565
|
-
IUser.prototype.root_org;
|
|
4566
|
-
IUser.prototype.org;
|
|
4567
|
-
IUser.prototype.is_active;
|
|
4568
|
-
IUser.prototype.account_expiry_date;
|
|
4569
|
-
IUser.prototype.kid;
|
|
4570
|
-
IUser.prototype.imported_source_name;
|
|
4571
|
-
IUser.prototype.source_id;
|
|
4572
|
-
IUser.prototype.username;
|
|
4573
|
-
IUser.prototype.first_name;
|
|
4574
|
-
IUser.prototype.last_name;
|
|
4575
|
-
IUser.prototype.middle_name;
|
|
4576
|
-
IUser.prototype.known_as;
|
|
4577
|
-
IUser.prototype.salutation;
|
|
4578
|
-
IUser.prototype.email;
|
|
4579
|
-
IUser.prototype.gender;
|
|
4580
|
-
IUser.prototype.dob;
|
|
4581
|
-
IUser.prototype.languages_known;
|
|
4582
|
-
IUser.prototype.preferred_language;
|
|
4583
|
-
IUser.prototype.source_profile_picture;
|
|
4584
|
-
IUser.prototype.residence_country;
|
|
4585
|
-
IUser.prototype.residence_state;
|
|
4586
|
-
IUser.prototype.residence_city;
|
|
4587
|
-
IUser.prototype.contact_phone_number_office;
|
|
4588
|
-
IUser.prototype.contact_phone_number_home;
|
|
4589
|
-
IUser.prototype.contact_phone_number_personal;
|
|
4590
|
-
IUser.prototype.employement_status;
|
|
4591
|
-
IUser.prototype.contract_type;
|
|
4592
|
-
IUser.prototype.job_title;
|
|
4593
|
-
IUser.prototype.job_role;
|
|
4594
|
-
IUser.prototype.department_name;
|
|
4595
|
-
IUser.prototype.unit_name;
|
|
4596
|
-
IUser.prototype.organization_location_country;
|
|
4597
|
-
IUser.prototype.organization_location_state;
|
|
4598
|
-
IUser.prototype.organization_location_city;
|
|
4599
|
-
IUser.prototype.time_inserted;
|
|
4600
|
-
IUser.prototype.time_updated;
|
|
4601
|
-
IUser.prototype.json_unmapped_fields;
|
|
4602
|
-
IUser.prototype.source_data;
|
|
4603
|
-
}
|
|
4604
|
-
function IRootOrg() { }
|
|
4605
|
-
if (false) {
|
|
4606
|
-
IRootOrg.prototype.dateTime;
|
|
4607
|
-
IRootOrg.prototype.preferredLanguage;
|
|
4608
|
-
IRootOrg.prototype.keys;
|
|
4609
|
-
IRootOrg.prototype.channel;
|
|
4610
|
-
IRootOrg.prototype.approvedBy;
|
|
4611
|
-
IRootOrg.prototype.description;
|
|
4612
|
-
IRootOrg.prototype.updatedDate;
|
|
4613
|
-
IRootOrg.prototype.addressId;
|
|
4614
|
-
IRootOrg.prototype.orgType;
|
|
4615
|
-
IRootOrg.prototype.provider;
|
|
4616
|
-
IRootOrg.prototype.orgCode;
|
|
4617
|
-
IRootOrg.prototype.locationId;
|
|
4618
|
-
IRootOrg.prototype.theme;
|
|
4619
|
-
IRootOrg.prototype.id;
|
|
4620
|
-
IRootOrg.prototype.isApproved;
|
|
4621
|
-
IRootOrg.prototype.communityId;
|
|
4622
|
-
IRootOrg.prototype.slug;
|
|
4623
|
-
IRootOrg.prototype.email;
|
|
4624
|
-
IRootOrg.prototype.isSSOEnabled;
|
|
4625
|
-
IRootOrg.prototype.thumbnail;
|
|
4626
|
-
IRootOrg.prototype.updatedBy;
|
|
4627
|
-
IRootOrg.prototype.orgName;
|
|
4628
|
-
IRootOrg.prototype.locationIds;
|
|
4629
|
-
IRootOrg.prototype.externalId;
|
|
4630
|
-
IRootOrg.prototype.isRootOrg;
|
|
4631
|
-
IRootOrg.prototype.rootOrgId;
|
|
4632
|
-
IRootOrg.prototype.imgUrl;
|
|
4633
|
-
IRootOrg.prototype.approvedDate;
|
|
4634
|
-
IRootOrg.prototype.orgTypeId;
|
|
4635
|
-
IRootOrg.prototype.homeUrl;
|
|
4636
|
-
IRootOrg.prototype.isDefault;
|
|
4637
|
-
IRootOrg.prototype.createdDate;
|
|
4638
|
-
IRootOrg.prototype.contactDetail;
|
|
4639
|
-
IRootOrg.prototype.parentOrgId;
|
|
4640
|
-
IRootOrg.prototype.createdBy;
|
|
4641
|
-
IRootOrg.prototype.hashTagId;
|
|
4642
|
-
IRootOrg.prototype.noOfMembers;
|
|
4643
|
-
IRootOrg.prototype.status;
|
|
4644
|
-
}
|
|
4645
|
-
function IOrg() { }
|
|
4646
|
-
if (false) {
|
|
4647
|
-
IOrg.prototype.updatedBy;
|
|
4648
|
-
IOrg.prototype.organisationId;
|
|
4649
|
-
IOrg.prototype.orgName;
|
|
4650
|
-
IOrg.prototype.addedByName;
|
|
4651
|
-
IOrg.prototype.addedBy;
|
|
4652
|
-
IOrg.prototype.roles;
|
|
4653
|
-
IOrg.prototype.approvedBy;
|
|
4654
|
-
IOrg.prototype.updatedDate;
|
|
4655
|
-
IOrg.prototype.userId;
|
|
4656
|
-
IOrg.prototype.approvaldate;
|
|
4657
|
-
IOrg.prototype.isDeleted;
|
|
4658
|
-
IOrg.prototype.parentOrgId;
|
|
4659
|
-
IOrg.prototype.hashTagId;
|
|
4660
|
-
IOrg.prototype.isRejected;
|
|
4661
|
-
IOrg.prototype.position;
|
|
4662
|
-
IOrg.prototype.id;
|
|
4663
|
-
IOrg.prototype.orgjoindate;
|
|
4664
|
-
IOrg.prototype.isApproved;
|
|
4665
|
-
IOrg.prototype.orgLeftDate;
|
|
4666
|
-
}
|
|
4667
|
-
function IUserV2() { }
|
|
4668
|
-
if (false) {
|
|
4669
|
-
IUserV2.prototype.surName;
|
|
4670
|
-
IUserV2.prototype.maskedPhone;
|
|
4671
|
-
IUserV2.prototype.rootOrgName;
|
|
4672
|
-
IUserV2.prototype.subject;
|
|
4673
|
-
IUserV2.prototype.channel;
|
|
4674
|
-
IUserV2.prototype.language;
|
|
4675
|
-
IUserV2.prototype.updatedDate;
|
|
4676
|
-
IUserV2.prototype.managedBy;
|
|
4677
|
-
IUserV2.prototype.flagsValue;
|
|
4678
|
-
IUserV2.prototype.id;
|
|
4679
|
-
IUserV2.prototype.recoveryEmail;
|
|
4680
|
-
IUserV2.prototype.identifier;
|
|
4681
|
-
IUserV2.prototype.thumbnail;
|
|
4682
|
-
IUserV2.prototype.profileVisibility;
|
|
4683
|
-
IUserV2.prototype.updatedBy;
|
|
4684
|
-
IUserV2.prototype.accesscode;
|
|
4685
|
-
IUserV2.prototype.locationIds;
|
|
4686
|
-
IUserV2.prototype.externalIds;
|
|
4687
|
-
IUserV2.prototype.registryId;
|
|
4688
|
-
IUserV2.prototype.rootOrgId;
|
|
4689
|
-
IUserV2.prototype.prevUsedEmail;
|
|
4690
|
-
IUserV2.prototype.firstName;
|
|
4691
|
-
IUserV2.prototype.tncAcceptedOn;
|
|
4692
|
-
IUserV2.prototype.phone;
|
|
4693
|
-
IUserV2.prototype.dob;
|
|
4694
|
-
IUserV2.prototype.grade;
|
|
4695
|
-
IUserV2.prototype.currentLoginTime;
|
|
4696
|
-
IUserV2.prototype.userType;
|
|
4697
|
-
IUserV2.prototype.status;
|
|
4698
|
-
IUserV2.prototype.lastName;
|
|
4699
|
-
IUserV2.prototype.gender;
|
|
4700
|
-
IUserV2.prototype.roles;
|
|
4701
|
-
IUserV2.prototype.prevUsedPhone;
|
|
4702
|
-
IUserV2.prototype.stateValidated;
|
|
4703
|
-
IUserV2.prototype.isDeleted;
|
|
4704
|
-
IUserV2.prototype.organisations;
|
|
4705
|
-
IUserV2.prototype.countryCode;
|
|
4706
|
-
IUserV2.prototype.maskedEmail;
|
|
4707
|
-
IUserV2.prototype.tempPassword;
|
|
4708
|
-
IUserV2.prototype.email;
|
|
4709
|
-
IUserV2.prototype.rootOrg;
|
|
4710
|
-
IUserV2.prototype.profileSummary;
|
|
4711
|
-
IUserV2.prototype.phoneVerified;
|
|
4712
|
-
IUserV2.prototype.recoveryPhone;
|
|
4713
|
-
IUserV2.prototype.userName;
|
|
4714
|
-
IUserV2.prototype.userId;
|
|
4715
|
-
IUserV2.prototype.lastLoginTime;
|
|
4716
|
-
IUserV2.prototype.emailVerified;
|
|
4717
|
-
IUserV2.prototype.framework;
|
|
4718
|
-
IUserV2.prototype.createdDate;
|
|
4719
|
-
IUserV2.prototype.createdBy;
|
|
4720
|
-
IUserV2.prototype.location;
|
|
4721
|
-
IUserV2.prototype.tncAcceptedVersion;
|
|
4722
|
-
}
|
|
4723
|
-
function IUserVer2() { }
|
|
4724
|
-
if (false) {
|
|
4725
|
-
IUserVer2.prototype.firstname;
|
|
4726
|
-
IUserVer2.prototype.motherTongue;
|
|
4727
|
-
IUserVer2.prototype.secondaryEmail;
|
|
4728
|
-
IUserVer2.prototype.gender;
|
|
4729
|
-
IUserVer2.prototype.mobile;
|
|
4730
|
-
IUserVer2.prototype.middlename;
|
|
4731
|
-
IUserVer2.prototype.telephone;
|
|
4732
|
-
IUserVer2.prototype.osid;
|
|
4733
|
-
IUserVer2.prototype.primaryEmailType;
|
|
4734
|
-
IUserVer2.prototype.knownLanguages;
|
|
4735
|
-
IUserVer2.prototype.wid;
|
|
4736
|
-
IUserVer2.prototype.nationality;
|
|
4737
|
-
IUserVer2.prototype.surname;
|
|
4738
|
-
IUserVer2.prototype.dob;
|
|
4739
|
-
IUserVer2.prototype.category;
|
|
4740
|
-
IUserVer2.prototype.primaryEmail;
|
|
4741
|
-
IUserVer2.prototype.maritalStatus;
|
|
4742
|
-
IUserVer2.prototype.residenceAddress;
|
|
4743
|
-
IUserVer2.prototype.result;
|
|
4744
|
-
}
|
|
4745
|
-
function ILanguages() { }
|
|
4746
|
-
NsUser.ILanguages = ILanguages;
|
|
4747
|
-
if (false) {
|
|
4748
|
-
ILanguages.prototype.name;
|
|
4749
|
-
}
|
|
4750
|
-
})(NsUser || (NsUser = {}));
|
|
4751
|
-
|
|
4752
|
-
function IWsMsTokenModelResponse() { }
|
|
4753
|
-
if (false) {
|
|
4754
|
-
IWsMsTokenModelResponse.prototype.accessToken;
|
|
4755
|
-
IWsMsTokenModelResponse.prototype.expiresOn;
|
|
4756
|
-
IWsMsTokenModelResponse.prototype.resource;
|
|
4757
|
-
IWsMsTokenModelResponse.prototype.tokenType;
|
|
4758
|
-
}
|
|
4759
3859
|
|
|
4760
3860
|
var NsContent;
|
|
4761
3861
|
(function (NsContent) {
|
|
4762
|
-
function IContinueLearningData() { }
|
|
4763
|
-
NsContent.IContinueLearningData = IContinueLearningData;
|
|
4764
|
-
if (false) {
|
|
4765
|
-
IContinueLearningData.prototype.continueData;
|
|
4766
|
-
}
|
|
4767
|
-
function IContent() { }
|
|
4768
|
-
NsContent.IContent = IContent;
|
|
4769
|
-
if (false) {
|
|
4770
|
-
IContent.prototype.platform;
|
|
4771
|
-
IContent.prototype.addedOn;
|
|
4772
|
-
IContent.prototype.appIcon;
|
|
4773
|
-
IContent.prototype.artifactUrl;
|
|
4774
|
-
IContent.prototype.averageRating;
|
|
4775
|
-
IContent.prototype.body;
|
|
4776
|
-
IContent.prototype.certificationList;
|
|
4777
|
-
IContent.prototype.certificationStatus;
|
|
4778
|
-
IContent.prototype.certificationSubmissionDate;
|
|
4779
|
-
IContent.prototype.certificationUrl;
|
|
4780
|
-
IContent.prototype.children;
|
|
4781
|
-
IContent.prototype.childrenClassifiers;
|
|
4782
|
-
IContent.prototype.clients;
|
|
4783
|
-
IContent.prototype.collections;
|
|
4784
|
-
IContent.prototype.complexityLevel;
|
|
4785
|
-
IContent.prototype.contentId;
|
|
4786
|
-
IContent.prototype.contentType;
|
|
4787
|
-
IContent.prototype.difficultyLevel;
|
|
4788
|
-
IContent.prototype.primaryCategory;
|
|
4789
|
-
IContent.prototype.contentUrlAtSource;
|
|
4790
|
-
IContent.prototype.creatorContacts;
|
|
4791
|
-
IContent.prototype.creatorDetails;
|
|
4792
|
-
IContent.prototype.creatorLogo;
|
|
4793
|
-
IContent.prototype.creatorPosterImage;
|
|
4794
|
-
IContent.prototype.creatorThumbnail;
|
|
4795
|
-
IContent.prototype.curatedTags;
|
|
4796
|
-
IContent.prototype.description;
|
|
4797
|
-
IContent.prototype.displayContentType;
|
|
4798
|
-
IContent.prototype.downloadUrl;
|
|
4799
|
-
IContent.prototype.duration;
|
|
4800
|
-
IContent.prototype.exclusiveContent;
|
|
4801
|
-
IContent.prototype.expiryDate;
|
|
4802
|
-
IContent.prototype.equivalentCertifications;
|
|
4803
|
-
IContent.prototype.hasAccess;
|
|
4804
|
-
IContent.prototype.hasAssessment;
|
|
4805
|
-
IContent.prototype.idealScreenSize;
|
|
4806
|
-
IContent.prototype.identifier;
|
|
4807
|
-
IContent.prototype.introductoryVideo;
|
|
4808
|
-
IContent.prototype.introductoryVideoIcon;
|
|
4809
|
-
IContent.prototype.learningTrack;
|
|
4810
|
-
IContent.prototype.isExternal;
|
|
4811
|
-
IContent.prototype.isIframeSupported;
|
|
4812
|
-
IContent.prototype.isInIntranet;
|
|
4813
|
-
IContent.prototype.keywords;
|
|
4814
|
-
IContent.prototype.kArtifacts;
|
|
4815
|
-
IContent.prototype.lastUpdatedOn;
|
|
4816
|
-
IContent.prototype.learningMode;
|
|
4817
|
-
IContent.prototype.learningObjective;
|
|
4818
|
-
IContent.prototype.labels;
|
|
4819
|
-
IContent.prototype.locale;
|
|
4820
|
-
IContent.prototype.hasTranslations;
|
|
4821
|
-
IContent.prototype.isTranslationOf;
|
|
4822
|
-
IContent.prototype.me_totalSessionsCount;
|
|
4823
|
-
IContent.prototype.mediaType;
|
|
4824
|
-
IContent.prototype.mimeType;
|
|
4825
|
-
IContent.prototype.miniGOTVersion;
|
|
4826
|
-
IContent.prototype.msArtifactDetails;
|
|
4827
|
-
IContent.prototype.mode;
|
|
4828
|
-
IContent.prototype.name;
|
|
4829
|
-
IContent.prototype.nextCertificationAttemptDate;
|
|
4830
|
-
IContent.prototype.playgroundInstructions;
|
|
4831
|
-
IContent.prototype.playgroundResources;
|
|
4832
|
-
IContent.prototype.postContents;
|
|
4833
|
-
IContent.prototype.posterImage;
|
|
4834
|
-
IContent.prototype.preContents;
|
|
4835
|
-
IContent.prototype.preRequisites;
|
|
4836
|
-
IContent.prototype.price;
|
|
4837
|
-
IContent.prototype.proctorUrl;
|
|
4838
|
-
IContent.prototype.progress;
|
|
4839
|
-
IContent.prototype.programDuration;
|
|
4840
|
-
IContent.prototype.publishedOn;
|
|
4841
|
-
IContent.prototype.recentCertificationAttemptScore;
|
|
4842
|
-
IContent.prototype.recommendationReasons;
|
|
4843
|
-
IContent.prototype.region;
|
|
4844
|
-
IContent.prototype.registrationUrl;
|
|
4845
|
-
IContent.prototype.registrationInstructions;
|
|
4846
|
-
IContent.prototype.resourceCategory;
|
|
4847
|
-
IContent.prototype.resourceType;
|
|
4848
|
-
IContent.prototype.size;
|
|
4849
|
-
IContent.prototype.skills;
|
|
4850
|
-
IContent.prototype.softwareRequirements;
|
|
4851
|
-
IContent.prototype.sourceName;
|
|
4852
|
-
IContent.prototype.sourceShortName;
|
|
4853
|
-
IContent.prototype.sourceIconUrl;
|
|
4854
|
-
IContent.prototype.sourceUrl;
|
|
4855
|
-
IContent.prototype.ssoEnabled;
|
|
4856
|
-
IContent.prototype.status;
|
|
4857
|
-
IContent.prototype.subTitle;
|
|
4858
|
-
IContent.prototype.subTitles;
|
|
4859
|
-
IContent.prototype.studyMaterials;
|
|
4860
|
-
IContent.prototype.systemRequirements;
|
|
4861
|
-
IContent.prototype.tags;
|
|
4862
|
-
IContent.prototype.topics;
|
|
4863
|
-
IContent.prototype.totalLikes;
|
|
4864
|
-
IContent.prototype.totalRating;
|
|
4865
|
-
IContent.prototype.track;
|
|
4866
|
-
IContent.prototype.uniqueLearners;
|
|
4867
|
-
IContent.prototype.viewCount;
|
|
4868
|
-
IContent.prototype.reason;
|
|
4869
|
-
IContent.prototype.trainingLHubCount;
|
|
4870
|
-
IContent.prototype.verifiers;
|
|
4871
|
-
IContent.prototype.references;
|
|
4872
|
-
IContent.prototype.resumePage;
|
|
4873
|
-
IContent.prototype.optionalReading;
|
|
4874
|
-
IContent.prototype.additionalTags;
|
|
4875
|
-
}
|
|
4876
3862
|
let EPrimaryCategory;
|
|
4877
3863
|
(function (EPrimaryCategory) {
|
|
4878
3864
|
EPrimaryCategory["PROGRAM"] = "Program";
|
|
@@ -4895,133 +3881,6 @@ var NsContent;
|
|
|
4895
3881
|
EPrimaryCategory["LEARNING_JOURNEY"] = "Learning Journeys";
|
|
4896
3882
|
EPrimaryCategory["CHANNEL"] = "Channel";
|
|
4897
3883
|
})(EPrimaryCategory = NsContent.EPrimaryCategory || (NsContent.EPrimaryCategory = {}));
|
|
4898
|
-
function IContentMinimal() { }
|
|
4899
|
-
NsContent.IContentMinimal = IContentMinimal;
|
|
4900
|
-
if (false) {
|
|
4901
|
-
IContentMinimal.prototype.appIcon;
|
|
4902
|
-
IContentMinimal.prototype.artifactUrl;
|
|
4903
|
-
IContentMinimal.prototype.complexityLevel;
|
|
4904
|
-
IContentMinimal.prototype.contentType;
|
|
4905
|
-
IContentMinimal.prototype.primaryCategory;
|
|
4906
|
-
IContentMinimal.prototype.description;
|
|
4907
|
-
IContentMinimal.prototype.displayContentType;
|
|
4908
|
-
IContentMinimal.prototype.duration;
|
|
4909
|
-
IContentMinimal.prototype.identifier;
|
|
4910
|
-
IContentMinimal.prototype.hasAccess;
|
|
4911
|
-
IContentMinimal.prototype.isInIntranet;
|
|
4912
|
-
IContentMinimal.prototype.learningMode;
|
|
4913
|
-
IContentMinimal.prototype.mimeType;
|
|
4914
|
-
IContentMinimal.prototype.name;
|
|
4915
|
-
IContentMinimal.prototype.creatorDetails;
|
|
4916
|
-
IContentMinimal.prototype.creatorContacts;
|
|
4917
|
-
IContentMinimal.prototype.PosterImage;
|
|
4918
|
-
IContentMinimal.prototype.resourceType;
|
|
4919
|
-
IContentMinimal.prototype.totalRating;
|
|
4920
|
-
}
|
|
4921
|
-
function ICollectionHierarchyResponse() { }
|
|
4922
|
-
NsContent.ICollectionHierarchyResponse = ICollectionHierarchyResponse;
|
|
4923
|
-
if (false) {
|
|
4924
|
-
ICollectionHierarchyResponse.prototype.data;
|
|
4925
|
-
ICollectionHierarchyResponse.prototype.hasMore;
|
|
4926
|
-
ICollectionHierarchyResponse.prototype.totalContents;
|
|
4927
|
-
}
|
|
4928
|
-
function IRelatedContentMeta() { }
|
|
4929
|
-
NsContent.IRelatedContentMeta = IRelatedContentMeta;
|
|
4930
|
-
if (false) {
|
|
4931
|
-
IRelatedContentMeta.prototype.identifier;
|
|
4932
|
-
IRelatedContentMeta.prototype.name;
|
|
4933
|
-
}
|
|
4934
|
-
function IMarkAsCompleteProgress() { }
|
|
4935
|
-
if (false) {
|
|
4936
|
-
IMarkAsCompleteProgress.prototype.progressStatus;
|
|
4937
|
-
IMarkAsCompleteProgress.prototype.showMarkAsComplete;
|
|
4938
|
-
IMarkAsCompleteProgress.prototype.markAsCompleteReason;
|
|
4939
|
-
IMarkAsCompleteProgress.prototype.progressSupported;
|
|
4940
|
-
IMarkAsCompleteProgress.prototype.progress;
|
|
4941
|
-
}
|
|
4942
|
-
function ITag() { }
|
|
4943
|
-
if (false) {
|
|
4944
|
-
ITag.prototype.id;
|
|
4945
|
-
ITag.prototype.type;
|
|
4946
|
-
ITag.prototype.value;
|
|
4947
|
-
}
|
|
4948
|
-
function IMSArtifactDetails() { }
|
|
4949
|
-
if (false) {
|
|
4950
|
-
IMSArtifactDetails.prototype.channelId;
|
|
4951
|
-
IMSArtifactDetails.prototype.videoId;
|
|
4952
|
-
}
|
|
4953
|
-
function IClient() { }
|
|
4954
|
-
if (false) {
|
|
4955
|
-
IClient.prototype.displayName;
|
|
4956
|
-
IClient.prototype.id;
|
|
4957
|
-
IClient.prototype.name;
|
|
4958
|
-
}
|
|
4959
|
-
function ISubtitle() { }
|
|
4960
|
-
if (false) {
|
|
4961
|
-
ISubtitle.prototype.srclang;
|
|
4962
|
-
ISubtitle.prototype.label;
|
|
4963
|
-
ISubtitle.prototype.url;
|
|
4964
|
-
}
|
|
4965
|
-
function IPrePostContent() { }
|
|
4966
|
-
if (false) {
|
|
4967
|
-
IPrePostContent.prototype.identifier;
|
|
4968
|
-
IPrePostContent.prototype.name;
|
|
4969
|
-
}
|
|
4970
|
-
function IResourceDetail() { }
|
|
4971
|
-
if (false) {
|
|
4972
|
-
IResourceDetail.prototype.title;
|
|
4973
|
-
IResourceDetail.prototype.url;
|
|
4974
|
-
}
|
|
4975
|
-
function IResourcePlayground() { }
|
|
4976
|
-
if (false) {
|
|
4977
|
-
IResourcePlayground.prototype.appIcon;
|
|
4978
|
-
IResourcePlayground.prototype.artifactUrl;
|
|
4979
|
-
IResourcePlayground.prototype.identifier;
|
|
4980
|
-
IResourcePlayground.prototype.name;
|
|
4981
|
-
}
|
|
4982
|
-
function ITrack() { }
|
|
4983
|
-
if (false) {
|
|
4984
|
-
ITrack.prototype.id;
|
|
4985
|
-
ITrack.prototype.name;
|
|
4986
|
-
ITrack.prototype.status;
|
|
4987
|
-
ITrack.prototype.visibility;
|
|
4988
|
-
}
|
|
4989
|
-
function ISkill() { }
|
|
4990
|
-
if (false) {
|
|
4991
|
-
ISkill.prototype.id;
|
|
4992
|
-
ISkill.prototype.category;
|
|
4993
|
-
ISkill.prototype.skill;
|
|
4994
|
-
ISkill.prototype.name;
|
|
4995
|
-
}
|
|
4996
|
-
function ICreator() { }
|
|
4997
|
-
NsContent.ICreator = ICreator;
|
|
4998
|
-
if (false) {
|
|
4999
|
-
ICreator.prototype.id;
|
|
5000
|
-
ICreator.prototype.name;
|
|
5001
|
-
ICreator.prototype.email;
|
|
5002
|
-
}
|
|
5003
|
-
function IContentTopic() { }
|
|
5004
|
-
NsContent.IContentTopic = IContentTopic;
|
|
5005
|
-
if (false) {
|
|
5006
|
-
IContentTopic.prototype.identifier;
|
|
5007
|
-
IContentTopic.prototype.name;
|
|
5008
|
-
}
|
|
5009
|
-
function IContact() { }
|
|
5010
|
-
NsContent.IContact = IContact;
|
|
5011
|
-
if (false) {
|
|
5012
|
-
IContact.prototype.id;
|
|
5013
|
-
IContact.prototype.name;
|
|
5014
|
-
IContact.prototype.email;
|
|
5015
|
-
}
|
|
5016
|
-
function IViewerContinueLearningRequest() { }
|
|
5017
|
-
NsContent.IViewerContinueLearningRequest = IViewerContinueLearningRequest;
|
|
5018
|
-
if (false) {
|
|
5019
|
-
IViewerContinueLearningRequest.prototype.resourceId;
|
|
5020
|
-
IViewerContinueLearningRequest.prototype.contextPathId;
|
|
5021
|
-
IViewerContinueLearningRequest.prototype.data;
|
|
5022
|
-
IViewerContinueLearningRequest.prototype.dateAccessed;
|
|
5023
|
-
IViewerContinueLearningRequest.prototype.contextType;
|
|
5024
|
-
}
|
|
5025
3884
|
let EContentTypes;
|
|
5026
3885
|
(function (EContentTypes) {
|
|
5027
3886
|
EContentTypes["PROGRAM"] = "Learning Path";
|
|
@@ -5130,6 +3989,15 @@ var NsContent;
|
|
|
5130
3989
|
})(ETagType = NsContent.ETagType || (NsContent.ETagType = {}));
|
|
5131
3990
|
})(NsContent || (NsContent = {}));
|
|
5132
3991
|
|
|
3992
|
+
var __awaiter$2 = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3993
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3994
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
3995
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
3996
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
3997
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
3998
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
3999
|
+
});
|
|
4000
|
+
};
|
|
5133
4001
|
const PROTECTED_SLAG_V8 = '/apis/protected/v8';
|
|
5134
4002
|
const ɵ0 = (type, id) => `${PROTECTED_SLAG_V8}/content/collection/${type}/${id}`, ɵ1 = (contentId) => `${PROTECTED_SLAG_V8}/user/progress/${contentId}`, ɵ2 = (contentId) => `/apis/proxies/v8/cios-enroll/v1/readby/useridcourseid/${contentId}`, ɵ3 = (certId) => `${PROTECTED_SLAG_V8}/cohorts/course/batch/cert/download/${certId}`;
|
|
5135
4003
|
const API_END_POINTS = {
|
|
@@ -5147,12 +4015,12 @@ const API_END_POINTS = {
|
|
|
5147
4015
|
CONTENT_HISTORY: `${PROTECTED_SLAG_V8}/user/history`,
|
|
5148
4016
|
USER_CONTINUE_LEARNING: `${PROTECTED_SLAG_V8}/user/history/continue`,
|
|
5149
4017
|
CONTENT_RATING: `${PROTECTED_SLAG_V8}/user/rating`,
|
|
5150
|
-
COLLECTION_HIERARCHY:
|
|
4018
|
+
COLLECTION_HIERARCHY: ɵ0,
|
|
5151
4019
|
REGISTRATION_STATUS: `${PROTECTED_SLAG_V8}/admin/userRegistration/checkUserRegistrationContent`,
|
|
5152
|
-
MARK_AS_COMPLETE_META:
|
|
5153
|
-
EXT_USER_COURSE_ENROLL:
|
|
4020
|
+
MARK_AS_COMPLETE_META: ɵ1,
|
|
4021
|
+
EXT_USER_COURSE_ENROLL: ɵ2,
|
|
5154
4022
|
EXT_CONTENT_EROLL: `/apis/proxies/v8/cios-enroll/v1/create`,
|
|
5155
|
-
CERT_DOWNLOAD:
|
|
4023
|
+
CERT_DOWNLOAD: ɵ3,
|
|
5156
4024
|
};
|
|
5157
4025
|
class WidgetContentService {
|
|
5158
4026
|
constructor(http, configSvc) {
|
|
@@ -5193,8 +4061,8 @@ class WidgetContentService {
|
|
|
5193
4061
|
return this.http.get(`${API_END_POINTS.CONTENT_HISTORY}/${contentId}`);
|
|
5194
4062
|
}
|
|
5195
4063
|
continueLearning(id, collectionId, collectionType) {
|
|
5196
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5197
|
-
return new Promise((
|
|
4064
|
+
return __awaiter$2(this, void 0, void 0, function* () {
|
|
4065
|
+
return new Promise((resolve) => __awaiter$2(this, void 0, void 0, function* () {
|
|
5198
4066
|
if (collectionType &&
|
|
5199
4067
|
collectionType.toLowerCase() === 'playlist') {
|
|
5200
4068
|
const reqBody = {
|
|
@@ -5207,9 +4075,9 @@ class WidgetContentService {
|
|
|
5207
4075
|
dateAccessed: Date.now(),
|
|
5208
4076
|
contextType: 'playlist',
|
|
5209
4077
|
};
|
|
5210
|
-
yield this.saveContinueLearning(reqBody).toPromise().catch().finally((
|
|
4078
|
+
yield this.saveContinueLearning(reqBody).toPromise().catch().finally(() => {
|
|
5211
4079
|
resolve(true);
|
|
5212
|
-
})
|
|
4080
|
+
});
|
|
5213
4081
|
}
|
|
5214
4082
|
else {
|
|
5215
4083
|
const reqBody = {
|
|
@@ -5218,23 +4086,23 @@ class WidgetContentService {
|
|
|
5218
4086
|
data: JSON.stringify({ timestamp: Date.now() }),
|
|
5219
4087
|
dateAccessed: Date.now(),
|
|
5220
4088
|
};
|
|
5221
|
-
yield this.saveContinueLearning(reqBody).toPromise().catch().finally((
|
|
4089
|
+
yield this.saveContinueLearning(reqBody).toPromise().catch().finally(() => {
|
|
5222
4090
|
resolve(true);
|
|
5223
|
-
})
|
|
4091
|
+
});
|
|
5224
4092
|
}
|
|
5225
|
-
}))
|
|
4093
|
+
}));
|
|
5226
4094
|
});
|
|
5227
4095
|
}
|
|
5228
4096
|
saveContinueLearning(content) {
|
|
5229
4097
|
if (content) {
|
|
5230
4098
|
}
|
|
5231
|
-
return
|
|
4099
|
+
return of();
|
|
5232
4100
|
}
|
|
5233
4101
|
setS3Cookie(_contentId) {
|
|
5234
4102
|
return EMPTY;
|
|
5235
4103
|
}
|
|
5236
4104
|
setS3ImageCookie() {
|
|
5237
|
-
return this.http.post(API_END_POINTS.SET_S3_IMAGE_COOKIE, {}).pipe(catchError(
|
|
4105
|
+
return this.http.post(API_END_POINTS.SET_S3_IMAGE_COOKIE, {}).pipe(catchError(_err => of(true)));
|
|
5238
4106
|
}
|
|
5239
4107
|
fetchManifest(url) {
|
|
5240
4108
|
return this.http.post(API_END_POINTS.FETCH_MANIFEST, { url });
|
|
@@ -5253,7 +4121,7 @@ class WidgetContentService {
|
|
|
5253
4121
|
req.preLabelValue =
|
|
5254
4122
|
(req.preLabelValue || '') +
|
|
5255
4123
|
((this.configSvc.userProfile && this.configSvc.userProfile.country) || '');
|
|
5256
|
-
req.filters = Object.assign({}, req.filters, { labels: [req.preLabelValue || ''] });
|
|
4124
|
+
req.filters = Object.assign(Object.assign({}, req.filters), { labels: [req.preLabelValue || ''] });
|
|
5257
4125
|
return this.http.post(API_END_POINTS.CONTENT_SEARCH_REGION_RECOMMENDATION, { request: req });
|
|
5258
4126
|
}
|
|
5259
4127
|
searchV6(req) {
|
|
@@ -5308,6 +4176,11 @@ class WidgetContentService {
|
|
|
5308
4176
|
return this.http.get(`${API_END_POINTS.CERT_DOWNLOAD(certId)}`);
|
|
5309
4177
|
}
|
|
5310
4178
|
}
|
|
4179
|
+
WidgetContentService.ctorParameters = () => [
|
|
4180
|
+
{ type: HttpClient },
|
|
4181
|
+
{ type: ConfigurationsService }
|
|
4182
|
+
];
|
|
4183
|
+
WidgetContentService.ɵprov = ɵɵdefineInjectable({ factory: function WidgetContentService_Factory() { return new WidgetContentService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService)); }, token: WidgetContentService, providedIn: "root" });
|
|
5311
4184
|
WidgetContentService.decorators = [
|
|
5312
4185
|
{ type: Injectable, args: [{
|
|
5313
4186
|
providedIn: 'root',
|
|
@@ -5317,16 +4190,11 @@ WidgetContentService.ctorParameters = () => [
|
|
|
5317
4190
|
{ type: HttpClient },
|
|
5318
4191
|
{ type: ConfigurationsService }
|
|
5319
4192
|
];
|
|
5320
|
-
/** @nocollapse */ WidgetContentService.ngInjectableDef = ɵɵdefineInjectable({ factory: function WidgetContentService_Factory() { return new WidgetContentService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService)); }, token: WidgetContentService, providedIn: "root" });
|
|
5321
|
-
if (false) {
|
|
5322
|
-
WidgetContentService.prototype.http;
|
|
5323
|
-
WidgetContentService.prototype.configSvc;
|
|
5324
|
-
}
|
|
5325
4193
|
|
|
5326
4194
|
const ɵ0$1 = (id) => `/apis/proxies/v8/user/v1/feed/${id}`, ɵ1$1 = (id) => `/apis/proxies/v8/forms/getFormById?id=${id}`;
|
|
5327
4195
|
const API_END_POINTS$1 = {
|
|
5328
|
-
readFeed:
|
|
5329
|
-
getFormID:
|
|
4196
|
+
readFeed: ɵ0$1,
|
|
4197
|
+
getFormID: ɵ1$1,
|
|
5330
4198
|
submitForm: `/apis/proxies/v8/forms/v1/saveFormSubmit`,
|
|
5331
4199
|
deleteFeed: `/apis/proxies/v8/user/feed/v1/delete`,
|
|
5332
4200
|
};
|
|
@@ -5352,17 +4220,15 @@ class NPSGridService {
|
|
|
5352
4220
|
return this.http.post(API_END_POINTS$1.deleteFeed, req);
|
|
5353
4221
|
}
|
|
5354
4222
|
}
|
|
4223
|
+
NPSGridService.ctorParameters = () => [
|
|
4224
|
+
{ type: HttpClient }
|
|
4225
|
+
];
|
|
5355
4226
|
NPSGridService.decorators = [
|
|
5356
4227
|
{ type: Injectable }
|
|
5357
4228
|
];
|
|
5358
4229
|
NPSGridService.ctorParameters = () => [
|
|
5359
4230
|
{ type: HttpClient }
|
|
5360
4231
|
];
|
|
5361
|
-
if (false) {
|
|
5362
|
-
NPSGridService.prototype.telemetryEvents;
|
|
5363
|
-
NPSGridService.prototype.updateTelemetryDataObservable;
|
|
5364
|
-
NPSGridService.prototype.http;
|
|
5365
|
-
}
|
|
5366
4232
|
|
|
5367
4233
|
class TelemetryService {
|
|
5368
4234
|
constructor(configSvc, eventsSvc, environment, logger, router, npsSvc) {
|
|
@@ -5397,7 +4263,7 @@ class TelemetryService {
|
|
|
5397
4263
|
this.addCustomListenerForPlatformRating();
|
|
5398
4264
|
}
|
|
5399
4265
|
navigationStart() {
|
|
5400
|
-
this.router.events.subscribe((
|
|
4266
|
+
this.router.events.subscribe((event) => {
|
|
5401
4267
|
if (event instanceof NavigationStart) {
|
|
5402
4268
|
if (event.url.includes('/public/') || event.url.includes('&preview=true') || event.url.includes('/certs')) {
|
|
5403
4269
|
this.isAnonymousTelemetry = true;
|
|
@@ -5406,7 +4272,7 @@ class TelemetryService {
|
|
|
5406
4272
|
this.initializeConfig(instanceConfig);
|
|
5407
4273
|
}
|
|
5408
4274
|
}
|
|
5409
|
-
})
|
|
4275
|
+
});
|
|
5410
4276
|
}
|
|
5411
4277
|
get isAnonymousTelemetryRequired() {
|
|
5412
4278
|
return this.isAnonymousTelemetry;
|
|
@@ -5424,7 +4290,7 @@ class TelemetryService {
|
|
|
5424
4290
|
initializeConfig(instanceConfig) {
|
|
5425
4291
|
if (instanceConfig) {
|
|
5426
4292
|
this.telemetryConfig = instanceConfig.telemetryConfig;
|
|
5427
|
-
this.telemetryConfig = Object.assign({}, this.telemetryConfig, { pdata: Object.assign({}, this.telemetryConfig.pdata, { id: `${this.environment.name}.${this.telemetryConfig.pdata.id}` }), uid: (this.configSvc.userProfile && this.configSvc.userProfile.userId) ?
|
|
4293
|
+
this.telemetryConfig = Object.assign(Object.assign({}, this.telemetryConfig), { pdata: Object.assign(Object.assign({}, this.telemetryConfig.pdata), { id: `${this.environment.name}.${this.telemetryConfig.pdata.id}` }), uid: (this.configSvc.userProfile && this.configSvc.userProfile.userId) ?
|
|
5428
4294
|
this.configSvc.userProfile.userId : '', channel: this.rootOrgId || this.telemetryConfig.channel, sid: this.getTelemetrySessionId });
|
|
5429
4295
|
this.pData = this.telemetryConfig.pdata;
|
|
5430
4296
|
}
|
|
@@ -5459,7 +4325,7 @@ class TelemetryService {
|
|
|
5459
4325
|
pageContext.pageId
|
|
5460
4326
|
: '',
|
|
5461
4327
|
duration: 1,
|
|
5462
|
-
}, Object.assign({ context: Object.assign({ pdata: Object.assign({}, this.pData, { id: this.pData.id }) }, (pageContext && pageContext.module ? { env: pageContext.module } : null)), object: Object.assign({}, (data) && data) }, (this.configSvc.userProfile && this.configSvc.userProfile.userId ?
|
|
4328
|
+
}, Object.assign({ context: Object.assign({ pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }) }, (pageContext && pageContext.module ? { env: pageContext.module } : null)), object: Object.assign({}, (data) && data) }, (this.configSvc.userProfile && this.configSvc.userProfile.userId ?
|
|
5463
4329
|
null : { actor: { id: '', type: 'AnonymousUser' } })));
|
|
5464
4330
|
}
|
|
5465
4331
|
else {
|
|
@@ -5479,7 +4345,7 @@ class TelemetryService {
|
|
|
5479
4345
|
pageContext.pageId
|
|
5480
4346
|
: '',
|
|
5481
4347
|
}, {
|
|
5482
|
-
context: Object.assign({ pdata: Object.assign({}, this.pData, { id: this.pData.id }) }, (pageContext && pageContext.module ? { env: pageContext.module } : null)),
|
|
4348
|
+
context: Object.assign({ pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }) }, (pageContext && pageContext.module ? { env: pageContext.module } : null)),
|
|
5483
4349
|
object: Object.assign({}, (data) && data),
|
|
5484
4350
|
});
|
|
5485
4351
|
}
|
|
@@ -5497,7 +4363,7 @@ class TelemetryService {
|
|
|
5497
4363
|
duration: '',
|
|
5498
4364
|
}, {
|
|
5499
4365
|
context: {
|
|
5500
|
-
pdata: Object.assign({}, this.pData, { id: this.pData.id }),
|
|
4366
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }),
|
|
5501
4367
|
},
|
|
5502
4368
|
});
|
|
5503
4369
|
}
|
|
@@ -5532,7 +4398,7 @@ class TelemetryService {
|
|
|
5532
4398
|
if (page.objectId) {
|
|
5533
4399
|
const config = {
|
|
5534
4400
|
context: {
|
|
5535
|
-
pdata: Object.assign({}, this.pData, { id: this.pData.id }),
|
|
4401
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }),
|
|
5536
4402
|
env: page.module || (this.telemetryConfig && this.telemetryConfig.env),
|
|
5537
4403
|
},
|
|
5538
4404
|
object: Object.assign({ id: page.objectId, type: objectType }, (data && data.object)),
|
|
@@ -5545,7 +4411,7 @@ class TelemetryService {
|
|
|
5545
4411
|
else {
|
|
5546
4412
|
$t.impression(edata, {
|
|
5547
4413
|
context: {
|
|
5548
|
-
pdata: Object.assign({}, this.pData, { id: this.pData && this.pData.id }),
|
|
4414
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData && this.pData.id }),
|
|
5549
4415
|
env: page.module || '',
|
|
5550
4416
|
},
|
|
5551
4417
|
object: Object.assign({}, (data && data.object)),
|
|
@@ -5563,14 +4429,14 @@ class TelemetryService {
|
|
|
5563
4429
|
if (this.externalApps[impressionData.subApplicationName]) {
|
|
5564
4430
|
const externalConfig = page.objectId ? {
|
|
5565
4431
|
context: {
|
|
5566
|
-
pdata: Object.assign({}, this.pData, { id: this.externalApps[impressionData.subApplicationName] }),
|
|
4432
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.externalApps[impressionData.subApplicationName] }),
|
|
5567
4433
|
},
|
|
5568
4434
|
object: {
|
|
5569
4435
|
id: page.objectId,
|
|
5570
4436
|
},
|
|
5571
4437
|
} : {
|
|
5572
4438
|
context: {
|
|
5573
|
-
pdata: Object.assign({}, this.pData, { id: this.externalApps[impressionData.subApplicationName] }),
|
|
4439
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.externalApps[impressionData.subApplicationName] }),
|
|
5574
4440
|
},
|
|
5575
4441
|
};
|
|
5576
4442
|
$t.impression(impressionData.data, externalConfig);
|
|
@@ -5582,12 +4448,12 @@ class TelemetryService {
|
|
|
5582
4448
|
}
|
|
5583
4449
|
addCustomListenerForPlatformRating() {
|
|
5584
4450
|
this.eventsSvc.getPREvents$
|
|
5585
|
-
.pipe(filter(
|
|
4451
|
+
.pipe(filter(event => event &&
|
|
5586
4452
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5587
4453
|
event.data.eventSubType === WsEvents.EnumTelemetrySubType.PlatformRating &&
|
|
5588
4454
|
event.data.mode &&
|
|
5589
|
-
event.data))
|
|
5590
|
-
.subscribe(
|
|
4455
|
+
event.data))
|
|
4456
|
+
.subscribe(event => {
|
|
5591
4457
|
if (event.data.state === WsEvents.EnumTelemetrySubType.Loaded) {
|
|
5592
4458
|
this.start({
|
|
5593
4459
|
type: event.data.type || WsEvents.WsTimeSpentType.Player,
|
|
@@ -5609,20 +4475,20 @@ class TelemetryService {
|
|
|
5609
4475
|
: '',
|
|
5610
4476
|
pageid: event.pageContext && event.pageContext.pageId || '',
|
|
5611
4477
|
}, {
|
|
5612
|
-
context: Object.assign({ pdata: Object.assign({}, this.pData, { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
4478
|
+
context: Object.assign({ pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
5613
4479
|
object: Object.assign({}, event.data.object),
|
|
5614
4480
|
});
|
|
5615
4481
|
}
|
|
5616
|
-
})
|
|
4482
|
+
});
|
|
5617
4483
|
}
|
|
5618
4484
|
addCustomListenerForGetStart() {
|
|
5619
4485
|
this.eventsSvc.getStartEvents$
|
|
5620
|
-
.pipe(filter(
|
|
4486
|
+
.pipe(filter(event => event &&
|
|
5621
4487
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5622
4488
|
event.data.eventSubType === WsEvents.EnumTelemetrySubType.GetStarted &&
|
|
5623
4489
|
event.data.mode &&
|
|
5624
|
-
event.data))
|
|
5625
|
-
.subscribe(
|
|
4490
|
+
event.data))
|
|
4491
|
+
.subscribe(event => {
|
|
5626
4492
|
if (event.data.state === WsEvents.EnumTelemetrySubType.Loaded) {
|
|
5627
4493
|
this.start({
|
|
5628
4494
|
type: event.data.type || WsEvents.WsTimeSpentType.Player,
|
|
@@ -5644,20 +4510,20 @@ class TelemetryService {
|
|
|
5644
4510
|
: '',
|
|
5645
4511
|
pageid: event.pageContext && event.pageContext.pageId || '',
|
|
5646
4512
|
}, {
|
|
5647
|
-
context: Object.assign({ pdata: Object.assign({}, this.pData, { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
4513
|
+
context: Object.assign({ pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
5648
4514
|
object: Object.assign({}, event.data.object),
|
|
5649
4515
|
});
|
|
5650
4516
|
}
|
|
5651
|
-
})
|
|
4517
|
+
});
|
|
5652
4518
|
}
|
|
5653
4519
|
addCustomListener() {
|
|
5654
4520
|
this.eventsSvc.chatbotEvents$
|
|
5655
|
-
.pipe(filter(
|
|
4521
|
+
.pipe(filter(event => event &&
|
|
5656
4522
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5657
4523
|
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Chatbot &&
|
|
5658
4524
|
event.data.mode &&
|
|
5659
|
-
event.data))
|
|
5660
|
-
.subscribe(
|
|
4525
|
+
event.data))
|
|
4526
|
+
.subscribe(event => {
|
|
5661
4527
|
if (event.data.state === WsEvents.EnumTelemetrySubType.Loaded) {
|
|
5662
4528
|
this.start({
|
|
5663
4529
|
type: event.data.type || WsEvents.WsTimeSpentType.Player,
|
|
@@ -5679,35 +4545,35 @@ class TelemetryService {
|
|
|
5679
4545
|
: '',
|
|
5680
4546
|
pageid: event.pageContext && event.pageContext.pageId || '',
|
|
5681
4547
|
}, {
|
|
5682
|
-
context: Object.assign({ pdata: Object.assign({}, this.pData, { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
4548
|
+
context: Object.assign({ pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
5683
4549
|
object: Object.assign({}, event.data.object),
|
|
5684
4550
|
});
|
|
5685
4551
|
}
|
|
5686
|
-
})
|
|
4552
|
+
});
|
|
5687
4553
|
}
|
|
5688
4554
|
addCustomImpressionListener() {
|
|
5689
4555
|
this.eventsSvc.events$
|
|
5690
|
-
.pipe(filter((
|
|
4556
|
+
.pipe(filter((event) => event &&
|
|
5691
4557
|
event.data &&
|
|
5692
4558
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5693
|
-
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Impression))
|
|
5694
|
-
.subscribe(
|
|
4559
|
+
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Impression))
|
|
4560
|
+
.subscribe(event => {
|
|
5695
4561
|
try {
|
|
5696
4562
|
this.impression(event.data);
|
|
5697
4563
|
}
|
|
5698
4564
|
catch (e) {
|
|
5699
4565
|
console.log('Error in telemetry impression', e);
|
|
5700
4566
|
}
|
|
5701
|
-
})
|
|
4567
|
+
});
|
|
5702
4568
|
}
|
|
5703
4569
|
addTimeSpentListener() {
|
|
5704
4570
|
this.eventsSvc.events$
|
|
5705
|
-
.pipe(filter(
|
|
4571
|
+
.pipe(filter(event => event &&
|
|
5706
4572
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5707
4573
|
event.data.type === WsEvents.WsTimeSpentType.Page &&
|
|
5708
4574
|
event.data.mode &&
|
|
5709
|
-
event.data))
|
|
5710
|
-
.subscribe(
|
|
4575
|
+
event.data))
|
|
4576
|
+
.subscribe(event => {
|
|
5711
4577
|
if (event.data.state === WsEvents.EnumTelemetrySubType.Loaded) {
|
|
5712
4578
|
this.start({
|
|
5713
4579
|
type: event.data.type || WsEvents.WsTimeSpentType.Player,
|
|
@@ -5720,13 +4586,13 @@ class TelemetryService {
|
|
|
5720
4586
|
mode: event.data.mode || WsEvents.WsTimeSpentMode.Play,
|
|
5721
4587
|
}, {}, event.pageContext);
|
|
5722
4588
|
}
|
|
5723
|
-
})
|
|
4589
|
+
});
|
|
5724
4590
|
}
|
|
5725
4591
|
addCustomEventListener() {
|
|
5726
4592
|
this.eventsSvc.events$
|
|
5727
|
-
.pipe(filter(
|
|
5728
|
-
event.eventType === WsEvents.WsEventType.Telemetry))
|
|
5729
|
-
.subscribe(
|
|
4593
|
+
.pipe(filter(event => event &&
|
|
4594
|
+
event.eventType === WsEvents.WsEventType.Telemetry))
|
|
4595
|
+
.subscribe(event => {
|
|
5730
4596
|
if (event.data.state === WsEvents.EnumTelemetrySubType.Loaded &&
|
|
5731
4597
|
event.data.type !== WsEvents.WsTimeSpentType.Player) {
|
|
5732
4598
|
this.start({
|
|
@@ -5741,16 +4607,16 @@ class TelemetryService {
|
|
|
5741
4607
|
mode: event.data.mode || WsEvents.WsTimeSpentMode.Play,
|
|
5742
4608
|
}, event.data.object, event.pageContext);
|
|
5743
4609
|
}
|
|
5744
|
-
})
|
|
4610
|
+
});
|
|
5745
4611
|
}
|
|
5746
4612
|
addPlayerListener() {
|
|
5747
4613
|
this.eventsSvc.events$
|
|
5748
|
-
.pipe(filter(
|
|
4614
|
+
.pipe(filter(event => event &&
|
|
5749
4615
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5750
4616
|
event.data.type === WsEvents.WsTimeSpentType.Player &&
|
|
5751
4617
|
event.data.mode &&
|
|
5752
|
-
event.data))
|
|
5753
|
-
.subscribe(
|
|
4618
|
+
event.data))
|
|
4619
|
+
.subscribe(event => {
|
|
5754
4620
|
const content = event.data.content;
|
|
5755
4621
|
if (event.data.state === WsEvents.EnumTelemetrySubType.Loaded &&
|
|
5756
4622
|
(!content ||
|
|
@@ -5772,22 +4638,22 @@ class TelemetryService {
|
|
|
5772
4638
|
mode: event.data.mode || WsEvents.WsTimeSpentMode.Play,
|
|
5773
4639
|
}, event.data.object, event.pageContext);
|
|
5774
4640
|
}
|
|
5775
|
-
})
|
|
4641
|
+
});
|
|
5776
4642
|
}
|
|
5777
4643
|
addInteractListener() {
|
|
5778
4644
|
const data = this.getPageDetails();
|
|
5779
4645
|
this.triggerNPSUpdate(data.pageid);
|
|
5780
4646
|
this.eventsSvc.events$
|
|
5781
|
-
.pipe(filter((
|
|
4647
|
+
.pipe(filter((event) => event &&
|
|
5782
4648
|
event.data &&
|
|
5783
4649
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5784
|
-
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Interact))
|
|
5785
|
-
.subscribe(
|
|
4650
|
+
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Interact))
|
|
4651
|
+
.subscribe(event => {
|
|
5786
4652
|
const page = this.getPageDetails();
|
|
5787
4653
|
if (typeof event.from === 'string' && this.externalApps[event.from]) {
|
|
5788
4654
|
const externalConfig = {
|
|
5789
4655
|
context: {
|
|
5790
|
-
pdata: Object.assign({}, this.pData, { id: this.externalApps[event.from] }),
|
|
4656
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.externalApps[event.from] }),
|
|
5791
4657
|
},
|
|
5792
4658
|
};
|
|
5793
4659
|
try {
|
|
@@ -5807,7 +4673,7 @@ class TelemetryService {
|
|
|
5807
4673
|
: '',
|
|
5808
4674
|
pageid: event.data.pageContext && event.data.pageContext.pageId || page.pageid,
|
|
5809
4675
|
}, {
|
|
5810
|
-
context: Object.assign({ pdata: Object.assign({}, this.pData, { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
4676
|
+
context: Object.assign({ pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }) }, (event.pageContext && event.pageContext.module ? { env: event.pageContext.module } : null)),
|
|
5811
4677
|
object: Object.assign({}, event.data.object),
|
|
5812
4678
|
});
|
|
5813
4679
|
}
|
|
@@ -5815,15 +4681,15 @@ class TelemetryService {
|
|
|
5815
4681
|
console.log('Error in telemetry interact', e);
|
|
5816
4682
|
}
|
|
5817
4683
|
}
|
|
5818
|
-
})
|
|
4684
|
+
});
|
|
5819
4685
|
}
|
|
5820
4686
|
addFeedbackListener() {
|
|
5821
4687
|
this.eventsSvc.events$
|
|
5822
|
-
.pipe(filter((
|
|
4688
|
+
.pipe(filter((event) => event &&
|
|
5823
4689
|
event.data &&
|
|
5824
4690
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5825
|
-
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Feedback))
|
|
5826
|
-
.subscribe(
|
|
4691
|
+
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Feedback))
|
|
4692
|
+
.subscribe(event => {
|
|
5827
4693
|
const page = this.getPageDetails();
|
|
5828
4694
|
try {
|
|
5829
4695
|
$t.feedback({
|
|
@@ -5833,7 +4699,7 @@ class TelemetryService {
|
|
|
5833
4699
|
pageid: page.pageid,
|
|
5834
4700
|
}, {
|
|
5835
4701
|
context: {
|
|
5836
|
-
pdata: Object.assign({}, this.pData, { id: this.pData.id }),
|
|
4702
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }),
|
|
5837
4703
|
},
|
|
5838
4704
|
object: {
|
|
5839
4705
|
id: event.data.object.contentId || event.data.object.id || '',
|
|
@@ -5846,19 +4712,19 @@ class TelemetryService {
|
|
|
5846
4712
|
catch (e) {
|
|
5847
4713
|
console.log('Error in telemetry interact', e);
|
|
5848
4714
|
}
|
|
5849
|
-
})
|
|
4715
|
+
});
|
|
5850
4716
|
}
|
|
5851
4717
|
addHearbeatListener() {
|
|
5852
4718
|
this.eventsSvc.events$
|
|
5853
|
-
.pipe(filter((
|
|
4719
|
+
.pipe(filter((event) => event &&
|
|
5854
4720
|
event.data &&
|
|
5855
4721
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5856
|
-
event.data.eventSubType === WsEvents.EnumTelemetrySubType.HeartBeat))
|
|
5857
|
-
.subscribe(
|
|
4722
|
+
event.data.eventSubType === WsEvents.EnumTelemetrySubType.HeartBeat))
|
|
4723
|
+
.subscribe(event => {
|
|
5858
4724
|
if (typeof event.from === 'string' && this.externalApps[event.from]) {
|
|
5859
4725
|
const externalConfig = {
|
|
5860
4726
|
context: {
|
|
5861
|
-
pdata: Object.assign({}, this.pData, { id: this.externalApps[event.from] }),
|
|
4727
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.externalApps[event.from] }),
|
|
5862
4728
|
},
|
|
5863
4729
|
};
|
|
5864
4730
|
try {
|
|
@@ -5875,7 +4741,7 @@ class TelemetryService {
|
|
|
5875
4741
|
id: event.data.id,
|
|
5876
4742
|
}, {
|
|
5877
4743
|
context: {
|
|
5878
|
-
pdata: Object.assign({}, this.pData, { id: this.pData.id }),
|
|
4744
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }),
|
|
5879
4745
|
},
|
|
5880
4746
|
});
|
|
5881
4747
|
}
|
|
@@ -5883,15 +4749,15 @@ class TelemetryService {
|
|
|
5883
4749
|
console.log('Error in telemetry heartbeat', e);
|
|
5884
4750
|
}
|
|
5885
4751
|
}
|
|
5886
|
-
})
|
|
4752
|
+
});
|
|
5887
4753
|
}
|
|
5888
4754
|
addSearchListener() {
|
|
5889
4755
|
this.eventsSvc.events$
|
|
5890
|
-
.pipe(filter((
|
|
4756
|
+
.pipe(filter((event) => event &&
|
|
5891
4757
|
event.data &&
|
|
5892
4758
|
event.eventType === WsEvents.WsEventType.Telemetry &&
|
|
5893
|
-
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Search))
|
|
5894
|
-
.subscribe(
|
|
4759
|
+
event.data.eventSubType === WsEvents.EnumTelemetrySubType.Search))
|
|
4760
|
+
.subscribe(event => {
|
|
5895
4761
|
try {
|
|
5896
4762
|
$t.search({
|
|
5897
4763
|
query: event.data.query,
|
|
@@ -5899,14 +4765,14 @@ class TelemetryService {
|
|
|
5899
4765
|
size: event.data.size,
|
|
5900
4766
|
}, {
|
|
5901
4767
|
context: {
|
|
5902
|
-
pdata: Object.assign({}, this.pData, { id: this.pData.id }),
|
|
4768
|
+
pdata: Object.assign(Object.assign({}, this.pData), { id: this.pData.id }),
|
|
5903
4769
|
},
|
|
5904
4770
|
});
|
|
5905
4771
|
}
|
|
5906
4772
|
catch (e) {
|
|
5907
4773
|
console.log('Error in telemetry search', e);
|
|
5908
4774
|
}
|
|
5909
|
-
})
|
|
4775
|
+
});
|
|
5910
4776
|
}
|
|
5911
4777
|
getPageDetails() {
|
|
5912
4778
|
const path = window.location.pathname.replace('/', '');
|
|
@@ -5939,6 +4805,15 @@ class TelemetryService {
|
|
|
5939
4805
|
return null;
|
|
5940
4806
|
}
|
|
5941
4807
|
}
|
|
4808
|
+
TelemetryService.ctorParameters = () => [
|
|
4809
|
+
{ type: ConfigurationsService },
|
|
4810
|
+
{ type: EventService },
|
|
4811
|
+
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] },
|
|
4812
|
+
{ type: LoggerService },
|
|
4813
|
+
{ type: Router },
|
|
4814
|
+
{ type: NPSGridService }
|
|
4815
|
+
];
|
|
4816
|
+
TelemetryService.ɵprov = ɵɵdefineInjectable({ factory: function TelemetryService_Factory() { return new TelemetryService(ɵɵinject(ConfigurationsService), ɵɵinject(EventService), ɵɵinject("environment"), ɵɵinject(LoggerService), ɵɵinject(Router), ɵɵinject(NPSGridService)); }, token: TelemetryService, providedIn: "root" });
|
|
5942
4817
|
TelemetryService.decorators = [
|
|
5943
4818
|
{ type: Injectable, args: [{
|
|
5944
4819
|
providedIn: 'root',
|
|
@@ -5952,22 +4827,6 @@ TelemetryService.ctorParameters = () => [
|
|
|
5952
4827
|
{ type: Router },
|
|
5953
4828
|
{ type: NPSGridService }
|
|
5954
4829
|
];
|
|
5955
|
-
/** @nocollapse */ TelemetryService.ngInjectableDef = ɵɵdefineInjectable({ factory: function TelemetryService_Factory() { return new TelemetryService(ɵɵinject(ConfigurationsService), ɵɵinject(EventService), ɵɵinject("environment"), ɵɵinject(LoggerService), ɵɵinject(Router), ɵɵinject(NPSGridService)); }, token: TelemetryService, providedIn: "root" });
|
|
5956
|
-
if (false) {
|
|
5957
|
-
TelemetryService.prototype.previousUrl;
|
|
5958
|
-
TelemetryService.prototype.telemetryConfig;
|
|
5959
|
-
TelemetryService.prototype.pData;
|
|
5960
|
-
TelemetryService.prototype.contextCdata;
|
|
5961
|
-
TelemetryService.prototype.isAnonymousTelemetry;
|
|
5962
|
-
TelemetryService.prototype.telArray;
|
|
5963
|
-
TelemetryService.prototype.externalApps;
|
|
5964
|
-
TelemetryService.prototype.environment;
|
|
5965
|
-
TelemetryService.prototype.configSvc;
|
|
5966
|
-
TelemetryService.prototype.eventsSvc;
|
|
5967
|
-
TelemetryService.prototype.logger;
|
|
5968
|
-
TelemetryService.prototype.router;
|
|
5969
|
-
TelemetryService.prototype.npsSvc;
|
|
5970
|
-
}
|
|
5971
4830
|
|
|
5972
4831
|
class SubapplicationRespondService {
|
|
5973
4832
|
constructor(configSvc, contentSvc, activatedRoute, router, eventSvc, teleSvc) {
|
|
@@ -5981,14 +4840,14 @@ class SubapplicationRespondService {
|
|
|
5981
4840
|
this.continueLearningData = null;
|
|
5982
4841
|
this.loaded = false;
|
|
5983
4842
|
this.changeContextrespond();
|
|
5984
|
-
this.configSvc.prefChangeNotifier.subscribe((
|
|
4843
|
+
this.configSvc.prefChangeNotifier.subscribe(() => {
|
|
5985
4844
|
this.changeContextrespond();
|
|
5986
|
-
})
|
|
4845
|
+
});
|
|
5987
4846
|
}
|
|
5988
4847
|
loadedRespond(contentWindow, applicationName, id) {
|
|
5989
4848
|
if (id && this.activatedRoute.snapshot.queryParams.viewMode && this.activatedRoute.snapshot.queryParams.viewMode === 'RESUME') {
|
|
5990
4849
|
this.continueLearningData = null;
|
|
5991
|
-
this.contentSvc.fetchContentHistory(id).subscribe(
|
|
4850
|
+
this.contentSvc.fetchContentHistory(id).subscribe(data => {
|
|
5992
4851
|
this.continueLearningData = data.continueData;
|
|
5993
4852
|
if (this.configSvc && this.configSvc.userProfile) {
|
|
5994
4853
|
const firstName = this.configSvc.userProfile.userName ?
|
|
@@ -6026,7 +4885,7 @@ class SubapplicationRespondService {
|
|
|
6026
4885
|
this.loaded = true;
|
|
6027
4886
|
this.subAppname = applicationName;
|
|
6028
4887
|
}
|
|
6029
|
-
})
|
|
4888
|
+
});
|
|
6030
4889
|
}
|
|
6031
4890
|
else {
|
|
6032
4891
|
if (this.configSvc && this.configSvc.userProfile) {
|
|
@@ -6082,7 +4941,7 @@ class SubapplicationRespondService {
|
|
|
6082
4941
|
this.eventSvc.dispatchEvent({
|
|
6083
4942
|
eventType: WsEvents.WsEventType.Telemetry,
|
|
6084
4943
|
eventLogLevel: WsEvents.WsEventLogLevel.Warn,
|
|
6085
|
-
data: Object.assign({}, tData.data, { eventSubType: WsEvents.EnumTelemetrySubType.Interact }),
|
|
4944
|
+
data: Object.assign(Object.assign({}, tData.data), { eventSubType: WsEvents.EnumTelemetrySubType.Interact }),
|
|
6086
4945
|
from: tData.subApplicationName,
|
|
6087
4946
|
to: 'Telemetry',
|
|
6088
4947
|
});
|
|
@@ -6091,7 +4950,7 @@ class SubapplicationRespondService {
|
|
|
6091
4950
|
this.eventSvc.dispatchEvent({
|
|
6092
4951
|
eventType: WsEvents.WsEventType.Telemetry,
|
|
6093
4952
|
eventLogLevel: WsEvents.WsEventLogLevel.Trace,
|
|
6094
|
-
data: Object.assign({}, tData.data, { eventSubType: WsEvents.EnumTelemetrySubType.HeartBeat }),
|
|
4953
|
+
data: Object.assign(Object.assign({}, tData.data), { eventSubType: WsEvents.EnumTelemetrySubType.HeartBeat }),
|
|
6095
4954
|
from: tData.subApplicationName,
|
|
6096
4955
|
to: 'Telemetry',
|
|
6097
4956
|
});
|
|
@@ -6143,6 +5002,15 @@ class SubapplicationRespondService {
|
|
|
6143
5002
|
}
|
|
6144
5003
|
}
|
|
6145
5004
|
}
|
|
5005
|
+
SubapplicationRespondService.ctorParameters = () => [
|
|
5006
|
+
{ type: ConfigurationsService },
|
|
5007
|
+
{ type: WidgetContentService },
|
|
5008
|
+
{ type: ActivatedRoute },
|
|
5009
|
+
{ type: Router },
|
|
5010
|
+
{ type: EventService },
|
|
5011
|
+
{ type: TelemetryService }
|
|
5012
|
+
];
|
|
5013
|
+
SubapplicationRespondService.ɵprov = ɵɵdefineInjectable({ factory: function SubapplicationRespondService_Factory() { return new SubapplicationRespondService(ɵɵinject(ConfigurationsService), ɵɵinject(WidgetContentService), ɵɵinject(ActivatedRoute), ɵɵinject(Router), ɵɵinject(EventService), ɵɵinject(TelemetryService)); }, token: SubapplicationRespondService, providedIn: "root" });
|
|
6146
5014
|
SubapplicationRespondService.decorators = [
|
|
6147
5015
|
{ type: Injectable, args: [{
|
|
6148
5016
|
providedIn: 'root',
|
|
@@ -6156,58 +5024,16 @@ SubapplicationRespondService.ctorParameters = () => [
|
|
|
6156
5024
|
{ type: EventService },
|
|
6157
5025
|
{ type: TelemetryService }
|
|
6158
5026
|
];
|
|
6159
|
-
/** @nocollapse */ SubapplicationRespondService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SubapplicationRespondService_Factory() { return new SubapplicationRespondService(ɵɵinject(ConfigurationsService), ɵɵinject(WidgetContentService), ɵɵinject(ActivatedRoute), ɵɵinject(Router), ɵɵinject(EventService), ɵɵinject(TelemetryService)); }, token: SubapplicationRespondService, providedIn: "root" });
|
|
6160
|
-
if (false) {
|
|
6161
|
-
SubapplicationRespondService.prototype.subAppname;
|
|
6162
|
-
SubapplicationRespondService.prototype.continueLearningData;
|
|
6163
|
-
SubapplicationRespondService.prototype.contentWindowinfo;
|
|
6164
|
-
SubapplicationRespondService.prototype.loaded;
|
|
6165
|
-
SubapplicationRespondService.prototype.configSvc;
|
|
6166
|
-
SubapplicationRespondService.prototype.contentSvc;
|
|
6167
|
-
SubapplicationRespondService.prototype.activatedRoute;
|
|
6168
|
-
SubapplicationRespondService.prototype.router;
|
|
6169
|
-
SubapplicationRespondService.prototype.eventSvc;
|
|
6170
|
-
SubapplicationRespondService.prototype.teleSvc;
|
|
6171
|
-
}
|
|
6172
|
-
|
|
6173
|
-
function IUserPreference() { }
|
|
6174
|
-
if (false) {
|
|
6175
|
-
IUserPreference.prototype.selectedTheme;
|
|
6176
|
-
IUserPreference.prototype.selectedFont;
|
|
6177
|
-
IUserPreference.prototype.selectedLocale;
|
|
6178
|
-
IUserPreference.prototype.isDarkMode;
|
|
6179
|
-
IUserPreference.prototype.isIntranetAllowed;
|
|
6180
|
-
IUserPreference.prototype.isRTL;
|
|
6181
|
-
IUserPreference.prototype.colorPallet;
|
|
6182
|
-
IUserPreference.prototype.defaultCardType;
|
|
6183
|
-
IUserPreference.prototype.pinnedApps;
|
|
6184
|
-
IUserPreference.prototype.selectedLangGroup;
|
|
6185
|
-
IUserPreference.prototype.completedActivity;
|
|
6186
|
-
IUserPreference.prototype.completedTour;
|
|
6187
|
-
IUserPreference.prototype.profileSettings;
|
|
6188
|
-
}
|
|
6189
|
-
function IPortalUrls() { }
|
|
6190
|
-
if (false) {
|
|
6191
|
-
IPortalUrls.prototype.igot;
|
|
6192
|
-
IPortalUrls.prototype.spv;
|
|
6193
|
-
IPortalUrls.prototype.mdo;
|
|
6194
|
-
IPortalUrls.prototype.cbc;
|
|
6195
|
-
IPortalUrls.prototype.cbp;
|
|
6196
|
-
IPortalUrls.prototype.frac;
|
|
6197
|
-
}
|
|
6198
|
-
function IProfile() { }
|
|
6199
|
-
if (false) {
|
|
6200
|
-
IProfile.prototype.showProfilePicture;
|
|
6201
|
-
IProfile.prototype.showUserInterest;
|
|
6202
|
-
IProfile.prototype.showKbFollowed;
|
|
6203
|
-
IProfile.prototype.showPlaylist;
|
|
6204
|
-
IProfile.prototype.showAuthoredByMe;
|
|
6205
|
-
IProfile.prototype.showReviewedByMe;
|
|
6206
|
-
IProfile.prototype.showBadgeDetails;
|
|
6207
|
-
IProfile.prototype.showBlogs;
|
|
6208
|
-
IProfile.prototype.showQnA;
|
|
6209
|
-
}
|
|
6210
5027
|
|
|
5028
|
+
var __awaiter$3 = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5029
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
5030
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5031
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5032
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5033
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
5034
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
5035
|
+
});
|
|
5036
|
+
};
|
|
6211
5037
|
const endpoints = {
|
|
6212
5038
|
userPref: '/apis/protected/v8/user/preference',
|
|
6213
5039
|
};
|
|
@@ -6219,25 +5045,25 @@ class UserPreferenceService {
|
|
|
6219
5045
|
initialize() {
|
|
6220
5046
|
this.configurationSvc.prefChangeNotifier
|
|
6221
5047
|
.pipe(debounceTime(250))
|
|
6222
|
-
.subscribe((
|
|
5048
|
+
.subscribe((changedUserPref) => {
|
|
6223
5049
|
if (this.configurationSvc.isAuthenticated) {
|
|
6224
5050
|
this.saveUserPreference(changedUserPref);
|
|
6225
5051
|
}
|
|
6226
|
-
})
|
|
5052
|
+
});
|
|
6227
5053
|
}
|
|
6228
5054
|
fetchUserPreference() {
|
|
6229
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5055
|
+
return __awaiter$3(this, void 0, void 0, function* () {
|
|
6230
5056
|
const pref = yield this.http.get(endpoints.userPref).toPromise();
|
|
6231
5057
|
return pref;
|
|
6232
5058
|
});
|
|
6233
5059
|
}
|
|
6234
5060
|
saveUserPreference(changedUserPref) {
|
|
6235
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5061
|
+
return __awaiter$3(this, void 0, void 0, function* () {
|
|
6236
5062
|
try {
|
|
6237
5063
|
if (!changedUserPref) {
|
|
6238
5064
|
return false;
|
|
6239
5065
|
}
|
|
6240
|
-
const newUserPref = Object.assign({}, this.configurationSvc.userPreference, { pinnedApps: (changedUserPref && changedUserPref.pinnedApps) ||
|
|
5066
|
+
const newUserPref = Object.assign(Object.assign(Object.assign(Object.assign({}, this.configurationSvc.userPreference), { pinnedApps: (changedUserPref && changedUserPref.pinnedApps) ||
|
|
6241
5067
|
(this.configurationSvc.userPreference &&
|
|
6242
5068
|
this.configurationSvc.userPreference.pinnedApps) ||
|
|
6243
5069
|
'', isDarkMode: this.configurationSvc.isDarkMode, isRTL: this.configurationSvc.isRTL, selectedTheme: (this.configurationSvc.activeThemeObject &&
|
|
@@ -6254,17 +5080,17 @@ class UserPreferenceService {
|
|
|
6254
5080
|
this.configurationSvc.userPreference.defaultCardType) ||
|
|
6255
5081
|
'', completedActivity: (this.configurationSvc.userPreference &&
|
|
6256
5082
|
this.configurationSvc.userPreference.completedActivity) ||
|
|
6257
|
-
[] }, (changedUserPref || {}), { completedTour: this.configurationSvc.completedTour, profileSettings: (this.configurationSvc.userPreference &&
|
|
5083
|
+
[] }), (changedUserPref || {})), { completedTour: this.configurationSvc.completedTour, profileSettings: (this.configurationSvc.userPreference &&
|
|
6258
5084
|
this.configurationSvc.userPreference.profileSettings) ||
|
|
6259
5085
|
this.configurationSvc.profileSettings });
|
|
6260
5086
|
const oldUserPref = this.configurationSvc.userPreference;
|
|
6261
5087
|
this.configurationSvc.userPreference = newUserPref;
|
|
6262
5088
|
yield this.http
|
|
6263
5089
|
.put(endpoints.userPref, newUserPref)
|
|
6264
|
-
.pipe(retry(3), catchError(
|
|
5090
|
+
.pipe(retry(3), catchError(err => {
|
|
6265
5091
|
this.configurationSvc.userPreference = oldUserPref;
|
|
6266
5092
|
return of(err);
|
|
6267
|
-
}))
|
|
5093
|
+
}))
|
|
6268
5094
|
.toPromise();
|
|
6269
5095
|
return true;
|
|
6270
5096
|
}
|
|
@@ -6274,6 +5100,11 @@ class UserPreferenceService {
|
|
|
6274
5100
|
});
|
|
6275
5101
|
}
|
|
6276
5102
|
}
|
|
5103
|
+
UserPreferenceService.ctorParameters = () => [
|
|
5104
|
+
{ type: HttpClient },
|
|
5105
|
+
{ type: ConfigurationsService }
|
|
5106
|
+
];
|
|
5107
|
+
UserPreferenceService.ɵprov = ɵɵdefineInjectable({ factory: function UserPreferenceService_Factory() { return new UserPreferenceService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService)); }, token: UserPreferenceService, providedIn: "root" });
|
|
6277
5108
|
UserPreferenceService.decorators = [
|
|
6278
5109
|
{ type: Injectable, args: [{
|
|
6279
5110
|
providedIn: 'root',
|
|
@@ -6283,11 +5114,6 @@ UserPreferenceService.ctorParameters = () => [
|
|
|
6283
5114
|
{ type: HttpClient },
|
|
6284
5115
|
{ type: ConfigurationsService }
|
|
6285
5116
|
];
|
|
6286
|
-
/** @nocollapse */ UserPreferenceService.ngInjectableDef = ɵɵdefineInjectable({ factory: function UserPreferenceService_Factory() { return new UserPreferenceService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService)); }, token: UserPreferenceService, providedIn: "root" });
|
|
6287
|
-
if (false) {
|
|
6288
|
-
UserPreferenceService.prototype.http;
|
|
6289
|
-
UserPreferenceService.prototype.configurationSvc;
|
|
6290
|
-
}
|
|
6291
5117
|
|
|
6292
5118
|
class MultilingualTranslationsService {
|
|
6293
5119
|
constructor(translate, http, configSvc) {
|
|
@@ -6342,11 +5168,11 @@ class MultilingualTranslationsService {
|
|
|
6342
5168
|
let nlabel = label;
|
|
6343
5169
|
nlabel = nlabel.toLowerCase();
|
|
6344
5170
|
const sl = nlabel.split(' ');
|
|
6345
|
-
sl.forEach((
|
|
5171
|
+
sl.forEach((w, index) => {
|
|
6346
5172
|
if (index !== 0) {
|
|
6347
5173
|
sl[index] = w[0].toUpperCase() + w.slice(1);
|
|
6348
5174
|
}
|
|
6349
|
-
})
|
|
5175
|
+
});
|
|
6350
5176
|
nlabel = sl.join('');
|
|
6351
5177
|
nlabel = nlabel.replace(/\s/g, '');
|
|
6352
5178
|
if (subtype) {
|
|
@@ -6359,11 +5185,11 @@ class MultilingualTranslationsService {
|
|
|
6359
5185
|
translateActualLabel(label, type, subtype) {
|
|
6360
5186
|
let nlabel = label;
|
|
6361
5187
|
const sl = nlabel.split(' ');
|
|
6362
|
-
sl.forEach((
|
|
5188
|
+
sl.forEach((w, index) => {
|
|
6363
5189
|
if (index !== 0) {
|
|
6364
5190
|
sl[index] = w[0].toUpperCase() + w.slice(1);
|
|
6365
5191
|
}
|
|
6366
|
-
})
|
|
5192
|
+
});
|
|
6367
5193
|
nlabel = sl.join('');
|
|
6368
5194
|
nlabel = nlabel.replace(/\s/g, '');
|
|
6369
5195
|
if (subtype) {
|
|
@@ -6395,6 +5221,12 @@ class MultilingualTranslationsService {
|
|
|
6395
5221
|
}
|
|
6396
5222
|
}
|
|
6397
5223
|
}
|
|
5224
|
+
MultilingualTranslationsService.ctorParameters = () => [
|
|
5225
|
+
{ type: TranslateService },
|
|
5226
|
+
{ type: HttpClient },
|
|
5227
|
+
{ type: ConfigurationsService }
|
|
5228
|
+
];
|
|
5229
|
+
MultilingualTranslationsService.ɵprov = ɵɵdefineInjectable({ factory: function MultilingualTranslationsService_Factory() { return new MultilingualTranslationsService(ɵɵinject(TranslateService), ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService)); }, token: MultilingualTranslationsService, providedIn: "root" });
|
|
6398
5230
|
MultilingualTranslationsService.decorators = [
|
|
6399
5231
|
{ type: Injectable, args: [{
|
|
6400
5232
|
providedIn: 'root',
|
|
@@ -6405,73 +5237,6 @@ MultilingualTranslationsService.ctorParameters = () => [
|
|
|
6405
5237
|
{ type: HttpClient },
|
|
6406
5238
|
{ type: ConfigurationsService }
|
|
6407
5239
|
];
|
|
6408
|
-
/** @nocollapse */ MultilingualTranslationsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function MultilingualTranslationsService_Factory() { return new MultilingualTranslationsService(ɵɵinject(TranslateService), ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService)); }, token: MultilingualTranslationsService, providedIn: "root" });
|
|
6409
|
-
if (false) {
|
|
6410
|
-
MultilingualTranslationsService.prototype.selectedLang;
|
|
6411
|
-
MultilingualTranslationsService.prototype.languageSelected;
|
|
6412
|
-
MultilingualTranslationsService.prototype.languageSelectedObservable;
|
|
6413
|
-
MultilingualTranslationsService.prototype.editProfileDetails;
|
|
6414
|
-
MultilingualTranslationsService.prototype.translate;
|
|
6415
|
-
MultilingualTranslationsService.prototype.http;
|
|
6416
|
-
MultilingualTranslationsService.prototype.configSvc;
|
|
6417
|
-
}
|
|
6418
|
-
|
|
6419
|
-
var NsWidgetResolver;
|
|
6420
|
-
(function (NsWidgetResolver) {
|
|
6421
|
-
function IUnitPermissionObject() { }
|
|
6422
|
-
NsWidgetResolver.IUnitPermissionObject = IUnitPermissionObject;
|
|
6423
|
-
if (false) {
|
|
6424
|
-
IUnitPermissionObject.prototype.all;
|
|
6425
|
-
IUnitPermissionObject.prototype.none;
|
|
6426
|
-
IUnitPermissionObject.prototype.some;
|
|
6427
|
-
}
|
|
6428
|
-
function IPermissions() { }
|
|
6429
|
-
NsWidgetResolver.IPermissions = IPermissions;
|
|
6430
|
-
if (false) {
|
|
6431
|
-
IPermissions.prototype.enabled;
|
|
6432
|
-
IPermissions.prototype.available;
|
|
6433
|
-
IPermissions.prototype.roles;
|
|
6434
|
-
IPermissions.prototype.features;
|
|
6435
|
-
IPermissions.prototype.groups;
|
|
6436
|
-
}
|
|
6437
|
-
function IBaseConfig() { }
|
|
6438
|
-
NsWidgetResolver.IBaseConfig = IBaseConfig;
|
|
6439
|
-
if (false) {
|
|
6440
|
-
IBaseConfig.prototype.widgetType;
|
|
6441
|
-
IBaseConfig.prototype.widgetSubType;
|
|
6442
|
-
}
|
|
6443
|
-
function IRegistrationConfig() { }
|
|
6444
|
-
NsWidgetResolver.IRegistrationConfig = IRegistrationConfig;
|
|
6445
|
-
if (false) {
|
|
6446
|
-
IRegistrationConfig.prototype.component;
|
|
6447
|
-
}
|
|
6448
|
-
function IRegistrationsPermissionConfig() { }
|
|
6449
|
-
NsWidgetResolver.IRegistrationsPermissionConfig = IRegistrationsPermissionConfig;
|
|
6450
|
-
if (false) {
|
|
6451
|
-
IRegistrationsPermissionConfig.prototype.widgetPermission;
|
|
6452
|
-
}
|
|
6453
|
-
function IRenderConfigWithTypedData() { }
|
|
6454
|
-
NsWidgetResolver.IRenderConfigWithTypedData = IRenderConfigWithTypedData;
|
|
6455
|
-
if (false) {
|
|
6456
|
-
IRenderConfigWithTypedData.prototype.widgetData;
|
|
6457
|
-
IRenderConfigWithTypedData.prototype.widgetInstanceId;
|
|
6458
|
-
IRenderConfigWithTypedData.prototype.widgetHostClass;
|
|
6459
|
-
IRenderConfigWithTypedData.prototype.widgetHostStyle;
|
|
6460
|
-
}
|
|
6461
|
-
function IWidgetData() { }
|
|
6462
|
-
NsWidgetResolver.IWidgetData = IWidgetData;
|
|
6463
|
-
if (false) {
|
|
6464
|
-
IWidgetData.prototype.widgetSafeStyle;
|
|
6465
|
-
IWidgetData.prototype.updateBaseComponent;
|
|
6466
|
-
}
|
|
6467
|
-
function ITitle() { }
|
|
6468
|
-
NsWidgetResolver.ITitle = ITitle;
|
|
6469
|
-
if (false) {
|
|
6470
|
-
ITitle.prototype.title;
|
|
6471
|
-
ITitle.prototype.url;
|
|
6472
|
-
ITitle.prototype.icon;
|
|
6473
|
-
}
|
|
6474
|
-
})(NsWidgetResolver || (NsWidgetResolver = {}));
|
|
6475
5240
|
|
|
6476
|
-
export { AuthKeycloakService, AuthMicrosoftService, ClassChangeOnScrollModule, ConfigurationsService, DefaultThumbnailModule, EFeatures, EInstance, EventService, ExploreDetailResolve, HorizontalScrollerModule, HorizontalScrollerV2Module, ImageCropComponent, ImageCropModule, ImageResponsiveModule, InViewPortModule, LoggerService, LogoutComponent, LogoutModule, MarketingOfferingResolve, ModuleNameResolve, MultilingualTranslationsService, NPSGridService, NavigationModule, NsContent, OrderByPipe, PageNameResolve, PageResolve, PermissionModule, PipeCertificateImageURL, PipeCertificateImageURLModule, PipeConciseDateRangeModule, PipeConciseDateRangePipe, PipeCountTransformModule, PipeCountTransformPipe, PipeCourseNameModule, PipeCourseNamePipe, PipeDateConcatModule, PipeDateConcatPipe, PipeDurationTransformModule, PipeDurationTransformPipe, PipeEmailModule, PipeEmailPipe, PipeFilterModule, PipeFilterPipe, PipeFilterSearchModule, PipeFilterSearchPipe, PipeFilterV2Module, PipeFilterV2Pipe, PipeFilterV3Module, PipeFilterV3Pipe, PipeHtmlTagRemovalModule, PipeHtmlTagRemovalPipe, PipeLimitToModule, PipeLimitToPipe, PipeListFilterModule, PipeListFilterPipe, PipeNameTransformModule, PipeNameTransformPipe, PipeNicRelativeModule, PipeNicRelativePipe, PipeOrderByModule, PipeOrdinalModule, PipeOrdinalPipe, PipePartialContentModule, PipePartialContentPipe, PipePublicURL, PipePublicURLModule, PipeRelativeTimeModule, PipeRelativeTimePipe, PipeSafeSanitizerModule, PipeSafeSanitizerPipe, SubapplicationRespondService, TelemetryService, UserPreferenceService, UtilityService, ValueService, WidgetContentService, WsEvents, getStringifiedQueryParams,
|
|
5241
|
+
export { AuthKeycloakService, AuthMicrosoftService, ClassChangeOnScrollDirective, ClassChangeOnScrollModule, ConfigurationsService, DefaultThumbnailDirective, DefaultThumbnailModule, EFeatures, EInstance, EventService, ExploreDetailResolve, HorizontalScrollerComponent, HorizontalScrollerModule, HorizontalScrollerV2Component, HorizontalScrollerV2Module, ImageCropComponent, ImageCropModule, ImageResponsiveDirective, ImageResponsiveModule, InViewPortDirective, InViewPortModule, LoggerService, LogoutComponent, LogoutModule, MarketingOfferingResolve, ModuleNameResolve, MultilingualTranslationsService, NPSGridService, NavigationDirective, NavigationModule, NsContent, OrderByPipe, PageNameResolve, PageResolve, PermissionDirective, PermissionModule, PipeCertificateImageURL, PipeCertificateImageURLModule, PipeConciseDateRangeModule, PipeConciseDateRangePipe, PipeCountTransformModule, PipeCountTransformPipe, PipeCourseNameModule, PipeCourseNamePipe, PipeDateConcatModule, PipeDateConcatPipe, PipeDurationTransformModule, PipeDurationTransformPipe, PipeEmailModule, PipeEmailPipe, PipeFilterModule, PipeFilterPipe, PipeFilterSearchModule, PipeFilterSearchPipe, PipeFilterV2Module, PipeFilterV2Pipe, PipeFilterV3Module, PipeFilterV3Pipe, PipeHtmlTagRemovalModule, PipeHtmlTagRemovalPipe, PipeLimitToModule, PipeLimitToPipe, PipeListFilterModule, PipeListFilterPipe, PipeNameTransformModule, PipeNameTransformPipe, PipeNicRelativeModule, PipeNicRelativePipe, PipeOrderByModule, PipeOrdinalModule, PipeOrdinalPipe, PipePartialContentModule, PipePartialContentPipe, PipePublicURL, PipePublicURLModule, PipeRelativeTimeModule, PipeRelativeTimePipe, PipeSafeSanitizerModule, PipeSafeSanitizerPipe, SubapplicationRespondService, TelemetryService, UserPreferenceService, UtilityService, ValueService, WidgetContentService, WsEvents, getStringifiedQueryParams, ɵ0$1 as ɵ0, ɵ1$1 as ɵ1, ɵ2, ɵ3 };
|
|
6477
5242
|
//# sourceMappingURL=sunbird-cb-utils-v2.js.map
|