@sunbird-cb/utils-v2 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/bundles/sunbird-cb-utils-v2.umd.js +1397 -1268
  2. package/bundles/sunbird-cb-utils-v2.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-utils-v2.umd.min.js +1 -15
  4. package/bundles/sunbird-cb-utils-v2.umd.min.js.map +1 -1
  5. package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +26 -4
  6. package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +15 -0
  7. package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +17 -0
  8. package/esm2015/lib/services/event.model.js +17 -1
  9. package/esm2015/public-api.js +5 -1
  10. package/esm2015/sunbird-cb-utils-v2.js +2 -3
  11. package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +26 -4
  12. package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +19 -0
  13. package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +21 -0
  14. package/esm5/lib/services/event.model.js +17 -1
  15. package/esm5/public-api.js +5 -1
  16. package/esm5/sunbird-cb-utils-v2.js +2 -3
  17. package/fesm2015/sunbird-cb-utils-v2.js +2727 -2606
  18. package/fesm2015/sunbird-cb-utils-v2.js.map +1 -1
  19. package/fesm5/sunbird-cb-utils-v2.js +1387 -1260
  20. package/fesm5/sunbird-cb-utils-v2.js.map +1 -1
  21. package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +6 -1
  22. package/lib/pipes/pipe-ordinal/pipe-ordinal.module.d.ts +2 -0
  23. package/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.d.ts +4 -0
  24. package/lib/services/event.model.d.ts +18 -2
  25. package/package.json +1 -1
  26. package/public-api.d.ts +4 -0
  27. package/sunbird-cb-utils-v2.d.ts +0 -1
  28. package/sunbird-cb-utils-v2.metadata.json +1 -1
