common-header-lib 0.0.1

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 (195) hide show
  1. package/README.md +24 -0
  2. package/assets/.gitkeep +0 -0
  3. package/assets/i18n/ar.json +83 -0
  4. package/assets/i18n/de.json +83 -0
  5. package/assets/i18n/en.json +83 -0
  6. package/assets/i18n/es.json +83 -0
  7. package/assets/i18n/fr.json +83 -0
  8. package/assets/i18n/hi.json +83 -0
  9. package/assets/i18n/ja.json +83 -0
  10. package/assets/i18n/ko.json +83 -0
  11. package/assets/images/APP019.svg +6 -0
  12. package/assets/images/APP020.svg +4 -0
  13. package/assets/images/APP021.svg +6 -0
  14. package/assets/images/APP022.svg +6 -0
  15. package/assets/images/APP023.svg +11 -0
  16. package/assets/images/APP024.svg +9 -0
  17. package/assets/images/APP025.svg +8 -0
  18. package/assets/images/APP026.svg +4 -0
  19. package/assets/images/APP027.svg +5 -0
  20. package/assets/images/APP028.svg +6 -0
  21. package/assets/images/APP029.svg +12 -0
  22. package/assets/images/APP030.svg +20 -0
  23. package/assets/images/APP031.svg +14 -0
  24. package/assets/images/APP032.svg +17 -0
  25. package/assets/images/Frame.svg +104 -0
  26. package/assets/images/apps-1.svg +22 -0
  27. package/assets/images/bell-icon.svg +3 -0
  28. package/assets/images/check_circle.svg +3 -0
  29. package/assets/images/close copy.svg +5 -0
  30. package/assets/images/close.svg +5 -0
  31. package/assets/images/copy-img.svg +3 -0
  32. package/assets/images/cross-search.svg +4 -0
  33. package/assets/images/domain_img.svg +3 -0
  34. package/assets/images/east.svg +3 -0
  35. package/assets/images/error.svg +3 -0
  36. package/assets/images/filepath.svg +8 -0
  37. package/assets/images/flag1.svg +3 -0
  38. package/assets/images/gc-mail.svg +3 -0
  39. package/assets/images/grey-arrow.svg +3 -0
  40. package/assets/images/info.svg +3 -0
  41. package/assets/images/local.svg +3 -0
  42. package/assets/images/lock-pass.svg +3 -0
  43. package/assets/images/lock1.svg +3 -0
  44. package/assets/images/login-bg/default_bg.svg +448 -0
  45. package/assets/images/login-bg/visibility.svg +3 -0
  46. package/assets/images/login-bg/visibility_off.svg +3 -0
  47. package/assets/images/logo.png +0 -0
  48. package/assets/images/logout.svg +3 -0
  49. package/assets/images/mail-icon.svg +3 -0
  50. package/assets/images/marker-pin.svg +4 -0
  51. package/assets/images/noti_ticket.svg +3 -0
  52. package/assets/images/pass-img.svg +3 -0
  53. package/assets/images/refresh-1.svg +3 -0
  54. package/assets/images/schedule.svg +1 -0
  55. package/assets/images/search-filter.svg +3 -0
  56. package/assets/images/search-icon.svg +3 -0
  57. package/assets/images/settings.svg +3 -0
  58. package/assets/images/successful.svg +10 -0
  59. package/assets/images/user-name.svg +3 -0
  60. package/assets/scss/_sidebar.scss +267 -0
  61. package/assets/scss/styles.scss +577 -0
  62. package/esm2020/common-header-lib.mjs +5 -0
  63. package/esm2020/lib/Validators/noSpaceAllowed.mjs +16 -0
  64. package/esm2020/lib/common-header-lib.component.mjs +612 -0
  65. package/esm2020/lib/common-header-lib.module.mjs +208 -0
  66. package/esm2020/lib/common-header-lib.service.mjs +200 -0
  67. package/esm2020/lib/components/confirm-dialog/confirm-dialog.component.mjs +49 -0
  68. package/esm2020/lib/components/general-configuration/general-configuration.component.mjs +402 -0
  69. package/esm2020/lib/components/general-configuration/landingpg-config/landingpg-config.component.mjs +124 -0
  70. package/esm2020/lib/components/general-configuration/timezone-configuration/timezone-configuration.component.mjs +138 -0
  71. package/esm2020/lib/components/grid-pagination/grid-pagination.component.mjs +39 -0
  72. package/esm2020/lib/components/ng-translation/ng-translation.component.mjs +65 -0
  73. package/esm2020/lib/components/no-service-my-access-pg/no-service-my-access-pg.component.mjs +19 -0
  74. package/esm2020/lib/components/notification-sidebar/notification-sidebar.component.mjs +40 -0
  75. package/esm2020/lib/components/side-popup/side-popup.component.mjs +34 -0
  76. package/esm2020/lib/components/user-mailbox/user-mailbox.component.mjs +173 -0
  77. package/esm2020/lib/components/user-sidebar/user-sidebar.component.mjs +279 -0
  78. package/esm2020/lib/components/viewpassword-popup/viewpassword-popup.component.mjs +196 -0
  79. package/esm2020/lib/model/data_model.mjs +217 -0
  80. package/esm2020/lib/pipes/custome-dateformat.pipe.mjs +27 -0
  81. package/esm2020/lib/pipes/date-diff.pipe.mjs +56 -0
  82. package/esm2020/lib/pipes/slice-to-two.pipe.mjs +34 -0
  83. package/esm2020/lib/services/EncrypDecryp_RSA.service.mjs +100 -0
  84. package/esm2020/lib/services/async-passwordcheck.service.mjs +72 -0
  85. package/esm2020/lib/services/cookie-storage-manager.service.mjs +78 -0
  86. package/esm2020/lib/services/encrpdata.service.mjs +55 -0
  87. package/esm2020/lib/services/encrydecrydata.service.mjs +207 -0
  88. package/esm2020/lib/services/event.service.mjs +133 -0
  89. package/esm2020/lib/services/http/http-common.service.mjs +216 -0
  90. package/esm2020/lib/services/http/http-general-config.service.mjs +84 -0
  91. package/esm2020/lib/services/rest-login-form.service.mjs +296 -0
  92. package/esm2020/lib/services/rest-signalr.service.mjs +100 -0
  93. package/esm2020/lib/services/storage.service.mjs +33 -0
  94. package/esm2020/lib/services/toast-msg.service.mjs +95 -0
  95. package/esm2020/lib/services/vapt-validation.service.mjs +31 -0
  96. package/esm2020/public-api.mjs +13 -0
  97. package/fesm2015/common-header-lib.mjs +4165 -0
  98. package/fesm2015/common-header-lib.mjs.map +1 -0
  99. package/fesm2020/common-header-lib.mjs +4146 -0
  100. package/fesm2020/common-header-lib.mjs.map +1 -0
  101. package/index.d.ts +5 -0
  102. package/lib/Validators/noSpaceAllowed.d.ts +2 -0
  103. package/lib/common-header-lib.component.d.ts +148 -0
  104. package/lib/common-header-lib.module.d.ts +43 -0
  105. package/lib/common-header-lib.service.d.ts +25 -0
  106. package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +13 -0
  107. package/lib/components/general-configuration/general-configuration.component.d.ts +86 -0
  108. package/lib/components/general-configuration/landingpg-config/landingpg-config.component.d.ts +37 -0
  109. package/lib/components/general-configuration/timezone-configuration/timezone-configuration.component.d.ts +38 -0
  110. package/lib/components/grid-pagination/grid-pagination.component.d.ts +20 -0
  111. package/lib/components/ng-translation/ng-translation.component.d.ts +22 -0
  112. package/lib/components/no-service-my-access-pg/no-service-my-access-pg.component.d.ts +8 -0
  113. package/lib/components/notification-sidebar/notification-sidebar.component.d.ts +16 -0
  114. package/lib/components/side-popup/side-popup.component.d.ts +14 -0
  115. package/lib/components/user-mailbox/user-mailbox.component.d.ts +40 -0
  116. package/lib/components/user-sidebar/user-sidebar.component.d.ts +61 -0
  117. package/lib/components/viewpassword-popup/viewpassword-popup.component.d.ts +47 -0
  118. package/lib/model/data_model.d.ts +184 -0
  119. package/lib/pipes/custome-dateformat.pipe.d.ts +8 -0
  120. package/lib/pipes/date-diff.pipe.d.ts +9 -0
  121. package/lib/pipes/slice-to-two.pipe.d.ts +7 -0
  122. package/lib/services/EncrypDecryp_RSA.service.d.ts +15 -0
  123. package/lib/services/async-passwordcheck.service.d.ts +18 -0
  124. package/lib/services/cookie-storage-manager.service.d.ts +16 -0
  125. package/lib/services/encrpdata.service.d.ts +12 -0
  126. package/lib/services/encrydecrydata.service.d.ts +33 -0
  127. package/lib/services/event.service.d.ts +30 -0
  128. package/lib/services/http/http-common.service.d.ts +30 -0
  129. package/lib/services/http/http-general-config.service.d.ts +15 -0
  130. package/lib/services/rest-login-form.service.d.ts +39 -0
  131. package/lib/services/rest-signalr.service.d.ts +23 -0
  132. package/lib/services/storage.service.d.ts +11 -0
  133. package/lib/services/toast-msg.service.d.ts +21 -0
  134. package/lib/services/vapt-validation.service.d.ts +7 -0
  135. package/package.json +49 -0
  136. package/public-api.d.ts +8 -0
  137. package/src/assets/i18n/ar.json +83 -0
  138. package/src/assets/i18n/de.json +83 -0
  139. package/src/assets/i18n/en.json +83 -0
  140. package/src/assets/i18n/es.json +83 -0
  141. package/src/assets/i18n/fr.json +83 -0
  142. package/src/assets/i18n/hi.json +83 -0
  143. package/src/assets/i18n/ja.json +83 -0
  144. package/src/assets/i18n/ko.json +83 -0
  145. package/src/assets/images/APP019.svg +6 -0
  146. package/src/assets/images/APP020.svg +4 -0
  147. package/src/assets/images/APP021.svg +6 -0
  148. package/src/assets/images/APP022.svg +6 -0
  149. package/src/assets/images/APP023.svg +11 -0
  150. package/src/assets/images/APP024.svg +9 -0
  151. package/src/assets/images/APP025.svg +8 -0
  152. package/src/assets/images/APP026.svg +4 -0
  153. package/src/assets/images/APP027.svg +5 -0
  154. package/src/assets/images/APP028.svg +6 -0
  155. package/src/assets/images/APP029.svg +12 -0
  156. package/src/assets/images/APP030.svg +20 -0
  157. package/src/assets/images/APP031.svg +14 -0
  158. package/src/assets/images/APP032.svg +17 -0
  159. package/src/assets/images/Frame.svg +104 -0
  160. package/src/assets/images/apps-1.svg +22 -0
  161. package/src/assets/images/bell-icon.svg +3 -0
  162. package/src/assets/images/check_circle.svg +3 -0
  163. package/src/assets/images/close copy.svg +5 -0
  164. package/src/assets/images/close.svg +5 -0
  165. package/src/assets/images/copy-img.svg +3 -0
  166. package/src/assets/images/cross-search.svg +4 -0
  167. package/src/assets/images/domain_img.svg +3 -0
  168. package/src/assets/images/east.svg +3 -0
  169. package/src/assets/images/error.svg +3 -0
  170. package/src/assets/images/filepath.svg +8 -0
  171. package/src/assets/images/flag1.svg +3 -0
  172. package/src/assets/images/gc-mail.svg +3 -0
  173. package/src/assets/images/grey-arrow.svg +3 -0
  174. package/src/assets/images/info.svg +3 -0
  175. package/src/assets/images/local.svg +3 -0
  176. package/src/assets/images/lock-pass.svg +3 -0
  177. package/src/assets/images/lock1.svg +3 -0
  178. package/src/assets/images/login-bg/default_bg.svg +448 -0
  179. package/src/assets/images/login-bg/visibility.svg +3 -0
  180. package/src/assets/images/login-bg/visibility_off.svg +3 -0
  181. package/src/assets/images/logo.png +0 -0
  182. package/src/assets/images/logout.svg +3 -0
  183. package/src/assets/images/mail-icon.svg +3 -0
  184. package/src/assets/images/marker-pin.svg +4 -0
  185. package/src/assets/images/noti_ticket.svg +3 -0
  186. package/src/assets/images/pass-img.svg +3 -0
  187. package/src/assets/images/refresh-1.svg +3 -0
  188. package/src/assets/images/schedule.svg +1 -0
  189. package/src/assets/images/search-filter.svg +3 -0
  190. package/src/assets/images/search-icon.svg +3 -0
  191. package/src/assets/images/settings.svg +3 -0
  192. package/src/assets/images/successful.svg +10 -0
  193. package/src/assets/images/user-name.svg +3 -0
  194. package/src/assets/scss/_sidebar.scss +267 -0
  195. package/src/assets/scss/styles.scss +577 -0
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="common-header-lib" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ export declare function noSpaceAllowed(): ValidatorFn;
@@ -0,0 +1,148 @@
1
+ import { ConfirmDialogComponent } from './components/confirm-dialog/confirm-dialog.component';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
3
+ import { CommonHeaderLibService } from './common-header-lib.service';
4
+ import { RestSignalRService } from './services/rest-signalr.service';
5
+ import { EventService } from './services/event.service';
6
+ import { TranslateService } from '@ngx-translate/core';
7
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
8
+ import { HttpCommonService } from './services/http/http-common.service';
9
+ import { ToastMsgService } from './services/toast-msg.service';
10
+ import * as i0 from "@angular/core";
11
+ interface AppDetails {
12
+ applicationName: string;
13
+ applicationId: number;
14
+ appCode: string;
15
+ privileges: any;
16
+ applicationUrl: string;
17
+ isAssignedLanding: boolean;
18
+ }
19
+ interface AccessType {
20
+ id: number;
21
+ name: string;
22
+ }
23
+ export declare class CommonHeaderLibComponent implements OnInit, AfterViewInit {
24
+ private readonly libService;
25
+ private readonly cdRef;
26
+ private readonly _signalRService;
27
+ private readonly _eventService;
28
+ private translate;
29
+ private modalService;
30
+ private translateService;
31
+ private httpCommonService;
32
+ private readonly msgService;
33
+ EnableLogo: boolean;
34
+ moduleName: string;
35
+ EnableTimeZone: boolean;
36
+ EnableLOB: boolean;
37
+ EnableMail: boolean;
38
+ EnableNotifications: boolean;
39
+ EnableMoreApps: boolean;
40
+ EnableProfile: boolean;
41
+ selectedLOBId: any;
42
+ lobSelected: EventEmitter<any>;
43
+ langChange: EventEmitter<any>;
44
+ overlayStateChange: EventEmitter<boolean>;
45
+ confirmDialog: ConfirmDialogComponent;
46
+ headerLogo: any;
47
+ userTimeZoneAbbreviations: string;
48
+ userTimeZoneFullForm: string;
49
+ userLOBList: any;
50
+ tempSelectedLOBId: any;
51
+ showLobLoader: boolean;
52
+ totalEmails: string;
53
+ userNotificationCount: string;
54
+ userDetails: any;
55
+ ListOfUserPrivillegedApp: AppDetails[];
56
+ userdisplayName: string;
57
+ userDetailsInfo: any;
58
+ isOpenSidePopup: boolean;
59
+ showUserDetails: boolean;
60
+ userAppLoaderLoadder: boolean;
61
+ repeatLoader: any[];
62
+ showMailboxScreenflag: boolean;
63
+ isErrorFound: boolean;
64
+ userNotificationCountObj: any;
65
+ eventwiseNotificationCount: never[];
66
+ notificationLoadder: boolean;
67
+ private unsubscribeAPIEventListenerData;
68
+ private unsubscribeSidebarListenerData;
69
+ userId: string;
70
+ assetCategoryMenuList: any;
71
+ showbusinessFileds: boolean;
72
+ showInfraFileds: boolean;
73
+ showfiltersearch: boolean;
74
+ clickInside: boolean;
75
+ isLobContentLoaded: boolean;
76
+ isHeaderContentLoaded: boolean;
77
+ requestTypeId: number;
78
+ accessTypes: Array<AccessType>;
79
+ selectedAssetName: any;
80
+ assetName: string;
81
+ assetId: number;
82
+ allCategory: {
83
+ assetTypeId: number;
84
+ assetTypeValue: string;
85
+ assetList: {
86
+ assetId: number;
87
+ assetName: string;
88
+ }[];
89
+ };
90
+ private translateName;
91
+ appPanel: any;
92
+ notifyModalRef: ElementRef;
93
+ notifyModal: ElementRef;
94
+ private bsModalInstance;
95
+ isErrorOccured: boolean;
96
+ repeatLoader1: any[];
97
+ constructor(libService: CommonHeaderLibService, cdRef: ChangeDetectorRef, _signalRService: RestSignalRService, _eventService: EventService, translate: TranslateService, modalService: NgbModal, translateService: TranslateService, httpCommonService: HttpCommonService, msgService: ToastMsgService);
98
+ ngOnInit(): void;
99
+ onLoadMethod(): void;
100
+ showMailBoxScreen(): void;
101
+ hideMailBoxScreen(): void;
102
+ languageChange(event: any): void;
103
+ showUserAppsPanel(event: Event): void;
104
+ showUserDetailsPanel(): void;
105
+ closeSidePopup(): void;
106
+ openSidePopup(): void;
107
+ getConnectionofApplication(appCode: string): void;
108
+ private getConnectToSingalRhub;
109
+ ngAfterViewInit(): void;
110
+ onDemandActions(): void;
111
+ listenToTimeZoneConfig(): void;
112
+ listenToEmailCountEvent(): void;
113
+ private ListenToTranslateEvent;
114
+ private getTranslateContent;
115
+ OpenNotificationModal(): void;
116
+ closeModal(): void;
117
+ getEventwiseNotification(): void;
118
+ setWebAPIURL(): void;
119
+ private getUserActivityDetails;
120
+ getTotalNotificationCounts(data: any): void;
121
+ getLoggedInUserDetails(response: any): void;
122
+ getListOfTimeZones(result: any): void;
123
+ private getUserEmailCount;
124
+ /** API to get the header LOGO */
125
+ loadHeaderLogo(): void;
126
+ /** API to get the timezone */
127
+ getListofLOB(): void;
128
+ onLobChangeEvent(event: any): void;
129
+ openConfirm(event: Event): void;
130
+ lobChangeConfirmation(event: any): void;
131
+ setCustomLobId(lobId: any): void;
132
+ getLobById(list: any, id: any): {
133
+ LOBId?: undefined;
134
+ LOBName?: undefined;
135
+ CustomLOBSetByParent?: undefined;
136
+ } | {
137
+ LOBId: any;
138
+ LOBName: any;
139
+ CustomLOBSetByParent: boolean;
140
+ };
141
+ getEventwiseNotificationCount(): void;
142
+ getUserAssignedApp(): void;
143
+ getLoggedInuserDetails(): void;
144
+ ngOnDestroy(): void;
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderLibComponent, never>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommonHeaderLibComponent, "lib-common-header-lib", never, { "EnableLogo": "EnableLogo"; "moduleName": "moduleName"; "EnableTimeZone": "EnableTimeZone"; "EnableLOB": "EnableLOB"; "EnableMail": "EnableMail"; "EnableNotifications": "EnableNotifications"; "EnableMoreApps": "EnableMoreApps"; "EnableProfile": "EnableProfile"; "selectedLOBId": "selectedLOBId"; }, { "lobSelected": "lobSelected"; "langChange": "langChange"; "overlayStateChange": "overlayStateChange"; }, never, never, false>;
147
+ }
148
+ export {};
@@ -0,0 +1,43 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
4
+ import { StorageService } from './services/storage.service';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./common-header-lib.component";
7
+ import * as i2 from "./pipes/slice-to-two.pipe";
8
+ import * as i3 from "./pipes/custome-dateformat.pipe";
9
+ import * as i4 from "./pipes/date-diff.pipe";
10
+ import * as i5 from "./components/user-sidebar/user-sidebar.component";
11
+ import * as i6 from "./components/side-popup/side-popup.component";
12
+ import * as i7 from "./components/ng-translation/ng-translation.component";
13
+ import * as i8 from "./components/user-mailbox/user-mailbox.component";
14
+ import * as i9 from "./components/notification-sidebar/notification-sidebar.component";
15
+ import * as i10 from "./components/general-configuration/general-configuration.component";
16
+ import * as i11 from "./components/general-configuration/timezone-configuration/timezone-configuration.component";
17
+ import * as i12 from "./components/general-configuration/landingpg-config/landingpg-config.component";
18
+ import * as i13 from "./components/no-service-my-access-pg/no-service-my-access-pg.component";
19
+ import * as i14 from "./components/grid-pagination/grid-pagination.component";
20
+ import * as i15 from "./components/confirm-dialog/confirm-dialog.component";
21
+ import * as i16 from "./components/viewpassword-popup/viewpassword-popup.component";
22
+ import * as i17 from "@angular/common";
23
+ import * as i18 from "@angular/common/http";
24
+ import * as i19 from "@angular/forms";
25
+ import * as i20 from "primeng/inputtext";
26
+ import * as i21 from "primeng/dropdown";
27
+ import * as i22 from "primeng/overlaypanel";
28
+ import * as i23 from "primeng/badge";
29
+ import * as i24 from "primeng/dialog";
30
+ import * as i25 from "primeng/skeleton";
31
+ import * as i26 from "primeng/paginator";
32
+ import * as i27 from "primeng/table";
33
+ import * as i28 from "primeng/button";
34
+ import * as i29 from "primeng/confirmdialog";
35
+ import * as i30 from "@ng-bootstrap/ng-bootstrap";
36
+ import * as i31 from "@ngx-translate/core";
37
+ export declare class CommonHeaderLibModule {
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderLibModule, never>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CommonHeaderLibModule, [typeof i1.CommonHeaderLibComponent, typeof i2.SliceToTwoPipe, typeof i3.customDateFormatPipe, typeof i4.DateDiffPipe, typeof i5.UserSidebarComponent, typeof i6.SidePopupComponent, typeof i7.NgTranslationComponent, typeof i8.UserMailboxComponent, typeof i9.NotificationSidebarComponent, typeof i10.GeneralConfigurationComponent, typeof i11.TimezoneConfigurationComponent, typeof i12.LandingpgConfigComponent, typeof i13.NoServiceMyAccessPgComponent, typeof i14.GridPaginationComponent, typeof i15.ConfirmDialogComponent, typeof i16.ViewpasswordPopupComponent], [typeof i17.CommonModule, typeof i18.HttpClientModule, typeof i19.ReactiveFormsModule, typeof i20.InputTextModule, typeof i21.DropdownModule, typeof i22.OverlayPanelModule, typeof i23.BadgeModule, typeof i24.DialogModule, typeof i25.SkeletonModule, typeof i26.PaginatorModule, typeof i27.TableModule, typeof i28.ButtonModule, typeof i29.ConfirmDialogModule, typeof i30.NgbModule, typeof i31.TranslateModule], [typeof i1.CommonHeaderLibComponent, typeof i2.SliceToTwoPipe, typeof i4.DateDiffPipe, typeof i3.customDateFormatPipe, typeof i15.ConfirmDialogComponent, typeof i16.ViewpasswordPopupComponent, typeof i31.TranslateModule]>;
40
+ static ɵinj: i0.ɵɵInjectorDeclaration<CommonHeaderLibModule>;
41
+ }
42
+ export declare function initTranslateService(translate: TranslateService, localStorageService: StorageService): () => import("rxjs").Subscription;
43
+ export declare function createLibTranslateLoader(http: HttpClient): TranslateHttpLoader;
@@ -0,0 +1,25 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CommonHeaderLibService {
4
+ private readonly http;
5
+ apiUrl: string;
6
+ constructor(http: HttpClient);
7
+ getGlobalTimeZone(): import("rxjs").Observable<any>;
8
+ getLoggedInUserDetails(url: string): import("rxjs").Observable<any>;
9
+ getLOBList(url: string): import("rxjs").Observable<any>;
10
+ getUserAssignedApps(url: string): import("rxjs").Observable<any>;
11
+ getUnreadUserEmailsCount(url: string): import("rxjs").Observable<any>;
12
+ getUserAssignedMails(userDetails: any, url: string): import("rxjs").Observable<any>;
13
+ getWorkFlowTicketEventwiseCount(userDetails: any, url: string): import("rxjs").Observable<any>;
14
+ errorHandler(e: any): any;
15
+ getUserPreferredAssetTypeDetails(url: string): import("rxjs").Observable<any>;
16
+ getUserPreferredAssetName(payload: any, url: string): import("rxjs").Observable<any>;
17
+ getServiceNameByAssetTypeEvent(payload: any, url: string): import("rxjs").Observable<any>;
18
+ getPreferencePathDetails(payload: any, url: string): import("rxjs").Observable<any>;
19
+ updatePreferencePath(payload: any, url: string): import("rxjs").Observable<boolean>;
20
+ updateUserTimeZone(tz: string, url: string): import("rxjs").Observable<any>;
21
+ setLandingPgPreference(moduleId: string, url: string): import("rxjs").Observable<any>;
22
+ getInitiateUserLogout(): import("rxjs").Observable<any>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderLibService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonHeaderLibService>;
25
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ConfirmationService } from 'primeng/api';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ConfirmDialogComponent {
5
+ private confirmationService;
6
+ header: string;
7
+ message: string;
8
+ result: EventEmitter<boolean>;
9
+ constructor(confirmationService: ConfirmationService);
10
+ openConfirmModal(event: Event): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "confirm-dialog", never, { "header": "header"; "message": "message"; }, { "result": "result"; }, never, never, false>;
13
+ }
@@ -0,0 +1,86 @@
1
+ import { EncrydecryRSAdataService } from './../../services/EncrypDecryp_RSA.service';
2
+ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
4
+ import { TranslateService } from '@ngx-translate/core';
5
+ import { RESTLoginFormService } from '../../services/rest-login-form.service';
6
+ import { ASYNCPasswordcheckService } from '../../services/async-passwordcheck.service';
7
+ import { ToastMsgService } from '../../services/toast-msg.service';
8
+ import { VaptValidationService } from '../../services/vapt-validation.service';
9
+ import { CommonHeaderLibService } from '../../common-header-lib.service';
10
+ import { DynamicDialogConfig } from 'primeng/dynamicdialog';
11
+ import { HttpCommonService } from '../../services/http/http-common.service';
12
+ import { HttpGeneralConfigurationService } from '../../services/http/http-general-config.service';
13
+ import * as i0 from "@angular/core";
14
+ export declare class GeneralConfigurationComponent implements OnInit, AfterViewInit, OnDestroy {
15
+ private libService;
16
+ private fb;
17
+ private msgService;
18
+ private encryptService;
19
+ private loginService;
20
+ private _validatePwdService;
21
+ private translateService;
22
+ private readonly _vaptService;
23
+ readonly config: DynamicDialogConfig;
24
+ readonly httpCommonService: HttpCommonService;
25
+ readonly httpGeneralConfigService: HttpGeneralConfigurationService;
26
+ ShowPreferencePathScreen: boolean;
27
+ ShowUserProfileScreen: boolean;
28
+ ShowChangePasswordScreen: boolean;
29
+ ShowTimeZoneScreen: boolean;
30
+ ShowLandinPgScreen: boolean;
31
+ ShowTimeZoneBtn: boolean;
32
+ showStatus: boolean;
33
+ userAssetTypeList: never[];
34
+ userAssetNameList: never[];
35
+ userServiceList: never[];
36
+ userSelectedTimezone: string;
37
+ filePathName: string;
38
+ lastUpdatedFileStatus: string;
39
+ private preferencePathID;
40
+ appSettingForm: FormGroup;
41
+ userResetPasswordForm: FormGroup;
42
+ timeZoneForm: FormGroup;
43
+ private unsubscribeAPIEventListenerData;
44
+ makeNewPwdVisible: boolean;
45
+ makeOldPwdVisible: boolean;
46
+ makeCnfrmPwdVisible: boolean;
47
+ isAssetTypeLoading: boolean;
48
+ isAssetNameLoading: boolean;
49
+ isConnectionMethodLoading: boolean;
50
+ isPathUpdated: boolean;
51
+ pwderrorMsg: string;
52
+ protected AssetTypeEvent: string;
53
+ protected AssetNameEvent: string;
54
+ protected ConnectionMethodEvent: string;
55
+ pathSuccessMsg: string;
56
+ pathErrorMsg: string;
57
+ apiURL: string;
58
+ constructor(libService: CommonHeaderLibService, fb: FormBuilder, msgService: ToastMsgService, encryptService: EncrydecryRSAdataService, loginService: RESTLoginFormService, _validatePwdService: ASYNCPasswordcheckService, translateService: TranslateService, _vaptService: VaptValidationService, config: DynamicDialogConfig, httpCommonService: HttpCommonService, httpGeneralConfigService: HttpGeneralConfigurationService);
59
+ ngOnInit(): void;
60
+ ngAfterViewInit(): void;
61
+ getInitalizeForm(): void;
62
+ private getTranslateContent;
63
+ OpenPreferencePathScreen(): void;
64
+ OpenUserProfileScreen(): void;
65
+ OpenChangePasswordScreen(): void;
66
+ OpenTimezoneScreen(): void;
67
+ OpenLandingPgConfig(): void;
68
+ closeAllScreen(): void;
69
+ protected preferencePathValueChange(eventName: string): void;
70
+ getServiceAssetDetails(): void;
71
+ private getServiceAssetName;
72
+ private fetchServiceNameByAssetTypeEvent;
73
+ private getFilePathDetails;
74
+ setUserPreferencePath(appSettingForm: any): void;
75
+ resetLoggedInPwd(): void;
76
+ changeLoggedInPwd(): void;
77
+ getEncryptKey(): void;
78
+ getglobalConfigDetails(): void;
79
+ togglePasswordVisibility(flag: number): void;
80
+ resetForm(): void;
81
+ resetFormfields(fields: string[]): void;
82
+ toggleBtnLoadder(flag: boolean): void;
83
+ ngOnDestroy(): void;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<GeneralConfigurationComponent, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<GeneralConfigurationComponent, "app-general-configuration", never, {}, {}, never, never, false>;
86
+ }
@@ -0,0 +1,37 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup, FormBuilder } from '@angular/forms';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { CommonHeaderLibService } from '../../../common-header-lib.service';
5
+ import { HttpCommonService } from '../../../services/http/http-common.service';
6
+ import { EncrydecryRSAdataService } from '../../../services/EncrypDecryp_RSA.service';
7
+ import { ToastMsgService } from '../../../services/toast-msg.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class LandingpgConfigComponent implements OnInit {
10
+ private readonly libService;
11
+ private readonly fb;
12
+ private readonly msgService;
13
+ private readonly translateService;
14
+ private readonly _encryptRSAService;
15
+ private httpCommonService;
16
+ AppNameForm: FormGroup;
17
+ ListofApplicationNames: never[];
18
+ isAppNameLoading: boolean;
19
+ isAppNameUpdate: boolean;
20
+ updateSuccess: string;
21
+ updateError: string;
22
+ userConfiguredApp: any;
23
+ private unsubscribeAPIEventListenerData;
24
+ apiUrl: string;
25
+ constructor(libService: CommonHeaderLibService, fb: FormBuilder, msgService: ToastMsgService, translateService: TranslateService, _encryptRSAService: EncrydecryRSAdataService, httpCommonService: HttpCommonService);
26
+ ngAfterViewInit(): void;
27
+ ngOnInit(): void;
28
+ getInitalizeForm(): void;
29
+ private getTranslateContent;
30
+ getListofApplications(): void;
31
+ protected getUpdateLandingPgPreference(): void;
32
+ setPostLoginModuleOption(userConfiguredApp: any): void;
33
+ showBtnLoadder(flag: boolean): void;
34
+ ngOnDestroy(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<LandingpgConfigComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<LandingpgConfigComponent, "app-landingpg-config", never, {}, {}, never, never, false>;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { EventService } from '../../../services/event.service';
5
+ import { StorageService } from '../../../services/storage.service';
6
+ import { HttpCommonService } from '../../../services/http/http-common.service';
7
+ import { ToastMsgService } from '../../../services/toast-msg.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TimezoneConfigurationComponent implements OnInit, AfterViewInit {
10
+ private readonly fb;
11
+ private readonly msgService;
12
+ private readonly _storageService;
13
+ private readonly _eventService;
14
+ private readonly translateService;
15
+ private httpCommonService;
16
+ selectedTimeZone: any;
17
+ timeZoneForm: FormGroup;
18
+ ListOfTimeZones: never[];
19
+ isTimezoneLoading: boolean;
20
+ isTimezoneupdate: boolean;
21
+ private unsubscribeAPIEventListenerData;
22
+ tzSuccessMsg: string;
23
+ tzErrorMsg: string;
24
+ apiUrl: string;
25
+ closepopup: EventEmitter<boolean>;
26
+ constructor(fb: FormBuilder, msgService: ToastMsgService, _storageService: StorageService, _eventService: EventService, translateService: TranslateService, httpCommonService: HttpCommonService);
27
+ ngAfterViewInit(): void;
28
+ ngOnInit(): void;
29
+ getInitalizeForm(): void;
30
+ private getTranslateContent;
31
+ getListofTimeZones(): void;
32
+ setUserTimeZone(): void;
33
+ setTimezoneOptionValue(selectedTZ: any): void;
34
+ showBtnLoadder(flag: boolean): void;
35
+ ngOnDestroy(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneConfigurationComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimezoneConfigurationComponent, "app-timezone-configuration", never, {}, { "closepopup": "closepopup"; }, never, never, false>;
38
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ interface PageEvent {
4
+ first: number;
5
+ rows: number;
6
+ page: number;
7
+ pageCount: number;
8
+ }
9
+ export declare class GridPaginationComponent {
10
+ first: number;
11
+ currentPgNo: number;
12
+ rows: number;
13
+ totalRecords: number;
14
+ onPgChange: EventEmitter<{}>;
15
+ constructor();
16
+ onPageChange(event: PageEvent): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridPaginationComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridPaginationComponent, "app-grid-pagination", never, { "currentPgNo": "currentPgNo"; "rows": "rows"; "totalRecords": "totalRecords"; }, { "onPgChange": "onPgChange"; }, never, never, false>;
19
+ }
20
+ export {};
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { StorageService } from '../../services/storage.service';
4
+ import { CookieService } from 'ngx-cookie-service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NgTranslationComponent implements OnInit {
7
+ _translate: TranslateService;
8
+ private readonly _localstorage;
9
+ private readonly cookieService;
10
+ languages: {
11
+ langKey: string;
12
+ langName: string;
13
+ }[];
14
+ selectedLang: any;
15
+ constructor(_translate: TranslateService, _localstorage: StorageService, cookieService: CookieService);
16
+ ngOnInit(): void;
17
+ setDefaultLanguage(): void;
18
+ selectLang(event: any): void;
19
+ saveUserLanguage(lang: any): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgTranslationComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgTranslationComponent, "ng-translation", never, {}, {}, never, never, false>;
22
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NoServiceMyAccessPgComponent {
3
+ heading: string;
4
+ subHeading: string;
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoServiceMyAccessPgComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoServiceMyAccessPgComponent, "app-no-service-my-access-pg", never, { "heading": "heading"; "subHeading": "subHeading"; }, {}, never, never, false>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NotificationSidebarComponent {
4
+ userNotificationCount: string;
5
+ userNotificationCountObj: {};
6
+ eventwiseNotificationCount: never[];
7
+ refreshNotification: EventEmitter<boolean>;
8
+ isErrorOccured: boolean;
9
+ notificationLoadder: boolean;
10
+ NoServiceMsgText: string;
11
+ repeatLoader: any[];
12
+ constructor();
13
+ getEventwiseNotification(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationSidebarComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationSidebarComponent, "app-notification-sidebar", never, { "userNotificationCount": "userNotificationCount"; "userNotificationCountObj": "userNotificationCountObj"; "eventwiseNotificationCount": "eventwiseNotificationCount"; "isErrorOccured": "isErrorOccured"; "notificationLoadder": "notificationLoadder"; }, { "refreshNotification": "refreshNotification"; }, never, never, false>;
16
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SidePopupComponent {
4
+ data: any;
5
+ closeDialogBox: EventEmitter<boolean>;
6
+ visible: boolean;
7
+ position: string;
8
+ header: string;
9
+ constructor();
10
+ getcloseDialogBox(): void;
11
+ ngOnDestroy(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidePopupComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidePopupComponent, "app-side-popup", never, { "visible": "visible"; "position": "position"; "header": "header"; }, { "closeDialogBox": "closeDialogBox"; }, never, ["*"], false>;
14
+ }
@@ -0,0 +1,40 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { DialogService } from 'primeng/dynamicdialog';
4
+ import { CommonHeaderLibService } from '../../common-header-lib.service';
5
+ import { HttpCommonService } from '../../services/http/http-common.service';
6
+ import { EventService } from '../../services/event.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class UserMailboxComponent implements OnInit {
9
+ private readonly dialogService;
10
+ private readonly _eventService;
11
+ private readonly translate;
12
+ private readonly libService;
13
+ private httpCommonService;
14
+ closeMailDialogBox: any;
15
+ ListOfUserAssingedMails: never[];
16
+ private unsubscribeAPIEventListenerData;
17
+ private ref;
18
+ showVaultBtn: boolean;
19
+ SSHFileName: 'ppk' | 'pem';
20
+ hasUserAssignedMails: boolean;
21
+ private currentPgNo;
22
+ private perPgRows;
23
+ totalCount: number;
24
+ NoServiceMsgText: string;
25
+ isContentLoaded: boolean;
26
+ repeatLoader: string[];
27
+ apiURL: string;
28
+ constructor(dialogService: DialogService, _eventService: EventService, translate: TranslateService, libService: CommonHeaderLibService, httpCommonService: HttpCommonService);
29
+ ngOnInit(): void;
30
+ onLoadMethods(): void;
31
+ openViewPasswordPanel(mailDetails: any): void;
32
+ private getUserEmails;
33
+ getTotalNoOfRecords(): void;
34
+ getglobalConfigDetails(): void;
35
+ updateDataOnPageChange(pageDetails: any): void;
36
+ closeMailBox(): void;
37
+ ngOnDestroy(): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserMailboxComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserMailboxComponent, "app-user-mailbox", never, { "apiURL": "apiURL"; }, { "closeMailDialogBox": "closeMailDialogBox"; }, never, never, false>;
40
+ }
@@ -0,0 +1,61 @@
1
+ import { Router } from '@angular/router';
2
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
3
+ import { CookieStorageManagerService } from '../../services/cookie-storage-manager.service';
4
+ import { DialogService } from 'primeng/dynamicdialog';
5
+ import { ToastMsgService } from '../../services/toast-msg.service';
6
+ import { CommonHeaderLibService } from '../../common-header-lib.service';
7
+ import { StorageService } from '../../services/storage.service';
8
+ import { TranslateService } from '@ngx-translate/core';
9
+ import { HttpCommonService } from '../../services/http/http-common.service';
10
+ import * as i0 from "@angular/core";
11
+ export declare class UserSidebarComponent implements OnInit, OnDestroy {
12
+ private readonly dialogService;
13
+ private readonly _cookieService;
14
+ private readonly route;
15
+ private readonly msgService;
16
+ private readonly _localStorage;
17
+ private readonly libService;
18
+ private translateService;
19
+ private httpCommonService;
20
+ userDetails: any;
21
+ showProfile: boolean;
22
+ userdisplayName: string;
23
+ userFirstName: string;
24
+ userLastName: string;
25
+ userLastLoggedIn: string;
26
+ private unsubscribeAPIEventListenerData;
27
+ closeDialogBox: EventEmitter<boolean>;
28
+ private ref;
29
+ sec: number;
30
+ min: number;
31
+ Hr: number;
32
+ isOpenSidePopup: boolean;
33
+ showUserDetails: boolean;
34
+ constructor(dialogService: DialogService, _cookieService: CookieStorageManagerService, route: Router, msgService: ToastMsgService, _localStorage: StorageService, libService: CommonHeaderLibService, translateService: TranslateService, httpCommonService: HttpCommonService);
35
+ ngOnInit(): void;
36
+ openUserSettingPanel(): void;
37
+ getLoggedInuserDteils(): void;
38
+ setLoggedInUserName(userdisplayName: string): void;
39
+ getcloseDialogBox(): void;
40
+ getUserLoggedInTime(): void;
41
+ logoutCurrentUser(): void;
42
+ /**
43
+ * This function destroys all user sessions by opening multiple SAML logout URLs in new browser tabs.
44
+ */
45
+ private destoryAllSessions;
46
+ private userWithWindowAuthentication;
47
+ getTotalSessionTime(): void;
48
+ updateTimer(): void;
49
+ convertUTCToLocal(newdate: string): string;
50
+ OpenArconLearningCenter(): void;
51
+ closeUserSettingPanel(): void;
52
+ getRedTheme(): void;
53
+ getBlackTheme(): void;
54
+ getBlueTheme(): void;
55
+ getSmallFont(): void;
56
+ getMediumFont(): void;
57
+ getLargeFont(): void;
58
+ ngOnDestroy(): void;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserSidebarComponent, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserSidebarComponent, "app-user-sidebar", never, {}, { "closeDialogBox": "closeDialogBox"; }, never, never, false>;
61
+ }
@@ -0,0 +1,47 @@
1
+ import { HttpCommonService } from './../../services/http/http-common.service';
2
+ import { OnInit, OnDestroy, AfterViewInit } from '@angular/core';
3
+ import { DynamicDialogConfig } from 'primeng/dynamicdialog';
4
+ import { TranslateService } from '@ngx-translate/core';
5
+ import { EventService } from '../../services/event.service';
6
+ import { ToastMsgService } from '../../services/toast-msg.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ViewpasswordPopupComponent implements OnInit, AfterViewInit, OnDestroy {
9
+ dialogService: DynamicDialogConfig;
10
+ private readonly msgService;
11
+ private readonly _eventService;
12
+ private readonly translateService;
13
+ private httpCommonService;
14
+ mailDetails: any;
15
+ protected servicePassword: string;
16
+ showVaultBtn: boolean;
17
+ isContentLoaded: boolean;
18
+ isValueUpdated: boolean;
19
+ OpenTillDate: string;
20
+ private unsubscribeAPIEventListenerData;
21
+ private totalEmails;
22
+ private SSHFileType;
23
+ private SSHFileName;
24
+ isSSHKey: boolean;
25
+ isPasswordVisible: boolean;
26
+ private PasswordViewSuccessMsg;
27
+ private SSHPasswordViewSuccessMsg;
28
+ private SSHPasswordViewErrorMsg;
29
+ private sshKeyForDownload;
30
+ constructor(dialogService: DynamicDialogConfig, msgService: ToastMsgService, _eventService: EventService, translateService: TranslateService, httpCommonService: HttpCommonService);
31
+ ngAfterViewInit(): void;
32
+ ngOnInit(): void;
33
+ private getSelectedGridData;
34
+ private getTranslateContent;
35
+ getAccessServicePassword(): void;
36
+ getHideServicePassword(): void;
37
+ private getCurrentEmailsCount;
38
+ getGenerateFile(): void;
39
+ private generateSSHKeyFile;
40
+ private updateMailCount;
41
+ copyToClipboard(text: string): void;
42
+ togglePasswordVisibility(): void;
43
+ showPassword(): boolean;
44
+ ngOnDestroy(): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewpasswordPopupComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewpasswordPopupComponent, "app-viewpassword-popup", never, {}, {}, never, never, false>;
47
+ }