@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
@@ -8,13 +8,13 @@ import { map, debounceTime, distinctUntilChanged, throttleTime, filter, catchErr
8
8
  import { CommonModule } from '@angular/common';
9
9
  import { MatIconModule, MatButtonModule, MatDialogModule, MatToolbarModule, MatCardModule, MatTooltipModule, MatSliderModule, MatProgressSpinnerModule, MatDialogRef as MatDialogRef$1 } from '@angular/material';
10
10
  import { ImageCropperModule } from 'ngx-image-cropper';
11
- import { HttpClient } from '@angular/common/http';
12
- import { KeycloakEventType, KeycloakService } from 'keycloak-angular';
13
11
  import { Platform } from '@angular/cdk/platform';
12
+ import { HttpClient } from '@angular/common/http';
14
13
  import { NavigationEnd, Router, ActivatedRoute, NavigationStart } from '@angular/router';
15
- import { TranslateService, TranslateModule } from '@ngx-translate/core';
16
- import moment from 'moment';
17
14
  import _, { orderBy } from 'lodash';
15
+ import moment from 'moment';
16
+ import { KeycloakEventType, KeycloakService } from 'keycloak-angular';
17
+ import { TranslateService, TranslateModule } from '@ngx-translate/core';
18
18
  import { DomSanitizer } from '@angular/platform-browser';
19
19
 
20
20
  var ConfigurationsService = (function () {
@@ -1524,244 +1524,896 @@ var HorizontalScrollerModule = (function () {
1524
1524
  return HorizontalScrollerModule;
1525
1525
  }());
1526
1526
 
1527
- var HorizontalScrollerV2Component = (function () {
1528
- function HorizontalScrollerV2Component() {
1529
- this.loadStatus = 'fetching';
1530
- this.onHover = false;
1531
- this.sliderConfig = {
1532
- showNavs: true,
1533
- showDots: true,
1534
- cerificateCardMargin: false,
1535
- };
1536
- this.loadNext = new EventEmitter();
1537
- this.horizontalScrollElem = null;
1538
- this.enablePrev = false;
1539
- this.enableNext = false;
1540
- this.activeNav = 0;
1541
- this.cardSubType = 'standard';
1542
- this.bottomDotsArray = [];
1543
- this.scrollObserver = null;
1544
- }
1545
- HorizontalScrollerV2Component.prototype.ngOnInit = function () {
1546
- var _this = this;
1547
- this.cardSubType = this.stripConfig && this.stripConfig.cardSubType ? this.stripConfig.cardSubType : 'standard';
1548
- if (this.horizontalScrollElem) {
1549
- var horizontalScrollElem_1 = this.horizontalScrollElem;
1550
- this.scrollObserver = fromEvent(horizontalScrollElem_1.nativeElement, 'scroll')
1551
- .pipe(debounceTime(100), throttleTime(100))
1552
- .subscribe((function (_) {
1553
- _this.updateNavigationBtnStatus(((horizontalScrollElem_1
1554
- .nativeElement)));
1555
- }));
1556
- this.getBottomDotsArray();
1557
- }
1558
- };
1559
- HorizontalScrollerV2Component.prototype.ngOnChanges = function () {
1560
- var _this = this;
1561
- timer(100).subscribe((function () {
1562
- if (_this.horizontalScrollElem) {
1563
- _this.updateNavigationBtnStatus(((_this.horizontalScrollElem
1564
- .nativeElement)));
1565
- }
1566
- }));
1567
- this.getBottomDotsArray();
1568
- };
1569
- HorizontalScrollerV2Component.prototype.ngOnDestroy = function () {
1570
- if (this.scrollObserver) {
1571
- this.scrollObserver.unsubscribe();
1572
- }
1573
- };
1574
- HorizontalScrollerV2Component.prototype.showPrev = function () {
1575
- if (this.horizontalScrollElem) {
1576
- var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
1577
- this.horizontalScrollElem.nativeElement.scrollTo({
1578
- left: this.horizontalScrollElem.nativeElement.scrollLeft - clientWidth,
1579
- behavior: 'smooth',
1580
- });
1581
- this.activeNav -= 1;
1582
- }
1583
- };
1584
- HorizontalScrollerV2Component.prototype.showNext = function () {
1585
- if (this.horizontalScrollElem) {
1586
- var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
1587
- this.horizontalScrollElem.nativeElement.scrollTo({
1588
- left: this.horizontalScrollElem.nativeElement.scrollLeft + clientWidth,
1589
- behavior: 'smooth',
1590
- });
1591
- this.activeNav += 1;
1592
- }
1593
- };
1594
- HorizontalScrollerV2Component.prototype.updateNavigationBtnStatus = function (elem) {
1595
- this.enablePrev = true;
1596
- this.enableNext = true;
1597
- if (elem.scrollLeft === 0) {
1598
- this.enablePrev = false;
1599
- this.activeNav = 0;
1600
- }
1601
- if (elem.scrollWidth === elem.clientWidth + elem.scrollLeft) {
1602
- if (this.loadStatus === 'hasMore') {
1603
- this.loadNext.emit();
1604
- }
1605
- else {
1606
- this.enableNext = false;
1607
- if (this.bottomDotsArray.length) {
1608
- this.activeNav = this.bottomDotsArray.length - 1;
1609
- }
1610
- }
1611
- }
1612
- if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
1613
- this.activeNav = Math.ceil(elem.scrollLeft / elem.clientWidth);
1614
- }
1615
- };
1616
- HorizontalScrollerV2Component.prototype.slideTo = function (ele) {
1617
- var diff = ele - this.activeNav;
1618
- if (this.horizontalScrollElem) {
1619
- var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
1620
- this.horizontalScrollElem.nativeElement.scrollTo({
1621
- left: this.horizontalScrollElem.nativeElement.scrollLeft + (clientWidth * diff),
1622
- behavior: 'smooth',
1623
- });
1624
- }
1625
- this.activeNav = ele;
1626
- };
1627
- HorizontalScrollerV2Component.prototype.getBottomDotsArray = function () {
1628
- var _this = this;
1629
- if (this.horizontalScrollElem) {
1630
- this.bottomDotsArray = [];
1631
- var cardWidth = void 0;
1632
- var arrLength_1;
1633
- if (this.cardSubType !== 'card-wide-v2') {
1634
- cardWidth = this.cardSubType === 'standard' ? 245 :
1635
- ((document.getElementsByClassName(this.cardSubType) &&
1636
- document.getElementsByClassName(this.cardSubType)[0] !== undefined)
1637
- ? document.getElementsByClassName(this.cardSubType)[0].clientWidth : 245);
1638
- if (document.getElementsByClassName('horizontal-scroll-container') &&
1639
- document.getElementsByClassName('horizontal-scroll-container')[0]) {
1640
- var scrollerWidth = document.getElementsByClassName('horizontal-scroll-container')[0].clientWidth;
1641
- var totalCardsLength = cardWidth * this.widgetsLength;
1642
- if (totalCardsLength > scrollerWidth) {
1643
- arrLength_1 = (scrollerWidth / cardWidth);
1644
- this.defaultMaxWidgets = this.defaultMaxWidgets ? this.widgetsLength < this.defaultMaxWidgets ?
1645
- this.widgetsLength : this.defaultMaxWidgets : this.defaultMaxWidgets;
1646
- arrLength_1 = this.defaultMaxWidgets / arrLength_1;
1647
- for (var i = 0; i < arrLength_1; i += 1) {
1648
- this.bottomDotsArray.push(i);
1649
- }
1650
- }
1651
- }
1652
- }
1653
- else {
1654
- setTimeout((function () {
1655
- arrLength_1 = document.getElementsByClassName(_this.cardSubType).length;
1656
- for (var i = 0; i < arrLength_1; i += 1) {
1657
- _this.bottomDotsArray.push(i);
1658
- }
1659
- }), 1000);
1660
- }
1661
- }
1662
- };
1663
- HorizontalScrollerV2Component.decorators = [
1664
- { type: Component, args: [{
1665
- selector: 'ws-utils-horizontal-scroller-v2',
1666
- 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>",
1667
- 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}}"]
1668
- }] }
1669
- ];
1670
- HorizontalScrollerV2Component.ctorParameters = function () { return []; };
1671
- HorizontalScrollerV2Component.propDecorators = {
1672
- loadStatus: [{ type: Input }],
1673
- onHover: [{ type: Input }],
1674
- sliderConfig: [{ type: Input }],
1675
- loadNext: [{ type: Output }],
1676
- widgetsLength: [{ type: Input }],
1677
- defaultMaxWidgets: [{ type: Input }],
1678
- stripConfig: [{ type: Input }],
1679
- horizontalScrollElem: [{ type: ViewChild, args: ['horizontalScrollElem', { static: true },] }]
1680
- };
1681
- return HorizontalScrollerV2Component;
1682
- }());
1683
- if (false) {
1684
- HorizontalScrollerV2Component.prototype.loadStatus;
1685
- HorizontalScrollerV2Component.prototype.onHover;
1686
- HorizontalScrollerV2Component.prototype.sliderConfig;
1687
- HorizontalScrollerV2Component.prototype.loadNext;
1688
- HorizontalScrollerV2Component.prototype.widgetsLength;
1689
- HorizontalScrollerV2Component.prototype.defaultMaxWidgets;
1690
- HorizontalScrollerV2Component.prototype.stripConfig;
1691
- HorizontalScrollerV2Component.prototype.horizontalScrollElem;
1692
- HorizontalScrollerV2Component.prototype.enablePrev;
1693
- HorizontalScrollerV2Component.prototype.enableNext;
1694
- HorizontalScrollerV2Component.prototype.activeNav;
1695
- HorizontalScrollerV2Component.prototype.cardSubType;
1696
- HorizontalScrollerV2Component.prototype.bottomDotsArray;
1697
- HorizontalScrollerV2Component.prototype.scrollObserver;
1698
- }
1699
-
1700
- var HorizontalScrollerV2Module = (function () {
1701
- function HorizontalScrollerV2Module() {
1527
+ var WsEvents;
1528
+ (function (WsEvents) {
1529
+ function IWsEventsFromWidget() { }
1530
+ WsEvents.IWsEventsFromWidget = IWsEventsFromWidget;
1531
+ if (false) {
1532
+ IWsEventsFromWidget.prototype.type;
1533
+ IWsEventsFromWidget.prototype.widgetType;
1534
+ IWsEventsFromWidget.prototype.widgetSubType;
1702
1535
  }
1703
- HorizontalScrollerV2Module.decorators = [
1704
- { type: NgModule, args: [{
1705
- declarations: [HorizontalScrollerV2Component],
1706
- imports: [
1707
- CommonModule,
1708
- MatButtonModule,
1709
- MatIconModule,
1710
- MatProgressSpinnerModule,
1711
- ],
1712
- exports: [HorizontalScrollerV2Component],
1713
- },] }
1714
- ];
1715
- return HorizontalScrollerV2Module;
1716
- }());
1717
-
1718
- var LoggerService = (function () {
1719
- function LoggerService(configSvc) {
1720
- this.configSvc = configSvc;
1721
- this.consoleError = console.error;
1722
- this.consoleInfo = console.info;
1723
- this.consoleLog = console.log;
1724
- this.consoleWarn = console.warn;
1725
- this.noConsole = (function () { });
1536
+ function IWsEventsFromPage() { }
1537
+ WsEvents.IWsEventsFromPage = IWsEventsFromPage;
1538
+ if (false) {
1539
+ IWsEventsFromPage.prototype.type;
1540
+ IWsEventsFromPage.prototype.pageUrl;
1541
+ IWsEventsFromPage.prototype.pageType;
1726
1542
  }
1727
- Object.defineProperty(LoggerService.prototype, "error", {
1728
- get: function () {
1729
- return this.consoleError;
1730
- },
1731
- enumerable: true,
1732
- configurable: true
1733
- });
1734
- Object.defineProperty(LoggerService.prototype, "info", {
1735
- get: function () {
1736
- return this.configSvc.isProduction ? this.noConsole : this.consoleInfo;
1737
- },
1738
- enumerable: true,
1739
- configurable: true
1740
- });
1741
- Object.defineProperty(LoggerService.prototype, "log", {
1742
- get: function () {
1743
- return this.configSvc.isProduction ? this.noConsole : this.consoleLog;
1744
- },
1745
- enumerable: true,
1746
- configurable: true
1747
- });
1748
- Object.defineProperty(LoggerService.prototype, "warn", {
1749
- get: function () {
1750
- return this.configSvc.isProduction ? this.noConsole : this.consoleWarn;
1751
- },
1752
- enumerable: true,
1753
- configurable: true
1754
- });
1755
- LoggerService.prototype.removeConsoleAccess = function () {
1756
- if (this.configSvc.isProduction) {
1757
- return;
1758
- }
1759
- var noConsoleWithError = (function () {
1760
- throw new Error('Console Functions Usage Are Not Allowed.');
1761
- });
1762
- console.warn = noConsoleWithError;
1763
- console.info = noConsoleWithError;
1764
- console.error = noConsoleWithError;
1543
+ var WsEventType;
1544
+ (function (WsEventType) {
1545
+ WsEventType["Action"] = "Action";
1546
+ WsEventType["Telemetry"] = "Telemetry";
1547
+ WsEventType["PageNavigation"] = "PageNavigation";
1548
+ WsEventType["AccessRestrictedContentAccessed"] = "AccessRestrictedContentAccessed";
1549
+ WsEventType["PageSlow"] = "PageSlow";
1550
+ WsEventType["ErrorOccurred"] = "ErrorOccurred";
1551
+ WsEventType["WidgetResolveError"] = "WidgetResolveError";
1552
+ })(WsEventType = WsEvents.WsEventType || (WsEvents.WsEventType = {}));
1553
+ var WsEventLogLevel;
1554
+ (function (WsEventLogLevel) {
1555
+ WsEventLogLevel["Warn"] = "Warn";
1556
+ WsEventLogLevel["Error"] = "Error";
1557
+ WsEventLogLevel["Info"] = "Info";
1558
+ WsEventLogLevel["Log"] = "Log";
1559
+ WsEventLogLevel["Trace"] = "Trace";
1560
+ })(WsEventLogLevel = WsEvents.WsEventLogLevel || (WsEvents.WsEventLogLevel = {}));
1561
+ var WsAuditTypes;
1562
+ (function (WsAuditTypes) {
1563
+ WsAuditTypes["Created"] = "Created";
1564
+ WsAuditTypes["Updated"] = "Updated";
1565
+ WsAuditTypes["Deleted"] = "Deleted";
1566
+ })(WsAuditTypes = WsEvents.WsAuditTypes || (WsEvents.WsAuditTypes = {}));
1567
+ var WsTimeSpentType;
1568
+ (function (WsTimeSpentType) {
1569
+ WsTimeSpentType["Page"] = "Page";
1570
+ WsTimeSpentType["Player"] = "Player";
1571
+ })(WsTimeSpentType = WsEvents.WsTimeSpentType || (WsEvents.WsTimeSpentType = {}));
1572
+ var WsTimeSpentMode;
1573
+ (function (WsTimeSpentMode) {
1574
+ WsTimeSpentMode["Play"] = "Play";
1575
+ WsTimeSpentMode["View"] = "View";
1576
+ })(WsTimeSpentMode = WsEvents.WsTimeSpentMode || (WsEvents.WsTimeSpentMode = {}));
1577
+ var externalTelemetrypdata;
1578
+ (function (externalTelemetrypdata) {
1579
+ externalTelemetrypdata["RBCP"] = "rbcp-web-ui";
1580
+ })(externalTelemetrypdata = WsEvents.externalTelemetrypdata || (WsEvents.externalTelemetrypdata = {}));
1581
+ function IWsEvents() { }
1582
+ WsEvents.IWsEvents = IWsEvents;
1583
+ if (false) {
1584
+ IWsEvents.prototype.eventType;
1585
+ IWsEvents.prototype.eventLogLevel;
1586
+ IWsEvents.prototype.from;
1587
+ IWsEvents.prototype.to;
1588
+ IWsEvents.prototype.data;
1589
+ IWsEvents.prototype.passThroughData;
1590
+ IWsEvents.prototype.pageContext;
1591
+ }
1592
+ var EnumTelemetrySubType;
1593
+ (function (EnumTelemetrySubType) {
1594
+ EnumTelemetrySubType["Init"] = "Init";
1595
+ EnumTelemetrySubType["Interact"] = "Interact";
1596
+ EnumTelemetrySubType["Loaded"] = "Loaded";
1597
+ EnumTelemetrySubType["Unloaded"] = "Unloaded";
1598
+ EnumTelemetrySubType["StateChange"] = "StateChange";
1599
+ EnumTelemetrySubType["HeartBeat"] = "HeartBeat";
1600
+ EnumTelemetrySubType["Search"] = "Search";
1601
+ EnumTelemetrySubType["Feedback"] = "Feedback";
1602
+ EnumTelemetrySubType["Impression"] = "Impression";
1603
+ EnumTelemetrySubType["Chatbot"] = "Chatbot";
1604
+ EnumTelemetrySubType["GetStarted"] = "Get Started";
1605
+ EnumTelemetrySubType["PlatformRating"] = "PlatformRating";
1606
+ })(EnumTelemetrySubType = WsEvents.EnumTelemetrySubType || (WsEvents.EnumTelemetrySubType = {}));
1607
+ function ITelemetryPageContext() { }
1608
+ WsEvents.ITelemetryPageContext = ITelemetryPageContext;
1609
+ if (false) {
1610
+ ITelemetryPageContext.prototype.pageId;
1611
+ ITelemetryPageContext.prototype.module;
1612
+ ITelemetryPageContext.prototype.pageIdExt;
1613
+ }
1614
+ function ITelemetryEdata() { }
1615
+ WsEvents.ITelemetryEdata = ITelemetryEdata;
1616
+ if (false) {
1617
+ ITelemetryEdata.prototype.type;
1618
+ ITelemetryEdata.prototype.subType;
1619
+ ITelemetryEdata.prototype.id;
1620
+ ITelemetryEdata.prototype.pageid;
1621
+ }
1622
+ function ITelemetryTabData() { }
1623
+ WsEvents.ITelemetryTabData = ITelemetryTabData;
1624
+ if (false) {
1625
+ ITelemetryTabData.prototype.label;
1626
+ ITelemetryTabData.prototype.index;
1627
+ }
1628
+ function IWsEventTelemetry() { }
1629
+ WsEvents.IWsEventTelemetry = IWsEventTelemetry;
1630
+ if (false) {
1631
+ IWsEventTelemetry.prototype.eventSubType;
1632
+ IWsEventTelemetry.prototype.pageContext;
1633
+ }
1634
+ var EnumTelemetryPdfActivity;
1635
+ (function (EnumTelemetryPdfActivity) {
1636
+ EnumTelemetryPdfActivity["PAGE_CHANGED"] = "PAGE_CHANGED";
1637
+ EnumTelemetryPdfActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
1638
+ EnumTelemetryPdfActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
1639
+ EnumTelemetryPdfActivity["ZOOM_CHANGE"] = "ZOOM_CHANGE";
1640
+ EnumTelemetryPdfActivity["NONE"] = "NONE";
1641
+ })(EnumTelemetryPdfActivity = WsEvents.EnumTelemetryPdfActivity || (WsEvents.EnumTelemetryPdfActivity = {}));
1642
+ function IWsEventTelemetryPdfData() { }
1643
+ WsEvents.IWsEventTelemetryPdfData = IWsEventTelemetryPdfData;
1644
+ if (false) {
1645
+ IWsEventTelemetryPdfData.prototype.activityType;
1646
+ IWsEventTelemetryPdfData.prototype.currentPage;
1647
+ IWsEventTelemetryPdfData.prototype.totalPage;
1648
+ IWsEventTelemetryPdfData.prototype.activityStartedAt;
1649
+ IWsEventTelemetryPdfData.prototype.object;
1650
+ }
1651
+ function IWsEventTelemetrySurveyData() { }
1652
+ WsEvents.IWsEventTelemetrySurveyData = IWsEventTelemetrySurveyData;
1653
+ if (false) {
1654
+ IWsEventTelemetrySurveyData.prototype.object;
1655
+ }
1656
+ function IWsEventTelemetryInteract() { }
1657
+ WsEvents.IWsEventTelemetryInteract = IWsEventTelemetryInteract;
1658
+ if (false) {
1659
+ IWsEventTelemetryInteract.prototype.edata;
1660
+ IWsEventTelemetryInteract.prototype.object;
1661
+ IWsEventTelemetryInteract.prototype.pageContext;
1662
+ }
1663
+ function IWsEventTelemetryFeedback() { }
1664
+ WsEvents.IWsEventTelemetryFeedback = IWsEventTelemetryFeedback;
1665
+ if (false) {
1666
+ IWsEventTelemetryFeedback.prototype.edata;
1667
+ IWsEventTelemetryFeedback.prototype.object;
1668
+ IWsEventTelemetryFeedback.prototype.pageContext;
1669
+ }
1670
+ function IWsEventTelemetryImpression() { }
1671
+ WsEvents.IWsEventTelemetryImpression = IWsEventTelemetryImpression;
1672
+ if (false) {
1673
+ IWsEventTelemetryImpression.prototype.edata;
1674
+ IWsEventTelemetryImpression.prototype.object;
1675
+ IWsEventTelemetryImpression.prototype.pageContext;
1676
+ }
1677
+ function IWsEventTelemetrySearch() { }
1678
+ WsEvents.IWsEventTelemetrySearch = IWsEventTelemetrySearch;
1679
+ if (false) {
1680
+ IWsEventTelemetrySearch.prototype.type;
1681
+ IWsEventTelemetrySearch.prototype.subType;
1682
+ IWsEventTelemetrySearch.prototype.query;
1683
+ IWsEventTelemetrySearch.prototype.filters;
1684
+ IWsEventTelemetrySearch.prototype.size;
1685
+ IWsEventTelemetrySearch.prototype.locale;
1686
+ }
1687
+ function IWsEventTelemetryHeartBeat() { }
1688
+ WsEvents.IWsEventTelemetryHeartBeat = IWsEventTelemetryHeartBeat;
1689
+ if (false) {
1690
+ IWsEventTelemetryHeartBeat.prototype.type;
1691
+ IWsEventTelemetryHeartBeat.prototype.id;
1692
+ }
1693
+ var EnumTelemetryMediaActivity;
1694
+ (function (EnumTelemetryMediaActivity) {
1695
+ EnumTelemetryMediaActivity["PLAYED"] = "PLAYED";
1696
+ EnumTelemetryMediaActivity["PAUSED"] = "PAUSED";
1697
+ EnumTelemetryMediaActivity["SEEKED"] = "SEEKED";
1698
+ EnumTelemetryMediaActivity["ENDED"] = "ENDED";
1699
+ EnumTelemetryMediaActivity["VOLUME_CHANGE"] = "VOLUME_CHANGE";
1700
+ EnumTelemetryMediaActivity["MUTE"] = "MUTE";
1701
+ EnumTelemetryMediaActivity["UNMUTE"] = "UNMUTE";
1702
+ EnumTelemetryMediaActivity["PLAYBACK_SPEED_CHANGE"] = "PLAYBACK_SPEED_CHANGE";
1703
+ EnumTelemetryMediaActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
1704
+ EnumTelemetryMediaActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
1705
+ EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_ACTIVATED"] = "PICTURE_IN_PICTURE_ACTIVATED";
1706
+ EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_DEACTIVATED"] = "PICTURE_IN_PICTURE_DEACTIVATED";
1707
+ EnumTelemetryMediaActivity["NONE"] = "NONE";
1708
+ })(EnumTelemetryMediaActivity = WsEvents.EnumTelemetryMediaActivity || (WsEvents.EnumTelemetryMediaActivity = {}));
1709
+ var EnumTelemetryMediaState;
1710
+ (function (EnumTelemetryMediaState) {
1711
+ EnumTelemetryMediaState["PLAYING"] = "PLAYING";
1712
+ EnumTelemetryMediaState["PAUSED"] = "PAUSED";
1713
+ EnumTelemetryMediaState["ENDED"] = "ENDED";
1714
+ EnumTelemetryMediaState["BUFFERING"] = "BUFFERING";
1715
+ EnumTelemetryMediaState["NOT_STARTED"] = "NOT_STARTED";
1716
+ })(EnumTelemetryMediaState = WsEvents.EnumTelemetryMediaState || (WsEvents.EnumTelemetryMediaState = {}));
1717
+ function IWsEventTelemetryMediaData() { }
1718
+ WsEvents.IWsEventTelemetryMediaData = IWsEventTelemetryMediaData;
1719
+ if (false) {
1720
+ IWsEventTelemetryMediaData.prototype.currentState;
1721
+ IWsEventTelemetryMediaData.prototype.activityType;
1722
+ IWsEventTelemetryMediaData.prototype.currentTime;
1723
+ IWsEventTelemetryMediaData.prototype.totalTime;
1724
+ IWsEventTelemetryMediaData.prototype.maxedSeekedTime;
1725
+ IWsEventTelemetryMediaData.prototype.activityStartedAt;
1726
+ }
1727
+ var EnumTelemetrymodules;
1728
+ (function (EnumTelemetrymodules) {
1729
+ EnumTelemetrymodules["CONTENT"] = "content";
1730
+ EnumTelemetrymodules["FEEDBACK"] = "feedback";
1731
+ EnumTelemetrymodules["COURSE"] = "course";
1732
+ EnumTelemetrymodules["PROGRAM"] = "program";
1733
+ EnumTelemetrymodules["EXPLORE"] = "explore";
1734
+ EnumTelemetrymodules["LEARN"] = "learn";
1735
+ EnumTelemetrymodules["HOME"] = "home";
1736
+ EnumTelemetrymodules["DASHBOARD"] = "dashboard";
1737
+ EnumTelemetrymodules["SEARCH"] = "search";
1738
+ EnumTelemetrymodules["DISCUSS"] = "Discuss";
1739
+ EnumTelemetrymodules["COMPETENCY"] = "competency";
1740
+ EnumTelemetrymodules["EVENTS"] = "events";
1741
+ EnumTelemetrymodules["CAREER"] = "career";
1742
+ EnumTelemetrymodules["PROFILE"] = "profile";
1743
+ EnumTelemetrymodules["NETWORK"] = "network";
1744
+ EnumTelemetrymodules["SUPPORT"] = "support";
1745
+ EnumTelemetrymodules["KARMAPOINTS"] = "karmapoints";
1746
+ EnumTelemetrymodules["PLATFORM_RATING"] = "platformrating";
1747
+ })(EnumTelemetrymodules = WsEvents.EnumTelemetrymodules || (WsEvents.EnumTelemetrymodules = {}));
1748
+ var EnumInteractTypes;
1749
+ (function (EnumInteractTypes) {
1750
+ EnumInteractTypes["CLICK"] = "click";
1751
+ EnumInteractTypes["subType"] = "subType";
1752
+ })(EnumInteractTypes = WsEvents.EnumInteractTypes || (WsEvents.EnumInteractTypes = {}));
1753
+ var EnumInteractSubTypes;
1754
+ (function (EnumInteractSubTypes) {
1755
+ EnumInteractSubTypes["COURSE_TAB"] = "course-tab";
1756
+ EnumInteractSubTypes["CAREER_TAB"] = "career-tab";
1757
+ EnumInteractSubTypes["NETWORK_TAB"] = "network-tab";
1758
+ EnumInteractSubTypes["COMPETENCY_TAB"] = "competency-tab";
1759
+ EnumInteractSubTypes["PROFILE_EDIT_TAB"] = "profile-edit-tab";
1760
+ EnumInteractSubTypes["DISCUSS_TAB"] = "discuss-tab";
1761
+ EnumInteractSubTypes["EVENTS_TAB"] = "events-tab";
1762
+ EnumInteractSubTypes["SIDE_MENU"] = "side-menu";
1763
+ EnumInteractSubTypes["MY_IGOT"] = "my-igot";
1764
+ EnumInteractSubTypes["MY_LEARNING"] = "my-learning";
1765
+ EnumInteractSubTypes["RECENTLY_ADDED"] = "recently-added";
1766
+ EnumInteractSubTypes["TRENDING_IN_YOUR_DEPARTMENT"] = "trending-in-your-department";
1767
+ EnumInteractSubTypes["TRENDING_ACROSS_YOUR_DEPARTMENTS"] = "trending-across-your-departments";
1768
+ EnumInteractSubTypes["LEARNING_UNDER_30_MINUTES"] = "learning-under-30-minutes";
1769
+ EnumInteractSubTypes["BLENDED_PROGRAM"] = "blended program";
1770
+ EnumInteractSubTypes["RECENT_CONNECTION_REQUEST"] = "recent-connection-request";
1771
+ EnumInteractSubTypes["CERTIFICATIONS_OF_THE_WEEK"] = "certifications-of-the-week";
1772
+ EnumInteractSubTypes["HOME_PAGE_STRIP_TABS"] = "home-page-strip-tabs";
1773
+ EnumInteractSubTypes["HUB_MENU"] = "hub-menu";
1774
+ EnumInteractSubTypes["PORTAL_NUDGE"] = "portal_nudge";
1775
+ EnumInteractSubTypes["CERTIFICATE"] = "certificate";
1776
+ EnumInteractSubTypes["DEFAULT_SUBTYPE"] = "default-subtype";
1777
+ EnumInteractSubTypes["SUGGESTED_CONNECTIONS"] = "suggested-connections";
1778
+ EnumInteractSubTypes["PROFILE"] = "profile";
1779
+ EnumInteractSubTypes["ADD_POST"] = "add-post";
1780
+ EnumInteractSubTypes["TRENDING_DISCUSSIONS"] = "trending-discussions";
1781
+ EnumInteractSubTypes["MY_DISCUSSIONS"] = "my-discussions";
1782
+ })(EnumInteractSubTypes = WsEvents.EnumInteractSubTypes || (WsEvents.EnumInteractSubTypes = {}));
1783
+ })(WsEvents || (WsEvents = {}));
1784
+
1785
+ function IWindowMobileAppModified() { }
1786
+ if (false) {
1787
+ IWindowMobileAppModified.prototype.appRef;
1788
+ IWindowMobileAppModified.prototype.webkit;
1789
+ }
1790
+ var RANDOM_ID_PER_USER = 0;
1791
+ function IRecursiveData() { }
1792
+ if (false) {
1793
+ IRecursiveData.prototype.identifier;
1794
+ IRecursiveData.prototype.children;
1795
+ }
1796
+ var UtilityService = (function () {
1797
+ function UtilityService(http, platform, router, route) {
1798
+ var _this = this;
1799
+ this.http = http;
1800
+ this.platform = platform;
1801
+ this.router = router;
1802
+ this.route = route;
1803
+ this.currentRouteData = [];
1804
+ this.router.events.subscribe((function (event) {
1805
+ if (event instanceof NavigationEnd) {
1806
+ var snapshot = _this.route.snapshot;
1807
+ var firstChild = snapshot.root.firstChild;
1808
+ _this.getChildRouteData(snapshot, firstChild);
1809
+ }
1810
+ }));
1811
+ }
1812
+ UtilityService.prototype.getChildRouteData = function (snapshot, firstChild) {
1813
+ if (firstChild) {
1814
+ if (firstChild.data) {
1815
+ this.currentRouteData.push(firstChild.data);
1816
+ }
1817
+ if (firstChild.firstChild) {
1818
+ this.getChildRouteData(snapshot, firstChild.firstChild);
1819
+ }
1820
+ }
1821
+ };
1822
+ Object.defineProperty(UtilityService.prototype, "randomId", {
1823
+ get: function () {
1824
+ return RANDOM_ID_PER_USER + 1;
1825
+ },
1826
+ enumerable: true,
1827
+ configurable: true
1828
+ });
1829
+ UtilityService.prototype.getJson = function (url) {
1830
+ return this.http.get(url);
1831
+ };
1832
+ UtilityService.prototype.getLeafNodes = function (node, nodes) {
1833
+ var _this = this;
1834
+ if ((node.children || []).length === 0) {
1835
+ nodes.push(node);
1836
+ }
1837
+ else {
1838
+ if (node.children) {
1839
+ node.children.forEach((function (child) {
1840
+ _this.getLeafNodes(child, nodes);
1841
+ }));
1842
+ }
1843
+ }
1844
+ return nodes;
1845
+ };
1846
+ UtilityService.prototype.getPath = function (node, id) {
1847
+ var path = [];
1848
+ this.hasPath(node, path, id);
1849
+ return path;
1850
+ };
1851
+ UtilityService.prototype.hasPath = function (node, pathArr, id) {
1852
+ var _this = this;
1853
+ if (node == null) {
1854
+ return false;
1855
+ }
1856
+ pathArr.push(node);
1857
+ if (node.identifier === id) {
1858
+ return true;
1859
+ }
1860
+ var children = node.children || [];
1861
+ if (children.some((function (u) { return _this.hasPath(u, pathArr, id); }))) {
1862
+ return true;
1863
+ }
1864
+ pathArr.pop();
1865
+ return false;
1866
+ };
1867
+ Object.defineProperty(UtilityService.prototype, "isMobile", {
1868
+ get: function () {
1869
+ if (this.isIos || this.isAndroid) {
1870
+ return true;
1871
+ }
1872
+ return false;
1873
+ },
1874
+ enumerable: true,
1875
+ configurable: true
1876
+ });
1877
+ Object.defineProperty(UtilityService.prototype, "isIos", {
1878
+ get: function () {
1879
+ return this.platform.IOS;
1880
+ },
1881
+ enumerable: true,
1882
+ configurable: true
1883
+ });
1884
+ Object.defineProperty(UtilityService.prototype, "isAndroid", {
1885
+ get: function () {
1886
+ return this.platform.ANDROID;
1887
+ },
1888
+ enumerable: true,
1889
+ configurable: true
1890
+ });
1891
+ Object.defineProperty(UtilityService.prototype, "isAndroidApp", {
1892
+ get: function () {
1893
+ return Boolean(window.appRef);
1894
+ },
1895
+ enumerable: true,
1896
+ configurable: true
1897
+ });
1898
+ Object.defineProperty(UtilityService.prototype, "iOsAppRef", {
1899
+ get: function () {
1900
+ if (window.webkit &&
1901
+ window.webkit.messageHandlers &&
1902
+ window.webkit.messageHandlers.appRef) {
1903
+ return window.webkit.messageHandlers.appRef;
1904
+ }
1905
+ return null;
1906
+ },
1907
+ enumerable: true,
1908
+ configurable: true
1909
+ });
1910
+ UtilityService.prototype.setRouteData = function (data) {
1911
+ this.currentRouteData = data;
1912
+ };
1913
+ Object.defineProperty(UtilityService.prototype, "routeData", {
1914
+ get: function () {
1915
+ var data = {
1916
+ module: '',
1917
+ pageId: '',
1918
+ };
1919
+ this.currentRouteData.map((function (rd) {
1920
+ if (rd.pageId) {
1921
+ data.pageId = data.pageId + "/" + rd.pageId;
1922
+ }
1923
+ if (rd.module) {
1924
+ data.module = rd.module;
1925
+ }
1926
+ }));
1927
+ return data;
1928
+ },
1929
+ enumerable: true,
1930
+ configurable: true
1931
+ });
1932
+ UtilityService.decorators = [
1933
+ { type: Injectable, args: [{
1934
+ providedIn: 'root',
1935
+ },] }
1936
+ ];
1937
+ UtilityService.ctorParameters = function () { return [
1938
+ { type: HttpClient },
1939
+ { type: Platform },
1940
+ { type: Router },
1941
+ { type: ActivatedRoute }
1942
+ ]; };
1943
+ /** @nocollapse */ UtilityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(ɵɵinject(HttpClient), ɵɵinject(Platform), ɵɵinject(Router), ɵɵinject(ActivatedRoute)); }, token: UtilityService, providedIn: "root" });
1944
+ return UtilityService;
1945
+ }());
1946
+ if (false) {
1947
+ UtilityService.prototype.currentRouteData;
1948
+ UtilityService.prototype.http;
1949
+ UtilityService.prototype.platform;
1950
+ UtilityService.prototype.router;
1951
+ UtilityService.prototype.route;
1952
+ }
1953
+
1954
+ var EventService = (function () {
1955
+ function EventService(environment, utilitySvc) {
1956
+ this.utilitySvc = utilitySvc;
1957
+ this.todaysEvents = [];
1958
+ this.eventsSubject = new Subject();
1959
+ this.events$ = this.eventsSubject.asObservable();
1960
+ this.eventsChatbotSubject = new Subject();
1961
+ this.chatbotEvents$ = this.eventsChatbotSubject.asObservable();
1962
+ this.eventsGetStartSubject = new Subject();
1963
+ this.getStartEvents$ = this.eventsGetStartSubject.asObservable();
1964
+ this.eventsPRSubject = new Subject();
1965
+ this.getPREvents$ = this.eventsPRSubject.asObservable();
1966
+ this.environment = environment;
1967
+ }
1968
+ EventService.prototype.dispatchEvent = function (event) {
1969
+ event.pageContext = this.getContext(event.pageContext);
1970
+ this.eventsSubject.next(event);
1971
+ };
1972
+ EventService.prototype.dispatchChatbotEvent = function (event) {
1973
+ this.eventsChatbotSubject.next(event);
1974
+ };
1975
+ EventService.prototype.dispatchGetStartedEvent = function (event) {
1976
+ this.eventsGetStartSubject.next(event);
1977
+ };
1978
+ EventService.prototype.dispatchPlatformRatingEvent = function (event) {
1979
+ this.eventsPRSubject.next(event);
1980
+ };
1981
+ EventService.prototype.raiseInteractTelemetry = function (edata, object, pageContext) {
1982
+ this.dispatchEvent({
1983
+ eventType: WsEvents.WsEventType.Telemetry,
1984
+ eventLogLevel: WsEvents.WsEventLogLevel.Info,
1985
+ data: {
1986
+ edata: edata,
1987
+ object: object,
1988
+ pageContext: this.getContext(pageContext),
1989
+ eventSubType: WsEvents.EnumTelemetrySubType.Interact,
1990
+ },
1991
+ from: '',
1992
+ to: 'Telemetry',
1993
+ });
1994
+ };
1995
+ EventService.prototype.raiseFeedbackTelemetry = function (edata, object, from) {
1996
+ this.dispatchEvent({
1997
+ eventType: WsEvents.WsEventType.Telemetry,
1998
+ eventLogLevel: WsEvents.WsEventLogLevel.Info,
1999
+ data: {
2000
+ edata: edata,
2001
+ object: object,
2002
+ eventSubType: WsEvents.EnumTelemetrySubType.Feedback,
2003
+ },
2004
+ from: from || '',
2005
+ to: 'Telemetry',
2006
+ });
2007
+ };
2008
+ EventService.prototype.raiseCustomImpression = function (object, pageContext) {
2009
+ this.dispatchEvent({
2010
+ eventType: WsEvents.WsEventType.Telemetry,
2011
+ eventLogLevel: WsEvents.WsEventLogLevel.Info,
2012
+ data: {
2013
+ object: object,
2014
+ pageContext: this.getContext(pageContext),
2015
+ eventSubType: WsEvents.EnumTelemetrySubType.Impression,
2016
+ },
2017
+ from: '',
2018
+ to: 'Telemetry',
2019
+ });
2020
+ };
2021
+ EventService.prototype.getContext = function (pageContext) {
2022
+ var routeDataContext = this.utilitySvc.routeData;
2023
+ var finalContext = {
2024
+ pageId: routeDataContext.pageId,
2025
+ module: routeDataContext.module,
2026
+ };
2027
+ if (pageContext) {
2028
+ if (pageContext.pageIdExt) {
2029
+ finalContext.pageId = routeDataContext.pageId + "_" + pageContext.pageIdExt;
2030
+ }
2031
+ else if (pageContext.pageId) {
2032
+ finalContext.pageId = pageContext.pageId;
2033
+ }
2034
+ if (pageContext.module) {
2035
+ finalContext.module = pageContext.module;
2036
+ }
2037
+ }
2038
+ return finalContext;
2039
+ };
2040
+ EventService.prototype.handleTabTelemetry = function (subType, data, object) {
2041
+ this.raiseInteractTelemetry({
2042
+ subType: subType,
2043
+ type: WsEvents.EnumInteractTypes.CLICK,
2044
+ id: _.camelCase(data.label) + "-tab",
2045
+ }, __assign({}, object), {
2046
+ pageIdExt: _.camelCase(data.label) + "-tab",
2047
+ });
2048
+ this.raiseCustomImpression(__assign({ context: {
2049
+ position: data.index,
2050
+ } }, object), {
2051
+ pageIdExt: _.camelCase(data.label) + "-tab",
2052
+ });
2053
+ };
2054
+ EventService.prototype.getPublicUrl = function (url) {
2055
+ var mainUrl = url.split('/content').pop() || '';
2056
+ return this.environment.contentHost + "/" + this.environment.contentBucket + "/content" + mainUrl;
2057
+ };
2058
+ EventService.prototype.allEventDateFormat = function (datetime) {
2059
+ var date = new Date(datetime).getDate();
2060
+ var year = new Date(datetime).getFullYear();
2061
+ var month = new Date(datetime).getMonth();
2062
+ var hours = new Date(datetime).getHours();
2063
+ var minutes = new Date(datetime).getMinutes();
2064
+ var seconds = new Date(datetime).getSeconds();
2065
+ var formatedDate = new Date(year, month, date, hours, minutes, seconds, 0);
2066
+ var format = 'YYYY-MM-DD';
2067
+ var readableDateMonth = moment(formatedDate).format(format);
2068
+ var finalDateTimeValue = "" + readableDateMonth;
2069
+ return finalDateTimeValue;
2070
+ };
2071
+ EventService.prototype.compareDate = function (startDate) {
2072
+ var now = new Date();
2073
+ var day = ('0' + (new Date().getDate())).slice(-2);
2074
+ var year = new Date().getFullYear();
2075
+ var month = ('0' + (now.getMonth() + 1)).slice(-2);
2076
+ var todaysdate = year + "-" + month + "-" + day;
2077
+ if (startDate === todaysdate) {
2078
+ return true;
2079
+ }
2080
+ return false;
2081
+ };
2082
+ EventService.prototype.customDateFormat = function (date, time) {
2083
+ var stime = time.split('+')[0];
2084
+ var hour = stime.substr(0, 2);
2085
+ var min = stime.substr(2, 3);
2086
+ return date + " " + hour + min;
2087
+ };
2088
+ EventService.prototype.setEventListData = function (eventObj) {
2089
+ var _this = this;
2090
+ if (eventObj !== undefined) {
2091
+ this.todaysEvents = [];
2092
+ var data_1 = eventObj;
2093
+ Object.keys(data_1).forEach((function (index) {
2094
+ var obj = data_1[index];
2095
+ var floor = Math.floor;
2096
+ var hours = floor(obj.duration / 60);
2097
+ var minutes = obj.duration % 60;
2098
+ var duration = (hours === 0) ? ((minutes === 0) ? '---' : minutes + " minutes") : (minutes === 0) ? (hours === 1) ?
2099
+ hours + " hour" : hours + " hours" : (hours === 1) ? hours + " hour " + minutes + " minutes" :
2100
+ hours + " hours " + minutes + " minutes";
2101
+ var creatordata = obj.creatorDetails !== undefined ? obj.creatorDetails : [];
2102
+ var str = creatordata && creatordata.length > 0 ? creatordata.replace(/\\/g, '') : [];
2103
+ var creatorDetails = str && str.length > 0 ? JSON.parse(str) : creatordata;
2104
+ var stime = obj.startTime.split('+')[0];
2105
+ var hour = stime.substr(0, 2);
2106
+ var min = stime.substr(2, 3);
2107
+ var starttime = "" + hour + min;
2108
+ var etime = obj.endTime.split('+')[0];
2109
+ var ehour = etime.substr(0, 2);
2110
+ var emin = etime.substr(2, 3);
2111
+ var endtime = "" + ehour + emin;
2112
+ var eventDataObj = {
2113
+ event: obj,
2114
+ eventName: obj.name,
2115
+ eventStartTime: starttime,
2116
+ eventEndTime: endtime,
2117
+ eventStartDate: obj.startDate,
2118
+ eventCreatedOn: _this.allEventDateFormat(obj.createdOn),
2119
+ eventDuration: duration,
2120
+ eventjoined: creatorDetails.length,
2121
+ eventThumbnail: obj.appIcon && (obj.appIcon !== null || obj.appIcon !== undefined) ?
2122
+ _this.getPublicUrl(obj.appIcon) :
2123
+ '/assets/icons/Events_default.png',
2124
+ pastevent: false,
2125
+ };
2126
+ var isToday = _this.compareDate(obj.startDate);
2127
+ if (isToday) {
2128
+ _this.todaysEvents.push(eventDataObj);
2129
+ }
2130
+ }));
2131
+ }
2132
+ };
2133
+ EventService.decorators = [
2134
+ { type: Injectable, args: [{
2135
+ providedIn: 'root',
2136
+ },] }
2137
+ ];
2138
+ EventService.ctorParameters = function () { return [
2139
+ { type: undefined, decorators: [{ type: Inject, args: ['environment',] }] },
2140
+ { type: UtilityService }
2141
+ ]; };
2142
+ /** @nocollapse */ EventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function EventService_Factory() { return new EventService(ɵɵinject("environment"), ɵɵinject(UtilityService)); }, token: EventService, providedIn: "root" });
2143
+ return EventService;
2144
+ }());
2145
+ if (false) {
2146
+ EventService.prototype.todaysEvents;
2147
+ EventService.prototype.eventsSubject;
2148
+ EventService.prototype.events$;
2149
+ EventService.prototype.eventsChatbotSubject;
2150
+ EventService.prototype.chatbotEvents$;
2151
+ EventService.prototype.eventsGetStartSubject;
2152
+ EventService.prototype.getStartEvents$;
2153
+ EventService.prototype.eventsPRSubject;
2154
+ EventService.prototype.getPREvents$;
2155
+ EventService.prototype.environment;
2156
+ EventService.prototype.utilitySvc;
2157
+ }
2158
+
2159
+ var HorizontalScrollerV2Component = (function () {
2160
+ function HorizontalScrollerV2Component(eventService) {
2161
+ this.eventService = eventService;
2162
+ this.loadStatus = 'fetching';
2163
+ this.onHover = false;
2164
+ this.sliderConfig = {
2165
+ showNavs: true,
2166
+ showDots: true,
2167
+ cerificateCardMargin: false,
2168
+ };
2169
+ this.loadNext = new EventEmitter();
2170
+ this.horizontalScrollElem = null;
2171
+ this.enablePrev = false;
2172
+ this.enableNext = false;
2173
+ this.activeNav = 0;
2174
+ this.cardSubType = 'standard';
2175
+ this.bottomDotsArray = [];
2176
+ this.scrollObserver = null;
2177
+ }
2178
+ HorizontalScrollerV2Component.prototype.ngOnInit = function () {
2179
+ var _this = this;
2180
+ this.cardSubType = this.stripConfig && this.stripConfig.cardSubType ? this.stripConfig.cardSubType : 'standard';
2181
+ if (this.horizontalScrollElem) {
2182
+ var horizontalScrollElem_1 = this.horizontalScrollElem;
2183
+ this.scrollObserver = fromEvent(horizontalScrollElem_1.nativeElement, 'scroll')
2184
+ .pipe(debounceTime(100), throttleTime(100))
2185
+ .subscribe((function (_) {
2186
+ _this.updateNavigationBtnStatus(((horizontalScrollElem_1
2187
+ .nativeElement)));
2188
+ }));
2189
+ this.getBottomDotsArray();
2190
+ }
2191
+ };
2192
+ HorizontalScrollerV2Component.prototype.ngOnChanges = function () {
2193
+ var _this = this;
2194
+ timer(100).subscribe((function () {
2195
+ if (_this.horizontalScrollElem) {
2196
+ _this.updateNavigationBtnStatus(((_this.horizontalScrollElem
2197
+ .nativeElement)));
2198
+ }
2199
+ }));
2200
+ this.getBottomDotsArray();
2201
+ };
2202
+ HorizontalScrollerV2Component.prototype.ngOnDestroy = function () {
2203
+ if (this.scrollObserver) {
2204
+ this.scrollObserver.unsubscribe();
2205
+ }
2206
+ };
2207
+ HorizontalScrollerV2Component.prototype.showPrev = function () {
2208
+ if (this.horizontalScrollElem) {
2209
+ var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
2210
+ this.horizontalScrollElem.nativeElement.scrollTo({
2211
+ left: this.horizontalScrollElem.nativeElement.scrollLeft - clientWidth,
2212
+ behavior: 'smooth',
2213
+ });
2214
+ this.activeNav -= 1;
2215
+ this.raiseNavigationTelemetry('more-left');
2216
+ }
2217
+ };
2218
+ HorizontalScrollerV2Component.prototype.showNext = function () {
2219
+ if (this.horizontalScrollElem) {
2220
+ var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
2221
+ this.horizontalScrollElem.nativeElement.scrollTo({
2222
+ left: this.horizontalScrollElem.nativeElement.scrollLeft + clientWidth,
2223
+ behavior: 'smooth',
2224
+ });
2225
+ this.activeNav += 1;
2226
+ this.raiseNavigationTelemetry('more-right');
2227
+ }
2228
+ };
2229
+ HorizontalScrollerV2Component.prototype.raiseNavigationTelemetry = function (id) {
2230
+ this.eventService.raiseInteractTelemetry({
2231
+ id: id,
2232
+ type: WsEvents.EnumInteractTypes.CLICK,
2233
+ subType: this.subtype,
2234
+ }, {}, {
2235
+ module: WsEvents.EnumTelemetrymodules.HOME,
2236
+ });
2237
+ };
2238
+ HorizontalScrollerV2Component.prototype.updateNavigationBtnStatus = function (elem) {
2239
+ this.enablePrev = true;
2240
+ this.enableNext = true;
2241
+ if (elem.scrollLeft === 0) {
2242
+ this.enablePrev = false;
2243
+ this.activeNav = 0;
2244
+ }
2245
+ var widthDiff = Math.abs(elem.scrollWidth - Math.round(elem.clientWidth + elem.scrollLeft));
2246
+ if (widthDiff === 0 || widthDiff === 1) {
2247
+ if (this.loadStatus === 'hasMore') {
2248
+ this.loadNext.emit();
2249
+ }
2250
+ else {
2251
+ this.enableNext = false;
2252
+ if (this.bottomDotsArray.length) {
2253
+ this.activeNav = this.bottomDotsArray.length - 1;
2254
+ }
2255
+ }
2256
+ }
2257
+ if (elem.scrollLeft !== 0 && (elem.scrollWidth !== elem.clientWidth + elem.scrollLeft)) {
2258
+ this.activeNav = Math.ceil(elem.scrollLeft / elem.clientWidth);
2259
+ }
2260
+ };
2261
+ HorizontalScrollerV2Component.prototype.slideTo = function (ele) {
2262
+ var diff = ele - this.activeNav;
2263
+ if (this.horizontalScrollElem) {
2264
+ var clientWidth = (this.horizontalScrollElem.nativeElement.clientWidth);
2265
+ this.horizontalScrollElem.nativeElement.scrollTo({
2266
+ left: this.horizontalScrollElem.nativeElement.scrollLeft + (clientWidth * diff),
2267
+ behavior: 'smooth',
2268
+ });
2269
+ }
2270
+ this.activeNav = ele;
2271
+ };
2272
+ HorizontalScrollerV2Component.prototype.getBottomDotsArray = function () {
2273
+ var _this = this;
2274
+ if (this.horizontalScrollElem) {
2275
+ this.bottomDotsArray = [];
2276
+ var cardWidth = void 0;
2277
+ var arrLength_1;
2278
+ if (this.cardSubType !== 'card-wide-v2') {
2279
+ cardWidth = this.cardSubType === 'standard' ? 245 :
2280
+ ((document.getElementsByClassName(this.cardSubType) &&
2281
+ document.getElementsByClassName(this.cardSubType)[0] !== undefined)
2282
+ ? document.getElementsByClassName(this.cardSubType)[0].clientWidth : 245);
2283
+ if (document.getElementsByClassName('horizontal-scroll-container') &&
2284
+ document.getElementsByClassName('horizontal-scroll-container')[0]) {
2285
+ var scrollerWidth = document.getElementsByClassName('horizontal-scroll-container')[0].clientWidth;
2286
+ var totalCardsLength = cardWidth * this.widgetsLength;
2287
+ if (totalCardsLength > scrollerWidth) {
2288
+ arrLength_1 = (scrollerWidth / cardWidth);
2289
+ this.defaultMaxWidgets = this.defaultMaxWidgets ? this.widgetsLength < this.defaultMaxWidgets ?
2290
+ this.widgetsLength : this.defaultMaxWidgets : this.defaultMaxWidgets;
2291
+ arrLength_1 = this.defaultMaxWidgets / arrLength_1;
2292
+ for (var i = 0; i < arrLength_1; i += 1) {
2293
+ this.bottomDotsArray.push(i);
2294
+ }
2295
+ }
2296
+ }
2297
+ }
2298
+ else {
2299
+ setTimeout((function () {
2300
+ arrLength_1 = document.getElementsByClassName(_this.cardSubType).length;
2301
+ for (var i = 0; i < arrLength_1; i += 1) {
2302
+ _this.bottomDotsArray.push(i);
2303
+ }
2304
+ }), 1000);
2305
+ }
2306
+ }
2307
+ };
2308
+ HorizontalScrollerV2Component.decorators = [
2309
+ { type: Component, args: [{
2310
+ selector: 'ws-utils-horizontal-scroller-v2',
2311
+ 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>",
2312
+ 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}}"]
2313
+ }] }
2314
+ ];
2315
+ HorizontalScrollerV2Component.ctorParameters = function () { return [
2316
+ { type: EventService }
2317
+ ]; };
2318
+ HorizontalScrollerV2Component.propDecorators = {
2319
+ loadStatus: [{ type: Input }],
2320
+ onHover: [{ type: Input }],
2321
+ sliderConfig: [{ type: Input }],
2322
+ loadNext: [{ type: Output }],
2323
+ widgetsLength: [{ type: Input }],
2324
+ defaultMaxWidgets: [{ type: Input }],
2325
+ stripConfig: [{ type: Input }],
2326
+ stripsResultDataMap: [{ type: Input }],
2327
+ subtype: [{ type: Input }],
2328
+ horizontalScrollElem: [{ type: ViewChild, args: ['horizontalScrollElem', { static: true },] }]
2329
+ };
2330
+ return HorizontalScrollerV2Component;
2331
+ }());
2332
+ if (false) {
2333
+ HorizontalScrollerV2Component.prototype.loadStatus;
2334
+ HorizontalScrollerV2Component.prototype.onHover;
2335
+ HorizontalScrollerV2Component.prototype.sliderConfig;
2336
+ HorizontalScrollerV2Component.prototype.loadNext;
2337
+ HorizontalScrollerV2Component.prototype.widgetsLength;
2338
+ HorizontalScrollerV2Component.prototype.defaultMaxWidgets;
2339
+ HorizontalScrollerV2Component.prototype.stripConfig;
2340
+ HorizontalScrollerV2Component.prototype.stripsResultDataMap;
2341
+ HorizontalScrollerV2Component.prototype.subtype;
2342
+ HorizontalScrollerV2Component.prototype.horizontalScrollElem;
2343
+ HorizontalScrollerV2Component.prototype.enablePrev;
2344
+ HorizontalScrollerV2Component.prototype.enableNext;
2345
+ HorizontalScrollerV2Component.prototype.activeNav;
2346
+ HorizontalScrollerV2Component.prototype.cardSubType;
2347
+ HorizontalScrollerV2Component.prototype.bottomDotsArray;
2348
+ HorizontalScrollerV2Component.prototype.scrollObserver;
2349
+ HorizontalScrollerV2Component.prototype.eventService;
2350
+ }
2351
+
2352
+ var HorizontalScrollerV2Module = (function () {
2353
+ function HorizontalScrollerV2Module() {
2354
+ }
2355
+ HorizontalScrollerV2Module.decorators = [
2356
+ { type: NgModule, args: [{
2357
+ declarations: [HorizontalScrollerV2Component],
2358
+ imports: [
2359
+ CommonModule,
2360
+ MatButtonModule,
2361
+ MatIconModule,
2362
+ MatProgressSpinnerModule,
2363
+ ],
2364
+ exports: [HorizontalScrollerV2Component],
2365
+ },] }
2366
+ ];
2367
+ return HorizontalScrollerV2Module;
2368
+ }());
2369
+
2370
+ var LoggerService = (function () {
2371
+ function LoggerService(configSvc) {
2372
+ this.configSvc = configSvc;
2373
+ this.consoleError = console.error;
2374
+ this.consoleInfo = console.info;
2375
+ this.consoleLog = console.log;
2376
+ this.consoleWarn = console.warn;
2377
+ this.noConsole = (function () { });
2378
+ }
2379
+ Object.defineProperty(LoggerService.prototype, "error", {
2380
+ get: function () {
2381
+ return this.consoleError;
2382
+ },
2383
+ enumerable: true,
2384
+ configurable: true
2385
+ });
2386
+ Object.defineProperty(LoggerService.prototype, "info", {
2387
+ get: function () {
2388
+ return this.configSvc.isProduction ? this.noConsole : this.consoleInfo;
2389
+ },
2390
+ enumerable: true,
2391
+ configurable: true
2392
+ });
2393
+ Object.defineProperty(LoggerService.prototype, "log", {
2394
+ get: function () {
2395
+ return this.configSvc.isProduction ? this.noConsole : this.consoleLog;
2396
+ },
2397
+ enumerable: true,
2398
+ configurable: true
2399
+ });
2400
+ Object.defineProperty(LoggerService.prototype, "warn", {
2401
+ get: function () {
2402
+ return this.configSvc.isProduction ? this.noConsole : this.consoleWarn;
2403
+ },
2404
+ enumerable: true,
2405
+ configurable: true
2406
+ });
2407
+ LoggerService.prototype.removeConsoleAccess = function () {
2408
+ if (this.configSvc.isProduction) {
2409
+ return;
2410
+ }
2411
+ var noConsoleWithError = (function () {
2412
+ throw new Error('Console Functions Usage Are Not Allowed.');
2413
+ });
2414
+ console.warn = noConsoleWithError;
2415
+ console.info = noConsoleWithError;
2416
+ console.error = noConsoleWithError;
1765
2417
  };
1766
2418
  LoggerService.decorators = [
1767
2419
  { type: Injectable, args: [{
@@ -2327,205 +2979,36 @@ var AuthKeycloakService = (function () {
2327
2979
  Object.defineProperty(AuthKeycloakService.prototype, "defaultRedirectUrl", {
2328
2980
  get: function () {
2329
2981
  try {
2330
- var baseUrl = document.baseURI;
2331
- return baseUrl || location.origin;
2332
- }
2333
- catch (error) {
2334
- return location.origin;
2335
- }
2336
- },
2337
- enumerable: true,
2338
- configurable: true
2339
- });
2340
- AuthKeycloakService.decorators = [
2341
- { type: Injectable, args: [{
2342
- providedIn: 'root',
2343
- },] }
2344
- ];
2345
- AuthKeycloakService.ctorParameters = function () { return [
2346
- { type: HttpClient },
2347
- { type: ConfigurationsService },
2348
- { type: KeycloakService },
2349
- { type: AuthMicrosoftService }
2350
- ]; };
2351
- /** @nocollapse */ AuthKeycloakService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthKeycloakService_Factory() { return new AuthKeycloakService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService), ɵɵinject(KeycloakService), ɵɵinject(AuthMicrosoftService)); }, token: AuthKeycloakService, providedIn: "root" });
2352
- return AuthKeycloakService;
2353
- }());
2354
- if (false) {
2355
- AuthKeycloakService.prototype.loginChangeSubject;
2356
- AuthKeycloakService.prototype.http;
2357
- AuthKeycloakService.prototype.configSvc;
2358
- AuthKeycloakService.prototype.keycloakSvc;
2359
- AuthKeycloakService.prototype.msAuthSvc;
2360
- }
2361
-
2362
- function IWindowMobileAppModified() { }
2363
- if (false) {
2364
- IWindowMobileAppModified.prototype.appRef;
2365
- IWindowMobileAppModified.prototype.webkit;
2366
- }
2367
- var RANDOM_ID_PER_USER = 0;
2368
- function IRecursiveData() { }
2369
- if (false) {
2370
- IRecursiveData.prototype.identifier;
2371
- IRecursiveData.prototype.children;
2372
- }
2373
- var UtilityService = (function () {
2374
- function UtilityService(http, platform, router, route) {
2375
- var _this = this;
2376
- this.http = http;
2377
- this.platform = platform;
2378
- this.router = router;
2379
- this.route = route;
2380
- this.currentRouteData = [];
2381
- this.router.events.subscribe((function (event) {
2382
- if (event instanceof NavigationEnd) {
2383
- var snapshot = _this.route.snapshot;
2384
- var firstChild = snapshot.root.firstChild;
2385
- _this.getChildRouteData(snapshot, firstChild);
2386
- }
2387
- }));
2388
- }
2389
- UtilityService.prototype.getChildRouteData = function (snapshot, firstChild) {
2390
- if (firstChild) {
2391
- if (firstChild.data) {
2392
- this.currentRouteData.push(firstChild.data);
2393
- }
2394
- if (firstChild.firstChild) {
2395
- this.getChildRouteData(snapshot, firstChild.firstChild);
2396
- }
2397
- }
2398
- };
2399
- Object.defineProperty(UtilityService.prototype, "randomId", {
2400
- get: function () {
2401
- return RANDOM_ID_PER_USER + 1;
2402
- },
2403
- enumerable: true,
2404
- configurable: true
2405
- });
2406
- UtilityService.prototype.getJson = function (url) {
2407
- return this.http.get(url);
2408
- };
2409
- UtilityService.prototype.getLeafNodes = function (node, nodes) {
2410
- var _this = this;
2411
- if ((node.children || []).length === 0) {
2412
- nodes.push(node);
2413
- }
2414
- else {
2415
- if (node.children) {
2416
- node.children.forEach((function (child) {
2417
- _this.getLeafNodes(child, nodes);
2418
- }));
2419
- }
2420
- }
2421
- return nodes;
2422
- };
2423
- UtilityService.prototype.getPath = function (node, id) {
2424
- var path = [];
2425
- this.hasPath(node, path, id);
2426
- return path;
2427
- };
2428
- UtilityService.prototype.hasPath = function (node, pathArr, id) {
2429
- var _this = this;
2430
- if (node == null) {
2431
- return false;
2432
- }
2433
- pathArr.push(node);
2434
- if (node.identifier === id) {
2435
- return true;
2436
- }
2437
- var children = node.children || [];
2438
- if (children.some((function (u) { return _this.hasPath(u, pathArr, id); }))) {
2439
- return true;
2440
- }
2441
- pathArr.pop();
2442
- return false;
2443
- };
2444
- Object.defineProperty(UtilityService.prototype, "isMobile", {
2445
- get: function () {
2446
- if (this.isIos || this.isAndroid) {
2447
- return true;
2448
- }
2449
- return false;
2450
- },
2451
- enumerable: true,
2452
- configurable: true
2453
- });
2454
- Object.defineProperty(UtilityService.prototype, "isIos", {
2455
- get: function () {
2456
- return this.platform.IOS;
2457
- },
2458
- enumerable: true,
2459
- configurable: true
2460
- });
2461
- Object.defineProperty(UtilityService.prototype, "isAndroid", {
2462
- get: function () {
2463
- return this.platform.ANDROID;
2464
- },
2465
- enumerable: true,
2466
- configurable: true
2467
- });
2468
- Object.defineProperty(UtilityService.prototype, "isAndroidApp", {
2469
- get: function () {
2470
- return Boolean(window.appRef);
2471
- },
2472
- enumerable: true,
2473
- configurable: true
2474
- });
2475
- Object.defineProperty(UtilityService.prototype, "iOsAppRef", {
2476
- get: function () {
2477
- if (window.webkit &&
2478
- window.webkit.messageHandlers &&
2479
- window.webkit.messageHandlers.appRef) {
2480
- return window.webkit.messageHandlers.appRef;
2481
- }
2482
- return null;
2483
- },
2484
- enumerable: true,
2485
- configurable: true
2486
- });
2487
- UtilityService.prototype.setRouteData = function (data) {
2488
- this.currentRouteData = data;
2489
- };
2490
- Object.defineProperty(UtilityService.prototype, "routeData", {
2491
- get: function () {
2492
- var data = {
2493
- module: '',
2494
- pageId: '',
2495
- };
2496
- this.currentRouteData.map((function (rd) {
2497
- if (rd.pageId) {
2498
- data.pageId = data.pageId + "/" + rd.pageId;
2499
- }
2500
- if (rd.module) {
2501
- data.module = rd.module;
2502
- }
2503
- }));
2504
- return data;
2982
+ var baseUrl = document.baseURI;
2983
+ return baseUrl || location.origin;
2984
+ }
2985
+ catch (error) {
2986
+ return location.origin;
2987
+ }
2505
2988
  },
2506
2989
  enumerable: true,
2507
2990
  configurable: true
2508
2991
  });
2509
- UtilityService.decorators = [
2992
+ AuthKeycloakService.decorators = [
2510
2993
  { type: Injectable, args: [{
2511
2994
  providedIn: 'root',
2512
2995
  },] }
2513
2996
  ];
2514
- UtilityService.ctorParameters = function () { return [
2997
+ AuthKeycloakService.ctorParameters = function () { return [
2515
2998
  { type: HttpClient },
2516
- { type: Platform },
2517
- { type: Router },
2518
- { type: ActivatedRoute }
2999
+ { type: ConfigurationsService },
3000
+ { type: KeycloakService },
3001
+ { type: AuthMicrosoftService }
2519
3002
  ]; };
2520
- /** @nocollapse */ UtilityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(ɵɵinject(HttpClient), ɵɵinject(Platform), ɵɵinject(Router), ɵɵinject(ActivatedRoute)); }, token: UtilityService, providedIn: "root" });
2521
- return UtilityService;
3003
+ /** @nocollapse */ AuthKeycloakService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthKeycloakService_Factory() { return new AuthKeycloakService(ɵɵinject(HttpClient), ɵɵinject(ConfigurationsService), ɵɵinject(KeycloakService), ɵɵinject(AuthMicrosoftService)); }, token: AuthKeycloakService, providedIn: "root" });
3004
+ return AuthKeycloakService;
2522
3005
  }());