@@ -1,11 +1,11 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/dialog'), require('@angular/material/snack-bar'), require('rxjs'), require('@angular/cdk/layout'), require('rxjs/operators'), require('@angular/common'), require('@angular/material'), require('ngx-image-cropper'), require('@angular/common/http'), require('keycloak-angular'), require('@angular/cdk/platform'), require('@angular/router'), require('@ngx-translate/core'), require('moment'), require('lodash'), require('@angular/platform-browser')) :
3
- typeof define === 'function' && define.amd ? define('@sunbird-cb/utils-v2', ['exports', '@angular/core', '@angular/material/dialog', '@angular/material/snack-bar', 'rxjs', '@angular/cdk/layout', 'rxjs/operators', '@angular/common', '@angular/material', 'ngx-image-cropper', '@angular/common/http', 'keycloak-angular', '@angular/cdk/platform', '@angular/router', '@ngx-translate/core', 'moment', 'lodash', '@angular/platform-browser'], factory) :
4
- (global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb']['utils-v2'] = {}), global.ng.core, global.ng.material.dialog, global.ng.material['snack-bar'], global.rxjs, global.ng.cdk.layout, global.rxjs.operators, global.ng.common, global.ng.material, global.ngxImageCropper, global.ng.common.http, global['keycloak-angular'], global.ng.cdk.platform, global.ng.router, global.core$1, global.moment, global._, global.ng.platformBrowser));
5
- }(this, (function (exports, core, dialog, snackBar, rxjs, layout, operators, common, material, ngxImageCropper, http, keycloakAngular, platform, router, core$1, moment, _, platformBrowser) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/dialog'), require('@angular/material/snack-bar'), require('rxjs'), require('@angular/cdk/layout'), require('rxjs/operators'), require('@angular/common'), require('@angular/material'), require('ngx-image-cropper'), require('@angular/cdk/platform'), require('@angular/common/http'), require('@angular/router'), require('lodash'), require('moment'), require('keycloak-angular'), require('@ngx-translate/core'), require('@angular/platform-browser')) :
3
+ typeof define === 'function' && define.amd ? define('@sunbird-cb/utils-v2', ['exports', '@angular/core', '@angular/material/dialog', '@angular/material/snack-bar', 'rxjs', '@angular/cdk/layout', 'rxjs/operators', '@angular/common', '@angular/material', 'ngx-image-cropper', '@angular/cdk/platform', '@angular/common/http', '@angular/router', 'lodash', 'moment', 'keycloak-angular', '@ngx-translate/core', '@angular/platform-browser'], factory) :
4
+ (global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb']['utils-v2'] = {}), global.ng.core, global.ng.material.dialog, global.ng.material['snack-bar'], global.rxjs, global.ng.cdk.layout, global.rxjs.operators, global.ng.common, global.ng.material, global.ngxImageCropper, global.ng.cdk.platform, global.ng.common.http, global.ng.router, global._, global.moment, global['keycloak-angular'], global.core$1, global.ng.platformBrowser));
5
+ }(this, (function (exports, core, dialog, snackBar, rxjs, layout, operators, common, material, ngxImageCropper, platform, http, router, _, moment, keycloakAngular, core$1, platformBrowser) { 'use strict';
6
6
 
7
- moment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment;
8
7
  var ___default = 'default' in _ ? _['default'] : _;
8
+ moment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment;
9
9
 
10
10
  /*! *****************************************************************************
11
11
  Copyright (c) Microsoft Corporation.
@@ -1733,252 +1733,904 @@
1733
1733
  return HorizontalScrollerModule;
1734
1734
  }());
1735
1735
 
1736
- var HorizontalScrollerV2Component = (function () {
1737
- function HorizontalScrollerV2Component() {
1738
- this.loadStatus = 'fetching';
1739
- this.onHover = false;
1740
- this.sliderConfig = {
1741
- showNavs: true,
1742
- showDots: true,
1743
- cerificateCardMargin: false,
1744
- };
1745
- this.loadNext = new core.EventEmitter();
1746
- this.horizontalScrollElem = null;
1747
- this.enablePrev = false;
1748
- this.enableNext = false;
1749
- this.activeNav = 0;
1750
- this.cardSubType = 'standard';
1751
- this.bottomDotsArray = [];
1752
- this.scrollObserver = null;
1753
- }
1754
- HorizontalScrollerV2Component.prototype.ngOnInit = function () {
1755
- var _this = this;
1756
- this.cardSubType = this.stripConfig && this.stripConfig.cardSubType ? this.stripConfig.cardSubType : 'standard';
1757
- if (this.horizontalScrollElem) {
1758
- var horizontalScrollElem_1 = this.horizontalScrollElem;
1759
- this.scrollObserver = rxjs.fromEvent(horizontalScrollElem_1.nativeElement, 'scroll')
1760
- .pipe(operators.debounceTime(100), operators.throttleTime(100))
1761
- .subscribe((function (_) {
1762
- _this.updateNavigationBtnStatus(((horizontalScrollElem_1
1763
- .nativeElement)));
1764
- }));
1765
- this.getBottomDotsArray();
1766
- }
1767
- };
1768
- HorizontalScrollerV2Component.prototype.ngOnChanges = function () {
1769
- var _this = this;
1770
- rxjs.timer(100).subscribe((function () {
1771
- if (_this.horizontalScrollElem) {
1772
- _this.updateNavigationBtnStatus(((_this.horizontalScrollElem
1773
- .nativeElement)));
1774
- }
1775
- }));
1776
- this.getBottomDotsArray();
1777
- };
1778
- HorizontalScrollerV2Component.prototype.ngOnDestroy = function () {
1779
- if (this.scrollObserver) {
1780
- this.scrollObserver.unsubscribe();
1781
- }
1782
- };
1783
- HorizontalScrollerV2Component.prototype.showPrev = function () {
1784
- if (this.horizontalScrollElem) {
1785
- var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
1786
- this.horizontalScrollElem.nativeElement.scrollTo({
1787
- left: this.horizontalScrollElem.nativeElement.scrollLeft - clientWidth,
1788
- behavior: 'smooth',
1789
- });
1790
- this.activeNav -= 1;
1791
- }
1792
- };
1793
- HorizontalScrollerV2Component.prototype.showNext = function () {
1794
- if (this.horizontalScrollElem) {
1795
- var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
1796
- this.horizontalScrollElem.nativeElement.scrollTo({
1797
- left: this.horizontalScrollElem.nativeElement.scrollLeft + clientWidth,
1798
- behavior: 'smooth',
1799
- });
1800
- this.activeNav += 1;
1801
- }
1802
- };
1803
- HorizontalScrollerV2Component.prototype.updateNavigationBtnStatus = function (elem) {
1804
- this.enablePrev = true;
1805
- this.enableNext = true;
1806
- if (elem.scrollLeft === 0) {
1807
- this.enablePrev = false;
1808
- this.activeNav = 0;
1809
- }
1810
- if (elem.scrollWidth === elem.clientWidth + elem.scrollLeft) {
1811
- if (this.loadStatus === 'hasMore') {
1812
- this.loadNext.emit();
1813
- }
1814
- else {
1815
- this.enableNext = false;
1816
- if (this.bottomDotsArray.length) {
1817
- this.activeNav = this.bottomDotsArray.length - 1;
1818
- }
1819
- }
1820
- }
1821
- if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
1822
- this.activeNav = Math.ceil(elem.scrollLeft / elem.clientWidth);
1823
- }
1824
- };
1825
- HorizontalScrollerV2Component.prototype.slideTo = function (ele) {
1826
- var diff = ele - this.activeNav;
1827
- if (this.horizontalScrollElem) {
1828
- var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
1829
- this.horizontalScrollElem.nativeElement.scrollTo({
1830
- left: this.horizontalScrollElem.nativeElement.scrollLeft + (clientWidth * diff),
1831
- behavior: 'smooth',
1832
- });
1833
- }
1834
- this.activeNav = ele;
1835
- };
1836
- HorizontalScrollerV2Component.prototype.getBottomDotsArray = function () {
1837
- var _this = this;
1838
- if (this.horizontalScrollElem) {
1839
- this.bottomDotsArray = [];
1840
- var cardWidth = void 0;
1841
- var arrLength_1;
1842
- if (this.cardSubType !== 'card-wide-v2') {
1843
- cardWidth = this.cardSubType === 'standard' ? 245 :
1844
- ((document.getElementsByClassName(this.cardSubType) &&
1845
- document.getElementsByClassName(this.cardSubType)[0] !== undefined)
1846
- ? document.getElementsByClassName(this.cardSubType)[0].clientWidth : 245);
1847
- if (document.getElementsByClassName('horizontal-scroll-container') &&
1848
- document.getElementsByClassName('horizontal-scroll-container')[0]) {
1849
- var scrollerWidth = document.getElementsByClassName('horizontal-scroll-container')[0].clientWidth;
1850
- var totalCardsLength = cardWidth * this.widgetsLength;
1851
- if (totalCardsLength > scrollerWidth) {
1852
- arrLength_1 = (scrollerWidth / cardWidth);
1853
- this.defaultMaxWidgets = this.defaultMaxWidgets ? this.widgetsLength < this.defaultMaxWidgets ?
1854
- this.widgetsLength : this.defaultMaxWidgets : this.defaultMaxWidgets;
1855
- arrLength_1 = this.defaultMaxWidgets / arrLength_1;
1856
- for (var i = 0; i < arrLength_1; i += 1) {
1857
- this.bottomDotsArray.push(i);
1858
- }
1859
- }
1860
- }
1861
- }
1862
- else {
1863
- setTimeout((function () {
1864
- arrLength_1 = document.getElementsByClassName(_this.cardSubType).length;
1865
- for (var i = 0; i < arrLength_1; i += 1) {
1866
- _this.bottomDotsArray.push(i);
1867
- }
1868
- }), 1000);
1869
- }
1870
- }
1871
- };
1872
- HorizontalScrollerV2Component.decorators = [
1873
- { type: core.Component, args: [{
1874
- selector: 'ws-utils-horizontal-scroller-v2',
1875
- 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>",
1876
- 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}}"]
1877
- }] }
1878
- ];
1879
- HorizontalScrollerV2Component.ctorParameters = function () { return []; };
1880
- HorizontalScrollerV2Component.propDecorators = {
1881
- loadStatus: [{ type: core.Input }],
1882
- onHover: [{ type: core.Input }],
1883
- sliderConfig: [{ type: core.Input }],
1884
- loadNext: [{ type: core.Output }],
1885
- widgetsLength: [{ type: core.Input }],
1886
- defaultMaxWidgets: [{ type: core.Input }],
1887
- stripConfig: [{ type: core.Input }],
1888
- horizontalScrollElem: [{ type: core.ViewChild, args: ['horizontalScrollElem', { static: true },] }]
1889
- };
1890
- return HorizontalScrollerV2Component;
1891
- }());
1892
- if (false) {
1893
- HorizontalScrollerV2Component.prototype.loadStatus;
1894
- HorizontalScrollerV2Component.prototype.onHover;
1895
- HorizontalScrollerV2Component.prototype.sliderConfig;
1896
- HorizontalScrollerV2Component.prototype.loadNext;
1897
- HorizontalScrollerV2Component.prototype.widgetsLength;
1898
- HorizontalScrollerV2Component.prototype.defaultMaxWidgets;
1899
- HorizontalScrollerV2Component.prototype.stripConfig;
1900
- HorizontalScrollerV2Component.prototype.horizontalScrollElem;
1901
- HorizontalScrollerV2Component.prototype.enablePrev;
1902
- HorizontalScrollerV2Component.prototype.enableNext;
1903
- HorizontalScrollerV2Component.prototype.activeNav;
1904
- HorizontalScrollerV2Component.prototype.cardSubType;
1905
- HorizontalScrollerV2Component.prototype.bottomDotsArray;
1906
- HorizontalScrollerV2Component.prototype.scrollObserver;
1907
- }
1908
1736
 
1909
- var HorizontalScrollerV2Module = (function () {
1910
- function HorizontalScrollerV2Module() {
1737
+ (function (WsEvents) {
1738
+ function IWsEventsFromWidget() { }
1739
+ WsEvents.IWsEventsFromWidget = IWsEventsFromWidget;
1740
+ if (false) {
1741
+ IWsEventsFromWidget.prototype.type;
1742
+ IWsEventsFromWidget.prototype.widgetType;
1743
+ IWsEventsFromWidget.prototype.widgetSubType;
1911
1744
  }
1912
- HorizontalScrollerV2Module.decorators = [
1913
- { type: core.NgModule, args: [{
1914
- declarations: [HorizontalScrollerV2Component],
1915
- imports: [
1916
- common.CommonModule,
1917
- material.MatButtonModule,
1918
- material.MatIconModule,
1919
- material.MatProgressSpinnerModule,
1920
- ],
1921
- exports: [HorizontalScrollerV2Component],
1922
- },] }
1923
- ];
1924
- return HorizontalScrollerV2Module;
1925
- }());
1926
-
1927
- var LoggerService = (function () {
1928
- function LoggerService(configSvc) {
1929
- this.configSvc = configSvc;
1930
- this.consoleError = console.error;
1931
- this.consoleInfo = console.info;
1932
- this.consoleLog = console.log;
1933
- this.consoleWarn = console.warn;
1934
- this.noConsole = (function () { });
1745
+ function IWsEventsFromPage() { }
1746
+ WsEvents.IWsEventsFromPage = IWsEventsFromPage;
1747
+ if (false) {
1748
+ IWsEventsFromPage.prototype.type;
1749
+ IWsEventsFromPage.prototype.pageUrl;
1750
+ IWsEventsFromPage.prototype.pageType;
1935
1751
  }
1936
- Object.defineProperty(LoggerService.prototype, "error", {
1937
- get: function () {
1938
- return this.consoleError;
1939
- },
1940
- enumerable: true,
1941
- configurable: true
1942
- });
1943
- Object.defineProperty(LoggerService.prototype, "info", {
1944
- get: function () {
1945
- return this.configSvc.isProduction ? this.noConsole : this.consoleInfo;
1946
- },
1947
- enumerable: true,
1948
- configurable: true
1949
- });
1950
- Object.defineProperty(LoggerService.prototype, "log", {
1951
- get: function () {
1952
- return this.configSvc.isProduction ? this.noConsole : this.consoleLog;
1953
- },
1954
- enumerable: true,
1955
- configurable: true
1956
- });
1957
- Object.defineProperty(LoggerService.prototype, "warn", {
1958
- get: function () {
1959
- return this.configSvc.isProduction ? this.noConsole : this.consoleWarn;
1960
- },
1961
- enumerable: true,
1962
- configurable: true
1963
- });
1964
- LoggerService.prototype.removeConsoleAccess = function () {
1965
- if (this.configSvc.isProduction) {
1966
- return;
1967
- }
1968
- var noConsoleWithError = (function () {
1969
- throw new Error('Console Functions Usage Are Not Allowed.');
1970
- });
1971
- console.warn = noConsoleWithError;
1972
- console.info = noConsoleWithError;
1973
- console.error = noConsoleWithError;
1974
- };
1975
- LoggerService.decorators = [
1976
- { type: core.Injectable, args: [{
1977
- providedIn: 'root',
1978
- },] }
1979
- ];
1980
- LoggerService.ctorParameters = function () { return [
1981
- { type: ConfigurationsService }
1752
+ var WsEventType;
1753
+ (function (WsEventType) {
1754
+ WsEventType["Action"] = "Action";
1755
+ WsEventType["Telemetry"] = "Telemetry";
1756
+ WsEventType["PageNavigation"] = "PageNavigation";
1757
+ WsEventType["AccessRestrictedContentAccessed"] = "AccessRestrictedContentAccessed";
1758
+ WsEventType["PageSlow"] = "PageSlow";
1759
+ WsEventType["ErrorOccurred"] = "ErrorOccurred";
1760
+ WsEventType["WidgetResolveError"] = "WidgetResolveError";
1761
+ })(WsEventType = WsEvents.WsEventType || (WsEvents.WsEventType = {}));
1762
+ var WsEventLogLevel;
1763
+ (function (WsEventLogLevel) {
1764
+ WsEventLogLevel["Warn"] = "Warn";
1765
+ WsEventLogLevel["Error"] = "Error";
1766
+ WsEventLogLevel["Info"] = "Info";
1767
+ WsEventLogLevel["Log"] = "Log";
1768
+ WsEventLogLevel["Trace"] = "Trace";
1769
+ })(WsEventLogLevel = WsEvents.WsEventLogLevel || (WsEvents.WsEventLogLevel = {}));
1770
+ var WsAuditTypes;
1771
+ (function (WsAuditTypes) {
1772
+ WsAuditTypes["Created"] = "Created";
1773
+ WsAuditTypes["Updated"] = "Updated";
1774
+ WsAuditTypes["Deleted"] = "Deleted";
1775
+ })(WsAuditTypes = WsEvents.WsAuditTypes || (WsEvents.WsAuditTypes = {}));
1776
+ var WsTimeSpentType;
1777
+ (function (WsTimeSpentType) {
1778
+ WsTimeSpentType["Page"] = "Page";
1779
+ WsTimeSpentType["Player"] = "Player";
1780
+ })(WsTimeSpentType = WsEvents.WsTimeSpentType || (WsEvents.WsTimeSpentType = {}));
1781
+ var WsTimeSpentMode;
1782
+ (function (WsTimeSpentMode) {
1783
+ WsTimeSpentMode["Play"] = "Play";
1784
+ WsTimeSpentMode["View"] = "View";
1785
+ })(WsTimeSpentMode = WsEvents.WsTimeSpentMode || (WsEvents.WsTimeSpentMode = {}));
1786
+ var externalTelemetrypdata;
1787
+ (function (externalTelemetrypdata) {
1788
+ externalTelemetrypdata["RBCP"] = "rbcp-web-ui";
1789
+ })(externalTelemetrypdata = WsEvents.externalTelemetrypdata || (WsEvents.externalTelemetrypdata = {}));
1790
+ function IWsEvents() { }
1791
+ WsEvents.IWsEvents = IWsEvents;
1792
+ if (false) {
1793
+ IWsEvents.prototype.eventType;
1794
+ IWsEvents.prototype.eventLogLevel;
1795
+ IWsEvents.prototype.from;
1796
+ IWsEvents.prototype.to;
1797
+ IWsEvents.prototype.data;
1798
+ IWsEvents.prototype.passThroughData;
1799
+ IWsEvents.prototype.pageContext;
1800
+ }
1801
+ var EnumTelemetrySubType;
1802
+ (function (EnumTelemetrySubType) {
1803
+ EnumTelemetrySubType["Init"] = "Init";
1804
+ EnumTelemetrySubType["Interact"] = "Interact";
1805
+ EnumTelemetrySubType["Loaded"] = "Loaded";
1806
+ EnumTelemetrySubType["Unloaded"] = "Unloaded";
1807
+ EnumTelemetrySubType["StateChange"] = "StateChange";
1808
+ EnumTelemetrySubType["HeartBeat"] = "HeartBeat";
1809
+ EnumTelemetrySubType["Search"] = "Search";
1810
+ EnumTelemetrySubType["Feedback"] = "Feedback";
1811
+ EnumTelemetrySubType["Impression"] = "Impression";
1812
+ EnumTelemetrySubType["Chatbot"] = "Chatbot";
1813
+ EnumTelemetrySubType["GetStarted"] = "Get Started";
1814
+ EnumTelemetrySubType["PlatformRating"] = "PlatformRating";
1815
+ })(EnumTelemetrySubType = WsEvents.EnumTelemetrySubType || (WsEvents.EnumTelemetrySubType = {}));
1816
+ function ITelemetryPageContext() { }
1817
+ WsEvents.ITelemetryPageContext = ITelemetryPageContext;
1818
+ if (false) {
1819
+ ITelemetryPageContext.prototype.pageId;
1820
+ ITelemetryPageContext.prototype.module;
1821
+ ITelemetryPageContext.prototype.pageIdExt;
1822
+ }
1823
+ function ITelemetryEdata() { }
1824
+ WsEvents.ITelemetryEdata = ITelemetryEdata;
1825
+ if (false) {
1826
+ ITelemetryEdata.prototype.type;
1827
+ ITelemetryEdata.prototype.subType;
1828
+ ITelemetryEdata.prototype.id;
1829
+ ITelemetryEdata.prototype.pageid;
1830
+ }
1831
+ function ITelemetryTabData() { }
1832
+ WsEvents.ITelemetryTabData = ITelemetryTabData;
1833
+ if (false) {
1834
+ ITelemetryTabData.prototype.label;
1835
+ ITelemetryTabData.prototype.index;
1836
+ }
1837
+ function IWsEventTelemetry() { }
1838
+ WsEvents.IWsEventTelemetry = IWsEventTelemetry;
1839
+ if (false) {
1840
+ IWsEventTelemetry.prototype.eventSubType;
1841
+ IWsEventTelemetry.prototype.pageContext;
1842
+ }
1843
+ var EnumTelemetryPdfActivity;
1844
+ (function (EnumTelemetryPdfActivity) {
1845
+ EnumTelemetryPdfActivity["PAGE_CHANGED"] = "PAGE_CHANGED";
1846
+ EnumTelemetryPdfActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
1847
+ EnumTelemetryPdfActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
1848
+ EnumTelemetryPdfActivity["ZOOM_CHANGE"] = "ZOOM_CHANGE";
1849
+ EnumTelemetryPdfActivity["NONE"] = "NONE";
1850
+ })(EnumTelemetryPdfActivity = WsEvents.EnumTelemetryPdfActivity || (WsEvents.EnumTelemetryPdfActivity = {}));
1851
+ function IWsEventTelemetryPdfData() { }
1852
+ WsEvents.IWsEventTelemetryPdfData = IWsEventTelemetryPdfData;
1853
+ if (false) {
1854
+ IWsEventTelemetryPdfData.prototype.activityType;
1855
+ IWsEventTelemetryPdfData.prototype.currentPage;
1856
+ IWsEventTelemetryPdfData.prototype.totalPage;
1857
+ IWsEventTelemetryPdfData.prototype.activityStartedAt;
1858
+ IWsEventTelemetryPdfData.prototype.object;
1859
+ }
1860
+ function IWsEventTelemetrySurveyData() { }
1861
+ WsEvents.IWsEventTelemetrySurveyData = IWsEventTelemetrySurveyData;
1862
+ if (false) {
1863
+ IWsEventTelemetrySurveyData.prototype.object;
1864
+ }
1865
+ function IWsEventTelemetryInteract() { }
1866
+ WsEvents.IWsEventTelemetryInteract = IWsEventTelemetryInteract;
1867
+ if (false) {
1868
+ IWsEventTelemetryInteract.prototype.edata;
1869
+ IWsEventTelemetryInteract.prototype.object;
1870
+ IWsEventTelemetryInteract.prototype.pageContext;
1871
+ }
1872
+ function IWsEventTelemetryFeedback() { }
1873
+ WsEvents.IWsEventTelemetryFeedback = IWsEventTelemetryFeedback;
1874
+ if (false) {
1875
+ IWsEventTelemetryFeedback.prototype.edata;
1876
+ IWsEventTelemetryFeedback.prototype.object;
1877
+ IWsEventTelemetryFeedback.prototype.pageContext;
1878
+ }
1879
+ function IWsEventTelemetryImpression() { }
1880
+ WsEvents.IWsEventTelemetryImpression = IWsEventTelemetryImpression;
1881
+ if (false) {
1882
+ IWsEventTelemetryImpression.prototype.edata;
1883
+ IWsEventTelemetryImpression.prototype.object;
1884
+ IWsEventTelemetryImpression.prototype.pageContext;
1885
+ }
1886
+ function IWsEventTelemetrySearch() { }
1887
+ WsEvents.IWsEventTelemetrySearch = IWsEventTelemetrySearch;
1888
+ if (false) {
1889
+ IWsEventTelemetrySearch.prototype.type;
1890
+ IWsEventTelemetrySearch.prototype.subType;
1891
+ IWsEventTelemetrySearch.prototype.query;
1892
+ IWsEventTelemetrySearch.prototype.filters;
1893
+ IWsEventTelemetrySearch.prototype.size;
1894
+ IWsEventTelemetrySearch.prototype.locale;
1895
+ }
1896
+ function IWsEventTelemetryHeartBeat() { }
1897
+ WsEvents.IWsEventTelemetryHeartBeat = IWsEventTelemetryHeartBeat;
1898
+ if (false) {
1899
+ IWsEventTelemetryHeartBeat.prototype.type;
1900
+ IWsEventTelemetryHeartBeat.prototype.id;
1901
+ }
1902
+ var EnumTelemetryMediaActivity;
1903
+ (function (EnumTelemetryMediaActivity) {
1904
+ EnumTelemetryMediaActivity["PLAYED"] = "PLAYED";
1905
+ EnumTelemetryMediaActivity["PAUSED"] = "PAUSED";
1906
+ EnumTelemetryMediaActivity["SEEKED"] = "SEEKED";
1907
+ EnumTelemetryMediaActivity["ENDED"] = "ENDED";
1908
+ EnumTelemetryMediaActivity["VOLUME_CHANGE"] = "VOLUME_CHANGE";
1909
+ EnumTelemetryMediaActivity["MUTE"] = "MUTE";
1910
+ EnumTelemetryMediaActivity["UNMUTE"] = "UNMUTE";
1911
+ EnumTelemetryMediaActivity["PLAYBACK_SPEED_CHANGE"] = "PLAYBACK_SPEED_CHANGE";
1912
+ EnumTelemetryMediaActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
1913
+ EnumTelemetryMediaActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
1914
+ EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_ACTIVATED"] = "PICTURE_IN_PICTURE_ACTIVATED";
1915
+ EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_DEACTIVATED"] = "PICTURE_IN_PICTURE_DEACTIVATED";
1916
+ EnumTelemetryMediaActivity["NONE"] = "NONE";
1917
+ })(EnumTelemetryMediaActivity = WsEvents.EnumTelemetryMediaActivity || (WsEvents.EnumTelemetryMediaActivity = {}));
1918
+ var EnumTelemetryMediaState;
1919
+ (function (EnumTelemetryMediaState) {
1920
+ EnumTelemetryMediaState["PLAYING"] = "PLAYING";
1921
+ EnumTelemetryMediaState["PAUSED"] = "PAUSED";
1922
+ EnumTelemetryMediaState["ENDED"] = "ENDED";
1923
+ EnumTelemetryMediaState["BUFFERING"] = "BUFFERING";
1924
+ EnumTelemetryMediaState["NOT_STARTED"] = "NOT_STARTED";
1925
+ })(EnumTelemetryMediaState = WsEvents.EnumTelemetryMediaState || (WsEvents.EnumTelemetryMediaState = {}));
1926
+ function IWsEventTelemetryMediaData() { }
1927
+ WsEvents.IWsEventTelemetryMediaData = IWsEventTelemetryMediaData;
1928
+ if (false) {
1929
+ IWsEventTelemetryMediaData.prototype.currentState;
1930
+ IWsEventTelemetryMediaData.prototype.activityType;
1931
+ IWsEventTelemetryMediaData.prototype.currentTime;
1932
+ IWsEventTelemetryMediaData.prototype.totalTime;
1933
+ IWsEventTelemetryMediaData.prototype.maxedSeekedTime;
1934
+ IWsEventTelemetryMediaData.prototype.activityStartedAt;
1935
+ }
1936
+ var EnumTelemetrymodules;
1937
+ (function (EnumTelemetrymodules) {
1938
+ EnumTelemetrymodules["CONTENT"] = "content";
1939
+ EnumTelemetrymodules["FEEDBACK"] = "feedback";
1940
+ EnumTelemetrymodules["COURSE"] = "course";
1941
+ EnumTelemetrymodules["PROGRAM"] = "program";
1942
+ EnumTelemetrymodules["EXPLORE"] = "explore";
1943
+ EnumTelemetrymodules["LEARN"] = "learn";
1944
+ EnumTelemetrymodules["HOME"] = "home";
1945
+ EnumTelemetrymodules["DASHBOARD"] = "dashboard";
1946
+ EnumTelemetrymodules["SEARCH"] = "search";
1947
+ EnumTelemetrymodules["DISCUSS"] = "Discuss";
1948
+ EnumTelemetrymodules["COMPETENCY"] = "competency";
1949
+ EnumTelemetrymodules["EVENTS"] = "events";
1950
+ EnumTelemetrymodules["CAREER"] = "career";
1951
+ EnumTelemetrymodules["PROFILE"] = "profile";
1952
+ EnumTelemetrymodules["NETWORK"] = "network";
1953
+ EnumTelemetrymodules["SUPPORT"] = "support";
1954
+ EnumTelemetrymodules["KARMAPOINTS"] = "karmapoints";
1955
+ EnumTelemetrymodules["PLATFORM_RATING"] = "platformrating";
1956
+ })(EnumTelemetrymodules = WsEvents.EnumTelemetrymodules || (WsEvents.EnumTelemetrymodules = {}));
1957
+ var EnumInteractTypes;
1958
+ (function (EnumInteractTypes) {
1959
+ EnumInteractTypes["CLICK"] = "click";
1960
+ EnumInteractTypes["subType"] = "subType";
1961
+ })(EnumInteractTypes = WsEvents.EnumInteractTypes || (WsEvents.EnumInteractTypes = {}));
1962
+ var EnumInteractSubTypes;
1963
+ (function (EnumInteractSubTypes) {
1964
+ EnumInteractSubTypes["COURSE_TAB"] = "course-tab";
1965
+ EnumInteractSubTypes["CAREER_TAB"] = "career-tab";
1966
+ EnumInteractSubTypes["NETWORK_TAB"] = "network-tab";
1967
+ EnumInteractSubTypes["COMPETENCY_TAB"] = "competency-tab";
1968
+ EnumInteractSubTypes["PROFILE_EDIT_TAB"] = "profile-edit-tab";
1969
+ EnumInteractSubTypes["DISCUSS_TAB"] = "discuss-tab";
1970
+ EnumInteractSubTypes["EVENTS_TAB"] = "events-tab";
1971
+ EnumInteractSubTypes["SIDE_MENU"] = "side-menu";
1972
+ EnumInteractSubTypes["MY_IGOT"] = "my-igot";
1973
+ EnumInteractSubTypes["MY_LEARNING"] = "my-learning";
1974
+ EnumInteractSubTypes["RECENTLY_ADDED"] = "recently-added";
1975
+ EnumInteractSubTypes["TRENDING_IN_YOUR_DEPARTMENT"] = "trending-in-your-department";
1976
+ EnumInteractSubTypes["TRENDING_ACROSS_YOUR_DEPARTMENTS"] = "trending-across-your-departments";
1977
+ EnumInteractSubTypes["LEARNING_UNDER_30_MINUTES"] = "learning-under-30-minutes";
1978
+ EnumInteractSubTypes["BLENDED_PROGRAM"] = "blended program";
1979
+ EnumInteractSubTypes["RECENT_CONNECTION_REQUEST"] = "recent-connection-request";
1980
+ EnumInteractSubTypes["CERTIFICATIONS_OF_THE_WEEK"] = "certifications-of-the-week";
1981
+ EnumInteractSubTypes["HOME_PAGE_STRIP_TABS"] = "home-page-strip-tabs";
1982
+ EnumInteractSubTypes["HUB_MENU"] = "hub-menu";
1983
+ EnumInteractSubTypes["PORTAL_NUDGE"] = "portal_nudge";
1984
+ EnumInteractSubTypes["CERTIFICATE"] = "certificate";
1985
+ EnumInteractSubTypes["DEFAULT_SUBTYPE"] = "default-subtype";
1986
+ EnumInteractSubTypes["SUGGESTED_CONNECTIONS"] = "suggested-connections";
1987
+ EnumInteractSubTypes["PROFILE"] = "profile";
1988
+ EnumInteractSubTypes["ADD_POST"] = "add-post";
1989
+ EnumInteractSubTypes["TRENDING_DISCUSSIONS"] = "trending-discussions";
1990
+ EnumInteractSubTypes["MY_DISCUSSIONS"] = "my-discussions";
1991
+ })(EnumInteractSubTypes = WsEvents.EnumInteractSubTypes || (WsEvents.EnumInteractSubTypes = {}));
1992
+ })(exports.WsEvents || (exports.WsEvents = {}));
1993
+
1994
+ function IWindowMobileAppModified() { }
1995
+ if (false) {
1996
+ IWindowMobileAppModified.prototype.appRef;
1997
+ IWindowMobileAppModified.prototype.webkit;
1998
+ }
1999
+ var RANDOM_ID_PER_USER = 0;
2000
+ function IRecursiveData() { }
2001
+ if (false) {
2002
+ IRecursiveData.prototype.identifier;
2003
+ IRecursiveData.prototype.children;
2004
+ }
2005
+ var UtilityService = (function () {
2006
+ function UtilityService(http, platform, router$1, route) {
2007
+ var _this = this;
2008
+ this.http = http;
2009
+ this.platform = platform;
2010
+ this.router = router$1;
2011
+ this.route = route;
2012
+ this.currentRouteData = [];
2013
+ this.router.events.subscribe((function (event) {
2014
+ if (event instanceof router.NavigationEnd) {
2015
+ var snapshot = _this.route.snapshot;
2016
+ var firstChild = snapshot.root.firstChild;
2017
+ _this.getChildRouteData(snapshot, firstChild);
2018
+ }
2019
+ }));
2020
+ }
2021
+ UtilityService.prototype.getChildRouteData = function (snapshot, firstChild) {
2022
+ if (firstChild) {
2023
+ if (firstChild.data) {
2024
+ this.currentRouteData.push(firstChild.data);
2025
+ }
2026
+ if (firstChild.firstChild) {
2027
+ this.getChildRouteData(snapshot, firstChild.firstChild);
2028
+ }
2029
+ }
2030
+ };
2031
+ Object.defineProperty(UtilityService.prototype, "randomId", {
2032
+ get: function () {
2033
+ return RANDOM_ID_PER_USER + 1;
2034
+ },
2035
+ enumerable: true,
2036
+ configurable: true
2037
+ });
2038
+ UtilityService.prototype.getJson = function (url) {
2039
+ return this.http.get(url);
2040
+ };
2041
+ UtilityService.prototype.getLeafNodes = function (node, nodes) {
2042
+ var _this = this;
2043
+ if ((node.children || []).length === 0) {
2044
+ nodes.push(node);
2045
+ }
2046
+ else {
2047
+ if (node.children) {
2048
+ node.children.forEach((function (child) {
2049
+ _this.getLeafNodes(child, nodes);
2050
+ }));
2051
+ }
2052
+ }
2053
+ return nodes;
2054
+ };
2055
+ UtilityService.prototype.getPath = function (node, id) {
2056
+ var path = [];
2057
+ this.hasPath(node, path, id);
2058
+ return path;
2059
+ };
2060
+ UtilityService.prototype.hasPath = function (node, pathArr, id) {
2061
+ var _this = this;
2062
+ if (node == null) {
2063
+ return false;
2064
+ }
2065
+ pathArr.push(node);
2066
+ if (node.identifier === id) {
2067
+ return true;
2068
+ }
2069
+ var children = node.children || [];
2070
+ if (children.some((function (u) { return _this.hasPath(u, pathArr, id); }))) {
2071
+ return true;
2072
+ }
2073
+ pathArr.pop();
2074
+ return false;
2075
+ };
2076
+ Object.defineProperty(UtilityService.prototype, "isMobile", {
2077
+ get: function () {
2078
+ if (this.isIos || this.isAndroid) {
2079
+ return true;
2080
+ }
2081
+ return false;
2082
+ },
2083
+ enumerable: true,
2084
+ configurable: true
2085
+ });
2086
+ Object.defineProperty(UtilityService.prototype, "isIos", {
2087
+ get: function () {
2088
+ return this.platform.IOS;
2089
+ },
2090
+ enumerable: true,
2091
+ configurable: true
2092
+ });
2093
+ Object.defineProperty(UtilityService.prototype, "isAndroid", {
2094
+ get: function () {
2095
+ return this.platform.ANDROID;
2096
+ },
2097
+ enumerable: true,
2098
+ configurable: true
2099
+ });
2100
+ Object.defineProperty(UtilityService.prototype, "isAndroidApp", {
2101
+ get: function () {
2102
+ return Boolean(window.appRef);
2103
+ },
2104
+ enumerable: true,
2105
+ configurable: true
2106
+ });
2107
+ Object.defineProperty(UtilityService.prototype, "iOsAppRef", {
2108
+ get: function () {
2109
+ if (window.webkit &&
2110
+ window.webkit.messageHandlers &&
2111
+ window.webkit.messageHandlers.appRef) {
2112
+ return window.webkit.messageHandlers.appRef;
2113
+ }
2114
+ return null;
2115
+ },
2116
+ enumerable: true,
2117
+ configurable: true
2118
+ });
2119
+ UtilityService.prototype.setRouteData = function (data) {
2120
+ this.currentRouteData = data;
2121
+ };
2122
+ Object.defineProperty(UtilityService.prototype, "routeData", {
2123
+ get: function () {
2124
+ var data = {
2125
+ module: '',
2126
+ pageId: '',
2127
+ };
2128
+ this.currentRouteData.map((function (rd) {
2129
+ if (rd.pageId) {
2130
+ data.pageId = data.pageId + "/" + rd.pageId;
2131
+ }
2132
+ if (rd.module) {
2133
+ data.module = rd.module;
2134
+ }
2135
+ }));
2136
+ return data;
2137
+ },
2138
+ enumerable: true,
2139
+ configurable: true
2140
+ });
2141
+ UtilityService.decorators = [
2142
+ { type: core.Injectable, args: [{
2143
+ providedIn: 'root',
2144
+ },] }
2145
+ ];
2146
+ UtilityService.ctorParameters = function () { return [
2147
+ { type: http.HttpClient },
2148
+ { type: platform.Platform },
2149
+ { type: router.Router },
2150
+ { type: router.ActivatedRoute }
2151
+ ]; };
2152
+ /** @nocollapse */ UtilityService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(platform.Platform), core.ɵɵinject(router.Router), core.ɵɵinject(router.ActivatedRoute)); }, token: UtilityService, providedIn: "root" });
2153
+ return UtilityService;
2154
+ }());
2155
+ if (false) {
2156
+ UtilityService.prototype.currentRouteData;
2157
+ UtilityService.prototype.http;
2158
+ UtilityService.prototype.platform;
2159
+ UtilityService.prototype.router;
2160
+ UtilityService.prototype.route;
2161
+ }
2162
+
2163
+ var EventService = (function () {
2164
+ function EventService(environment, utilitySvc) {
2165
+ this.utilitySvc = utilitySvc;
2166
+ this.todaysEvents = [];
2167
+ this.eventsSubject = new rxjs.Subject();
2168
+ this.events$ = this.eventsSubject.asObservable();
2169
+ this.eventsChatbotSubject = new rxjs.Subject();
2170
+ this.chatbotEvents$ = this.eventsChatbotSubject.asObservable();
2171
+ this.eventsGetStartSubject = new rxjs.Subject();
2172
+ this.getStartEvents$ = this.eventsGetStartSubject.asObservable();
2173
+ this.eventsPRSubject = new rxjs.Subject();
2174
+ this.getPREvents$ = this.eventsPRSubject.asObservable();
2175
+ this.environment = environment;
2176
+ }
2177
+ EventService.prototype.dispatchEvent = function (event) {
2178
+ event.pageContext = this.getContext(event.pageContext);
2179
+ this.eventsSubject.next(event);
2180
+ };
2181
+ EventService.prototype.dispatchChatbotEvent = function (event) {
2182
+ this.eventsChatbotSubject.next(event);
2183
+ };
2184
+ EventService.prototype.dispatchGetStartedEvent = function (event) {
2185
+ this.eventsGetStartSubject.next(event);
2186
+ };
2187
+ EventService.prototype.dispatchPlatformRatingEvent = function (event) {
2188
+ this.eventsPRSubject.next(event);
2189
+ };
2190
+ EventService.prototype.raiseInteractTelemetry = function (edata, object, pageContext) {
2191
+ this.dispatchEvent({
2192
+ eventType: exports.WsEvents.WsEventType.Telemetry,
2193
+ eventLogLevel: exports.WsEvents.WsEventLogLevel.Info,
2194
+ data: {
2195
+ edata: edata,
2196
+ object: object,
2197
+ pageContext: this.getContext(pageContext),
2198
+ eventSubType: exports.WsEvents.EnumTelemetrySubType.Interact,
2199
+ },
2200
+ from: '',
2201
+ to: 'Telemetry',
2202
+ });
2203
+ };
2204
+ EventService.prototype.raiseFeedbackTelemetry = function (edata, object, from) {
2205
+ this.dispatchEvent({
2206
+ eventType: exports.WsEvents.WsEventType.Telemetry,
2207
+ eventLogLevel: exports.WsEvents.WsEventLogLevel.Info,
2208
+ data: {
2209
+ edata: edata,
2210
+ object: object,
2211
+ eventSubType: exports.WsEvents.EnumTelemetrySubType.Feedback,
2212
+ },
2213
+ from: from || '',
2214
+ to: 'Telemetry',
2215
+ });
2216
+ };
2217
+ EventService.prototype.raiseCustomImpression = function (object, pageContext) {
2218
+ this.dispatchEvent({
2219
+ eventType: exports.WsEvents.WsEventType.Telemetry,
2220
+ eventLogLevel: exports.WsEvents.WsEventLogLevel.Info,
2221
+ data: {
2222
+ object: object,
2223
+ pageContext: this.getContext(pageContext),
2224
+ eventSubType: exports.WsEvents.EnumTelemetrySubType.Impression,
2225
+ },
2226
+ from: '',
2227
+ to: 'Telemetry',
2228
+ });
2229
+ };
2230
+ EventService.prototype.getContext = function (pageContext) {
2231
+ var routeDataContext = this.utilitySvc.routeData;
2232
+ var finalContext = {
2233
+ pageId: routeDataContext.pageId,
2234
+ module: routeDataContext.module,
2235
+ };
2236
+ if (pageContext) {
2237
+ if (pageContext.pageIdExt) {
2238
+ finalContext.pageId = routeDataContext.pageId + "_" + pageContext.pageIdExt;
2239
+ }
2240
+ else if (pageContext.pageId) {
2241
+ finalContext.pageId = pageContext.pageId;
2242
+ }
2243
+ if (pageContext.module) {
2244
+ finalContext.module = pageContext.module;
2245
+ }
2246
+ }
2247
+ return finalContext;
2248
+ };
2249
+ EventService.prototype.handleTabTelemetry = function (subType, data, object) {
2250
+ this.raiseInteractTelemetry({
2251
+ subType: subType,
2252
+ type: exports.WsEvents.EnumInteractTypes.CLICK,
2253
+ id: ___default.camelCase(data.label) + "-tab",
2254
+ }, __assign({}, object), {
2255
+ pageIdExt: ___default.camelCase(data.label) + "-tab",
2256
+ });
2257
+ this.raiseCustomImpression(__assign({ context: {
2258
+ position: data.index,
2259
+ } }, object), {
2260
+ pageIdExt: ___default.camelCase(data.label) + "-tab",
2261
+ });
2262
+ };
2263
+ EventService.prototype.getPublicUrl = function (url) {
2264
+ var mainUrl = url.split('/content').pop() || '';
2265
+ return this.environment.contentHost + "/" + this.environment.contentBucket + "/content" + mainUrl;
2266
+ };
2267
+ EventService.prototype.allEventDateFormat = function (datetime) {
2268
+ var date = new Date(datetime).getDate();
2269
+ var year = new Date(datetime).getFullYear();
2270
+ var month = new Date(datetime).getMonth();
2271
+ var hours = new Date(datetime).getHours();
2272
+ var minutes = new Date(datetime).getMinutes();
2273
+ var seconds = new Date(datetime).getSeconds();
2274
+ var formatedDate = new Date(year, month, date, hours, minutes, seconds, 0);
2275
+ var format = 'YYYY-MM-DD';
2276
+ var readableDateMonth = moment(formatedDate).format(format);
2277
+ var finalDateTimeValue = "" + readableDateMonth;
2278
+ return finalDateTimeValue;
2279
+ };
2280
+ EventService.prototype.compareDate = function (startDate) {
2281
+ var now = new Date();
2282
+ var day = ('0' + (new Date().getDate())).slice(-2);
2283
+ var year = new Date().getFullYear();
2284
+ var month = ('0' + (now.getMonth() + 1)).slice(-2);
2285
+ var todaysdate = year + "-" + month + "-" + day;
2286
+ if (startDate === todaysdate) {
2287
+ return true;
2288
+ }
2289
+ return false;
2290
+ };
2291
+ EventService.prototype.customDateFormat = function (date, time) {
2292
+ var stime = time.split('+')[0];
2293
+ var hour = stime.substr(0, 2);
2294
+ var min = stime.substr(2, 3);
2295
+ return date + " " + hour + min;
2296
+ };
2297
+ EventService.prototype.setEventListData = function (eventObj) {
2298
+ var _this = this;
2299
+ if (eventObj !== undefined) {
2300
+ this.todaysEvents = [];
2301
+ var data_1 = eventObj;
2302
+ Object.keys(data_1).forEach((function (index) {
2303
+ var obj = data_1[index];
2304
+ var floor = Math.floor;
2305
+ var hours = floor(obj.duration / 60);
2306
+ var minutes = obj.duration % 60;
2307
+ var duration = (hours === 0) ? ((minutes === 0) ? '---' : minutes + " minutes") : (minutes === 0) ? (hours === 1) ?
2308
+ hours + " hour" : hours + " hours" : (hours === 1) ? hours + " hour " + minutes + " minutes" :
2309
+ hours + " hours " + minutes + " minutes";
2310
+ var creatordata = obj.creatorDetails !== undefined ? obj.creatorDetails : [];
2311
+ var str = creatordata && creatordata.length > 0 ? creatordata.replace(/\\/g, '') : [];
2312
+ var creatorDetails = str && str.length > 0 ? JSON.parse(str) : creatordata;
2313
+ var stime = obj.startTime.split('+')[0];
2314
+ var hour = stime.substr(0, 2);
2315
+ var min = stime.substr(2, 3);
2316
+ var starttime = "" + hour + min;
2317
+ var etime = obj.endTime.split('+')[0];
2318
+ var ehour = etime.substr(0, 2);
2319
+ var emin = etime.substr(2, 3);
2320
+ var endtime = "" + ehour + emin;
2321
+ var eventDataObj = {
2322
+ event: obj,
2323
+ eventName: obj.name,
2324
+ eventStartTime: starttime,
2325
+ eventEndTime: endtime,
2326
+ eventStartDate: obj.startDate,
2327
+ eventCreatedOn: _this.allEventDateFormat(obj.createdOn),
2328
+ eventDuration: duration,
2329
+ eventjoined: creatorDetails.length,
2330
+ eventThumbnail: obj.appIcon && (obj.appIcon !== null || obj.appIcon !== undefined) ?
2331
+ _this.getPublicUrl(obj.appIcon) :
2332
+ '/assets/icons/Events_default.png',
2333
+ pastevent: false,
2334
+ };
2335
+ var isToday = _this.compareDate(obj.startDate);
2336
+ if (isToday) {
2337
+ _this.todaysEvents.push(eventDataObj);
2338
+ }
2339
+ }));
2340
+ }
2341
+ };
2342
+ EventService.decorators = [
2343
+ { type: core.Injectable, args: [{
2344
+ providedIn: 'root',
2345
+ },] }
2346
+ ];
2347
+ EventService.ctorParameters = function () { return [
2348
+ { type: undefined, decorators: [{ type: core.Inject, args: ['environment',] }] },
2349
+ { type: UtilityService }
2350
+ ]; };
2351
+ /** @nocollapse */ EventService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function EventService_Factory() { return new EventService(core.ɵɵinject("environment"), core.ɵɵinject(UtilityService)); }, token: EventService, providedIn: "root" });
2352
+ return EventService;
2353
+ }());
2354
+ if (false) {
2355
+ EventService.prototype.todaysEvents;
2356
+ EventService.prototype.eventsSubject;
2357
+ EventService.prototype.events$;
2358
+ EventService.prototype.eventsChatbotSubject;
2359
+ EventService.prototype.chatbotEvents$;
2360
+ EventService.prototype.eventsGetStartSubject;
2361
+ EventService.prototype.getStartEvents$;
2362
+ EventService.prototype.eventsPRSubject;
2363
+ EventService.prototype.getPREvents$;
2364
+ EventService.prototype.environment;
2365
+ EventService.prototype.utilitySvc;
2366
+ }
2367
+
2368
+ var HorizontalScrollerV2Component = (function () {
2369
+ function HorizontalScrollerV2Component(eventService) {
2370
+ this.eventService = eventService;
2371
+ this.loadStatus = 'fetching';
2372
+ this.onHover = false;
2373
+ this.sliderConfig = {
2374
+ showNavs: true,
2375
+ showDots: true,
2376
+ cerificateCardMargin: false,
2377
+ };
2378
+ this.loadNext = new core.EventEmitter();
2379
+ this.horizontalScrollElem = null;
2380
+ this.enablePrev = false;
2381
+ this.enableNext = false;
2382
+ this.activeNav = 0;
2383
+ this.cardSubType = 'standard';
2384
+ this.bottomDotsArray = [];
2385
+ this.scrollObserver = null;
2386
+ }
2387
+ HorizontalScrollerV2Component.prototype.ngOnInit = function () {
2388
+ var _this = this;
2389
+ this.cardSubType = this.stripConfig && this.stripConfig.cardSubType ? this.stripConfig.cardSubType : 'standard';
2390
+ if (this.horizontalScrollElem) {
2391
+ var horizontalScrollElem_1 = this.horizontalScrollElem;
2392
+ this.scrollObserver = rxjs.fromEvent(horizontalScrollElem_1.nativeElement, 'scroll')
2393
+ .pipe(operators.debounceTime(100), operators.throttleTime(100))
2394
+ .subscribe((function (_) {
2395
+ _this.updateNavigationBtnStatus(((horizontalScrollElem_1
2396
+ .nativeElement)));
2397
+ }));
2398
+ this.getBottomDotsArray();
2399
+ }
2400
+ };
2401
+ HorizontalScrollerV2Component.prototype.ngOnChanges = function () {
2402
+ var _this = this;
2403
+ rxjs.timer(100).subscribe((function () {
2404
+ if (_this.horizontalScrollElem) {
2405
+ _this.updateNavigationBtnStatus(((_this.horizontalScrollElem
2406
+ .nativeElement)));
2407
+ }
2408
+ }));
2409
+ this.getBottomDotsArray();
2410
+ };
2411
+ HorizontalScrollerV2Component.prototype.ngOnDestroy = function () {
2412
+ if (this.scrollObserver) {
2413
+ this.scrollObserver.unsubscribe();
2414
+ }
2415
+ };
2416
+ HorizontalScrollerV2Component.prototype.showPrev = function () {
2417
+ if (this.horizontalScrollElem) {
2418
+ var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
2419
+ this.horizontalScrollElem.nativeElement.scrollTo({
2420
+ left: this.horizontalScrollElem.nativeElement.scrollLeft - clientWidth,
2421
+ behavior: 'smooth',
2422
+ });
2423
+ this.activeNav -= 1;
2424
+ this.raiseNavigationTelemetry('more-left');
2425
+ }
2426
+ };
2427
+ HorizontalScrollerV2Component.prototype.showNext = function () {
2428
+ if (this.horizontalScrollElem) {
2429
+ var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
2430
+ this.horizontalScrollElem.nativeElement.scrollTo({
2431
+ left: this.horizontalScrollElem.nativeElement.scrollLeft + clientWidth,
2432
+ behavior: 'smooth',
2433
+ });
2434
+ this.activeNav += 1;
2435
+ this.raiseNavigationTelemetry('more-right');
2436
+ }
2437
+ };
2438
+ HorizontalScrollerV2Component.prototype.raiseNavigationTelemetry = function (id) {
2439
+ this.eventService.raiseInteractTelemetry({
2440
+ id: id,
2441
+ type: exports.WsEvents.EnumInteractTypes.CLICK,
2442
+ subType: this.subtype,
2443
+ }, {}, {
2444
+ module: exports.WsEvents.EnumTelemetrymodules.HOME,
2445
+ });
2446
+ };
2447
+ HorizontalScrollerV2Component.prototype.updateNavigationBtnStatus = function (elem) {
2448
+ this.enablePrev = true;
2449
+ this.enableNext = true;
2450
+ if (elem.scrollLeft === 0) {
2451
+ this.enablePrev = false;
2452
+ this.activeNav = 0;
2453
+ }
2454
+ var widthDiff = Math.abs(elem.scrollWidth - Math.round(elem.clientWidth + elem.scrollLeft));
2455
+ if (widthDiff === 0 || widthDiff === 1) {
2456
+ if (this.loadStatus === 'hasMore') {
2457
+ this.loadNext.emit();
2458
+ }
2459
+ else {
2460
+ this.enableNext = false;
2461
+ if (this.bottomDotsArray.length) {
2462
+ this.activeNav = this.bottomDotsArray.length - 1;
2463
+ }
2464
+ }
2465
+ }
2466
+ if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
2467
+ this.activeNav = Math.ceil(elem.scrollLeft / elem.clientWidth);
2468
+ }
2469
+ };
2470
+ HorizontalScrollerV2Component.prototype.slideTo = function (ele) {
2471
+ var diff = ele - this.activeNav;
2472
+ if (this.horizontalScrollElem) {
2473
+ var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
2474
+ this.horizontalScrollElem.nativeElement.scrollTo({
2475
+ left: this.horizontalScrollElem.nativeElement.scrollLeft + (clientWidth * diff),
2476
+ behavior: 'smooth',
2477
+ });
2478
+ }
2479
+ this.activeNav = ele;
2480
+ };
2481
+ HorizontalScrollerV2Component.prototype.getBottomDotsArray = function () {
2482
+ var _this = this;
2483
+ if (this.horizontalScrollElem) {
2484
+ this.bottomDotsArray = [];
2485
+ var cardWidth = void 0;
2486
+ var arrLength_1;
2487
+ if (this.cardSubType !== 'card-wide-v2') {
2488
+ cardWidth = this.cardSubType === 'standard' ? 245 :
2489
+ ((document.getElementsByClassName(this.cardSubType) &&
2490
+ document.getElementsByClassName(this.cardSubType)[0] !== undefined)
2491
+ ? document.getElementsByClassName(this.cardSubType)[0].clientWidth : 245);
2492
+ if (document.getElementsByClassName('horizontal-scroll-container') &&
2493
+ document.getElementsByClassName('horizontal-scroll-container')[0]) {
2494
+ var scrollerWidth = document.getElementsByClassName('horizontal-scroll-container')[0].clientWidth;
2495
+ var totalCardsLength = cardWidth * this.widgetsLength;
2496
+ if (totalCardsLength > scrollerWidth) {
2497
+ arrLength_1 = (scrollerWidth / cardWidth);
2498
+ this.defaultMaxWidgets = this.defaultMaxWidgets ? this.widgetsLength < this.defaultMaxWidgets ?
2499
+ this.widgetsLength : this.defaultMaxWidgets : this.defaultMaxWidgets;
2500
+ arrLength_1 = this.defaultMaxWidgets / arrLength_1;
2501
+ for (var i = 0; i < arrLength_1; i += 1) {
2502
+ this.bottomDotsArray.push(i);
2503
+ }
2504
+ }
2505
+ }
2506
+ }
2507
+ else {
2508
+ setTimeout((function () {
2509
+ arrLength_1 = document.getElementsByClassName(_this.cardSubType).length;
2510
+ for (var i = 0; i < arrLength_1; i += 1) {
2511
+ _this.bottomDotsArray.push(i);
2512
+ }
2513
+ }), 1000);
2514
+ }
2515
+ }
2516
+ };
2517
+ HorizontalScrollerV2Component.decorators = [
2518
+ { type: core.Component, args: [{
2519
+ selector: 'ws-utils-horizontal-scroller-v2',
2520
+ 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>",
2521
+ 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}}"]
2522
+ }] }
2523
+ ];
2524
+ HorizontalScrollerV2Component.ctorParameters = function () { return [
2525
+ { type: EventService }
2526
+ ]; };
2527
+ HorizontalScrollerV2Component.propDecorators = {
2528
+ loadStatus: [{ type: core.Input }],
2529
+ onHover: [{ type: core.Input }],
2530
+ sliderConfig: [{ type: core.Input }],
2531
+ loadNext: [{ type: core.Output }],
2532
+ widgetsLength: [{ type: core.Input }],
2533
+ defaultMaxWidgets: [{ type: core.Input }],
2534
+ stripConfig: [{ type: core.Input }],
2535
+ stripsResultDataMap: [{ type: core.Input }],
2536
+ subtype: [{ type: core.Input }],
2537
+ horizontalScrollElem: [{ type: core.ViewChild, args: ['horizontalScrollElem', { static: true },] }]
2538
+ };
2539
+ return HorizontalScrollerV2Component;
2540
+ }());
2541
+ if (false) {
2542
+ HorizontalScrollerV2Component.prototype.loadStatus;
2543
+ HorizontalScrollerV2Component.prototype.onHover;
2544
+ HorizontalScrollerV2Component.prototype.sliderConfig;
2545
+ HorizontalScrollerV2Component.prototype.loadNext;
2546
+ HorizontalScrollerV2Component.prototype.widgetsLength;
2547
+ HorizontalScrollerV2Component.prototype.defaultMaxWidgets;
2548
+ HorizontalScrollerV2Component.prototype.stripConfig;
2549
+ HorizontalScrollerV2Component.prototype.stripsResultDataMap;
2550
+ HorizontalScrollerV2Component.prototype.subtype;
2551
+ HorizontalScrollerV2Component.prototype.horizontalScrollElem;
2552
+ HorizontalScrollerV2Component.prototype.enablePrev;
2553
+ HorizontalScrollerV2Component.prototype.enableNext;
2554
+ HorizontalScrollerV2Component.prototype.activeNav;
2555
+ HorizontalScrollerV2Component.prototype.cardSubType;
2556
+ HorizontalScrollerV2Component.prototype.bottomDotsArray;
2557
+ HorizontalScrollerV2Component.prototype.scrollObserver;
2558
+ HorizontalScrollerV2Component.prototype.eventService;
2559
+ }
2560
+
2561
+ var HorizontalScrollerV2Module = (function () {
2562
+ function HorizontalScrollerV2Module() {
2563
+ }
2564
+ HorizontalScrollerV2Module.decorators = [
2565
+ { type: core.NgModule, args: [{
2566
+ declarations: [HorizontalScrollerV2Component],
2567
+ imports: [
2568
+ common.CommonModule,
2569
+ material.MatButtonModule,
2570
+ material.MatIconModule,
2571
+ material.MatProgressSpinnerModule,
2572
+ ],
2573
+ exports: [HorizontalScrollerV2Component],
2574
+ },] }
2575
+ ];
2576
+ return HorizontalScrollerV2Module;
2577
+ }());
2578
+
2579
+ var LoggerService = (function () {
2580
+ function LoggerService(configSvc) {
2581
+ this.configSvc = configSvc;
2582
+ this.consoleError = console.error;
2583
+ this.consoleInfo = console.info;
2584
+ this.consoleLog = console.log;
2585
+ this.consoleWarn = console.warn;
2586
+ this.noConsole = (function () { });
2587
+ }
2588
+ Object.defineProperty(LoggerService.prototype, "error", {
2589
+ get: function () {
2590
+ return this.consoleError;
2591
+ },
2592
+ enumerable: true,
2593
+ configurable: true
2594
+ });
2595
+ Object.defineProperty(LoggerService.prototype, "info", {
2596
+ get: function () {
2597
+ return this.configSvc.isProduction ? this.noConsole : this.consoleInfo;
2598
+ },
2599
+ enumerable: true,
2600
+ configurable: true
2601
+ });
2602
+ Object.defineProperty(LoggerService.prototype, "log", {
2603
+ get: function () {
2604
+ return this.configSvc.isProduction ? this.noConsole : this.consoleLog;
2605
+ },
2606
+ enumerable: true,
2607
+ configurable: true
2608
+ });
2609
+ Object.defineProperty(LoggerService.prototype, "warn", {
2610
+ get: function () {
2611
+ return this.configSvc.isProduction ? this.noConsole : this.consoleWarn;
2612
+ },
2613
+ enumerable: true,
2614
+ configurable: true
2615
+ });
2616
+ LoggerService.prototype.removeConsoleAccess = function () {
2617
+ if (this.configSvc.isProduction) {
2618
+ return;
2619
+ }
2620
+ var noConsoleWithError = (function () {
2621
+ throw new Error('Console Functions Usage Are Not Allowed.');
2622
+ });
2623
+ console.warn = noConsoleWithError;
2624
+ console.info = noConsoleWithError;
2625
+ console.error = noConsoleWithError;
2626
+ };
2627
+ LoggerService.decorators = [
2628
+ { type: core.Injectable, args: [{
2629
+ providedIn: 'root',
2630
+ },] }
2631
+ ];
2632
+ LoggerService.ctorParameters = function () { return [
2633
+ { type: ConfigurationsService }
1982
2634
  ]; };
1983
2635
  /** @nocollapse */ LoggerService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function LoggerService_Factory() { return new LoggerService(core.ɵɵinject(ConfigurationsService)); }, token: LoggerService, providedIn: "root" });
1984
2636
  return LoggerService;
@@ -2536,205 +3188,36 @@
2536
3188
  Object.defineProperty(AuthKeycloakService.prototype, "defaultRedirectUrl", {
2537
3189
  get: function () {
2538
3190
  try {
2539
- var baseUrl = document.baseURI;
2540
- return baseUrl || location.origin;
2541
- }
2542
- catch (error) {
2543
- return location.origin;
2544
- }
2545
- },
2546
- enumerable: true,
2547
- configurable: true
2548
- });
2549
- AuthKeycloakService.decorators = [
2550
- { type: core.Injectable, args: [{
2551
- providedIn: 'root',
2552
- },] }
2553
- ];
2554
- AuthKeycloakService.ctorParameters = function () { return [
2555
- { type: http.HttpClient },
2556
- { type: ConfigurationsService },
2557
- { type: keycloakAngular.KeycloakService },
2558
- { type: AuthMicrosoftService }
2559
- ]; };
2560
- /** @nocollapse */ AuthKeycloakService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthKeycloakService_Factory() { return new AuthKeycloakService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(ConfigurationsService), core.ɵɵinject(keycloakAngular.KeycloakService), core.ɵɵinject(AuthMicrosoftService)); }, token: AuthKeycloakService, providedIn: "root" });
2561
- return AuthKeycloakService;
2562
- }());
2563
- if (false) {
2564
- AuthKeycloakService.prototype.loginChangeSubject;
2565
- AuthKeycloakService.prototype.http;
2566
- AuthKeycloakService.prototype.configSvc;
2567
- AuthKeycloakService.prototype.keycloakSvc;
2568
- AuthKeycloakService.prototype.msAuthSvc;
2569
- }
2570
-
2571
- function IWindowMobileAppModified() { }
2572
- if (false) {
2573
- IWindowMobileAppModified.prototype.appRef;
2574
- IWindowMobileAppModified.prototype.webkit;
2575
- }
2576
- var RANDOM_ID_PER_USER = 0;
2577
- function IRecursiveData() { }
2578
- if (false) {
2579
- IRecursiveData.prototype.identifier;
2580
- IRecursiveData.prototype.children;
2581
- }
2582
- var UtilityService = (function () {
2583
- function UtilityService(http, platform, router$1, route) {
2584
- var _this = this;
2585
- this.http = http;
2586
- this.platform = platform;
2587
- this.router = router$1;
2588
- this.route = route;
2589
- this.currentRouteData = [];
2590
- this.router.events.subscribe((function (event) {
2591
- if (event instanceof router.NavigationEnd) {
2592
- var snapshot = _this.route.snapshot;
2593
- var firstChild = snapshot.root.firstChild;
2594
- _this.getChildRouteData(snapshot, firstChild);
2595
- }
2596
- }));
2597
- }
2598
- UtilityService.prototype.getChildRouteData = function (snapshot, firstChild) {
2599
- if (firstChild) {
2600
- if (firstChild.data) {
2601
- this.currentRouteData.push(firstChild.data);
2602
- }
2603
- if (firstChild.firstChild) {
2604
- this.getChildRouteData(snapshot, firstChild.firstChild);
2605
- }
2606
- }
2607
- };
2608
- Object.defineProperty(UtilityService.prototype, "randomId", {
2609
- get: function () {
2610
- return RANDOM_ID_PER_USER + 1;
2611
- },
2612
- enumerable: true,
2613
- configurable: true
2614
- });
2615
- UtilityService.prototype.getJson = function (url) {
2616
- return this.http.get(url);
2617
- };
2618
- UtilityService.prototype.getLeafNodes = function (node, nodes) {
2619
- var _this = this;
2620
- if ((node.children || []).length === 0) {
2621
- nodes.push(node);
2622
- }
2623
- else {
2624
- if (node.children) {
2625
- node.children.forEach((function (child) {
2626
- _this.getLeafNodes(child, nodes);
2627
- }));
2628
- }
2629
- }
2630
- return nodes;
2631
- };
2632
- UtilityService.prototype.getPath = function (node, id) {
2633
- var path = [];
2634
- this.hasPath(node, path, id);
2635
- return path;
2636
- };
2637
- UtilityService.prototype.hasPath = function (node, pathArr, id) {
2638
- var _this = this;
2639
- if (node == null) {
2640
- return false;
2641
- }
2642
- pathArr.push(node);
2643
- if (node.identifier === id) {
2644
- return true;
2645
- }
2646
- var children = node.children || [];
2647
- if (children.some((function (u) { return _this.hasPath(u, pathArr, id); }))) {
2648
- return true;
2649
- }
2650
- pathArr.pop();
2651
- return false;
2652
- };
2653
- Object.defineProperty(UtilityService.prototype, "isMobile", {
2654
- get: function () {
2655
- if (this.isIos || this.isAndroid) {
2656
- return true;
2657
- }
2658
- return false;
2659
- },
2660
- enumerable: true,
2661
- configurable: true
2662
- });
2663
- Object.defineProperty(UtilityService.prototype, "isIos", {
2664
- get: function () {
2665
- return this.platform.IOS;
2666
- },
2667
- enumerable: true,
2668
- configurable: true
2669
- });
2670
- Object.defineProperty(UtilityService.prototype, "isAndroid", {
2671
- get: function () {
2672
- return this.platform.ANDROID;
2673
- },
2674
- enumerable: true,
2675
- configurable: true
2676
- });
2677
- Object.defineProperty(UtilityService.prototype, "isAndroidApp", {
2678
- get: function () {
2679
- return Boolean(window.appRef);
2680
- },
2681
- enumerable: true,
2682
- configurable: true
2683
- });
2684
- Object.defineProperty(UtilityService.prototype, "iOsAppRef", {
2685
- get: function () {
2686
- if (window.webkit &&
2687
- window.webkit.messageHandlers &&
2688
- window.webkit.messageHandlers.appRef) {
2689
- return window.webkit.messageHandlers.appRef;
2690
- }
2691
- return null;
2692
- },
2693
- enumerable: true,
2694
- configurable: true
2695
- });
2696
- UtilityService.prototype.setRouteData = function (data) {
2697
- this.currentRouteData = data;
2698
- };
2699
- Object.defineProperty(UtilityService.prototype, "routeData", {
2700
- get: function () {
2701
- var data = {
2702
- module: '',
2703
- pageId: '',
2704
- };
2705
- this.currentRouteData.map((function (rd) {
2706
- if (rd.pageId) {
2707
- data.pageId = data.pageId + "/" + rd.pageId;
2708
- }
2709
- if (rd.module) {
2710
- data.module = rd.module;
2711
- }
2712
- }));
2713
- return data;
3191
+ var baseUrl = document.baseURI;
3192
+ return baseUrl || location.origin;
3193
+ }
3194
+ catch (error) {
3195
+ return location.origin;
3196
+ }
2714
3197
  },
2715
3198
  enumerable: true,
2716
3199
  configurable: true
2717
3200
  });
2718
- UtilityService.decorators = [
3201
+ AuthKeycloakService.decorators = [
2719
3202
  { type: core.Injectable, args: [{
2720
3203
  providedIn: 'root',
2721
3204
  },] }
2722
3205
  ];
2723
- UtilityService.ctorParameters = function () { return [
3206
+ AuthKeycloakService.ctorParameters = function () { return [
2724
3207
  { type: http.HttpClient },
2725
- { type: platform.Platform },
2726
- { type: router.Router },
2727
- { type: router.ActivatedRoute }
3208
+ { type: ConfigurationsService },
3209
+ { type: keycloakAngular.KeycloakService },
3210
+ { type: AuthMicrosoftService }
2728
3211
  ]; };
2729
- /** @nocollapse */ UtilityService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(platform.Platform), core.ɵɵinject(router.Router), core.ɵɵinject(router.ActivatedRoute)); }, token: UtilityService, providedIn: "root" });
2730
- return UtilityService;
3212
+ /** @nocollapse */ AuthKeycloakService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthKeycloakService_Factory() { return new AuthKeycloakService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(ConfigurationsService), core.ɵɵinject(keycloakAngular.KeycloakService), core.ɵɵinject(AuthMicrosoftService)); }, token: AuthKeycloakService, providedIn: "root" });
3213
+ return AuthKeycloakService;
2731
3214
  }());