2523
3006
  if (false) {
2524
- UtilityService.prototype.currentRouteData;
2525
- UtilityService.prototype.http;
2526
- UtilityService.prototype.platform;
2527
- UtilityService.prototype.router;
2528
- UtilityService.prototype.route;
3007
+ AuthKeycloakService.prototype.loginChangeSubject;
3008
+ AuthKeycloakService.prototype.http;
3009
+ AuthKeycloakService.prototype.configSvc;
3010
+ AuthKeycloakService.prototype.keycloakSvc;
3011
+ AuthKeycloakService.prototype.msAuthSvc;
2529
3012
  }
2530
3013
 
2531
3014
  var LogoutComponent = (function () {
@@ -2974,6 +3457,40 @@ var PipeFilterModule = (function () {
2974
3457
  return PipeFilterModule;
2975
3458
  }());
2976
3459
 
3460
+ var PipeOrdinalPipe = (function () {
3461
+ function PipeOrdinalPipe() {
3462
+ }
3463
+ PipeOrdinalPipe.prototype.transform = function (value) {
3464
+ if (value === 0) {
3465
+ return '0th';
3466
+ }
3467
+ var suffixes = ['th', 'st', 'nd', 'rd'];
3468
+ var v = value % 100;
3469
+ return value + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);
3470
+ };
3471
+ PipeOrdinalPipe.decorators = [
3472
+ { type: Pipe, args: [{
3473
+ name: 'pipeOrdinal',
3474
+ },] }
3475
+ ];
3476
+ return PipeOrdinalPipe;
3477
+ }());
3478
+
3479
+ var PipeOrdinalModule = (function () {
3480
+ function PipeOrdinalModule() {
3481
+ }
3482
+ PipeOrdinalModule.decorators = [
3483
+ { type: NgModule, args: [{
3484
+ declarations: [PipeOrdinalPipe],
3485
+ imports: [
3486
+ CommonModule,
3487
+ ],
3488
+ exports: [PipeOrdinalPipe],
3489
+ },] }
3490
+ ];
3491
+ return PipeOrdinalModule;
3492
+ }());
3493
+
2977
3494
  var PipeEmailPipe = (function () {
2978
3495
  function PipeEmailPipe() {
2979
3496
  }
@@ -4014,888 +4531,441 @@ var NsInstanceConfig;
4014
4531
  IKeycloak.prototype.key;
4015
4532
  IKeycloak.prototype.realm;
4016
4533
  IKeycloak.prototype.url;
4017
- IKeycloak.prototype.changePasswordUrl;
4018
- IKeycloak.prototype.onLoad;
4019
- }
4020
- function ILocalsConfig() { }
4021
- NsInstanceConfig.ILocalsConfig = ILocalsConfig;
4022
- if (false) {
4023
- ILocalsConfig.prototype.isAvailable;
4024
- ILocalsConfig.prototype.isEnabled;
4025
- ILocalsConfig.prototype.locals;
4026
- ILocalsConfig.prototype.path;
4027
- ILocalsConfig.prototype.isRTL;
4028
- }
4029
- function IMicrosoft() { }
4030
- NsInstanceConfig.IMicrosoft = IMicrosoft;
4031
- if (false) {
4032
- IMicrosoft.prototype.clientId;
4033
- IMicrosoft.prototype.defaultEmailId;
4034
- IMicrosoft.prototype.tenant;
4035
- IMicrosoft.prototype.validEmailExtensions;
4036
- IMicrosoft.prototype.isConfigured;
4037
- }
4038
- function ITheme() { }
4039
- NsInstanceConfig.ITheme = ITheme;
4040
- if (false) {
4041
- ITheme.prototype.color;
4042
- ITheme.prototype.themeFile;
4043
- ITheme.prototype.themeClass;
4044
- ITheme.prototype.themeName;
4045
- }
4046
- function IThemeColor() { }
4047
- NsInstanceConfig.IThemeColor = IThemeColor;
4048
- if (false) {
4049
- IThemeColor.prototype.accent;
4050
- IThemeColor.prototype.primary;
4051
- IThemeColor.prototype.warn;
4052
- }
4053
- function IOverrideThemeChanges() { }
4054
- NsInstanceConfig.IOverrideThemeChanges = IOverrideThemeChanges;
4055
- if (false) {
4056
- IOverrideThemeChanges.prototype.isEnabled;
4057
- IOverrideThemeChanges.prototype.desktop;
4058
- IOverrideThemeChanges.prototype.mWeb;
4059
- }
4060
- function IDesktop() { }
4061
- NsInstanceConfig.IDesktop = IDesktop;
4062
- if (false) {
4063
- IDesktop.prototype.animationDuration;
4064
- IDesktop.prototype.logoUrl;
4065
- IDesktop.prototype.logoText;
4066
- IDesktop.prototype.logoDisplayTime;
4067
- IDesktop.prototype.backgroundTheme;
4068
- }
4069
- function IMWeb() { }
4070
- NsInstanceConfig.IMWeb = IMWeb;
4071
- if (false) {
4072
- IMWeb.prototype.logoUrl;
4073
- IMWeb.prototype.logoText;
4074
- }
4075
- function ILogos() { }
4076
- NsInstanceConfig.ILogos = ILogos;
4077
- if (false) {
4078
- ILogos.prototype.app;
4079
- ILogos.prototype.appTransparent;
4080
- ILogos.prototype.appSecondary;
4081
- ILogos.prototype.aboutFooter;
4082
- ILogos.prototype.aboutHeader;
4083
- ILogos.prototype.appBottomNav;
4084
- ILogos.prototype.company;
4085
- ILogos.prototype.developedBy;
4086
- ILogos.prototype.poweredBy;
4087
- ILogos.prototype.defaultContent;
4088
- ILogos.prototype.defaultSourceLogo;
4089
- ILogos.prototype.landingLogo;
4090
- ILogos.prototype.navbarLogo;
4091
- ILogos.prototype.playListLogo;
4092
- ILogos.prototype.thumpsUp;
4093
- }
4094
- function IMailIds() { }
4095
- NsInstanceConfig.IMailIds = IMailIds;
4096
- if (false) {
4097
- IMailIds.prototype.contactUs;
4098
- IMailIds.prototype.default;
4099
- IMailIds.prototype.support;
4100
- }
4101
- function IDetails() { }
4102
- NsInstanceConfig.IDetails = IDetails;
4103
- if (false) {
4104
- IDetails.prototype.appName;
4105
- }
4106
- function IPrimaryNavbarConfig() { }
4107
- NsInstanceConfig.IPrimaryNavbarConfig = IPrimaryNavbarConfig;
4108
- if (false) {
4109
- IPrimaryNavbarConfig.prototype.mediumScreen;
4110
- IPrimaryNavbarConfig.prototype.smallScreen;
4111
- }
4112
- function IPrimaryNavBarScreen() { }
4113
- if (false) {
4114
- IPrimaryNavBarScreen.prototype.left;
4115
- IPrimaryNavBarScreen.prototype.right;
4116
- }
4117
- function IPrimaryNavBarSide() { }
4118
- if (false) {
4119
- IPrimaryNavBarSide.prototype.type;
4120
- IPrimaryNavBarSide.prototype.config;
4121
- }
4122
- function ITelemetryConfig() { }
4123
- NsInstanceConfig.ITelemetryConfig = ITelemetryConfig;
4124
- if (false) {
4125
- ITelemetryConfig.prototype.pdata;
4126
- ITelemetryConfig.prototype.object;
4127
- ITelemetryConfig.prototype.uid;
4128
- ITelemetryConfig.prototype.authtoken;
4129
- ITelemetryConfig.prototype.env;
4130
- ITelemetryConfig.prototype.channel;
4131
- ITelemetryConfig.prototype.batchsize;
4132
- ITelemetryConfig.prototype.host;
4133
- ITelemetryConfig.prototype.endpoint;
4134
- ITelemetryConfig.prototype.apislug;
4135
- ITelemetryConfig.prototype.sid;
4136
- ITelemetryConfig.prototype.publicEndpoint;
4137
- ITelemetryConfig.prototype.protectedEndpoint;
4138
- }
4139
- })(NsInstanceConfig || (NsInstanceConfig = {}));
4140
- var NsAppsConfig;
4141
- (function (NsAppsConfig) {
4142
- function IAppsConfig() { }
4143
- NsAppsConfig.IAppsConfig = IAppsConfig;
4144
- if (false) {
4145
- IAppsConfig.prototype.groups;
4146
- IAppsConfig.prototype.features;
4147
- IAppsConfig.prototype.tourGuide;
4148
- }
4149
- function IGroup() { }
4150
- NsAppsConfig.IGroup = IGroup;
4151
- if (false) {
4152
- IGroup.prototype.id;
4153
- IGroup.prototype.iconType;
4154
- IGroup.prototype.icon;
4155
- IGroup.prototype.keywords;
4156
- IGroup.prototype.name;
4157
- IGroup.prototype.toolTip;
4158
- IGroup.prototype.featureIds;
4159
- IGroup.prototype.stripBackground;
4160
- IGroup.prototype.hasRole;
4161
- }
4162
- function IFeature() { }
4163
- NsAppsConfig.IFeature = IFeature;
4164
- if (false) {
4165
- IFeature.prototype.name;
4166
- IFeature.prototype.id;
4167
- IFeature.prototype.url;
4168
- IFeature.prototype.permission;
4169
- IFeature.prototype.iconType;
4170
- IFeature.prototype.icon;
4171
- IFeature.prototype.keywords;
4172
- IFeature.prototype.toolTip;
4173
- IFeature.prototype.accessKey;
4174
- IFeature.prototype.status;
4175
- IFeature.prototype.shortName;
4176
- IFeature.prototype.description;
4177
- IFeature.prototype.badgeEndpoint;
4178
- IFeature.prototype.mobileAppFunction;
4179
- IFeature.prototype.color;
4180
- IFeature.prototype.target;
4181
- }
4182
- })(NsAppsConfig || (NsAppsConfig = {}));
4183
- var NsUser;
4184
- (function (NsUser) {
4185
- function IUserProfile() { }
4186
- NsUser.IUserProfile = IUserProfile;
4187
- if (false) {
4188
- IUserProfile.prototype.userId;
4189
- IUserProfile.prototype.email;
4190
- IUserProfile.prototype.departmentName;
4191
- IUserProfile.prototype.userName;
4192
- IUserProfile.prototype.firstName;
4193
- IUserProfile.prototype.surName;
4194
- IUserProfile.prototype.middleName;
4195
- IUserProfile.prototype.lastName;
4196
- IUserProfile.prototype.rootOrgId;
4197
- IUserProfile.prototype.rootOrgName;
4198
- IUserProfile.prototype.profileImage;
4199
- IUserProfile.prototype.givenName;
4200
- IUserProfile.prototype.country;
4201
- IUserProfile.prototype.unit;
4202
- IUserProfile.prototype.source_profile_picture;
4203
- IUserProfile.prototype.dealerCode;
4204
- IUserProfile.prototype.isManager;
4205
- IUserProfile.prototype.competencies;
4206
- IUserProfile.prototype.systemTopics;
4207
- IUserProfile.prototype.desiredTopics;
4208
- IUserProfile.prototype.desiredCompetencies;
4209
- IUserProfile.prototype.userRoles;
4210
- IUserProfile.prototype.profileUpdateCompletion;
4211
- IUserProfile.prototype.profileImageUrl;
4212
- IUserProfile.prototype.professionalDetails;
4213
- IUserProfile.prototype.webPortalLang;
4214
- }
4215
- function INodebbUserProfile() { }
4216
- NsUser.INodebbUserProfile = INodebbUserProfile;
4217
- if (false) {
4218
- INodebbUserProfile.prototype.username;
4219
- INodebbUserProfile.prototype.email;
4220
- }
4221
- function IUserPidProfile() { }
4222
- NsUser.IUserPidProfile = IUserPidProfile;
4223
- if (false) {
4224
- IUserPidProfile.prototype.kid_updated;
4225
- IUserPidProfile.prototype.user;
4534
+ IKeycloak.prototype.changePasswordUrl;
4535
+ IKeycloak.prototype.onLoad;
4226
4536
  }
4227
- function IUserPidProfileV2() { }
4228
- NsUser.IUserPidProfileV2 = IUserPidProfileV2;
4537
+ function ILocalsConfig() { }
4538
+ NsInstanceConfig.ILocalsConfig = ILocalsConfig;
4229
4539
  if (false) {
4230
- IUserPidProfileV2.prototype.kid_updated;
4231
- IUserPidProfileV2.prototype.result;
4540
+ ILocalsConfig.prototype.isAvailable;
4541
+ ILocalsConfig.prototype.isEnabled;
4542
+ ILocalsConfig.prototype.locals;
4543
+ ILocalsConfig.prototype.path;
4544
+ ILocalsConfig.prototype.isRTL;
4232
4545
  }
4233
- function IUserPidProfileVer2() { }
4234
- NsUser.IUserPidProfileVer2 = IUserPidProfileVer2;
4546
+ function IMicrosoft() { }
4547
+ NsInstanceConfig.IMicrosoft = IMicrosoft;
4235
4548
  if (false) {
4236
- IUserPidProfileVer2.prototype.result;
4549
+ IMicrosoft.prototype.clientId;
4550
+ IMicrosoft.prototype.defaultEmailId;
4551
+ IMicrosoft.prototype.tenant;
4552
+ IMicrosoft.prototype.validEmailExtensions;
4553
+ IMicrosoft.prototype.isConfigured;
4237
4554
  }
4238
- function ISourceData() { }
4555
+ function ITheme() { }
4556
+ NsInstanceConfig.ITheme = ITheme;
4239
4557
  if (false) {
4240
- ISourceData.prototype.GID;
4241
- ISourceData.prototype.SNAMPRE;
4242
- ISourceData.prototype.SNAMADD;
4243
- ISourceData.prototype.LASTNAME;
4244
- ISourceData.prototype.SN;
4245
- ISourceData.prototype.GIVENNAME;
4246
- ISourceData.prototype.NICKNAME;
4247
- ISourceData.prototype.PREFERREDSN;
4248
- ISourceData.prototype.PERSONALTITLE;
4249
- ISourceData.prototype.MOBILE;
4250
- ISourceData.prototype.MAIL;
4251
- ISourceData.prototype.DEPARTMENTTEXT;
4252
- ISourceData.prototype.COSTLOCATIONUNIT;
4253
- ISourceData.prototype.COSTLOCATION;
4254
- ISourceData.prototype.ORGID;
4255
- ISourceData.prototype.MGMTRESP;
4256
- ISourceData.prototype.UTC;
4257
- ISourceData.prototype.CNAMEENG;
4258
- ISourceData.prototype.LNAMEINT;
4259
- ISourceData.prototype.USERTYPE;
4260
- ISourceData.prototype.STATUS;
4261
- ISourceData.prototype.CONTRACTSTATUS;
4558
+ ITheme.prototype.color;
4559
+ ITheme.prototype.themeFile;
4560
+ ITheme.prototype.themeClass;
4561
+ ITheme.prototype.themeName;
4262
4562
  }
4263
- function IUser() { }
4563
+ function IThemeColor() { }
4564
+ NsInstanceConfig.IThemeColor = IThemeColor;
4264
4565
  if (false) {
4265
- IUser.prototype.wid;
4266
- IUser.prototype.root_org;
4267
- IUser.prototype.org;
4268
- IUser.prototype.is_active;
4269
- IUser.prototype.account_expiry_date;
4270
- IUser.prototype.kid;
4271
- IUser.prototype.imported_source_name;
4272
- IUser.prototype.source_id;
4273
- IUser.prototype.username;
4274
- IUser.prototype.first_name;
4275
- IUser.prototype.last_name;
4276
- IUser.prototype.middle_name;
4277
- IUser.prototype.known_as;
4278
- IUser.prototype.salutation;
4279
- IUser.prototype.email;
4280
- IUser.prototype.gender;
4281
- IUser.prototype.dob;
4282
- IUser.prototype.languages_known;
4283
- IUser.prototype.preferred_language;
4284
- IUser.prototype.source_profile_picture;
4285
- IUser.prototype.residence_country;
4286
- IUser.prototype.residence_state;
4287
- IUser.prototype.residence_city;
4288
- IUser.prototype.contact_phone_number_office;
4289
- IUser.prototype.contact_phone_number_home;
4290
- IUser.prototype.contact_phone_number_personal;
4291
- IUser.prototype.employement_status;
4292
- IUser.prototype.contract_type;
4293
- IUser.prototype.job_title;
4294
- IUser.prototype.job_role;
4295
- IUser.prototype.department_name;
4296
- IUser.prototype.unit_name;
4297
- IUser.prototype.organization_location_country;
4298
- IUser.prototype.organization_location_state;
4299
- IUser.prototype.organization_location_city;
4300
- IUser.prototype.time_inserted;
4301
- IUser.prototype.time_updated;
4302
- IUser.prototype.json_unmapped_fields;
4303
- IUser.prototype.source_data;
4566
+ IThemeColor.prototype.accent;
4567
+ IThemeColor.prototype.primary;
4568
+ IThemeColor.prototype.warn;
4304
4569
  }
4305
- function IRootOrg() { }
4570
+ function IOverrideThemeChanges() { }
4571
+ NsInstanceConfig.IOverrideThemeChanges = IOverrideThemeChanges;
4306
4572
  if (false) {
4307
- IRootOrg.prototype.dateTime;
4308
- IRootOrg.prototype.preferredLanguage;
4309
- IRootOrg.prototype.keys;
4310
- IRootOrg.prototype.channel;
4311
- IRootOrg.prototype.approvedBy;
4312
- IRootOrg.prototype.description;
4313
- IRootOrg.prototype.updatedDate;
4314
- IRootOrg.prototype.addressId;
4315
- IRootOrg.prototype.orgType;
4316
- IRootOrg.prototype.provider;
4317
- IRootOrg.prototype.orgCode;
4318
- IRootOrg.prototype.locationId;
4319
- IRootOrg.prototype.theme;
4320
- IRootOrg.prototype.id;
4321
- IRootOrg.prototype.isApproved;
4322
- IRootOrg.prototype.communityId;
4323
- IRootOrg.prototype.slug;
4324
- IRootOrg.prototype.email;
4325
- IRootOrg.prototype.isSSOEnabled;
4326
- IRootOrg.prototype.thumbnail;
4327
- IRootOrg.prototype.updatedBy;
4328
- IRootOrg.prototype.orgName;
4329
- IRootOrg.prototype.locationIds;
4330
- IRootOrg.prototype.externalId;
4331
- IRootOrg.prototype.isRootOrg;
4332
- IRootOrg.prototype.rootOrgId;
4333
- IRootOrg.prototype.imgUrl;
4334
- IRootOrg.prototype.approvedDate;
4335
- IRootOrg.prototype.orgTypeId;
4336
- IRootOrg.prototype.homeUrl;
4337
- IRootOrg.prototype.isDefault;
4338
- IRootOrg.prototype.createdDate;
4339
- IRootOrg.prototype.contactDetail;
4340
- IRootOrg.prototype.parentOrgId;
4341
- IRootOrg.prototype.createdBy;
4342
- IRootOrg.prototype.hashTagId;
4343
- IRootOrg.prototype.noOfMembers;
4344
- IRootOrg.prototype.status;
4573
+ IOverrideThemeChanges.prototype.isEnabled;
4574
+ IOverrideThemeChanges.prototype.desktop;
4575
+ IOverrideThemeChanges.prototype.mWeb;
4345
4576
  }
4346
- function IOrg() { }
4577
+ function IDesktop() { }
4578
+ NsInstanceConfig.IDesktop = IDesktop;
4347
4579
  if (false) {
4348
- IOrg.prototype.updatedBy;
4349
- IOrg.prototype.organisationId;
4350
- IOrg.prototype.orgName;
4351
- IOrg.prototype.addedByName;
4352
- IOrg.prototype.addedBy;
4353
- IOrg.prototype.roles;
4354
- IOrg.prototype.approvedBy;
4355
- IOrg.prototype.updatedDate;
4356
- IOrg.prototype.userId;
4357
- IOrg.prototype.approvaldate;
4358
- IOrg.prototype.isDeleted;
4359
- IOrg.prototype.parentOrgId;
4360
- IOrg.prototype.hashTagId;
4361
- IOrg.prototype.isRejected;
4362
- IOrg.prototype.position;
4363
- IOrg.prototype.id;
4364
- IOrg.prototype.orgjoindate;
4365
- IOrg.prototype.isApproved;
4366
- IOrg.prototype.orgLeftDate;
4580
+ IDesktop.prototype.animationDuration;
4581
+ IDesktop.prototype.logoUrl;
4582
+ IDesktop.prototype.logoText;
4583
+ IDesktop.prototype.logoDisplayTime;
4584
+ IDesktop.prototype.backgroundTheme;
4367
4585
  }
4368
- function IUserV2() { }
4586
+ function IMWeb() { }
4587
+ NsInstanceConfig.IMWeb = IMWeb;
4369
4588
  if (false) {
4370
- IUserV2.prototype.surName;
4371
- IUserV2.prototype.maskedPhone;
4372
- IUserV2.prototype.rootOrgName;
4373
- IUserV2.prototype.subject;
4374
- IUserV2.prototype.channel;
4375
- IUserV2.prototype.language;
4376
- IUserV2.prototype.updatedDate;
4377
- IUserV2.prototype.managedBy;
4378
- IUserV2.prototype.flagsValue;
4379
- IUserV2.prototype.id;
4380
- IUserV2.prototype.recoveryEmail;
4381
- IUserV2.prototype.identifier;
4382
- IUserV2.prototype.thumbnail;
4383
- IUserV2.prototype.profileVisibility;
4384
- IUserV2.prototype.updatedBy;
4385
- IUserV2.prototype.accesscode;
4386
- IUserV2.prototype.locationIds;
4387
- IUserV2.prototype.externalIds;
4388
- IUserV2.prototype.registryId;
4389
- IUserV2.prototype.rootOrgId;
4390
- IUserV2.prototype.prevUsedEmail;
4391
- IUserV2.prototype.firstName;
4392
- IUserV2.prototype.tncAcceptedOn;
4393
- IUserV2.prototype.phone;
4394
- IUserV2.prototype.dob;
4395
- IUserV2.prototype.grade;
4396
- IUserV2.prototype.currentLoginTime;
4397
- IUserV2.prototype.userType;
4398
- IUserV2.prototype.status;
4399
- IUserV2.prototype.lastName;
4400
- IUserV2.prototype.gender;
4401
- IUserV2.prototype.roles;
4402
- IUserV2.prototype.prevUsedPhone;
4403
- IUserV2.prototype.stateValidated;
4404
- IUserV2.prototype.isDeleted;
4405
- IUserV2.prototype.organisations;
4406
- IUserV2.prototype.countryCode;
4407
- IUserV2.prototype.maskedEmail;
4408
- IUserV2.prototype.tempPassword;
4409
- IUserV2.prototype.email;
4410
- IUserV2.prototype.rootOrg;
4411
- IUserV2.prototype.profileSummary;
4412
- IUserV2.prototype.phoneVerified;
4413
- IUserV2.prototype.recoveryPhone;
4414
- IUserV2.prototype.userName;
4415
- IUserV2.prototype.userId;
4416
- IUserV2.prototype.lastLoginTime;
4417
- IUserV2.prototype.emailVerified;
4418
- IUserV2.prototype.framework;
4419
- IUserV2.prototype.createdDate;
4420
- IUserV2.prototype.createdBy;
4421
- IUserV2.prototype.location;
4422
- IUserV2.prototype.tncAcceptedVersion;
4589
+ IMWeb.prototype.logoUrl;
4590
+ IMWeb.prototype.logoText;
4423
4591
  }
4424
- function IUserVer2() { }
4592
+ function ILogos() { }
4593
+ NsInstanceConfig.ILogos = ILogos;
4425
4594
  if (false) {
4426
- IUserVer2.prototype.firstname;
4427
- IUserVer2.prototype.motherTongue;
4428
- IUserVer2.prototype.secondaryEmail;
4429
- IUserVer2.prototype.gender;
4430
- IUserVer2.prototype.mobile;
4431
- IUserVer2.prototype.middlename;
4432
- IUserVer2.prototype.telephone;
4433
- IUserVer2.prototype.osid;
4434
- IUserVer2.prototype.primaryEmailType;
4435
- IUserVer2.prototype.knownLanguages;
4436
- IUserVer2.prototype.wid;
4437
- IUserVer2.prototype.nationality;
4438
- IUserVer2.prototype.surname;
4439
- IUserVer2.prototype.dob;
4440
- IUserVer2.prototype.category;
4441
- IUserVer2.prototype.primaryEmail;
4442
- IUserVer2.prototype.maritalStatus;
4443
- IUserVer2.prototype.residenceAddress;
4444
- IUserVer2.prototype.result;
4595
+ ILogos.prototype.app;
4596
+ ILogos.prototype.appTransparent;
4597
+ ILogos.prototype.appSecondary;
4598
+ ILogos.prototype.aboutFooter;
4599
+ ILogos.prototype.aboutHeader;
4600
+ ILogos.prototype.appBottomNav;
4601
+ ILogos.prototype.company;
4602
+ ILogos.prototype.developedBy;
4603
+ ILogos.prototype.poweredBy;
4604
+ ILogos.prototype.defaultContent;
4605
+ ILogos.prototype.defaultSourceLogo;
4606
+ ILogos.prototype.landingLogo;
4607
+ ILogos.prototype.navbarLogo;
4608
+ ILogos.prototype.playListLogo;
4609
+ ILogos.prototype.thumpsUp;
4445
4610
  }
4446
- function ILanguages() { }
4447
- NsUser.ILanguages = ILanguages;
4611
+ function IMailIds() { }
4612
+ NsInstanceConfig.IMailIds = IMailIds;
4448
4613
  if (false) {
4449
- ILanguages.prototype.name;
4614
+ IMailIds.prototype.contactUs;
4615
+ IMailIds.prototype.default;
4616
+ IMailIds.prototype.support;
4450
4617
  }
4451
- })(NsUser || (NsUser = {}));
4452
-
4453
- var WsEvents;
4454
- (function (WsEvents) {
4455
- function IWsEventsFromWidget() { }
4456
- WsEvents.IWsEventsFromWidget = IWsEventsFromWidget;
4618
+ function IDetails() { }
4619
+ NsInstanceConfig.IDetails = IDetails;
4457
4620
  if (false) {
4458
- IWsEventsFromWidget.prototype.type;
4459
- IWsEventsFromWidget.prototype.widgetType;
4460
- IWsEventsFromWidget.prototype.widgetSubType;
4621
+ IDetails.prototype.appName;
4461
4622
  }
4462
- function IWsEventsFromPage() { }
4463
- WsEvents.IWsEventsFromPage = IWsEventsFromPage;
4623
+ function IPrimaryNavbarConfig() { }
4624
+ NsInstanceConfig.IPrimaryNavbarConfig = IPrimaryNavbarConfig;
4464
4625
  if (false) {
4465
- IWsEventsFromPage.prototype.type;
4466
- IWsEventsFromPage.prototype.pageUrl;
4467
- IWsEventsFromPage.prototype.pageType;
4626
+ IPrimaryNavbarConfig.prototype.mediumScreen;
4627
+ IPrimaryNavbarConfig.prototype.smallScreen;
4468
4628
  }
4469
- var WsEventType;
4470
- (function (WsEventType) {
4471
- WsEventType["Action"] = "Action";
4472
- WsEventType["Telemetry"] = "Telemetry";
4473
- WsEventType["PageNavigation"] = "PageNavigation";
4474
- WsEventType["AccessRestrictedContentAccessed"] = "AccessRestrictedContentAccessed";
4475
- WsEventType["PageSlow"] = "PageSlow";
4476
- WsEventType["ErrorOccurred"] = "ErrorOccurred";
4477
- WsEventType["WidgetResolveError"] = "WidgetResolveError";
4478
- })(WsEventType = WsEvents.WsEventType || (WsEvents.WsEventType = {}));
4479
- var WsEventLogLevel;
4480
- (function (WsEventLogLevel) {
4481
- WsEventLogLevel["Warn"] = "Warn";
4482
- WsEventLogLevel["Error"] = "Error";
4483
- WsEventLogLevel["Info"] = "Info";
4484
- WsEventLogLevel["Log"] = "Log";
4485
- WsEventLogLevel["Trace"] = "Trace";
4486
- })(WsEventLogLevel = WsEvents.WsEventLogLevel || (WsEvents.WsEventLogLevel = {}));
4487
- var WsAuditTypes;
4488
- (function (WsAuditTypes) {
4489
- WsAuditTypes["Created"] = "Created";
4490
- WsAuditTypes["Updated"] = "Updated";
4491
- WsAuditTypes["Deleted"] = "Deleted";
4492
- })(WsAuditTypes = WsEvents.WsAuditTypes || (WsEvents.WsAuditTypes = {}));
4493
- var WsTimeSpentType;
4494
- (function (WsTimeSpentType) {
4495
- WsTimeSpentType["Page"] = "Page";
4496
- WsTimeSpentType["Player"] = "Player";
4497
- })(WsTimeSpentType = WsEvents.WsTimeSpentType || (WsEvents.WsTimeSpentType = {}));
4498
- var WsTimeSpentMode;
4499
- (function (WsTimeSpentMode) {
4500
- WsTimeSpentMode["Play"] = "Play";
4501
- WsTimeSpentMode["View"] = "View";
4502
- })(WsTimeSpentMode = WsEvents.WsTimeSpentMode || (WsEvents.WsTimeSpentMode = {}));
4503
- var externalTelemetrypdata;
4504
- (function (externalTelemetrypdata) {
4505
- externalTelemetrypdata["RBCP"] = "rbcp-web-ui";
4506
- })(externalTelemetrypdata = WsEvents.externalTelemetrypdata || (WsEvents.externalTelemetrypdata = {}));
4507
- function IWsEvents() { }
4508
- WsEvents.IWsEvents = IWsEvents;
4629
+ function IPrimaryNavBarScreen() { }
4509
4630
  if (false) {
4510
- IWsEvents.prototype.eventType;
4511
- IWsEvents.prototype.eventLogLevel;
4512
- IWsEvents.prototype.from;
4513
- IWsEvents.prototype.to;
4514
- IWsEvents.prototype.data;
4515
- IWsEvents.prototype.passThroughData;
4516
- IWsEvents.prototype.pageContext;
4631
+ IPrimaryNavBarScreen.prototype.left;
4632
+ IPrimaryNavBarScreen.prototype.right;
4517
4633
  }
4518
- var EnumTelemetrySubType;
4519
- (function (EnumTelemetrySubType) {
4520
- EnumTelemetrySubType["Init"] = "Init";
4521
- EnumTelemetrySubType["Interact"] = "Interact";
4522
- EnumTelemetrySubType["Loaded"] = "Loaded";
4523
- EnumTelemetrySubType["Unloaded"] = "Unloaded";
4524
- EnumTelemetrySubType["StateChange"] = "StateChange";
4525
- EnumTelemetrySubType["HeartBeat"] = "HeartBeat";
4526
- EnumTelemetrySubType["Search"] = "Search";
4527
- EnumTelemetrySubType["Feedback"] = "Feedback";
4528
- EnumTelemetrySubType["Impression"] = "Impression";
4529
- EnumTelemetrySubType["Chatbot"] = "Chatbot";
4530
- EnumTelemetrySubType["GetStarted"] = "Get Started";
4531
- EnumTelemetrySubType["PlatformRating"] = "PlatformRating";
4532
- })(EnumTelemetrySubType = WsEvents.EnumTelemetrySubType || (WsEvents.EnumTelemetrySubType = {}));
4533
- function ITelemetryPageContext() { }
4534
- WsEvents.ITelemetryPageContext = ITelemetryPageContext;
4634
+ function IPrimaryNavBarSide() { }
4535
4635
  if (false) {
4536
- ITelemetryPageContext.prototype.pageId;
4537
- ITelemetryPageContext.prototype.module;
4538
- ITelemetryPageContext.prototype.pageIdExt;
4636
+ IPrimaryNavBarSide.prototype.type;
4637
+ IPrimaryNavBarSide.prototype.config;
4539
4638
  }
4540
- function ITelemetryEdata() { }
4541
- WsEvents.ITelemetryEdata = ITelemetryEdata;
4639
+ function ITelemetryConfig() { }
4640
+ NsInstanceConfig.ITelemetryConfig = ITelemetryConfig;
4542
4641
  if (false) {
4543
- ITelemetryEdata.prototype.type;
4544
- ITelemetryEdata.prototype.subType;
4545
- ITelemetryEdata.prototype.id;
4546
- ITelemetryEdata.prototype.pageid;
4642
+ ITelemetryConfig.prototype.pdata;
4643
+ ITelemetryConfig.prototype.object;
4644
+ ITelemetryConfig.prototype.uid;
4645
+ ITelemetryConfig.prototype.authtoken;
4646
+ ITelemetryConfig.prototype.env;
4647
+ ITelemetryConfig.prototype.channel;
4648
+ ITelemetryConfig.prototype.batchsize;
4649
+ ITelemetryConfig.prototype.host;
4650
+ ITelemetryConfig.prototype.endpoint;
4651
+ ITelemetryConfig.prototype.apislug;
4652
+ ITelemetryConfig.prototype.sid;
4653
+ ITelemetryConfig.prototype.publicEndpoint;
4654
+ ITelemetryConfig.prototype.protectedEndpoint;
4547
4655
  }
4548
- function ITelemetryTabData() { }
4549
- WsEvents.ITelemetryTabData = ITelemetryTabData;
4656
+ })(NsInstanceConfig || (NsInstanceConfig = {}));
4657
+ var NsAppsConfig;
4658
+ (function (NsAppsConfig) {
4659
+ function IAppsConfig() { }
4660
+ NsAppsConfig.IAppsConfig = IAppsConfig;
4550
4661
  if (false) {
4551
- ITelemetryTabData.prototype.label;
4552
- ITelemetryTabData.prototype.index;
4662
+ IAppsConfig.prototype.groups;
4663
+ IAppsConfig.prototype.features;
4664
+ IAppsConfig.prototype.tourGuide;
4553
4665
  }
4554
- function IWsEventTelemetry() { }
4555
- WsEvents.IWsEventTelemetry = IWsEventTelemetry;
4666
+ function IGroup() { }
4667
+ NsAppsConfig.IGroup = IGroup;
4556
4668
  if (false) {
4557
- IWsEventTelemetry.prototype.eventSubType;
4558
- IWsEventTelemetry.prototype.pageContext;
4669
+ IGroup.prototype.id;
4670
+ IGroup.prototype.iconType;
4671
+ IGroup.prototype.icon;
4672
+ IGroup.prototype.keywords;
4673
+ IGroup.prototype.name;
4674
+ IGroup.prototype.toolTip;
4675
+ IGroup.prototype.featureIds;
4676
+ IGroup.prototype.stripBackground;
4677
+ IGroup.prototype.hasRole;
4559
4678
  }
4560
- var EnumTelemetryPdfActivity;
4561
- (function (EnumTelemetryPdfActivity) {
4562
- EnumTelemetryPdfActivity["PAGE_CHANGED"] = "PAGE_CHANGED";
4563
- EnumTelemetryPdfActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
4564
- EnumTelemetryPdfActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
4565
- EnumTelemetryPdfActivity["ZOOM_CHANGE"] = "ZOOM_CHANGE";
4566
- EnumTelemetryPdfActivity["NONE"] = "NONE";
4567
- })(EnumTelemetryPdfActivity = WsEvents.EnumTelemetryPdfActivity || (WsEvents.EnumTelemetryPdfActivity = {}));
4568
- function IWsEventTelemetryPdfData() { }
4569
- WsEvents.IWsEventTelemetryPdfData = IWsEventTelemetryPdfData;
4679
+ function IFeature() { }
4680
+ NsAppsConfig.IFeature = IFeature;
4570
4681
  if (false) {
4571
- IWsEventTelemetryPdfData.prototype.activityType;
4572
- IWsEventTelemetryPdfData.prototype.currentPage;
4573
- IWsEventTelemetryPdfData.prototype.totalPage;
4574
- IWsEventTelemetryPdfData.prototype.activityStartedAt;
4575
- IWsEventTelemetryPdfData.prototype.object;
4682
+ IFeature.prototype.name;
4683
+ IFeature.prototype.id;
4684
+ IFeature.prototype.url;
4685
+ IFeature.prototype.permission;
4686
+ IFeature.prototype.iconType;
4687
+ IFeature.prototype.icon;
4688
+ IFeature.prototype.keywords;
4689
+ IFeature.prototype.toolTip;
4690
+ IFeature.prototype.accessKey;
4691
+ IFeature.prototype.status;
4692
+ IFeature.prototype.shortName;
4693
+ IFeature.prototype.description;
4694
+ IFeature.prototype.badgeEndpoint;
4695
+ IFeature.prototype.mobileAppFunction;
4696
+ IFeature.prototype.color;
4697
+ IFeature.prototype.target;
4576
4698
  }
4577
- function IWsEventTelemetrySurveyData() { }
4578
- WsEvents.IWsEventTelemetrySurveyData = IWsEventTelemetrySurveyData;
4699
+ })(NsAppsConfig || (NsAppsConfig = {}));
4700
+ var NsUser;
4701
+ (function (NsUser) {
4702
+ function IUserProfile() { }
4703
+ NsUser.IUserProfile = IUserProfile;
4579
4704
  if (false) {
4580
- IWsEventTelemetrySurveyData.prototype.object;
4705
+ IUserProfile.prototype.userId;
4706
+ IUserProfile.prototype.email;
4707
+ IUserProfile.prototype.departmentName;
4708
+ IUserProfile.prototype.userName;
4709
+ IUserProfile.prototype.firstName;
4710
+ IUserProfile.prototype.surName;
4711
+ IUserProfile.prototype.middleName;
4712
+ IUserProfile.prototype.lastName;
4713
+ IUserProfile.prototype.rootOrgId;
4714
+ IUserProfile.prototype.rootOrgName;
4715
+ IUserProfile.prototype.profileImage;
4716
+ IUserProfile.prototype.givenName;
4717
+ IUserProfile.prototype.country;
4718
+ IUserProfile.prototype.unit;
4719
+ IUserProfile.prototype.source_profile_picture;
4720
+ IUserProfile.prototype.dealerCode;
4721
+ IUserProfile.prototype.isManager;
4722
+ IUserProfile.prototype.competencies;
4723
+ IUserProfile.prototype.systemTopics;
4724
+ IUserProfile.prototype.desiredTopics;
4725
+ IUserProfile.prototype.desiredCompetencies;
4726
+ IUserProfile.prototype.userRoles;
4727
+ IUserProfile.prototype.profileUpdateCompletion;
4728
+ IUserProfile.prototype.profileImageUrl;
4729
+ IUserProfile.prototype.professionalDetails;
4730
+ IUserProfile.prototype.webPortalLang;
4581
4731
  }
4582
- function IWsEventTelemetryInteract() { }
4583
- WsEvents.IWsEventTelemetryInteract = IWsEventTelemetryInteract;
4732
+ function INodebbUserProfile() { }
4733
+ NsUser.INodebbUserProfile = INodebbUserProfile;
4584
4734
  if (false) {
4585
- IWsEventTelemetryInteract.prototype.edata;
4586
- IWsEventTelemetryInteract.prototype.object;
4587
- IWsEventTelemetryInteract.prototype.pageContext;
4735
+ INodebbUserProfile.prototype.username;
4736
+ INodebbUserProfile.prototype.email;
4588
4737
  }
4589
- function IWsEventTelemetryFeedback() { }
4590
- WsEvents.IWsEventTelemetryFeedback = IWsEventTelemetryFeedback;
4738
+ function IUserPidProfile() { }
4739
+ NsUser.IUserPidProfile = IUserPidProfile;
4591
4740
  if (false) {
4592
- IWsEventTelemetryFeedback.prototype.edata;
4593
- IWsEventTelemetryFeedback.prototype.object;
4594
- IWsEventTelemetryFeedback.prototype.pageContext;
4741
+ IUserPidProfile.prototype.kid_updated;
4742
+ IUserPidProfile.prototype.user;
4595
4743
  }
4596
- function IWsEventTelemetryImpression() { }
4597
- WsEvents.IWsEventTelemetryImpression = IWsEventTelemetryImpression;
4744
+ function IUserPidProfileV2() { }
4745
+ NsUser.IUserPidProfileV2 = IUserPidProfileV2;
4746
+ if (false) {
4747
+ IUserPidProfileV2.prototype.kid_updated;
4748
+ IUserPidProfileV2.prototype.result;
4749
+ }
4750
+ function IUserPidProfileVer2() { }
4751
+ NsUser.IUserPidProfileVer2 = IUserPidProfileVer2;
4752
+ if (false) {
4753
+ IUserPidProfileVer2.prototype.result;
4754
+ }
4755
+ function ISourceData() { }
4598
4756
  if (false) {
4599
- IWsEventTelemetryImpression.prototype.edata;
4600
- IWsEventTelemetryImpression.prototype.object;
4601
- IWsEventTelemetryImpression.prototype.pageContext;
4757
+ ISourceData.prototype.GID;
4758
+ ISourceData.prototype.SNAMPRE;
4759
+ ISourceData.prototype.SNAMADD;
4760
+ ISourceData.prototype.LASTNAME;
4761
+ ISourceData.prototype.SN;
4762
+ ISourceData.prototype.GIVENNAME;
4763
+ ISourceData.prototype.NICKNAME;
4764
+ ISourceData.prototype.PREFERREDSN;
4765
+ ISourceData.prototype.PERSONALTITLE;
4766
+ ISourceData.prototype.MOBILE;
4767
+ ISourceData.prototype.MAIL;
4768
+ ISourceData.prototype.DEPARTMENTTEXT;
4769
+ ISourceData.prototype.COSTLOCATIONUNIT;
4770
+ ISourceData.prototype.COSTLOCATION;
4771
+ ISourceData.prototype.ORGID;
4772
+ ISourceData.prototype.MGMTRESP;
4773
+ ISourceData.prototype.UTC;
4774
+ ISourceData.prototype.CNAMEENG;
4775
+ ISourceData.prototype.LNAMEINT;
4776
+ ISourceData.prototype.USERTYPE;
4777
+ ISourceData.prototype.STATUS;
4778
+ ISourceData.prototype.CONTRACTSTATUS;
4602
4779
  }
4603
- function IWsEventTelemetrySearch() { }
4604
- WsEvents.IWsEventTelemetrySearch = IWsEventTelemetrySearch;
4780
+ function IUser() { }
4605
4781
  if (false) {
4606
- IWsEventTelemetrySearch.prototype.type;
4607
- IWsEventTelemetrySearch.prototype.subType;
4608
- IWsEventTelemetrySearch.prototype.query;
4609
- IWsEventTelemetrySearch.prototype.filters;
4610
- IWsEventTelemetrySearch.prototype.size;
4611
- IWsEventTelemetrySearch.prototype.locale;
4782
+ IUser.prototype.wid;
4783
+ IUser.prototype.root_org;
4784
+ IUser.prototype.org;
4785
+ IUser.prototype.is_active;
4786
+ IUser.prototype.account_expiry_date;
4787
+ IUser.prototype.kid;
4788
+ IUser.prototype.imported_source_name;
4789
+ IUser.prototype.source_id;
4790
+ IUser.prototype.username;
4791
+ IUser.prototype.first_name;
4792
+ IUser.prototype.last_name;
4793
+ IUser.prototype.middle_name;
4794
+ IUser.prototype.known_as;
4795
+ IUser.prototype.salutation;
4796
+ IUser.prototype.email;
4797
+ IUser.prototype.gender;
4798
+ IUser.prototype.dob;
4799
+ IUser.prototype.languages_known;
4800
+ IUser.prototype.preferred_language;
4801
+ IUser.prototype.source_profile_picture;
4802
+ IUser.prototype.residence_country;
4803
+ IUser.prototype.residence_state;
4804
+ IUser.prototype.residence_city;
4805
+ IUser.prototype.contact_phone_number_office;
4806
+ IUser.prototype.contact_phone_number_home;
4807
+ IUser.prototype.contact_phone_number_personal;
4808
+ IUser.prototype.employement_status;
4809
+ IUser.prototype.contract_type;
4810
+ IUser.prototype.job_title;
4811
+ IUser.prototype.job_role;
4812
+ IUser.prototype.department_name;
4813
+ IUser.prototype.unit_name;
4814
+ IUser.prototype.organization_location_country;
4815
+ IUser.prototype.organization_location_state;
4816
+ IUser.prototype.organization_location_city;
4817
+ IUser.prototype.time_inserted;
4818
+ IUser.prototype.time_updated;
4819
+ IUser.prototype.json_unmapped_fields;
4820
+ IUser.prototype.source_data;
4612
4821
  }
4613
- function IWsEventTelemetryHeartBeat() { }
4614
- WsEvents.IWsEventTelemetryHeartBeat = IWsEventTelemetryHeartBeat;
4822
+ function IRootOrg() { }
4615
4823
  if (false) {
4616
- IWsEventTelemetryHeartBeat.prototype.type;
4617
- IWsEventTelemetryHeartBeat.prototype.id;
4824
+ IRootOrg.prototype.dateTime;
4825
+ IRootOrg.prototype.preferredLanguage;
4826
+ IRootOrg.prototype.keys;
4827
+ IRootOrg.prototype.channel;
4828
+ IRootOrg.prototype.approvedBy;
4829
+ IRootOrg.prototype.description;
4830
+ IRootOrg.prototype.updatedDate;
4831
+ IRootOrg.prototype.addressId;
4832
+ IRootOrg.prototype.orgType;
4833
+ IRootOrg.prototype.provider;
4834
+ IRootOrg.prototype.orgCode;
4835
+ IRootOrg.prototype.locationId;
4836
+ IRootOrg.prototype.theme;
4837
+ IRootOrg.prototype.id;
4838
+ IRootOrg.prototype.isApproved;
4839
+ IRootOrg.prototype.communityId;
4840
+ IRootOrg.prototype.slug;
4841
+ IRootOrg.prototype.email;
4842
+ IRootOrg.prototype.isSSOEnabled;
4843
+ IRootOrg.prototype.thumbnail;
4844
+ IRootOrg.prototype.updatedBy;
4845
+ IRootOrg.prototype.orgName;
4846
+ IRootOrg.prototype.locationIds;
4847
+ IRootOrg.prototype.externalId;
4848
+ IRootOrg.prototype.isRootOrg;
4849
+ IRootOrg.prototype.rootOrgId;
4850
+ IRootOrg.prototype.imgUrl;
4851
+ IRootOrg.prototype.approvedDate;
4852
+ IRootOrg.prototype.orgTypeId;
4853
+ IRootOrg.prototype.homeUrl;
4854
+ IRootOrg.prototype.isDefault;
4855
+ IRootOrg.prototype.createdDate;
4856
+ IRootOrg.prototype.contactDetail;
4857
+ IRootOrg.prototype.parentOrgId;
4858
+ IRootOrg.prototype.createdBy;
4859
+ IRootOrg.prototype.hashTagId;
4860
+ IRootOrg.prototype.noOfMembers;
4861
+ IRootOrg.prototype.status;
4618
4862
  }
4619
- var EnumTelemetryMediaActivity;
4620
- (function (EnumTelemetryMediaActivity) {
4621
- EnumTelemetryMediaActivity["PLAYED"] = "PLAYED";
4622
- EnumTelemetryMediaActivity["PAUSED"] = "PAUSED";
4623
- EnumTelemetryMediaActivity["SEEKED"] = "SEEKED";
4624
- EnumTelemetryMediaActivity["ENDED"] = "ENDED";
4625
- EnumTelemetryMediaActivity["VOLUME_CHANGE"] = "VOLUME_CHANGE";
4626
- EnumTelemetryMediaActivity["MUTE"] = "MUTE";
4627
- EnumTelemetryMediaActivity["UNMUTE"] = "UNMUTE";
4628
- EnumTelemetryMediaActivity["PLAYBACK_SPEED_CHANGE"] = "PLAYBACK_SPEED_CHANGE";
4629
- EnumTelemetryMediaActivity["FULLSCREEN_ACTIVATED"] = "FULLSCREEN_ACTIVATED";
4630
- EnumTelemetryMediaActivity["FULLSCREEN_DEACTIVATED"] = "FULLSCREEN_DEACTIVATED";
4631
- EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_ACTIVATED"] = "PICTURE_IN_PICTURE_ACTIVATED";
4632
- EnumTelemetryMediaActivity["PICTURE_IN_PICTURE_DEACTIVATED"] = "PICTURE_IN_PICTURE_DEACTIVATED";
4633
- EnumTelemetryMediaActivity["NONE"] = "NONE";
4634
- })(EnumTelemetryMediaActivity = WsEvents.EnumTelemetryMediaActivity || (WsEvents.EnumTelemetryMediaActivity = {}));
4635
- var EnumTelemetryMediaState;
4636
- (function (EnumTelemetryMediaState) {
4637
- EnumTelemetryMediaState["PLAYING"] = "PLAYING";
4638
- EnumTelemetryMediaState["PAUSED"] = "PAUSED";
4639
- EnumTelemetryMediaState["ENDED"] = "ENDED";
4640
- EnumTelemetryMediaState["BUFFERING"] = "BUFFERING";
4641
- EnumTelemetryMediaState["NOT_STARTED"] = "NOT_STARTED";
4642
- })(EnumTelemetryMediaState = WsEvents.EnumTelemetryMediaState || (WsEvents.EnumTelemetryMediaState = {}));
4643
- function IWsEventTelemetryMediaData() { }
4644
- WsEvents.IWsEventTelemetryMediaData = IWsEventTelemetryMediaData;
4863
+ function IOrg() { }
4645
4864
  if (false) {
4646
- IWsEventTelemetryMediaData.prototype.currentState;
4647
- IWsEventTelemetryMediaData.prototype.activityType;
4648
- IWsEventTelemetryMediaData.prototype.currentTime;
4649
- IWsEventTelemetryMediaData.prototype.totalTime;
4650
- IWsEventTelemetryMediaData.prototype.maxedSeekedTime;
4651
- IWsEventTelemetryMediaData.prototype.activityStartedAt;
4865
+ IOrg.prototype.updatedBy;
4866
+ IOrg.prototype.organisationId;
4867
+ IOrg.prototype.orgName;
4868
+ IOrg.prototype.addedByName;
4869
+ IOrg.prototype.addedBy;
4870
+ IOrg.prototype.roles;
4871
+ IOrg.prototype.approvedBy;
4872
+ IOrg.prototype.updatedDate;
4873
+ IOrg.prototype.userId;
4874
+ IOrg.prototype.approvaldate;
4875
+ IOrg.prototype.isDeleted;
4876
+ IOrg.prototype.parentOrgId;
4877
+ IOrg.prototype.hashTagId;
4878
+ IOrg.prototype.isRejected;
4879
+ IOrg.prototype.position;
4880
+ IOrg.prototype.id;
4881
+ IOrg.prototype.orgjoindate;
4882
+ IOrg.prototype.isApproved;
4883
+ IOrg.prototype.orgLeftDate;
4652
4884
  }
4653
- var EnumTelemetrymodules;
4654
- (function (EnumTelemetrymodules) {
4655
- EnumTelemetrymodules["CONTENT"] = "content";
4656
- EnumTelemetrymodules["FEEDBACK"] = "feedback";
4657
- EnumTelemetrymodules["COURSE"] = "course";
4658
- EnumTelemetrymodules["PROGRAM"] = "program";
4659
- EnumTelemetrymodules["EXPLORE"] = "explore";
4660
- EnumTelemetrymodules["LEARN"] = "learn";
4661
- EnumTelemetrymodules["HOME"] = "home";
4662
- EnumTelemetrymodules["DASHBOARD"] = "dashboard";
4663
- EnumTelemetrymodules["SEARCH"] = "search";
4664
- EnumTelemetrymodules["DISCUSS"] = "Discuss";
4665
- EnumTelemetrymodules["COMPETENCY"] = "competency";
4666
- EnumTelemetrymodules["EVENTS"] = "events";
4667
- EnumTelemetrymodules["CAREER"] = "career";
4668
- EnumTelemetrymodules["PROFILE"] = "profile";
4669
- EnumTelemetrymodules["NETWORK"] = "network";
4670
- EnumTelemetrymodules["SUPPORT"] = "support";
4671
- EnumTelemetrymodules["KARMAPOINTS"] = "karmapoints";
4672
- EnumTelemetrymodules["PLATFORM_RATING"] = "platformrating";
4673
- })(EnumTelemetrymodules = WsEvents.EnumTelemetrymodules || (WsEvents.EnumTelemetrymodules = {}));
4674
- var EnumInteractTypes;
4675
- (function (EnumInteractTypes) {
4676
- EnumInteractTypes["CLICK"] = "click";
4677
- })(EnumInteractTypes = WsEvents.EnumInteractTypes || (WsEvents.EnumInteractTypes = {}));
4678
- var EnumInteractSubTypes;
4679
- (function (EnumInteractSubTypes) {
4680
- EnumInteractSubTypes["COURSE_TAB"] = "course-tab";
4681
- EnumInteractSubTypes["CAREER_TAB"] = "career-tab";
4682
- EnumInteractSubTypes["NETWORK_TAB"] = "network-tab";
4683
- EnumInteractSubTypes["COMPETENCY_TAB"] = "competency-tab";
4684
- EnumInteractSubTypes["PROFILE_EDIT_TAB"] = "profile-edit-tab";
4685
- EnumInteractSubTypes["DISCUSS_TAB"] = "discuss-tab";
4686
- EnumInteractSubTypes["EVENTS_TAB"] = "events-tab";
4687
- EnumInteractSubTypes["SIDE_MENU"] = "side-menu";
4688
- EnumInteractSubTypes["HOME_PAGE_STRIP_TABS"] = "home-page-strip-tabs";
4689
- EnumInteractSubTypes["HUB_MENU"] = "hub-menu";
4690
- EnumInteractSubTypes["PORTAL_NUDGE"] = "portal_nudge";
4691
- EnumInteractSubTypes["CERTIFICATE"] = "certificate";
4692
- })(EnumInteractSubTypes = WsEvents.EnumInteractSubTypes || (WsEvents.EnumInteractSubTypes = {}));
4693
- })(WsEvents || (WsEvents = {}));
4694
-
4695
- var EventService = (function () {
4696
- function EventService(environment, utilitySvc) {
4697
- this.utilitySvc = utilitySvc;
4698
- this.todaysEvents = [];
4699
- this.eventsSubject = new Subject();
4700
- this.events$ = this.eventsSubject.asObservable();
4701
- this.eventsChatbotSubject = new Subject();
4702
- this.chatbotEvents$ = this.eventsChatbotSubject.asObservable();
4703
- this.eventsGetStartSubject = new Subject();
4704
- this.getStartEvents$ = this.eventsGetStartSubject.asObservable();
4705
- this.eventsPRSubject = new Subject();
4706
- this.getPREvents$ = this.eventsPRSubject.asObservable();
4707
- this.environment = environment;
4885
+ function IUserV2() { }
4886
+ if (false) {
4887
+ IUserV2.prototype.surName;
4888
+ IUserV2.prototype.maskedPhone;
4889
+ IUserV2.prototype.rootOrgName;
4890
+ IUserV2.prototype.subject;
4891
+ IUserV2.prototype.channel;
4892
+ IUserV2.prototype.language;
4893
+ IUserV2.prototype.updatedDate;
4894
+ IUserV2.prototype.managedBy;
4895
+ IUserV2.prototype.flagsValue;
4896
+ IUserV2.prototype.id;
4897
+ IUserV2.prototype.recoveryEmail;
4898
+ IUserV2.prototype.identifier;
4899
+ IUserV2.prototype.thumbnail;
4900
+ IUserV2.prototype.profileVisibility;
4901
+ IUserV2.prototype.updatedBy;
4902
+ IUserV2.prototype.accesscode;
4903
+ IUserV2.prototype.locationIds;
4904
+ IUserV2.prototype.externalIds;
4905
+ IUserV2.prototype.registryId;
4906
+ IUserV2.prototype.rootOrgId;
4907
+ IUserV2.prototype.prevUsedEmail;
4908
+ IUserV2.prototype.firstName;
4909
+ IUserV2.prototype.tncAcceptedOn;
4910
+ IUserV2.prototype.phone;
4911
+ IUserV2.prototype.dob;
4912
+ IUserV2.prototype.grade;
4913
+ IUserV2.prototype.currentLoginTime;
4914
+ IUserV2.prototype.userType;
4915
+ IUserV2.prototype.status;
4916
+ IUserV2.prototype.lastName;
4917
+ IUserV2.prototype.gender;
4918
+ IUserV2.prototype.roles;
4919
+ IUserV2.prototype.prevUsedPhone;
4920
+ IUserV2.prototype.stateValidated;
4921
+ IUserV2.prototype.isDeleted;
4922
+ IUserV2.prototype.organisations;
4923
+ IUserV2.prototype.countryCode;
4924
+ IUserV2.prototype.maskedEmail;
4925
+ IUserV2.prototype.tempPassword;
4926
+ IUserV2.prototype.email;
4927
+ IUserV2.prototype.rootOrg;
4928
+ IUserV2.prototype.profileSummary;
4929
+ IUserV2.prototype.phoneVerified;
4930
+ IUserV2.prototype.recoveryPhone;
4931
+ IUserV2.prototype.userName;
4932
+ IUserV2.prototype.userId;
4933
+ IUserV2.prototype.lastLoginTime;
4934
+ IUserV2.prototype.emailVerified;
4935
+ IUserV2.prototype.framework;
4936
+ IUserV2.prototype.createdDate;
4937
+ IUserV2.prototype.createdBy;
4938
+ IUserV2.prototype.location;
4939
+ IUserV2.prototype.tncAcceptedVersion;
4708
4940
  }
4709
- EventService.prototype.dispatchEvent = function (event) {
4710
- event.pageContext = this.getContext(event.pageContext);
4711
- this.eventsSubject.next(event);
4712
- };
4713
- EventService.prototype.dispatchChatbotEvent = function (event) {
4714
- this.eventsChatbotSubject.next(event);
4715
- };
4716
- EventService.prototype.dispatchGetStartedEvent = function (event) {
4717
- this.eventsGetStartSubject.next(event);
4718
- };
4719
- EventService.prototype.dispatchPlatformRatingEvent = function (event) {
4720
- this.eventsPRSubject.next(event);
4721
- };
4722
- EventService.prototype.raiseInteractTelemetry = function (edata, object, pageContext) {
4723
- this.dispatchEvent({
4724
- eventType: WsEvents.WsEventType.Telemetry,
4725
- eventLogLevel: WsEvents.WsEventLogLevel.Info,
4726
- data: {
4727
- edata: edata,
4728
- object: object,
4729
- pageContext: this.getContext(pageContext),
4730
- eventSubType: WsEvents.EnumTelemetrySubType.Interact,
4731
- },
4732
- from: '',
4733
- to: 'Telemetry',
4734
- });
4735
- };
4736
- EventService.prototype.raiseFeedbackTelemetry = function (edata, object, from) {
4737
- this.dispatchEvent({
4738
- eventType: WsEvents.WsEventType.Telemetry,
4739
- eventLogLevel: WsEvents.WsEventLogLevel.Info,
4740
- data: {
4741
- edata: edata,
4742
- object: object,
4743
- eventSubType: WsEvents.EnumTelemetrySubType.Feedback,
4744
- },
4745
- from: from || '',
4746
- to: 'Telemetry',
4747
- });
4748
- };
4749
- EventService.prototype.raiseCustomImpression = function (object, pageContext) {
4750
- this.dispatchEvent({
4751
- eventType: WsEvents.WsEventType.Telemetry,
4752
- eventLogLevel: WsEvents.WsEventLogLevel.Info,
4753
- data: {
4754
- object: object,
4755
- pageContext: this.getContext(pageContext),
4756
- eventSubType: WsEvents.EnumTelemetrySubType.Impression,
4757
- },
4758
- from: '',
4759
- to: 'Telemetry',
4760
- });
4761
- };
4762
- EventService.prototype.getContext = function (pageContext) {
4763
- var routeDataContext = this.utilitySvc.routeData;
4764
- var finalContext = {
4765
- pageId: routeDataContext.pageId,
4766
- module: routeDataContext.module,
4767
- };
4768
- if (pageContext) {
4769
- if (pageContext.pageIdExt) {
4770
- finalContext.pageId = routeDataContext.pageId + "_" + pageContext.pageIdExt;
4771
- }
4772
- else if (pageContext.pageId) {
4773
- finalContext.pageId = pageContext.pageId;
4774
- }
4775
- if (pageContext.module) {
4776
- finalContext.module = pageContext.module;
4777
- }
4778
- }
4779
- return finalContext;
4780
- };
4781
- EventService.prototype.handleTabTelemetry = function (subType, data, object) {
4782
- this.raiseInteractTelemetry({
4783
- subType: subType,
4784
- type: WsEvents.EnumInteractTypes.CLICK,
4785
- id: _.camelCase(data.label) + "-tab",
4786
- }, __assign({}, object), {
4787
- pageIdExt: _.camelCase(data.label) + "-tab",
4788
- });
4789
- this.raiseCustomImpression(__assign({ context: {
4790
- position: data.index,
4791
- } }, object), {
4792
- pageIdExt: _.camelCase(data.label) + "-tab",
4793
- });
4794
- };
4795
- EventService.prototype.getPublicUrl = function (url) {
4796
- var mainUrl = url.split('/content').pop() || '';
4797
- return this.environment.contentHost + "/" + this.environment.contentBucket + "/content" + mainUrl;
4798
- };
4799
- EventService.prototype.allEventDateFormat = function (datetime) {
4800
- var date = new Date(datetime).getDate();
4801
- var year = new Date(datetime).getFullYear();
4802
- var month = new Date(datetime).getMonth();
4803
- var hours = new Date(datetime).getHours();
4804
- var minutes = new Date(datetime).getMinutes();
4805
- var seconds = new Date(datetime).getSeconds();
4806
- var formatedDate = new Date(year, month, date, hours, minutes, seconds, 0);
4807
- var format = 'YYYY-MM-DD';
4808
- var readableDateMonth = moment(formatedDate).format(format);
4809
- var finalDateTimeValue = "" + readableDateMonth;
4810
- return finalDateTimeValue;
4811
- };
4812
- EventService.prototype.compareDate = function (startDate) {
4813
- var now = new Date();
4814
- var day = ('0' + (new Date().getDate())).slice(-2);
4815
- var year = new Date().getFullYear();
4816
- var month = ('0' + (now.getMonth() + 1)).slice(-2);
4817
- var todaysdate = year + "-" + month + "-" + day;
4818
- if (startDate === todaysdate) {
4819
- return true;
4820
- }
4821
- return false;
4822
- };
4823
- EventService.prototype.customDateFormat = function (date, time) {
4824
- var stime = time.split('+')[0];
4825
- var hour = stime.substr(0, 2);
4826
- var min = stime.substr(2, 3);
4827
- return date + " " + hour + min;
4828
- };
4829
- EventService.prototype.setEventListData = function (eventObj) {
4830
- var _this = this;
4831
- if (eventObj !== undefined) {
4832
- this.todaysEvents = [];
4833
- var data_1 = eventObj;
4834
- Object.keys(data_1).forEach((function (index) {
4835
- var obj = data_1[index];
4836
- var floor = Math.floor;
4837
- var hours = floor(obj.duration / 60);
4838
- var minutes = obj.duration % 60;
4839
- var duration = (hours === 0) ? ((minutes === 0) ? '---' : minutes + " minutes") : (minutes === 0) ? (hours === 1) ?
4840
- hours + " hour" : hours + " hours" : (hours === 1) ? hours + " hour " + minutes + " minutes" :
4841
- hours + " hours " + minutes + " minutes";
4842
- var creatordata = obj.creatorDetails !== undefined ? obj.creatorDetails : [];
4843
- var str = creatordata && creatordata.length > 0 ? creatordata.replace(/\\/g, '') : [];
4844
- var creatorDetails = str && str.length > 0 ? JSON.parse(str) : creatordata;
4845
- var stime = obj.startTime.split('+')[0];
4846
- var hour = stime.substr(0, 2);
4847
- var min = stime.substr(2, 3);
4848
- var starttime = "" + hour + min;
4849
- var etime = obj.endTime.split('+')[0];
4850
- var ehour = etime.substr(0, 2);
4851
- var emin = etime.substr(2, 3);
4852
- var endtime = "" + ehour + emin;
4853
- var eventDataObj = {
4854
- event: obj,
4855
- eventName: obj.name,
4856
- eventStartTime: starttime,
4857
- eventEndTime: endtime,
4858
- eventStartDate: obj.startDate,
4859
- eventCreatedOn: _this.allEventDateFormat(obj.createdOn),
4860
- eventDuration: duration,
4861
- eventjoined: creatorDetails.length,
4862
- eventThumbnail: obj.appIcon && (obj.appIcon !== null || obj.appIcon !== undefined) ?
4863
- _this.getPublicUrl(obj.appIcon) :
4864
- '/assets/icons/Events_default.png',
4865
- pastevent: false,
4866
- };
4867
- var isToday = _this.compareDate(obj.startDate);
4868
- if (isToday) {
4869
- _this.todaysEvents.push(eventDataObj);
4870
- }
4871
- }));
4872
- }
4873
- };
4874
- EventService.decorators = [
4875
- { type: Injectable, args: [{
4876
- providedIn: 'root',
4877
- },] }
4878
- ];
4879
- EventService.ctorParameters = function () { return [
4880
- { type: undefined, decorators: [{ type: Inject, args: ['environment',] }] },
4881
- { type: UtilityService }
4882
- ]; };
4883
- /** @nocollapse */ EventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function EventService_Factory() { return new EventService(ɵɵinject("environment"), ɵɵinject(UtilityService)); }, token: EventService, providedIn: "root" });
4884
- return EventService;
4885
- }());
4886
- if (false) {
4887
- EventService.prototype.todaysEvents;
4888
- EventService.prototype.eventsSubject;
4889
- EventService.prototype.events$;
4890
- EventService.prototype.eventsChatbotSubject;
4891
- EventService.prototype.chatbotEvents$;
4892
- EventService.prototype.eventsGetStartSubject;
4893
- EventService.prototype.getStartEvents$;
4894
- EventService.prototype.eventsPRSubject;
4895
- EventService.prototype.getPREvents$;
4896
- EventService.prototype.environment;
4897
- EventService.prototype.utilitySvc;
4898
- }
4941
+ function IUserVer2() { }
4942
+ if (false) {
4943
+ IUserVer2.prototype.firstname;
4944
+ IUserVer2.prototype.motherTongue;
4945
+ IUserVer2.prototype.secondaryEmail;
4946
+ IUserVer2.prototype.gender;
4947
+ IUserVer2.prototype.mobile;
4948
+ IUserVer2.prototype.middlename;
4949
+ IUserVer2.prototype.telephone;
4950
+ IUserVer2.prototype.osid;
4951
+ IUserVer2.prototype.primaryEmailType;
4952
+ IUserVer2.prototype.knownLanguages;
4953
+ IUserVer2.prototype.wid;
4954
+ IUserVer2.prototype.nationality;
4955
+ IUserVer2.prototype.surname;
4956
+ IUserVer2.prototype.dob;
4957
+ IUserVer2.prototype.category;
4958
+ IUserVer2.prototype.primaryEmail;
4959
+ IUserVer2.prototype.maritalStatus;
4960
+ IUserVer2.prototype.residenceAddress;
4961
+ IUserVer2.prototype.result;
4962
+ }
4963
+ function ILanguages() { }
4964
+ NsUser.ILanguages = ILanguages;
4965
+ if (false) {
4966
+ ILanguages.prototype.name;
4967
+ }
4968
+ })(NsUser || (NsUser = {}));
4899
4969
 
4900
4970
  function IWsMsTokenModelResponse() { }
4901
4971
  if (false) {
@@ -6645,5 +6715,62 @@ if (false) {
6645
6715
  MultilingualTranslationsService.prototype.configSvc;
6646
6716
  }
6647
6717
 
6648
- export { AuthKeycloakService, AuthMicrosoftService, ClassChangeOnScrollModule, ConfigurationsService, DefaultThumbnailModule, EFeatures, EInstance, EventService, ExploreDetailResolve, HorizontalScrollerModule, HorizontalScrollerV2Module, ImageCropComponent, ImageCropModule, ImageResponsiveModule, InViewPortModule, LoggerService, LogoutComponent, LogoutModule, MarketingOfferingResolve, ModuleNameResolve, MultilingualTranslationsService, NavigationModule, NsContent, OrderByPipe, PageNameResolve, PageResolve, PermissionModule, PipeCertificateImageURL, PipeCertificateImageURLModule, PipeConciseDateRangeModule, PipeConciseDateRangePipe, PipeCountTransformModule, PipeCountTransformPipe, PipeDateConcatModule, PipeDateConcatPipe, PipeDurationTransformModule, PipeDurationTransformPipe, PipeEmailModule, PipeEmailPipe, PipeFilterModule, PipeFilterPipe, PipeFilterSearchModule, PipeFilterSearchPipe, PipeFilterV2Module, PipeFilterV2Pipe, PipeFilterV3Module, PipeFilterV3Pipe, PipeHtmlTagRemovalModule, PipeHtmlTagRemovalPipe, PipeLimitToModule, PipeLimitToPipe, PipeListFilterModule, PipeListFilterPipe, PipeNameTransformModule, PipeNameTransformPipe, PipeOrderByModule, PipePartialContentModule, PipePartialContentPipe, PipePublicURL, PipePublicURLModule, PipeRelativeTimeModule, PipeRelativeTimePipe, PipeSafeSanitizerModule, PipeSafeSanitizerPipe, SubapplicationRespondService, TelemetryService, UserPreferenceService, UtilityService, ValueService, WidgetContentService, WsEvents, getStringifiedQueryParams, ClassChangeOnScrollDirective as ɵa, DefaultThumbnailDirective as ɵb, ImageResponsiveDirective as ɵc, InViewPortDirective as ɵd, NavigationDirective as ɵe, PermissionDirective as ɵf, HorizontalScrollerComponent as ɵg, HorizontalScrollerV2Component as ɵh, NPSGridService as ɵi };
6718
+ var NsWidgetResolver;
6719
+ (function (NsWidgetResolver) {
6720
+ function IUnitPermissionObject() { }
6721
+ NsWidgetResolver.IUnitPermissionObject = IUnitPermissionObject;
6722
+ if (false) {
6723
+ IUnitPermissionObject.prototype.all;
6724
+ IUnitPermissionObject.prototype.none;
6725
+ IUnitPermissionObject.prototype.some;
6726
+ }
6727
+ function IPermissions() { }
6728
+ NsWidgetResolver.IPermissions = IPermissions;
6729
+ if (false) {
6730
+ IPermissions.prototype.enabled;
6731
+ IPermissions.prototype.available;
6732
+ IPermissions.prototype.roles;
6733
+ IPermissions.prototype.features;
6734
+ IPermissions.prototype.groups;
6735
+ }
6736
+ function IBaseConfig() { }
6737
+ NsWidgetResolver.IBaseConfig = IBaseConfig;
6738
+ if (false) {
6739
+ IBaseConfig.prototype.widgetType;
6740
+ IBaseConfig.prototype.widgetSubType;
6741
+ }
6742
+ function IRegistrationConfig() { }
6743
+ NsWidgetResolver.IRegistrationConfig = IRegistrationConfig;
6744
+ if (false) {
6745
+ IRegistrationConfig.prototype.component;
6746
+ }
6747
+ function IRegistrationsPermissionConfig() { }
6748
+ NsWidgetResolver.IRegistrationsPermissionConfig = IRegistrationsPermissionConfig;
6749
+ if (false) {
6750
+ IRegistrationsPermissionConfig.prototype.widgetPermission;
6751
+ }
6752
+ function IRenderConfigWithTypedData() { }
6753
+ NsWidgetResolver.IRenderConfigWithTypedData = IRenderConfigWithTypedData;
6754
+ if (false) {
6755
+ IRenderConfigWithTypedData.prototype.widgetData;
6756
+ IRenderConfigWithTypedData.prototype.widgetInstanceId;
6757
+ IRenderConfigWithTypedData.prototype.widgetHostClass;
6758
+ IRenderConfigWithTypedData.prototype.widgetHostStyle;
6759
+ }
6760
+ function IWidgetData() { }
6761
+ NsWidgetResolver.IWidgetData = IWidgetData;
6762
+ if (false) {
6763
+ IWidgetData.prototype.widgetSafeStyle;
6764
+ IWidgetData.prototype.updateBaseComponent;
6765
+ }
6766
+ function ITitle() { }
6767
+ NsWidgetResolver.ITitle = ITitle;
6768
+ if (false) {
6769
+ ITitle.prototype.title;
6770
+ ITitle.prototype.url;
6771
+ ITitle.prototype.icon;
6772
+ }
6773
+ })(NsWidgetResolver || (NsWidgetResolver = {}));
6774
+
6775
+ export { AuthKeycloakService, AuthMicrosoftService, ClassChangeOnScrollModule, ConfigurationsService, DefaultThumbnailModule, EFeatures, EInstance, EventService, ExploreDetailResolve, HorizontalScrollerModule, HorizontalScrollerV2Module, ImageCropComponent, ImageCropModule, ImageResponsiveModule, InViewPortModule, LoggerService, LogoutComponent, LogoutModule, MarketingOfferingResolve, ModuleNameResolve, MultilingualTranslationsService, NPSGridService, NavigationModule, NsContent, OrderByPipe, PageNameResolve, PageResolve, PermissionModule, PipeCertificateImageURL, PipeCertificateImageURLModule, PipeConciseDateRangeModule, PipeConciseDateRangePipe, PipeCountTransformModule, PipeCountTransformPipe, PipeDateConcatModule, PipeDateConcatPipe, PipeDurationTransformModule, PipeDurationTransformPipe, PipeEmailModule, PipeEmailPipe, PipeFilterModule, PipeFilterPipe, PipeFilterSearchModule, PipeFilterSearchPipe, PipeFilterV2Module, PipeFilterV2Pipe, PipeFilterV3Module, PipeFilterV3Pipe, PipeHtmlTagRemovalModule, PipeHtmlTagRemovalPipe, PipeLimitToModule, PipeLimitToPipe, PipeListFilterModule, PipeListFilterPipe, PipeNameTransformModule, PipeNameTransformPipe, PipeOrderByModule, PipeOrdinalModule, PipeOrdinalPipe, PipePartialContentModule, PipePartialContentPipe, PipePublicURL, PipePublicURLModule, PipeRelativeTimeModule, PipeRelativeTimePipe, PipeSafeSanitizerModule, PipeSafeSanitizerPipe, SubapplicationRespondService, TelemetryService, UserPreferenceService, UtilityService, ValueService, WidgetContentService, WsEvents, getStringifiedQueryParams, ClassChangeOnScrollDirective as ɵa, DefaultThumbnailDirective as ɵb, ImageResponsiveDirective as ɵc, InViewPortDirective as ɵd, NavigationDirective as ɵe, PermissionDirective as ɵf, HorizontalScrollerComponent as ɵg, HorizontalScrollerV2Component as ɵh };
6649
6776
  //# sourceMappingURL=sunbird-cb-utils-v2.js.map