2732
3215
  if (false) {
2733
- UtilityService.prototype.currentRouteData;
2734
- UtilityService.prototype.http;
2735
- UtilityService.prototype.platform;
2736
- UtilityService.prototype.router;
2737
- UtilityService.prototype.route;
3216
+ AuthKeycloakService.prototype.loginChangeSubject;
3217
+ AuthKeycloakService.prototype.http;
3218
+ AuthKeycloakService.prototype.configSvc;
3219
+ AuthKeycloakService.prototype.keycloakSvc;
3220
+ AuthKeycloakService.prototype.msAuthSvc;
2738
3221
  }
2739
3222
 
2740
3223
  var LogoutComponent = (function () {
@@ -3183,6 +3666,40 @@
3183
3666
  return PipeFilterModule;
3184
3667
  }());
3185
3668
 
3669
+ var PipeOrdinalPipe = (function () {
3670
+ function PipeOrdinalPipe() {
3671
+ }
3672
+ PipeOrdinalPipe.prototype.transform = function (value) {
3673
+ if (value === 0) {
3674
+ return '0th';
3675
+ }
3676
+ var suffixes = ['th', 'st', 'nd', 'rd'];
3677
+ var v = value % 100;
3678
+ return value + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);
3679
+ };
3680
+ PipeOrdinalPipe.decorators = [
3681
+ { type: core.Pipe, args: [{
3682
+ name: 'pipeOrdinal',
3683
+ },] }
3684
+ ];
3685
+ return PipeOrdinalPipe;
3686
+ }());
3687
+
3688
+ var PipeOrdinalModule = (function () {
3689
+ function PipeOrdinalModule() {
3690
+ }
3691
+ PipeOrdinalModule.decorators = [
3692
+ { type: core.NgModule, args: [{
3693
+ declarations: [PipeOrdinalPipe],
3694
+ imports: [
3695
+ common.CommonModule,
3696
+ ],
3697
+ exports: [PipeOrdinalPipe],
3698
+ },] }
3699
+ ];
3700
+ return PipeOrdinalModule;
3701
+ }());
3702
+
3186
3703
  var PipeEmailPipe = (function () {
3187
3704
  function PipeEmailPipe() {
3188
3705
  }
@@ -4223,888 +4740,441 @@
4223
4740
  IKeycloak.prototype.key;
4224
4741
  IKeycloak.prototype.realm;
4225
4742
  IKeycloak.prototype.url;
4226
- IKeycloak.prototype.changePasswordUrl;
4227
- IKeycloak.prototype.onLoad;
4228
- }
4229
- function ILocalsConfig() { }
4230
- NsInstanceConfig.ILocalsConfig = ILocalsConfig;
4231
- if (false) {
4232
- ILocalsConfig.prototype.isAvailable;
4233
- ILocalsConfig.prototype.isEnabled;
4234
- ILocalsConfig.prototype.locals;
4235
- ILocalsConfig.prototype.path;
4236
- ILocalsConfig.prototype.isRTL;
4237
- }
4238
- function IMicrosoft() { }
4239
- NsInstanceConfig.IMicrosoft = IMicrosoft;
4240
- if (false) {
4241
- IMicrosoft.prototype.clientId;
4242
- IMicrosoft.prototype.defaultEmailId;
4243
- IMicrosoft.prototype.tenant;
4244
- IMicrosoft.prototype.validEmailExtensions;
4245
- IMicrosoft.prototype.isConfigured;
4246
- }
4247
- function ITheme() { }
4248
- NsInstanceConfig.ITheme = ITheme;
4249
- if (false) {
4250
- ITheme.prototype.color;
4251
- ITheme.prototype.themeFile;
4252
- ITheme.prototype.themeClass;
4253
- ITheme.prototype.themeName;
4254
- }
4255
- function IThemeColor() { }
4256
- NsInstanceConfig.IThemeColor = IThemeColor;
4257
- if (false) {
4258
- IThemeColor.prototype.accent;
4259
- IThemeColor.prototype.primary;
4260
- IThemeColor.prototype.warn;
4261
- }
4262
- function IOverrideThemeChanges() { }
4263
- NsInstanceConfig.IOverrideThemeChanges = IOverrideThemeChanges;
4264
- if (false) {
4265
- IOverrideThemeChanges.prototype.isEnabled;
4266
- IOverrideThemeChanges.prototype.desktop;
4267
- IOverrideThemeChanges.prototype.mWeb;
4268
- }
4269
- function IDesktop() { }
4270
- NsInstanceConfig.IDesktop = IDesktop;
4271
- if (false) {
4272
- IDesktop.prototype.animationDuration;
4273
- IDesktop.prototype.logoUrl;
4274
- IDesktop.prototype.logoText;
4275
- IDesktop.prototype.logoDisplayTime;
4276
- IDesktop.prototype.backgroundTheme;
4277
- }
4278
- function IMWeb() { }
4279
- NsInstanceConfig.IMWeb = IMWeb;
4280
- if (false) {
4281
- IMWeb.prototype.logoUrl;
4282
- IMWeb.prototype.logoText;
4283
- }
4284
- function ILogos() { }
4285
- NsInstanceConfig.ILogos = ILogos;
4286
- if (false) {
4287
- ILogos.prototype.app;
4288
- ILogos.prototype.appTransparent;
4289
- ILogos.prototype.appSecondary;
4290
- ILogos.prototype.aboutFooter;
4291
- ILogos.prototype.aboutHeader;
4292
- ILogos.prototype.appBottomNav;
4293
- ILogos.prototype.company;
4294
- ILogos.prototype.developedBy;
4295
- ILogos.prototype.poweredBy;
4296
- ILogos.prototype.defaultContent;
4297
- ILogos.prototype.defaultSourceLogo;
4298
- ILogos.prototype.landingLogo;
4299
- ILogos.prototype.navbarLogo;
4300
- ILogos.prototype.playListLogo;
4301
- ILogos.prototype.thumpsUp;
4302
- }
4303
- function IMailIds() { }
4304
- NsInstanceConfig.IMailIds = IMailIds;
4305
- if (false) {
4306
- IMailIds.prototype.contactUs;
4307
- IMailIds.prototype.default;
4308
- IMailIds.prototype.support;
4309
- }
4310
- function IDetails() { }
4311
- NsInstanceConfig.IDetails = IDetails;
4312
- if (false) {
4313
- IDetails.prototype.appName;
4314
- }
4315
- function IPrimaryNavbarConfig() { }
4316
- NsInstanceConfig.IPrimaryNavbarConfig = IPrimaryNavbarConfig;
4317
- if (false) {
4318
- IPrimaryNavbarConfig.prototype.mediumScreen;
4319
- IPrimaryNavbarConfig.prototype.smallScreen;
4320
- }
4321
- function IPrimaryNavBarScreen() { }
4322
- if (false) {
4323
- IPrimaryNavBarScreen.prototype.left;
4324
- IPrimaryNavBarScreen.prototype.right;
4325
- }
4326
- function IPrimaryNavBarSide() { }
4327
- if (false) {
4328
- IPrimaryNavBarSide.prototype.type;
4329
- IPrimaryNavBarSide.prototype.config;
4330
- }
4331
- function ITelemetryConfig() { }
4332
- NsInstanceConfig.ITelemetryConfig = ITelemetryConfig;
4333
- if (false) {
4334
- ITelemetryConfig.prototype.pdata;
4335
- ITelemetryConfig.prototype.object;
4336
- ITelemetryConfig.prototype.uid;
4337
- ITelemetryConfig.prototype.authtoken;
4338
- ITelemetryConfig.prototype.env;
4339
- ITelemetryConfig.prototype.channel;
4340
- ITelemetryConfig.prototype.batchsize;
4341
- ITelemetryConfig.prototype.host;
4342
- ITelemetryConfig.prototype.endpoint;
4343
- ITelemetryConfig.prototype.apislug;
4344
- ITelemetryConfig.prototype.sid;
4345
- ITelemetryConfig.prototype.publicEndpoint;
4346
- ITelemetryConfig.prototype.protectedEndpoint;
4347
- }
4348
- })(NsInstanceConfig || (NsInstanceConfig = {}));
4349
- var NsAppsConfig;
4350
- (function (NsAppsConfig) {
4351
- function IAppsConfig() { }
4352
- NsAppsConfig.IAppsConfig = IAppsConfig;
4353
- if (false) {
4354
- IAppsConfig.prototype.groups;
4355
- IAppsConfig.prototype.features;
4356
- IAppsConfig.prototype.tourGuide;
4357
- }
4358
- function IGroup() { }
4359
- NsAppsConfig.IGroup = IGroup;
4360
- if (false) {
4361
- IGroup.prototype.id;
4362
- IGroup.prototype.iconType;
4363
- IGroup.prototype.icon;
4364
- IGroup.prototype.keywords;
4365
- IGroup.prototype.name;
4366
- IGroup.prototype.toolTip;
4367
- IGroup.prototype.featureIds;
4368
- IGroup.prototype.stripBackground;
4369
- IGroup.prototype.hasRole;
4370
- }
4371
- function IFeature() { }
4372
- NsAppsConfig.IFeature = IFeature;
4373
- if (false) {
4374
- IFeature.prototype.name;
4375
- IFeature.prototype.id;
4376
- IFeature.prototype.url;
4377
- IFeature.prototype.permission;
4378
- IFeature.prototype.iconType;
4379
- IFeature.prototype.icon;
4380
- IFeature.prototype.keywords;
4381
- IFeature.prototype.toolTip;
4382
- IFeature.prototype.accessKey;
4383
- IFeature.prototype.status;
4384
- IFeature.prototype.shortName;
4385
- IFeature.prototype.description;
4386
- IFeature.prototype.badgeEndpoint;
4387
- IFeature.prototype.mobileAppFunction;
4388
- IFeature.prototype.color;
4389
- IFeature.prototype.target;
4390
- }
4391
- })(NsAppsConfig || (NsAppsConfig = {}));
4392
- var NsUser;
4393
- (function (NsUser) {
4394
- function IUserProfile() { }
4395
- NsUser.IUserProfile = IUserProfile;
4396
- if (false) {
4397
- IUserProfile.prototype.userId;
4398
- IUserProfile.prototype.email;
4399
- IUserProfile.prototype.departmentName;
4400
- IUserProfile.prototype.userName;
4401
- IUserProfile.prototype.firstName;
4402
- IUserProfile.prototype.surName;
4403
- IUserProfile.prototype.middleName;
4404
- IUserProfile.prototype.lastName;
4405
- IUserProfile.prototype.rootOrgId;
4406
- IUserProfile.prototype.rootOrgName;
4407
- IUserProfile.prototype.profileImage;
4408
- IUserProfile.prototype.givenName;
4409
- IUserProfile.prototype.country;
4410
- IUserProfile.prototype.unit;
4411
- IUserProfile.prototype.source_profile_picture;
4412
- IUserProfile.prototype.dealerCode;
4413
- IUserProfile.prototype.isManager;
4414
- IUserProfile.prototype.competencies;
4415
- IUserProfile.prototype.systemTopics;
4416
- IUserProfile.prototype.desiredTopics;
4417
- IUserProfile.prototype.desiredCompetencies;
4418
- IUserProfile.prototype.userRoles;
4419
- IUserProfile.prototype.profileUpdateCompletion;
4420
- IUserProfile.prototype.profileImageUrl;
4421
- IUserProfile.prototype.professionalDetails;
4422
- IUserProfile.prototype.webPortalLang;
4423
- }
4424
- function INodebbUserProfile() { }
4425
- NsUser.INodebbUserProfile = INodebbUserProfile;
4426
- if (false) {
4427
- INodebbUserProfile.prototype.username;
4428
- INodebbUserProfile.prototype.email;
4429
- }
4430
- function IUserPidProfile() { }
4431
- NsUser.IUserPidProfile = IUserPidProfile;
4432
- if (false) {
4433
- IUserPidProfile.prototype.kid_updated;
4434
- IUserPidProfile.prototype.user;
4743
+ IKeycloak.prototype.changePasswordUrl;
4744
+ IKeycloak.prototype.onLoad;
4435
4745
  }
4436
- function IUserPidProfileV2() { }
4437
- NsUser.IUserPidProfileV2 = IUserPidProfileV2;
4746
+ function ILocalsConfig() { }
4747
+ NsInstanceConfig.ILocalsConfig = ILocalsConfig;
4438
4748
  if (false) {
4439
- IUserPidProfileV2.prototype.kid_updated;
4440
- IUserPidProfileV2.prototype.result;
4749
+ ILocalsConfig.prototype.isAvailable;
4750
+ ILocalsConfig.prototype.isEnabled;
4751
+ ILocalsConfig.prototype.locals;
4752
+ ILocalsConfig.prototype.path;
4753
+ ILocalsConfig.prototype.isRTL;
4441
4754
  }
4442
- function IUserPidProfileVer2() { }
4443
- NsUser.IUserPidProfileVer2 = IUserPidProfileVer2;
4755
+ function IMicrosoft() { }
4756
+ NsInstanceConfig.IMicrosoft = IMicrosoft;
4444
4757
  if (false) {
4445
- IUserPidProfileVer2.prototype.result;
4758
+ IMicrosoft.prototype.clientId;
4759
+ IMicrosoft.prototype.defaultEmailId;
4760
+ IMicrosoft.prototype.tenant;
4761
+ IMicrosoft.prototype.validEmailExtensions;
4762
+ IMicrosoft.prototype.isConfigured;
4446
4763
  }
4447
- function ISourceData() { }
4764
+ function ITheme() { }
4765
+ NsInstanceConfig.ITheme = ITheme;
4448
4766
  if (false) {
4449
- ISourceData.prototype.GID;
4450
- ISourceData.prototype.SNAMPRE;
4451
- ISourceData.prototype.SNAMADD;
4452
- ISourceData.prototype.LASTNAME;
4453
- ISourceData.prototype.SN;
4454
- ISourceData.prototype.GIVENNAME;
4455
- ISourceData.prototype.NICKNAME;
4456
- ISourceData.prototype.PREFERREDSN;
4457
- ISourceData.prototype.PERSONALTITLE;
4458
- ISourceData.prototype.MOBILE;
4459
- ISourceData.prototype.MAIL;
4460
- ISourceData.prototype.DEPARTMENTTEXT;
4461
- ISourceData.prototype.COSTLOCATIONUNIT;
4462
- ISourceData.prototype.COSTLOCATION;
4463
- ISourceData.prototype.ORGID;
4464
- ISourceData.prototype.MGMTRESP;
4465
- ISourceData.prototype.UTC;
4466
- ISourceData.prototype.CNAMEENG;
4467
- ISourceData.prototype.LNAMEINT;
4468
- ISourceData.prototype.USERTYPE;
4469
- ISourceData.prototype.STATUS;
4470
- ISourceData.prototype.CONTRACTSTATUS;
4767
+ ITheme.prototype.color;
4768
+ ITheme.prototype.themeFile;
4769
+ ITheme.prototype.themeClass;
4770
+ ITheme.prototype.themeName;
4471
4771
  }
4472
- function IUser() { }
4772
+ function IThemeColor() { }
4773
+ NsInstanceConfig.IThemeColor = IThemeColor;
4473
4774
  if (false) {
4474
- IUser.prototype.wid;
4475
- IUser.prototype.root_org;
4476
- IUser.prototype.org;
4477
- IUser.prototype.is_active;
4478
- IUser.prototype.account_expiry_date;
4479
- IUser.prototype.kid;
4480
- IUser.prototype.imported_source_name;
4481
- IUser.prototype.source_id;
4482
- IUser.prototype.username;
4483
- IUser.prototype.first_name;
4484
- IUser.prototype.last_name;
4485
- IUser.prototype.middle_name;
4486
- IUser.prototype.known_as;
4487
- IUser.prototype.salutation;
4488
- IUser.prototype.email;
4489
- IUser.prototype.gender;
4490
- IUser.prototype.dob;
4491
- IUser.prototype.languages_known;
4492
- IUser.prototype.preferred_language;
4493
- IUser.prototype.source_profile_picture;
4494
- IUser.prototype.residence_country;
4495
- IUser.prototype.residence_state;
4496
- IUser.prototype.residence_city;
4497
- IUser.prototype.contact_phone_number_office;
4498
- IUser.prototype.contact_phone_number_home;
4499
- IUser.prototype.contact_phone_number_personal;
4500
- IUser.prototype.employement_status;
4501
- IUser.prototype.contract_type;
4502
- IUser.prototype.job_title;
4503
- IUser.prototype.job_role;
4504
- IUser.prototype.department_name;
4505
- IUser.prototype.unit_name;
4506
- IUser.prototype.organization_location_country;
4507
- IUser.prototype.organization_location_state;
4508
- IUser.prototype.organization_location_city;
4509
- IUser.prototype.time_inserted;
4510
- IUser.prototype.time_updated;
4511
- IUser.prototype.json_unmapped_fields;
4512
- IUser.prototype.source_data;
4775
+ IThemeColor.prototype.accent;
4776
+ IThemeColor.prototype.primary;
4777
+ IThemeColor.prototype.warn;
4513
4778
  }
4514
- function IRootOrg() { }
4779
+ function IOverrideThemeChanges() { }
4780
+ NsInstanceConfig.IOverrideThemeChanges = IOverrideThemeChanges;
4515
4781
  if (false) {
4516
- IRootOrg.prototype.dateTime;
4517
- IRootOrg.prototype.preferredLanguage;
4518
- IRootOrg.prototype.keys;
4519
- IRootOrg.prototype.channel;
4520
- IRootOrg.prototype.approvedBy;
4521
- IRootOrg.prototype.description;
4522
- IRootOrg.prototype.updatedDate;
4523
- IRootOrg.prototype.addressId;
4524
- IRootOrg.prototype.orgType;
4525
- IRootOrg.prototype.provider;
4526
- IRootOrg.prototype.orgCode;
4527
- IRootOrg.prototype.locationId;
4528
- IRootOrg.prototype.theme;
4529
- IRootOrg.prototype.id;
4530
- IRootOrg.prototype.isApproved;
4531
- IRootOrg.prototype.communityId;
4532
- IRootOrg.prototype.slug;
4533
- IRootOrg.prototype.email;
4534
- IRootOrg.prototype.isSSOEnabled;
4535
- IRootOrg.prototype.thumbnail;
4536
- IRootOrg.prototype.updatedBy;
4537
- IRootOrg.prototype.orgName;
4538
- IRootOrg.prototype.locationIds;
4539
- IRootOrg.prototype.externalId;
4540
- IRootOrg.prototype.isRootOrg;
4541
- IRootOrg.prototype.rootOrgId;
4542
- IRootOrg.prototype.imgUrl;
4543
- IRootOrg.prototype.approvedDate;
4544
- IRootOrg.prototype.orgTypeId;
4545
- IRootOrg.prototype.homeUrl;
4546
- IRootOrg.prototype.isDefault;
4547
- IRootOrg.prototype.createdDate;
4548
- IRootOrg.prototype.contactDetail;
4549
- IRootOrg.prototype.parentOrgId;
4550
- IRootOrg.prototype.createdBy;
4551
- IRootOrg.prototype.hashTagId;
4552
- IRootOrg.prototype.noOfMembers;
4553
- IRootOrg.prototype.status;
4782
+ IOverrideThemeChanges.prototype.isEnabled;
4783
+ IOverrideThemeChanges.prototype.desktop;
4784
+ IOverrideThemeChanges.prototype.mWeb;
4554
4785
  }
4555
- function IOrg() { }
4786
+ function IDesktop() { }
4787
+ NsInstanceConfig.IDesktop = IDesktop;
4556
4788
  if (false) {
4557
- IOrg.prototype.updatedBy;
4558
- IOrg.prototype.organisationId;
4559
- IOrg.prototype.orgName;
4560
- IOrg.prototype.addedByName;
4561
- IOrg.prototype.addedBy;
4562
- IOrg.prototype.roles;
4563
- IOrg.prototype.approvedBy;
4564
- IOrg.prototype.updatedDate;
4565
- IOrg.prototype.userId;
4566
- IOrg.prototype.approvaldate;
4567
- IOrg.prototype.isDeleted;
4568
- IOrg.prototype.parentOrgId;
4569
- IOrg.prototype.hashTagId;
4570
- IOrg.prototype.isRejected;
4571
- IOrg.prototype.position;
4572
- IOrg.prototype.id;
4573
- IOrg.prototype.orgjoindate;
4574
- IOrg.prototype.isApproved;
4575
- IOrg.prototype.orgLeftDate;
4789
+ IDesktop.prototype.animationDuration;
4790
+ IDesktop.prototype.logoUrl;
4791
+ IDesktop.prototype.logoText;
4792
+ IDesktop.prototype.logoDisplayTime;
4793
+ IDesktop.prototype.backgroundTheme;
4576
4794
  }
4577
- function IUserV2() { }
4795
+ function IMWeb() { }
4796
+ NsInstanceConfig.IMWeb = IMWeb;
4578
4797
  if (false) {
4579
- IUserV2.prototype.surName;
4580
- IUserV2.prototype.maskedPhone;
4581
- IUserV2.prototype.rootOrgName;
4582
- IUserV2.prototype.subject;
4583
- IUserV2.prototype.channel;
4584
- IUserV2.prototype.language;
4585
- IUserV2.prototype.updatedDate;
4586
- IUserV2.prototype.managedBy;
4587
- IUserV2.prototype.flagsValue;
4588
- IUserV2.prototype.id;
4589
- IUserV2.prototype.recoveryEmail;
4590
- IUserV2.prototype.identifier;
4591
- IUserV2.prototype.thumbnail;
4592
- IUserV2.prototype.profileVisibility;
4593
- IUserV2.prototype.updatedBy;
4594
- IUserV2.prototype.accesscode;
4595
- IUserV2.prototype.locationIds;
4596
- IUserV2.prototype.externalIds;
4597
- IUserV2.prototype.registryId;
4598
- IUserV2.prototype.rootOrgId;
4599
- IUserV2.prototype.prevUsedEmail;
4600
- IUserV2.prototype.firstName;
4601
- IUserV2.prototype.tncAcceptedOn;
4602
- IUserV2.prototype.phone;
4603
- IUserV2.prototype.dob;
4604
- IUserV2.prototype.grade;
4605
- IUserV2.prototype.currentLoginTime;
4606
- IUserV2.prototype.userType;
4607
- IUserV2.prototype.status;
4608
- IUserV2.prototype.lastName;
4609
- IUserV2.prototype.gender;
4610
- IUserV2.prototype.roles;
4611
- IUserV2.prototype.prevUsedPhone;
4612
- IUserV2.prototype.stateValidated;
4613
- IUserV2.prototype.isDeleted;
4614
- IUserV2.prototype.organisations;
4615
- IUserV2.prototype.countryCode;
4616
- IUserV2.prototype.maskedEmail;
4617
- IUserV2.prototype.tempPassword;
4618
- IUserV2.prototype.email;
4619
- IUserV2.prototype.rootOrg;
4620
- IUserV2.prototype.profileSummary;
4621
- IUserV2.prototype.phoneVerified;
4622
- IUserV2.prototype.recoveryPhone;
4623
- IUserV2.prototype.userName;
4624
- IUserV2.prototype.userId;
4625
- IUserV2.prototype.lastLoginTime;
4626
- IUserV2.prototype.emailVerified;
4627
- IUserV2.prototype.framework;
4628
- IUserV2.prototype.createdDate;
4629
- IUserV2.prototype.createdBy;
4630
- IUserV2.prototype.location;
4631
- IUserV2.prototype.tncAcceptedVersion;
4798
+ IMWeb.prototype.logoUrl;
4799
+ IMWeb.prototype.logoText;
4632
4800
  }
4633
- function IUserVer2() { }
4801
+ function ILogos() { }
4802
+ NsInstanceConfig.ILogos = ILogos;
4634
4803
  if (false) {
4635
- IUserVer2.prototype.firstname;
4636
- IUserVer2.prototype.motherTongue;
4637
- IUserVer2.prototype.secondaryEmail;
4638
- IUserVer2.prototype.gender;
4639
- IUserVer2.prototype.mobile;
4640
- IUserVer2.prototype.middlename;
4641
- IUserVer2.prototype.telephone;
4642
- IUserVer2.prototype.osid;
4643
- IUserVer2.prototype.primaryEmailType;
4644
- IUserVer2.prototype.knownLanguages;
4645
- IUserVer2.prototype.wid;
4646
- IUserVer2.prototype.nationality;
4647
- IUserVer2.prototype.surname;
4648
- IUserVer2.prototype.dob;
4649
- IUserVer2.prototype.category;
4650
- IUserVer2.prototype.primaryEmail;
4651
- IUserVer2.prototype.maritalStatus;
4652
- IUserVer2.prototype.residenceAddress;
4653
- IUserVer2.prototype.result;
4804
+ ILogos.prototype.app;
4805
+ ILogos.prototype.appTransparent;
4806
+ ILogos.prototype.appSecondary;
4807
+ ILogos.prototype.aboutFooter;
4808
+ ILogos.prototype.aboutHeader;
4809
+ ILogos.prototype.appBottomNav;
4810
+ ILogos.prototype.company;
4811
+ ILogos.prototype.developedBy;
4812
+ ILogos.prototype.poweredBy;
4813
+ ILogos.prototype.defaultContent;
4814
+ ILogos.prototype.defaultSourceLogo;
4815
+ ILogos.prototype.landingLogo;
4816
+ ILogos.prototype.navbarLogo;
4817
+ ILogos.prototype.playListLogo;
4818
+ ILogos.prototype.thumpsUp;
4654
4819
  }
4655
- function ILanguages() { }
4656
- NsUser.ILanguages = ILanguages;
4820
+ function IMailIds() { }
4821
+ NsInstanceConfig.IMailIds = IMailIds;
4657
4822
  if (false) {
4658
- ILanguages.prototype.name;
4823
+ IMailIds.prototype.contactUs;
4824
+ IMailIds.prototype.default;
4825
+ IMailIds.prototype.support;
4659
4826
  }
4660
- })(NsUser || (NsUser = {}));
4661
-
4662
-
4663
- (function (WsEvents) {
4664
- function IWsEventsFromWidget() { }
4665
- WsEvents.IWsEventsFromWidget = IWsEventsFromWidget;
4827
+ function IDetails() { }
4828
+ NsInstanceConfig.IDetails = IDetails;
4666
4829
  if (false) {
4667
- IWsEventsFromWidget.prototype.type;
4668
- IWsEventsFromWidget.prototype.widgetType;
4669
- IWsEventsFromWidget.prototype.widgetSubType;
4830
+ IDetails.prototype.appName;
4670
4831
  }
4671
- function IWsEventsFromPage() { }
4672
- WsEvents.IWsEventsFromPage = IWsEventsFromPage;
4832
+ function IPrimaryNavbarConfig() { }
4833
+ NsInstanceConfig.IPrimaryNavbarConfig = IPrimaryNavbarConfig;
4673
4834
  if (false) {
4674
- IWsEventsFromPage.prototype.type;
4675
- IWsEventsFromPage.prototype.pageUrl;
4676
- IWsEventsFromPage.prototype.pageType;
4835
+ IPrimaryNavbarConfig.prototype.mediumScreen;
4836
+ IPrimaryNavbarConfig.prototype.smallScreen;
4677
4837
  }
4678
- var WsEventType;
4679
- (function (WsEventType) {
4680
- WsEventType["Action"] = "Action";
4681
- WsEventType["Telemetry"] = "Telemetry";
4682
- WsEventType["PageNavigation"] = "PageNavigation";
4683
- WsEventType["AccessRestrictedContentAccessed"] = "AccessRestrictedContentAccessed";
4684
- WsEventType["PageSlow"] = "PageSlow";
4685
- WsEventType["ErrorOccurred"] = "ErrorOccurred";
4686
- WsEventType["WidgetResolveError"] = "WidgetResolveError";
4687
- })(WsEventType = WsEvents.WsEventType || (WsEvents.WsEventType = {}));
4688
- var WsEventLogLevel;
4689
- (function (WsEventLogLevel) {
4690
- WsEventLogLevel["Warn"] = "Warn";
4691
- WsEventLogLevel["Error"] = "Error";
4692
- WsEventLogLevel["Info"] = "Info";
4693
- WsEventLogLevel["Log"] = "Log";
4694
- WsEventLogLevel["Trace"] = "Trace";
4695
- })(WsEventLogLevel = WsEvents.WsEventLogLevel || (WsEvents.WsEventLogLevel = {}));
4696
- var WsAuditTypes;
4697
- (function (WsAuditTypes) {
4698
- WsAuditTypes["Created"] = "Created";
4699
- WsAuditTypes["Updated"] = "Updated";
4700
- WsAuditTypes["Deleted"] = "Deleted";
4701
- })(WsAuditTypes = WsEvents.WsAuditTypes || (WsEvents.WsAuditTypes = {}));
4702
- var WsTimeSpentType;
4703
- (function (WsTimeSpentType) {
4704
- WsTimeSpentType["Page"] = "Page";
4705
- WsTimeSpentType["Player"] = "Player";
4706
- })(WsTimeSpentType = WsEvents.WsTimeSpentType || (WsEvents.WsTimeSpentType = {}));
4707
- var WsTimeSpentMode;
4708
- (function (WsTimeSpentMode) {
4709
- WsTimeSpentMode["Play"] = "Play";
4710
- WsTimeSpentMode["View"] = "View";
4711
- })(WsTimeSpentMode = WsEvents.WsTimeSpentMode || (WsEvents.WsTimeSpentMode = {}));
4712
- var externalTelemetrypdata;
4713
- (function (externalTelemetrypdata) {
4714
- externalTelemetrypdata["RBCP"] = "rbcp-web-ui";
4715
- })(externalTelemetrypdata = WsEvents.externalTelemetrypdata || (WsEvents.externalTelemetrypdata = {}));
4716
- function IWsEvents() { }
4717
- WsEvents.IWsEvents = IWsEvents;
4838
+ function IPrimaryNavBarScreen() { }
4718
4839
  if (false) {
4719
- IWsEvents.prototype.eventType;
4720
- IWsEvents.prototype.eventLogLevel;
4721
- IWsEvents.prototype.from;
4722
- IWsEvents.prototype.to;
4723
- IWsEvents.prototype.data;
4724
- IWsEvents.prototype.passThroughData;
4725
- IWsEvents.prototype.pageContext;
4840
+ IPrimaryNavBarScreen.prototype.left;
4841
+ IPrimaryNavBarScreen.prototype.right;
4726
4842
  }
4727
- var EnumTelemetrySubType;
4728
- (function (EnumTelemetrySubType) {
4729
- EnumTelemetrySubType["Init"] = "Init";
4730
- EnumTelemetrySubType["Interact"] = "Interact";
4731
- EnumTelemetrySubType["Loaded"] = "Loaded";
4732
- EnumTelemetrySubType["Unloaded"] = "Unloaded";
4733
- EnumTelemetrySubType["StateChange"] = "StateChange";
4734
- EnumTelemetrySubType["HeartBeat"] = "HeartBeat";
4735
- EnumTelemetrySubType["Search"] = "Search";
4736
- EnumTelemetrySubType["Feedback"] = "Feedback";
4737
- EnumTelemetrySubType["Impression"] = "Impression";
4738
- EnumTelemetrySubType["Chatbot"] = "Chatbot";
4739
- EnumTelemetrySubType["GetStarted"] = "Get Started";
4740
- EnumTelemetrySubType["PlatformRating"] = "PlatformRating";
4741
- })(EnumTelemetrySubType = WsEvents.EnumTelemetrySubType || (WsEvents.EnumTelemetrySubType = {}));
4742
- function ITelemetryPageContext() { }
4743
- WsEvents.ITelemetryPageContext = ITelemetryPageContext;
4843
+ function IPrimaryNavBarSide() { }
4744
4844
  if (false) {
4745
- ITelemetryPageContext.prototype.pageId;
4746
- ITelemetryPageContext.prototype.module;
4747
- ITelemetryPageContext.prototype.pageIdExt;
4845
+ IPrimaryNavBarSide.prototype.type;
4846
+ IPrimaryNavBarSide.prototype.config;
4748
4847
  }
4749
- function ITelemetryEdata() { }
4750
- WsEvents.ITelemetryEdata = ITelemetryEdata;
4848
+ function ITelemetryConfig() { }
4849
+ NsInstanceConfig.ITelemetryConfig = ITelemetryConfig;
4751
4850
  if (false) {
4752
- ITelemetryEdata.prototype.type;
4753
- ITelemetryEdata.prototype.subType;
4754
- ITelemetryEdata.prototype.id;
4755
- ITelemetryEdata.prototype.pageid;
4851
+ ITelemetryConfig.prototype.pdata;
4852
+ ITelemetryConfig.prototype.object;
4853
+ ITelemetryConfig.prototype.uid;
4854
+ ITelemetryConfig.prototype.authtoken;
4855
+ ITelemetryConfig.prototype.env;
4856
+ ITelemetryConfig.prototype.channel;
4857
+ ITelemetryConfig.prototype.batchsize;
4858
+ ITelemetryConfig.prototype.host;
4859
+ ITelemetryConfig.prototype.endpoint;
4860
+ ITelemetryConfig.prototype.apislug;
4861
+ ITelemetryConfig.prototype.sid;
4862
+ ITelemetryConfig.prototype.publicEndpoint;
4863
+ ITelemetryConfig.prototype.protectedEndpoint;
4756
4864
  }
4757
- function ITelemetryTabData() { }
4758
- WsEvents.ITelemetryTabData = ITelemetryTabData;
4865
+ })(NsInstanceConfig || (NsInstanceConfig = {}));
4866
+ var NsAppsConfig;
4867
+ (function (NsAppsConfig) {
4868
+ function IAppsConfig() { }
4869
+ NsAppsConfig.IAppsConfig = IAppsConfig;
4759
4870
  if (false) {
4760
- ITelemetryTabData.prototype.label;
4761
- ITelemetryTabData.prototype.index;
4871
+ IAppsConfig.prototype.groups;
4872
+ IAppsConfig.prototype.features;
4873
+ IAppsConfig.prototype.tourGuide;
4762
4874
  }
4763
- function IWsEventTelemetry() { }
4764
- WsEvents.IWsEventTelemetry = IWsEventTelemetry;
4875
+ function IGroup() { }
4876
+ NsAppsConfig.IGroup = IGroup;
4765
4877
  if (false) {
4766
- IWsEventTelemetry.prototype.eventSubType;
4767
- IWsEventTelemetry.prototype.pageContext;
4878
+ IGroup.prototype.id;
4879
+ IGroup.prototype.iconType;
4880
+ IGroup.prototype.icon;
4881
+ IGroup.prototype.keywords;
4882
+ IGroup.prototype.name;
4883
+ IGroup.prototype.toolTip;
4884
+ IGroup.prototype.featureIds;
4885
+ IGroup.prototype.stripBackground;
4886
+ IGroup.prototype.hasRole;
4768
4887
  }
4769
- var EnumTelemetryPdfActivity;
4770
- (function (EnumTelemetryPdfActivity) {
4771
- EnumTelemetryPdfActivity["PAGE_CHANGED"] = "PAGE_CHANGED";
4772
- EnumTelemetryPdfActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
4773
- EnumTelemetryPdfActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
4774
- EnumTelemetryPdfActivity["ZOOM_CHANGE"] = "ZOOM_CHANGE";
4775
- EnumTelemetryPdfActivity["NONE"] = "NONE";
4776
- })(EnumTelemetryPdfActivity = WsEvents.EnumTelemetryPdfActivity || (WsEvents.EnumTelemetryPdfActivity = {}));
4777
- function IWsEventTelemetryPdfData() { }
4778
- WsEvents.IWsEventTelemetryPdfData = IWsEventTelemetryPdfData;
4888
+ function IFeature() { }
4889
+ NsAppsConfig.IFeature = IFeature;
4779
4890
  if (false) {
4780
- IWsEventTelemetryPdfData.prototype.activityType;
4781
- IWsEventTelemetryPdfData.prototype.currentPage;
4782
- IWsEventTelemetryPdfData.prototype.totalPage;
4783
- IWsEventTelemetryPdfData.prototype.activityStartedAt;
4784
- IWsEventTelemetryPdfData.prototype.object;
4891
+ IFeature.prototype.name;
4892
+ IFeature.prototype.id;
4893
+ IFeature.prototype.url;
4894
+ IFeature.prototype.permission;
4895
+ IFeature.prototype.iconType;
4896
+ IFeature.prototype.icon;
4897
+ IFeature.prototype.keywords;
4898
+ IFeature.prototype.toolTip;
4899
+ IFeature.prototype.accessKey;
4900
+ IFeature.prototype.status;
4901
+ IFeature.prototype.shortName;
4902
+ IFeature.prototype.description;
4903
+ IFeature.prototype.badgeEndpoint;
4904
+ IFeature.prototype.mobileAppFunction;
4905
+ IFeature.prototype.color;
4906
+ IFeature.prototype.target;
4785
4907
  }
4786
- function IWsEventTelemetrySurveyData() { }
4787
- WsEvents.IWsEventTelemetrySurveyData = IWsEventTelemetrySurveyData;
4908
+ })(NsAppsConfig || (NsAppsConfig = {}));
4909
+ var NsUser;
4910
+ (function (NsUser) {
4911
+ function IUserProfile() { }
4912
+ NsUser.IUserProfile = IUserProfile;
4788
4913
  if (false) {
4789
- IWsEventTelemetrySurveyData.prototype.object;
4914
+ IUserProfile.prototype.userId;
4915
+ IUserProfile.prototype.email;
4916
+ IUserProfile.prototype.departmentName;
4917
+ IUserProfile.prototype.userName;
4918
+ IUserProfile.prototype.firstName;
4919
+ IUserProfile.prototype.surName;
4920
+ IUserProfile.prototype.middleName;
4921
+ IUserProfile.prototype.lastName;
4922
+ IUserProfile.prototype.rootOrgId;
4923
+ IUserProfile.prototype.rootOrgName;
4924
+ IUserProfile.prototype.profileImage;
4925
+ IUserProfile.prototype.givenName;
4926
+ IUserProfile.prototype.country;
4927
+ IUserProfile.prototype.unit;
4928
+ IUserProfile.prototype.source_profile_picture;
4929
+ IUserProfile.prototype.dealerCode;
4930
+ IUserProfile.prototype.isManager;
4931
+ IUserProfile.prototype.competencies;
4932
+ IUserProfile.prototype.systemTopics;
4933
+ IUserProfile.prototype.desiredTopics;
4934
+ IUserProfile.prototype.desiredCompetencies;
4935
+ IUserProfile.prototype.userRoles;
4936
+ IUserProfile.prototype.profileUpdateCompletion;
4937
+ IUserProfile.prototype.profileImageUrl;
4938
+ IUserProfile.prototype.professionalDetails;
4939
+ IUserProfile.prototype.webPortalLang;
4790
4940
  }
4791
- function IWsEventTelemetryInteract() { }
4792
- WsEvents.IWsEventTelemetryInteract = IWsEventTelemetryInteract;
4941
+ function INodebbUserProfile() { }
4942
+ NsUser.INodebbUserProfile = INodebbUserProfile;
4793
4943
  if (false) {
4794
- IWsEventTelemetryInteract.prototype.edata;
4795
- IWsEventTelemetryInteract.prototype.object;
4796
- IWsEventTelemetryInteract.prototype.pageContext;
4944
+ INodebbUserProfile.prototype.username;
4945
+ INodebbUserProfile.prototype.email;
4797
4946
  }
4798
- function IWsEventTelemetryFeedback() { }
4799
- WsEvents.IWsEventTelemetryFeedback = IWsEventTelemetryFeedback;
4947
+ function IUserPidProfile() { }
4948
+ NsUser.IUserPidProfile = IUserPidProfile;
4800
4949
  if (false) {
4801
- IWsEventTelemetryFeedback.prototype.edata;
4802
- IWsEventTelemetryFeedback.prototype.object;
4803
- IWsEventTelemetryFeedback.prototype.pageContext;
4950
+ IUserPidProfile.prototype.kid_updated;
4951
+ IUserPidProfile.prototype.user;
4804
4952
  }
4805
- function IWsEventTelemetryImpression() { }
4806
- WsEvents.IWsEventTelemetryImpression = IWsEventTelemetryImpression;
4953
+ function IUserPidProfileV2() { }
4954
+ NsUser.IUserPidProfileV2 = IUserPidProfileV2;
4955
+ if (false) {
4956
+ IUserPidProfileV2.prototype.kid_updated;
4957
+ IUserPidProfileV2.prototype.result;
4958
+ }
4959
+ function IUserPidProfileVer2() { }
4960
+ NsUser.IUserPidProfileVer2 = IUserPidProfileVer2;
4961
+ if (false) {
4962
+ IUserPidProfileVer2.prototype.result;
4963
+ }
4964
+ function ISourceData() { }
4807
4965
  if (false) {
4808
- IWsEventTelemetryImpression.prototype.edata;
4809
- IWsEventTelemetryImpression.prototype.object;
4810
- IWsEventTelemetryImpression.prototype.pageContext;
4966
+ ISourceData.prototype.GID;
4967
+ ISourceData.prototype.SNAMPRE;
4968
+ ISourceData.prototype.SNAMADD;
4969
+ ISourceData.prototype.LASTNAME;
4970
+ ISourceData.prototype.SN;
4971
+ ISourceData.prototype.GIVENNAME;
4972
+ ISourceData.prototype.NICKNAME;
4973
+ ISourceData.prototype.PREFERREDSN;
4974
+ ISourceData.prototype.PERSONALTITLE;
4975
+ ISourceData.prototype.MOBILE;
4976
+ ISourceData.prototype.MAIL;
4977
+ ISourceData.prototype.DEPARTMENTTEXT;
4978
+ ISourceData.prototype.COSTLOCATIONUNIT;
4979
+ ISourceData.prototype.COSTLOCATION;
4980
+ ISourceData.prototype.ORGID;
4981
+ ISourceData.prototype.MGMTRESP;
4982
+ ISourceData.prototype.UTC;
4983
+ ISourceData.prototype.CNAMEENG;
4984
+ ISourceData.prototype.LNAMEINT;
4985
+ ISourceData.prototype.USERTYPE;
4986
+ ISourceData.prototype.STATUS;
4987
+ ISourceData.prototype.CONTRACTSTATUS;
4811
4988
  }
4812
- function IWsEventTelemetrySearch() { }
4813
- WsEvents.IWsEventTelemetrySearch = IWsEventTelemetrySearch;
4989
+ function IUser() { }
4814
4990
  if (false) {
4815
- IWsEventTelemetrySearch.prototype.type;
4816
- IWsEventTelemetrySearch.prototype.subType;
4817
- IWsEventTelemetrySearch.prototype.query;
4818
- IWsEventTelemetrySearch.prototype.filters;
4819
- IWsEventTelemetrySearch.prototype.size;
4820
- IWsEventTelemetrySearch.prototype.locale;
4991
+ IUser.prototype.wid;
4992
+ IUser.prototype.root_org;
4993
+ IUser.prototype.org;
4994
+ IUser.prototype.is_active;
4995
+ IUser.prototype.account_expiry_date;
4996
+ IUser.prototype.kid;
4997
+ IUser.prototype.imported_source_name;
4998
+ IUser.prototype.source_id;
4999
+ IUser.prototype.username;
5000
+ IUser.prototype.first_name;
5001
+ IUser.prototype.last_name;
5002
+ IUser.prototype.middle_name;
5003
+ IUser.prototype.known_as;
5004
+ IUser.prototype.salutation;
5005
+ IUser.prototype.email;
5006
+ IUser.prototype.gender;
5007
+ IUser.prototype.dob;
5008
+ IUser.prototype.languages_known;
5009
+ IUser.prototype.preferred_language;
5010
+ IUser.prototype.source_profile_picture;
5011
+ IUser.prototype.residence_country;
5012
+ IUser.prototype.residence_state;
5013
+ IUser.prototype.residence_city;
5014
+ IUser.prototype.contact_phone_number_office;
5015
+ IUser.prototype.contact_phone_number_home;
5016
+ IUser.prototype.contact_phone_number_personal;
5017
+ IUser.prototype.employement_status;
5018
+ IUser.prototype.contract_type;
5019
+ IUser.prototype.job_title;
5020
+ IUser.prototype.job_role;
5021
+ IUser.prototype.department_name;
5022
+ IUser.prototype.unit_name;
5023
+ IUser.prototype.organization_location_country;
5024
+ IUser.prototype.organization_location_state;
5025
+ IUser.prototype.organization_location_city;
5026
+ IUser.prototype.time_inserted;
5027
+ IUser.prototype.time_updated;
5028
+ IUser.prototype.json_unmapped_fields;
5029
+ IUser.prototype.source_data;
4821
5030
  }
4822
- function IWsEventTelemetryHeartBeat() { }
4823
- WsEvents.IWsEventTelemetryHeartBeat = IWsEventTelemetryHeartBeat;
5031
+ function IRootOrg() { }
4824
5032
  if (false) {
4825
- IWsEventTelemetryHeartBeat.prototype.type;
4826
- IWsEventTelemetryHeartBeat.prototype.id;
5033
+ IRootOrg.prototype.dateTime;
5034
+ IRootOrg.prototype.preferredLanguage;
5035
+ IRootOrg.prototype.keys;
5036
+ IRootOrg.prototype.channel;
5037
+ IRootOrg.prototype.approvedBy;
5038
+ IRootOrg.prototype.description;
5039
+ IRootOrg.prototype.updatedDate;
5040
+ IRootOrg.prototype.addressId;
5041
+ IRootOrg.prototype.orgType;
5042
+ IRootOrg.prototype.provider;
5043
+ IRootOrg.prototype.orgCode;
5044
+ IRootOrg.prototype.locationId;
5045
+ IRootOrg.prototype.theme;
5046
+ IRootOrg.prototype.id;
5047
+ IRootOrg.prototype.isApproved;
5048
+ IRootOrg.prototype.communityId;
5049
+ IRootOrg.prototype.slug;
5050
+ IRootOrg.prototype.email;
5051
+ IRootOrg.prototype.isSSOEnabled;
5052
+ IRootOrg.prototype.thumbnail;
5053
+ IRootOrg.prototype.updatedBy;
5054
+ IRootOrg.prototype.orgName;
5055
+ IRootOrg.prototype.locationIds;
5056
+ IRootOrg.prototype.externalId;
5057
+ IRootOrg.prototype.isRootOrg;
5058
+ IRootOrg.prototype.rootOrgId;
5059
+ IRootOrg.prototype.imgUrl;
5060
+ IRootOrg.prototype.approvedDate;
5061
+ IRootOrg.prototype.orgTypeId;
5062
+ IRootOrg.prototype.homeUrl;
5063
+ IRootOrg.prototype.isDefault;
5064
+ IRootOrg.prototype.createdDate;
5065
+ IRootOrg.prototype.contactDetail;
5066
+ IRootOrg.prototype.parentOrgId;
5067
+ IRootOrg.prototype.createdBy;
5068
+ IRootOrg.prototype.hashTagId;
5069
+ IRootOrg.prototype.noOfMembers;
5070
+ IRootOrg.prototype.status;
4827
5071
  }
4828
- var EnumTelemetryMediaActivity;
4829
- (function (EnumTelemetryMediaActivity) {
4830
- EnumTelemetryMediaActivity["PLAYED"] = "PLAYED";
4831
- EnumTelemetryMediaActivity["PAUSED"] = "PAUSED";
4832
- EnumTelemetryMediaActivity["SEEKED"] = "SEEKED";
4833
- EnumTelemetryMediaActivity["ENDED"] = "ENDED";
4834
- EnumTelemetryMediaActivity["VOLUME_CHANGE"] = "VOLUME_CHANGE";
4835
- EnumTelemetryMediaActivity["MUTE"] = "MUTE";
4836
- EnumTelemetryMediaActivity["UNMUTE"] = "UNMUTE";
4837
- EnumTelemetryMediaActivity["PLAYBACK_SPEED_CHANGE"] = "PLAYBACK_SPEED_CHANGE";
4838
- EnumTelemetryMediaActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
4839
- EnumTelemetryMediaActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
4840
- EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_ACTIVATED"] = "PICTURE_IN_PICTURE_ACTIVATED";
4841
- EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_DEACTIVATED"] = "PICTURE_IN_PICTURE_DEACTIVATED";
4842
- EnumTelemetryMediaActivity["NONE"] = "NONE";
4843
- })(EnumTelemetryMediaActivity = WsEvents.EnumTelemetryMediaActivity || (WsEvents.EnumTelemetryMediaActivity = {}));
4844
- var EnumTelemetryMediaState;
4845
- (function (EnumTelemetryMediaState) {
4846
- EnumTelemetryMediaState["PLAYING"] = "PLAYING";
4847
- EnumTelemetryMediaState["PAUSED"] = "PAUSED";
4848
- EnumTelemetryMediaState["ENDED"] = "ENDED";
4849
- EnumTelemetryMediaState["BUFFERING"] = "BUFFERING";
4850
- EnumTelemetryMediaState["NOT_STARTED"] = "NOT_STARTED";
4851
- })(EnumTelemetryMediaState = WsEvents.EnumTelemetryMediaState || (WsEvents.EnumTelemetryMediaState = {}));
4852
- function IWsEventTelemetryMediaData() { }
4853
- WsEvents.IWsEventTelemetryMediaData = IWsEventTelemetryMediaData;
5072
+ function IOrg() { }
4854
5073
  if (false) {
4855
- IWsEventTelemetryMediaData.prototype.currentState;
4856
- IWsEventTelemetryMediaData.prototype.activityType;
4857
- IWsEventTelemetryMediaData.prototype.currentTime;
4858
- IWsEventTelemetryMediaData.prototype.totalTime;
4859
- IWsEventTelemetryMediaData.prototype.maxedSeekedTime;
4860
- IWsEventTelemetryMediaData.prototype.activityStartedAt;
5074
+ IOrg.prototype.updatedBy;
5075
+ IOrg.prototype.organisationId;
5076
+ IOrg.prototype.orgName;
5077
+ IOrg.prototype.addedByName;
5078
+ IOrg.prototype.addedBy;
5079
+ IOrg.prototype.roles;
5080
+ IOrg.prototype.approvedBy;
5081
+ IOrg.prototype.updatedDate;
5082
+ IOrg.prototype.userId;
5083
+ IOrg.prototype.approvaldate;
5084
+ IOrg.prototype.isDeleted;
5085
+ IOrg.prototype.parentOrgId;
5086
+ IOrg.prototype.hashTagId;
5087
+ IOrg.prototype.isRejected;
5088
+ IOrg.prototype.position;
5089
+ IOrg.prototype.id;
5090
+ IOrg.prototype.orgjoindate;
5091
+ IOrg.prototype.isApproved;
5092
+ IOrg.prototype.orgLeftDate;
4861
5093
  }
4862
- var EnumTelemetrymodules;
4863
- (function (EnumTelemetrymodules) {
4864
- EnumTelemetrymodules["CONTENT"] = "content";
4865
- EnumTelemetrymodules["FEEDBACK"] = "feedback";
4866
- EnumTelemetrymodules["COURSE"] = "course";
4867
- EnumTelemetrymodules["PROGRAM"] = "program";
4868
- EnumTelemetrymodules["EXPLORE"] = "explore";
4869
- EnumTelemetrymodules["LEARN"] = "learn";
4870
- EnumTelemetrymodules["HOME"] = "home";
4871
- EnumTelemetrymodules["DASHBOARD"] = "dashboard";
4872
- EnumTelemetrymodules["SEARCH"] = "search";
4873
- EnumTelemetrymodules["DISCUSS"] = "Discuss";
4874
- EnumTelemetrymodules["COMPETENCY"] = "competency";
4875
- EnumTelemetrymodules["EVENTS"] = "events";
4876
- EnumTelemetrymodules["CAREER"] = "career";
4877
- EnumTelemetrymodules["PROFILE"] = "profile";
4878
- EnumTelemetrymodules["NETWORK"] = "network";
4879
- EnumTelemetrymodules["SUPPORT"] = "support";
4880
- EnumTelemetrymodules["KARMAPOINTS"] = "karmapoints";
4881
- EnumTelemetrymodules["PLATFORM_RATING"] = "platformrating";
4882
- })(EnumTelemetrymodules = WsEvents.EnumTelemetrymodules || (WsEvents.EnumTelemetrymodules = {}));
4883
- var EnumInteractTypes;
4884
- (function (EnumInteractTypes) {
4885
- EnumInteractTypes["CLICK"] = "click";
4886
- })(EnumInteractTypes = WsEvents.EnumInteractTypes || (WsEvents.EnumInteractTypes = {}));
4887
- var EnumInteractSubTypes;
4888
- (function (EnumInteractSubTypes) {
4889
- EnumInteractSubTypes["COURSE_TAB"] = "course-tab";
4890
- EnumInteractSubTypes["CAREER_TAB"] = "career-tab";
4891
- EnumInteractSubTypes["NETWORK_TAB"] = "network-tab";
4892
- EnumInteractSubTypes["COMPETENCY_TAB"] = "competency-tab";
4893
- EnumInteractSubTypes["PROFILE_EDIT_TAB"] = "profile-edit-tab";
4894
- EnumInteractSubTypes["DISCUSS_TAB"] = "discuss-tab";
4895
- EnumInteractSubTypes["EVENTS_TAB"] = "events-tab";
4896
- EnumInteractSubTypes["SIDE_MENU"] = "side-menu";
4897
- EnumInteractSubTypes["HOME_PAGE_STRIP_TABS"] = "home-page-strip-tabs";
4898
- EnumInteractSubTypes["HUB_MENU"] = "hub-menu";
4899
- EnumInteractSubTypes["PORTAL_NUDGE"] = "portal_nudge";
4900
- EnumInteractSubTypes["CERTIFICATE"] = "certificate";
4901
- })(EnumInteractSubTypes = WsEvents.EnumInteractSubTypes || (WsEvents.EnumInteractSubTypes = {}));
4902
- })(exports.WsEvents || (exports.WsEvents = {}));
4903
-
4904
- var EventService = (function () {
4905
- function EventService(environment, utilitySvc) {
4906
- this.utilitySvc = utilitySvc;
4907
- this.todaysEvents = [];
4908
- this.eventsSubject = new rxjs.Subject();
4909
- this.events$ = this.eventsSubject.asObservable();
4910
- this.eventsChatbotSubject = new rxjs.Subject();
4911
- this.chatbotEvents$ = this.eventsChatbotSubject.asObservable();
4912
- this.eventsGetStartSubject = new rxjs.Subject();
4913
- this.getStartEvents$ = this.eventsGetStartSubject.asObservable();
4914
- this.eventsPRSubject = new rxjs.Subject();
4915
- this.getPREvents$ = this.eventsPRSubject.asObservable();
4916
- this.environment = environment;
5094
+ function IUserV2() { }
5095
+ if (false) {
5096
+ IUserV2.prototype.surName;
5097
+ IUserV2.prototype.maskedPhone;
5098
+ IUserV2.prototype.rootOrgName;
5099
+ IUserV2.prototype.subject;
5100
+ IUserV2.prototype.channel;
5101
+ IUserV2.prototype.language;
5102
+ IUserV2.prototype.updatedDate;
5103
+ IUserV2.prototype.managedBy;
5104
+ IUserV2.prototype.flagsValue;
5105
+ IUserV2.prototype.id;
5106
+ IUserV2.prototype.recoveryEmail;
5107
+ IUserV2.prototype.identifier;
5108
+ IUserV2.prototype.thumbnail;
5109
+ IUserV2.prototype.profileVisibility;
5110
+ IUserV2.prototype.updatedBy;
5111
+ IUserV2.prototype.accesscode;
5112
+ IUserV2.prototype.locationIds;
5113
+ IUserV2.prototype.externalIds;
5114
+ IUserV2.prototype.registryId;
5115
+ IUserV2.prototype.rootOrgId;
5116
+ IUserV2.prototype.prevUsedEmail;
5117
+ IUserV2.prototype.firstName;
5118
+ IUserV2.prototype.tncAcceptedOn;
5119
+ IUserV2.prototype.phone;
5120
+ IUserV2.prototype.dob;
5121
+ IUserV2.prototype.grade;
5122
+ IUserV2.prototype.currentLoginTime;
5123
+ IUserV2.prototype.userType;
5124
+ IUserV2.prototype.status;
5125
+ IUserV2.prototype.lastName;
5126
+ IUserV2.prototype.gender;
5127
+ IUserV2.prototype.roles;
5128
+ IUserV2.prototype.prevUsedPhone;
5129
+ IUserV2.prototype.stateValidated;
5130
+ IUserV2.prototype.isDeleted;
5131
+ IUserV2.prototype.organisations;
5132
+ IUserV2.prototype.countryCode;
5133
+ IUserV2.prototype.maskedEmail;
5134
+ IUserV2.prototype.tempPassword;
5135
+ IUserV2.prototype.email;
5136
+ IUserV2.prototype.rootOrg;
5137
+ IUserV2.prototype.profileSummary;
5138
+ IUserV2.prototype.phoneVerified;
5139
+ IUserV2.prototype.recoveryPhone;
5140
+ IUserV2.prototype.userName;
5141
+ IUserV2.prototype.userId;
5142
+ IUserV2.prototype.lastLoginTime;
5143
+ IUserV2.prototype.emailVerified;
5144
+ IUserV2.prototype.framework;
5145
+ IUserV2.prototype.createdDate;
5146
+ IUserV2.prototype.createdBy;
5147
+ IUserV2.prototype.location;
5148
+ IUserV2.prototype.tncAcceptedVersion;
4917
5149
  }
4918
- EventService.prototype.dispatchEvent = function (event) {
4919
- event.pageContext = this.getContext(event.pageContext);
4920
- this.eventsSubject.next(event);
4921
- };
4922
- EventService.prototype.dispatchChatbotEvent = function (event) {
4923
- this.eventsChatbotSubject.next(event);
4924
- };
4925
- EventService.prototype.dispatchGetStartedEvent = function (event) {
4926
- this.eventsGetStartSubject.next(event);
4927
- };
4928
- EventService.prototype.dispatchPlatformRatingEvent = function (event) {
4929
- this.eventsPRSubject.next(event);
4930
- };
4931
- EventService.prototype.raiseInteractTelemetry = function (edata, object, pageContext) {
4932
- this.dispatchEvent({
4933
- eventType: exports.WsEvents.WsEventType.Telemetry,
4934
- eventLogLevel: exports.WsEvents.WsEventLogLevel.Info,
4935
- data: {
4936
- edata: edata,
4937
- object: object,
4938
- pageContext: this.getContext(pageContext),
4939
- eventSubType: exports.WsEvents.EnumTelemetrySubType.Interact,
4940
- },
4941
- from: '',
4942
- to: 'Telemetry',
4943
- });
4944
- };
4945
- EventService.prototype.raiseFeedbackTelemetry = function (edata, object, from) {
4946
- this.dispatchEvent({
4947
- eventType: exports.WsEvents.WsEventType.Telemetry,
4948
- eventLogLevel: exports.WsEvents.WsEventLogLevel.Info,
4949
- data: {
4950
- edata: edata,
4951
- object: object,
4952
- eventSubType: exports.WsEvents.EnumTelemetrySubType.Feedback,
4953
- },
4954
- from: from || '',
4955
- to: 'Telemetry',
4956
- });
4957
- };
4958
- EventService.prototype.raiseCustomImpression = function (object, pageContext) {
4959
- this.dispatchEvent({
4960
- eventType: exports.WsEvents.WsEventType.Telemetry,
4961
- eventLogLevel: exports.WsEvents.WsEventLogLevel.Info,
4962
- data: {
4963
- object: object,
4964
- pageContext: this.getContext(pageContext),
4965
- eventSubType: exports.WsEvents.EnumTelemetrySubType.Impression,
4966
- },
4967
- from: '',
4968
- to: 'Telemetry',
4969
- });
4970
- };
4971
- EventService.prototype.getContext = function (pageContext) {
4972
- var routeDataContext = this.utilitySvc.routeData;
4973
- var finalContext = {
4974
- pageId: routeDataContext.pageId,
4975
- module: routeDataContext.module,
4976
- };
4977
- if (pageContext) {
4978
- if (pageContext.pageIdExt) {
4979
- finalContext.pageId = routeDataContext.pageId + "_" + pageContext.pageIdExt;
4980
- }
4981
- else if (pageContext.pageId) {
4982
- finalContext.pageId = pageContext.pageId;
4983
- }
4984
- if (pageContext.module) {
4985
- finalContext.module = pageContext.module;
4986
- }
4987
- }
4988
- return finalContext;
4989
- };
4990
- EventService.prototype.handleTabTelemetry = function (subType, data, object) {
4991
- this.raiseInteractTelemetry({
4992
- subType: subType,
4993
- type: exports.WsEvents.EnumInteractTypes.CLICK,
4994
- id: ___default.camelCase(data.label) + "-tab",
4995
- }, __assign({}, object), {
4996
- pageIdExt: ___default.camelCase(data.label) + "-tab",
4997
- });
4998
- this.raiseCustomImpression(__assign({ context: {
4999
- position: data.index,
5000
- } }, object), {
5001
- pageIdExt: ___default.camelCase(data.label) + "-tab",
5002
- });
5003
- };
5004
- EventService.prototype.getPublicUrl = function (url) {
5005
- var mainUrl = url.split('/content').pop() || '';
5006
- return this.environment.contentHost + "/" + this.environment.contentBucket + "/content" + mainUrl;
5007
- };
5008
- EventService.prototype.allEventDateFormat = function (datetime) {
5009
- var date = new Date(datetime).getDate();
5010
- var year = new Date(datetime).getFullYear();
5011
- var month = new Date(datetime).getMonth();
5012
- var hours = new Date(datetime).getHours();
5013
- var minutes = new Date(datetime).getMinutes();
5014
- var seconds = new Date(datetime).getSeconds();
5015
- var formatedDate = new Date(year, month, date, hours, minutes, seconds, 0);
5016
- var format = 'YYYY-MM-DD';
5017
- var readableDateMonth = moment(formatedDate).format(format);
5018
- var finalDateTimeValue = "" + readableDateMonth;
5019
- return finalDateTimeValue;
5020
- };
5021
- EventService.prototype.compareDate = function (startDate) {
5022
- var now = new Date();
5023
- var day = ('0' + (new Date().getDate())).slice(-2);
5024
- var year = new Date().getFullYear();
5025
- var month = ('0' + (now.getMonth() + 1)).slice(-2);
5026
- var todaysdate = year + "-" + month + "-" + day;
5027
- if (startDate === todaysdate) {
5028
- return true;
5029
- }
5030
- return false;
5031
- };
5032
- EventService.prototype.customDateFormat = function (date, time) {
5033
- var stime = time.split('+')[0];
5034
- var hour = stime.substr(0, 2);
5035
- var min = stime.substr(2, 3);
5036
- return date + " " + hour + min;
5037
- };
5038
- EventService.prototype.setEventListData = function (eventObj) {
5039
- var _this = this;
5040
- if (eventObj !== undefined) {
5041
- this.todaysEvents = [];
5042
- var data_1 = eventObj;
5043
- Object.keys(data_1).forEach((function (index) {
5044
- var obj = data_1[index];
5045
- var floor = Math.floor;
5046
- var hours = floor(obj.duration / 60);
5047
- var minutes = obj.duration % 60;
5048
- var duration = (hours === 0) ? ((minutes === 0) ? '---' : minutes + " minutes") : (minutes === 0) ? (hours === 1) ?
5049
- hours + " hour" : hours + " hours" : (hours === 1) ? hours + " hour " + minutes + " minutes" :
5050
- hours + " hours " + minutes + " minutes";
5051
- var creatordata = obj.creatorDetails !== undefined ? obj.creatorDetails : [];
5052
- var str = creatordata && creatordata.length > 0 ? creatordata.replace(/\\/g, '') : [];
5053
- var creatorDetails = str && str.length > 0 ? JSON.parse(str) : creatordata;
5054
- var stime = obj.startTime.split('+')[0];
5055
- var hour = stime.substr(0, 2);
5056
- var min = stime.substr(2, 3);
5057
- var starttime = "" + hour + min;
5058
- var etime = obj.endTime.split('+')[0];
5059
- var ehour = etime.substr(0, 2);
5060
- var emin = etime.substr(2, 3);
5061
- var endtime = "" + ehour + emin;
5062
- var eventDataObj = {
5063
- event: obj,
5064
- eventName: obj.name,
5065
- eventStartTime: starttime,
5066
- eventEndTime: endtime,
5067
- eventStartDate: obj.startDate,
5068
- eventCreatedOn: _this.allEventDateFormat(obj.createdOn),
5069
- eventDuration: duration,
5070
- eventjoined: creatorDetails.length,
5071
- eventThumbnail: obj.appIcon && (obj.appIcon !== null || obj.appIcon !== undefined) ?
5072
- _this.getPublicUrl(obj.appIcon) :
5073
- '/assets/icons/Events_default.png',
5074
- pastevent: false,
5075
- };
5076
- var isToday = _this.compareDate(obj.startDate);
5077
- if (isToday) {
5078
- _this.todaysEvents.push(eventDataObj);
5079
- }
5080
- }));
5081
- }
5082
- };
5083
- EventService.decorators = [
5084
- { type: core.Injectable, args: [{
5085
- providedIn: 'root',
5086
- },] }
5087
- ];
5088
- EventService.ctorParameters = function () { return [
5089
- { type: undefined, decorators: [{ type: core.Inject, args: ['environment',] }] },
5090
- { type: UtilityService }
5091
- ]; };
5092
- /** @nocollapse */ EventService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function EventService_Factory() { return new EventService(core.ɵɵinject("environment"), core.ɵɵinject(UtilityService)); }, token: EventService, providedIn: "root" });
5093
- return EventService;
5094
- }());
5095
- if (false) {
5096
- EventService.prototype.todaysEvents;
5097
- EventService.prototype.eventsSubject;
5098
- EventService.prototype.events$;
5099
- EventService.prototype.eventsChatbotSubject;
5100
- EventService.prototype.chatbotEvents$;
5101
- EventService.prototype.eventsGetStartSubject;
5102
- EventService.prototype.getStartEvents$;
5103
- EventService.prototype.eventsPRSubject;
5104
- EventService.prototype.getPREvents$;
5105
- EventService.prototype.environment;
5106
- EventService.prototype.utilitySvc;
5107
- }
5150
+ function IUserVer2() { }
5151
+ if (false) {
5152
+ IUserVer2.prototype.firstname;
5153
+ IUserVer2.prototype.motherTongue;
5154
+ IUserVer2.prototype.secondaryEmail;
5155
+ IUserVer2.prototype.gender;
5156
+ IUserVer2.prototype.mobile;
5157
+ IUserVer2.prototype.middlename;
5158
+ IUserVer2.prototype.telephone;
5159
+ IUserVer2.prototype.osid;
5160
+ IUserVer2.prototype.primaryEmailType;
5161
+ IUserVer2.prototype.knownLanguages;
5162
+ IUserVer2.prototype.wid;
5163
+ IUserVer2.prototype.nationality;
5164
+ IUserVer2.prototype.surname;
5165
+ IUserVer2.prototype.dob;
5166
+ IUserVer2.prototype.category;
5167
+ IUserVer2.prototype.primaryEmail;
5168
+ IUserVer2.prototype.maritalStatus;
5169
+ IUserVer2.prototype.residenceAddress;
5170
+ IUserVer2.prototype.result;
5171
+ }
5172
+ function ILanguages() { }
5173
+ NsUser.ILanguages = ILanguages;
5174
+ if (false) {
5175
+ ILanguages.prototype.name;
5176
+ }
5177
+ })(NsUser || (NsUser = {}));
5108
5178
 
5109
5179
  function IWsMsTokenModelResponse() { }
5110
5180
  if (false) {
@@ -6854,6 +6924,63 @@
6854
6924
  MultilingualTranslationsService.prototype.configSvc;
6855
6925
  }
6856
6926
 
6927
+ var NsWidgetResolver;
6928
+ (function (NsWidgetResolver) {
6929
+ function IUnitPermissionObject() { }
6930
+ NsWidgetResolver.IUnitPermissionObject = IUnitPermissionObject;
6931
+ if (false) {
6932
+ IUnitPermissionObject.prototype.all;
6933
+ IUnitPermissionObject.prototype.none;
6934
+ IUnitPermissionObject.prototype.some;
6935
+ }
6936
+ function IPermissions() { }
6937
+ NsWidgetResolver.IPermissions = IPermissions;
6938
+ if (false) {
6939
+ IPermissions.prototype.enabled;
6940
+ IPermissions.prototype.available;
6941
+ IPermissions.prototype.roles;
6942
+ IPermissions.prototype.features;
6943
+ IPermissions.prototype.groups;
6944
+ }
6945
+ function IBaseConfig() { }
6946
+ NsWidgetResolver.IBaseConfig = IBaseConfig;
6947
+ if (false) {
6948
+ IBaseConfig.prototype.widgetType;
6949
+ IBaseConfig.prototype.widgetSubType;
6950
+ }
6951
+ function IRegistrationConfig() { }
6952
+ NsWidgetResolver.IRegistrationConfig = IRegistrationConfig;
6953
+ if (false) {
6954
+ IRegistrationConfig.prototype.component;
6955
+ }
6956
+ function IRegistrationsPermissionConfig() { }
6957
+ NsWidgetResolver.IRegistrationsPermissionConfig = IRegistrationsPermissionConfig;
6958
+ if (false) {
6959
+ IRegistrationsPermissionConfig.prototype.widgetPermission;
6960
+ }
6961
+ function IRenderConfigWithTypedData() { }
6962
+ NsWidgetResolver.IRenderConfigWithTypedData = IRenderConfigWithTypedData;
6963
+ if (false) {
6964
+ IRenderConfigWithTypedData.prototype.widgetData;
6965
+ IRenderConfigWithTypedData.prototype.widgetInstanceId;
6966
+ IRenderConfigWithTypedData.prototype.widgetHostClass;
6967
+ IRenderConfigWithTypedData.prototype.widgetHostStyle;
6968
+ }
6969
+ function IWidgetData() { }
6970
+ NsWidgetResolver.IWidgetData = IWidgetData;
6971
+ if (false) {
6972
+ IWidgetData.prototype.widgetSafeStyle;
6973
+ IWidgetData.prototype.updateBaseComponent;
6974
+ }
6975
+ function ITitle() { }
6976
+ NsWidgetResolver.ITitle = ITitle;
6977
+ if (false) {
6978
+ ITitle.prototype.title;
6979
+ ITitle.prototype.url;
6980
+ ITitle.prototype.icon;
6981
+ }
6982
+ })(NsWidgetResolver || (NsWidgetResolver = {}));
6983
+
6857
6984
  exports.AuthKeycloakService = AuthKeycloakService;
6858
6985
  exports.AuthMicrosoftService = AuthMicrosoftService;
6859
6986
  exports.ClassChangeOnScrollModule = ClassChangeOnScrollModule;
@@ -6875,6 +7002,7 @@
6875
7002
  exports.MarketingOfferingResolve = MarketingOfferingResolve;
6876
7003
  exports.ModuleNameResolve = ModuleNameResolve;
6877
7004
  exports.MultilingualTranslationsService = MultilingualTranslationsService;
7005
+ exports.NPSGridService = NPSGridService;
6878
7006
  exports.NavigationModule = NavigationModule;
6879
7007
  exports.OrderByPipe = OrderByPipe;
6880
7008
  exports.PageNameResolve = PageNameResolve;
@@ -6909,6 +7037,8 @@
6909
7037
  exports.PipeNameTransformModule = PipeNameTransformModule;
6910
7038
  exports.PipeNameTransformPipe = PipeNameTransformPipe;
6911
7039
  exports.PipeOrderByModule = PipeOrderByModule;
7040
+ exports.PipeOrdinalModule = PipeOrdinalModule;
7041
+ exports.PipeOrdinalPipe = PipeOrdinalPipe;
6912
7042
  exports.PipePartialContentModule = PipePartialContentModule;
6913
7043
  exports.PipePartialContentPipe = PipePartialContentPipe;
6914
7044
  exports.PipePublicURL = PipePublicURL;
@@ -6932,7 +7062,6 @@
6932
7062
  exports.ɵf = PermissionDirective;
6933
7063
  exports.ɵg = HorizontalScrollerComponent;
6934
7064
  exports.ɵh = HorizontalScrollerV2Component;
6935
- exports.ɵi = NPSGridService;
6936
7065
 
6937
7066
  Object.defineProperty(exports, '__esModule', { value: true });
6938
7067