client-core-services 1.0.0

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 (120) hide show
  1. package/README.md +24 -0
  2. package/esm2020/client-core-services.mjs +5 -0
  3. package/esm2020/lib/my-lib.module.mjs +98 -0
  4. package/esm2020/lib/services/api/api-call/api-call.service.mjs +766 -0
  5. package/esm2020/lib/services/api/api-call-responce/api-call-responce.service.mjs +191 -0
  6. package/esm2020/lib/services/api/api.service.mjs +611 -0
  7. package/esm2020/lib/services/api/auth/auth-guard.service.mjs +37 -0
  8. package/esm2020/lib/services/api/auth/auth.service.mjs +500 -0
  9. package/esm2020/lib/services/api/aws-secret-manager/aws-secret-manager.service.mjs +78 -0
  10. package/esm2020/lib/services/api/common-api/common-api.service.mjs +97 -0
  11. package/esm2020/lib/services/api/doc-api/doc-api.service.mjs +221 -0
  12. package/esm2020/lib/services/api/public-api/public-api.service.mjs +37 -0
  13. package/esm2020/lib/services/chart/chart.service.mjs +166 -0
  14. package/esm2020/lib/services/check-if/check-if.service.mjs +830 -0
  15. package/esm2020/lib/services/common-utils/common-function.service.mjs +1277 -0
  16. package/esm2020/lib/services/common-utils/core-function/core-function.service.mjs +283 -0
  17. package/esm2020/lib/services/customvalidation/customvalidation.service.mjs +202 -0
  18. package/esm2020/lib/services/data-share/auth-data-share/auth-data-share.service.mjs +70 -0
  19. package/esm2020/lib/services/data-share/common-app-data-share/common-app-data-share.service.mjs +82 -0
  20. package/esm2020/lib/services/data-share/data-share.service.mjs +370 -0
  21. package/esm2020/lib/services/data-share/doc-data-share/doc-data-share.service.mjs +81 -0
  22. package/esm2020/lib/services/data-share/public-data-share/public-data-share.service.mjs +25 -0
  23. package/esm2020/lib/services/download/download.service.mjs +151 -0
  24. package/esm2020/lib/services/encryption/encryption.service.mjs +20 -0
  25. package/esm2020/lib/services/env/env.service.mjs +232 -0
  26. package/esm2020/lib/services/env/serverHostList.mjs +56 -0
  27. package/esm2020/lib/services/fileHandler/file-handler.service.mjs +136 -0
  28. package/esm2020/lib/services/form/form-control/form-control.service.mjs +654 -0
  29. package/esm2020/lib/services/form/form-creation/form-creation.service.mjs +880 -0
  30. package/esm2020/lib/services/form/form-value/form-value.service.mjs +464 -0
  31. package/esm2020/lib/services/form/multiple-form/multiple-form.service.mjs +346 -0
  32. package/esm2020/lib/services/grid/grid-common-function/grid-common-function.service.mjs +875 -0
  33. package/esm2020/lib/services/grid/grid-selection/grid-selection.service.mjs +84 -0
  34. package/esm2020/lib/services/lims-calculations/lims-calculations.service.mjs +2304 -0
  35. package/esm2020/lib/services/loader/loader.service.mjs +17 -0
  36. package/esm2020/lib/services/menu-or-module-common/menu-or-module-common.service.mjs +558 -0
  37. package/esm2020/lib/services/model/model.service.mjs +30 -0
  38. package/esm2020/lib/services/notify/notification.service.mjs +84 -0
  39. package/esm2020/lib/services/operator/operator.service.mjs +58 -0
  40. package/esm2020/lib/services/permission/permission.service.mjs +88 -0
  41. package/esm2020/lib/services/router/router.service.mjs +78 -0
  42. package/esm2020/lib/services/storage/cookies.service.mjs +56 -0
  43. package/esm2020/lib/services/storage/storage.service.mjs +749 -0
  44. package/esm2020/lib/services/tree-component/interface.mjs +6 -0
  45. package/esm2020/lib/services/tree-component/tree-component.service.mjs +394 -0
  46. package/esm2020/lib/services/userPrefrence/user-prefrence.service.mjs +767 -0
  47. package/esm2020/lib/services/voice-recognition/voice-recognition.service.mjs +97 -0
  48. package/esm2020/lib/shared/configuration/config.mjs +76 -0
  49. package/esm2020/lib/shared/configuration/editor-config.mjs +121 -0
  50. package/esm2020/lib/shared/enums/common.enum.mjs +18 -0
  51. package/esm2020/lib/shared/enums/config.enum.mjs +56 -0
  52. package/esm2020/lib/shared/enums/end-point.enum.mjs +69 -0
  53. package/esm2020/lib/shared/enums/flags.enum.mjs +20 -0
  54. package/esm2020/lib/shared/enums/keycodes.enum.mjs +122 -0
  55. package/esm2020/lib/shared/enums/operator_type.enum.mjs +13 -0
  56. package/esm2020/lib/shared/enums/storage-token-status.enum.mjs +10 -0
  57. package/esm2020/lib/shared/platform.mjs +2 -0
  58. package/esm2020/public-api.mjs +53 -0
  59. package/fesm2015/client-core-services.mjs +15487 -0
  60. package/fesm2015/client-core-services.mjs.map +1 -0
  61. package/fesm2020/client-core-services.mjs +15482 -0
  62. package/fesm2020/client-core-services.mjs.map +1 -0
  63. package/index.d.ts +5 -0
  64. package/lib/my-lib.module.d.ts +18 -0
  65. package/lib/services/api/api-call/api-call.service.d.ts +60 -0
  66. package/lib/services/api/api-call-responce/api-call-responce.service.d.ts +43 -0
  67. package/lib/services/api/api.service.d.ts +88 -0
  68. package/lib/services/api/auth/auth-guard.service.d.ts +13 -0
  69. package/lib/services/api/auth/auth.service.d.ts +50 -0
  70. package/lib/services/api/aws-secret-manager/aws-secret-manager.service.d.ts +22 -0
  71. package/lib/services/api/common-api/common-api.service.d.ts +22 -0
  72. package/lib/services/api/doc-api/doc-api.service.d.ts +35 -0
  73. package/lib/services/api/public-api/public-api.service.d.ts +14 -0
  74. package/lib/services/chart/chart.service.d.ts +21 -0
  75. package/lib/services/check-if/check-if.service.d.ts +50 -0
  76. package/lib/services/common-utils/common-function.service.d.ts +84 -0
  77. package/lib/services/common-utils/core-function/core-function.service.d.ts +21 -0
  78. package/lib/services/customvalidation/customvalidation.service.d.ts +21 -0
  79. package/lib/services/data-share/auth-data-share/auth-data-share.service.d.ts +33 -0
  80. package/lib/services/data-share/common-app-data-share/common-app-data-share.service.d.ts +36 -0
  81. package/lib/services/data-share/data-share.service.d.ts +174 -0
  82. package/lib/services/data-share/doc-data-share/doc-data-share.service.d.ts +33 -0
  83. package/lib/services/data-share/public-data-share/public-data-share.service.d.ts +12 -0
  84. package/lib/services/download/download.service.d.ts +35 -0
  85. package/lib/services/encryption/encryption.service.d.ts +8 -0
  86. package/lib/services/env/env.service.d.ts +44 -0
  87. package/lib/services/env/serverHostList.d.ts +9 -0
  88. package/lib/services/fileHandler/file-handler.service.d.ts +17 -0
  89. package/lib/services/form/form-control/form-control.service.d.ts +44 -0
  90. package/lib/services/form/form-creation/form-creation.service.d.ts +41 -0
  91. package/lib/services/form/form-value/form-value.service.d.ts +32 -0
  92. package/lib/services/form/multiple-form/multiple-form.service.d.ts +54 -0
  93. package/lib/services/grid/grid-common-function/grid-common-function.service.d.ts +74 -0
  94. package/lib/services/grid/grid-selection/grid-selection.service.d.ts +16 -0
  95. package/lib/services/lims-calculations/lims-calculations.service.d.ts +87 -0
  96. package/lib/services/loader/loader.service.d.ts +8 -0
  97. package/lib/services/menu-or-module-common/menu-or-module-common.service.d.ts +59 -0
  98. package/lib/services/model/model.service.d.ts +11 -0
  99. package/lib/services/notify/notification.service.d.ts +22 -0
  100. package/lib/services/operator/operator.service.d.ts +27 -0
  101. package/lib/services/permission/permission.service.d.ts +18 -0
  102. package/lib/services/router/router.service.d.ts +14 -0
  103. package/lib/services/storage/cookies.service.d.ts +11 -0
  104. package/lib/services/storage/storage.service.d.ts +132 -0
  105. package/lib/services/tree-component/interface.d.ts +13 -0
  106. package/lib/services/tree-component/tree-component.service.d.ts +38 -0
  107. package/lib/services/userPrefrence/user-prefrence.service.d.ts +75 -0
  108. package/lib/services/voice-recognition/voice-recognition.service.d.ts +36 -0
  109. package/lib/shared/configuration/config.d.ts +144 -0
  110. package/lib/shared/configuration/editor-config.d.ts +72 -0
  111. package/lib/shared/enums/common.enum.d.ts +16 -0
  112. package/lib/shared/enums/config.enum.d.ts +54 -0
  113. package/lib/shared/enums/end-point.enum.d.ts +66 -0
  114. package/lib/shared/enums/flags.enum.d.ts +18 -0
  115. package/lib/shared/enums/keycodes.enum.d.ts +120 -0
  116. package/lib/shared/enums/operator_type.enum.d.ts +9 -0
  117. package/lib/shared/enums/storage-token-status.enum.d.ts +8 -0
  118. package/lib/shared/platform.d.ts +1 -0
  119. package/package.json +40 -0
  120. package/public-api.d.ts +49 -0
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="client-core-services" />
5
+ export * from './public-api';
@@ -0,0 +1,18 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/platform-browser";
4
+ import * as i2 from "@angular/common/http";
5
+ import * as i3 from "@angular/forms";
6
+ import * as i4 from "@angular/material/button";
7
+ import * as i5 from "@angular/material/card";
8
+ import * as i6 from "@angular/material/form-field";
9
+ import * as i7 from "@angular/material/input";
10
+ import * as i8 from "@angular/platform-browser/animations";
11
+ import * as i9 from "@angular/material/snack-bar";
12
+ import * as i10 from "@angular/common";
13
+ export declare class MyLibModule {
14
+ static forRoot(environment: any): ModuleWithProviders<MyLibModule>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyLibModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MyLibModule, never, [typeof i1.BrowserModule, typeof i2.HttpClientModule, typeof i3.FormsModule, typeof i4.MatButtonModule, typeof i5.MatCardModule, typeof i6.MatFormFieldModule, typeof i7.MatInputModule, typeof i8.BrowserAnimationsModule, typeof i9.MatSnackBarModule], [typeof i10.CommonModule, typeof i1.BrowserModule, typeof i2.HttpClientModule, typeof i3.FormsModule, typeof i4.MatButtonModule, typeof i5.MatCardModule, typeof i6.MatFormFieldModule, typeof i7.MatInputModule, typeof i8.BrowserAnimationsModule, typeof i9.MatSnackBarModule]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<MyLibModule>;
18
+ }
@@ -0,0 +1,60 @@
1
+ import { CheckIfService } from './../../check-if/check-if.service';
2
+ import { CommonFunctionService } from '../../common-utils/common-function.service';
3
+ import { StorageService } from '../../storage/storage.service';
4
+ import { CoreFunctionService } from '../../common-utils/core-function/core-function.service';
5
+ import { ApiService } from '../../api/api.service';
6
+ import { ModelService } from '../../model/model.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ApiCallService {
9
+ private commonFunctionService;
10
+ private storageService;
11
+ private coreFunctionService;
12
+ private apiService;
13
+ private checkIfService;
14
+ private modalService;
15
+ pageNumber: number;
16
+ itemNumOfGrid: any;
17
+ constructor(commonFunctionService: CommonFunctionService, storageService: StorageService, coreFunctionService: CoreFunctionService, apiService: ApiService, checkIfService: CheckIfService, modalService: ModelService);
18
+ getOnchangePayload(tableFields: any, formValue: any, formValueWithCustomData: any): any;
19
+ getStaticDataPayload(staticModal: any, object: any, formDataObject: any, multipleFormCollection: any, tableFields: any, formFieldButtons: any, tab: any, form: any, saveResponceData: any, editedRowIndex: any): any;
20
+ getOnClickLoadDataPayloads(field: any, multipleFormCollection: any, formValue: any, formValueWithCustomData: any): any[];
21
+ getPaylodWithCriteria(params: any, callback: any, criteria: any, object: any, data_template?: any): any;
22
+ getCriteriaList(criteria: any, object: any): any;
23
+ getTabsPayloadForCountList(tabs: any): any;
24
+ getTabsCountPyload(tabs: any): void;
25
+ commanApiPayload(headElement: any, tableField: any, actionButton: any, object?: any): any;
26
+ getfilterCrlist(headElements: any, formValue: any): any;
27
+ getValueForDotFieldName(value: any, fieldName: any): string;
28
+ getUserPrefrerence(user: any): void;
29
+ getUserNotification(pageNo: any): void;
30
+ getUserNotificationSetting(): void;
31
+ getApplicationAllSettings(): void;
32
+ getDataForGrid(page: any, tab: any, currentMenu: any, headElements: any, filterForm: any, selectContact: any): {
33
+ data: any;
34
+ path: null;
35
+ };
36
+ preparePayloadWithCrlist(tab: any, currentMenu: any, headElements: any, filterForm: any): any;
37
+ getDataForGridFilter(page: any, tab: any, currentMenu: any, headElements: any, filterForm: any): {
38
+ data: any;
39
+ path: null;
40
+ };
41
+ getPage(page: number, tab: any, currentMenu: string, headElements: object, filterForm: object, selectContact: any): {
42
+ data: any;
43
+ path: null;
44
+ };
45
+ getRealTimeGridData(currentMenu: any, object: any): void;
46
+ getFormForTds(data: any, currentMenu: any, object: any): {
47
+ _id: any;
48
+ data: any;
49
+ };
50
+ getPdf(data: any, currentMenu: any): string;
51
+ downloadPdf(data: any, currentMenu: any): string;
52
+ getTemData(tempName: any): any;
53
+ getTempPayload(value: any, operator: string): any;
54
+ setPageNoAndSize(payload: any, page: number): any;
55
+ checkQtmpApi(params: any, field: any, payload: any, multipleFormCollection: any, object: any, objectWithCustom: any): any;
56
+ previewModal(gridData: any, currentMenu: any, modalId: any): void;
57
+ preview(gridData: any, currentMenu: any, modalId: any): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiCallService, never>;
59
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiCallService>;
60
+ }
@@ -0,0 +1,43 @@
1
+ import { EnvService } from '../../env/env.service';
2
+ import { CoreFunctionService } from '../../common-utils/core-function/core-function.service';
3
+ import { StorageService } from '../../storage/storage.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ApiCallResponceService {
6
+ private envService;
7
+ private coreFunctionService;
8
+ private storageService;
9
+ constructor(envService: EnvService, coreFunctionService: CoreFunctionService, storageService: StorageService);
10
+ saveFormResponceHandling(saveFromDataRsponce: any, showNotify: boolean, updateMode: boolean, currentActionButton: any, nextIndex: any, dataListForUpload: any, saveResponceData: any, custmizedFormValue: any, modifyCustmizedFormValue: any, dataSaveInProgress: any, isStepper: any, complete_object_payload_mode: any, form: any): {
11
+ message: {
12
+ msg: string;
13
+ class: string;
14
+ };
15
+ saveDuplicateData: boolean;
16
+ showNotify: boolean;
17
+ updateMode: boolean;
18
+ next: boolean;
19
+ resetForm: boolean;
20
+ resetResponce: boolean;
21
+ successAction: boolean;
22
+ dataListForUpload: any;
23
+ saveResponceData: any;
24
+ custmizedFormValue: any;
25
+ modifyCustmizedFormValue: any;
26
+ dataSaveInProgress: any;
27
+ isStepper: any;
28
+ complete_object_payload_mode: any;
29
+ public: {
30
+ check: boolean;
31
+ getFormData: {};
32
+ url: string;
33
+ };
34
+ };
35
+ checkOnSuccessAction(currentActionButton: any, forms: any): {
36
+ actionValue: string;
37
+ index: number;
38
+ };
39
+ setGridFilterData(gridFilterData: any, tabFilterData: any): any;
40
+ setTypeaheadData(data: any, typeAheadData: any): any;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiCallResponceService, never>;
42
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiCallResponceService>;
43
+ }
@@ -0,0 +1,88 @@
1
+ import { CoreFunctionService } from './../common-utils/core-function/core-function.service';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { Observable } from 'rxjs';
4
+ import { DataShareService } from '../data-share/data-share.service';
5
+ import { EnvService } from '../env/env.service';
6
+ import { ModelService } from '../model/model.service';
7
+ import { StorageService } from '../storage/storage.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ApiService {
10
+ private dataShareService;
11
+ private http;
12
+ private envService;
13
+ private modalService;
14
+ private stroageService;
15
+ private coreFunctionService;
16
+ serverReq: boolean;
17
+ constructor(dataShareService: DataShareService, http: HttpClient, envService: EnvService, modalService: ModelService, stroageService: StorageService, coreFunctionService: CoreFunctionService);
18
+ getStatiData(payloads: any): void;
19
+ staticDataCall(payload: object): Observable<Object>;
20
+ setStaticData(data: any): void;
21
+ ResetStaticData(keyName: any): void;
22
+ resetStaticAllData(): void;
23
+ getGridCountData(payloads: string): void;
24
+ getTabCountData(payloads: any): void;
25
+ gridCountDataCall(payload: object): Observable<Object>;
26
+ setGridCountData(data: any): void;
27
+ resetGridCountAllData(): void;
28
+ getGridData(payload: any): void;
29
+ resetGridData(): void;
30
+ getDashletMster(payload: any): void;
31
+ getMongoDashletMster(payload: any): void;
32
+ getMongoDashbord(payload: any): void;
33
+ GetTempMenu(payload: any): void;
34
+ resetMenuData(): void;
35
+ GetTempData(payload: any): void;
36
+ resetTempData(): void;
37
+ deleteGridRow(payload: any): void;
38
+ SaveFormData(payload: any): void;
39
+ SendEmail(payload: any): void;
40
+ DynamicApiCall(payload: any): void;
41
+ saveCall(api: string, payload: any): void;
42
+ ResetSaveResponce(): void;
43
+ GetFilterGridData(payload: any): void;
44
+ GetTypeaheadData(payload: any): void;
45
+ clearTypeaheadData(): void;
46
+ GetForm(payload: any): void;
47
+ GetNestedForm(payload: any): void;
48
+ GetHostName(payload: any): void;
49
+ GetDashletData(payloads: any): void;
50
+ dashletDataCall(payload: any): Observable<Object>;
51
+ SetDashletData(respData: any): void;
52
+ GetExportExclLink(payload: any): void;
53
+ GetExportCVSLink(payload: any): void;
54
+ resetGetExportExclLink(): void;
55
+ GetProductList(payload: any): void;
56
+ GetPreviewHtml(payload: any): void;
57
+ resetPreviewHtml(): void;
58
+ UpdateProductBranch(payload: any): void;
59
+ GetJobSchedules(payload: any): void;
60
+ GetPdfData(payload: any): void;
61
+ ResetPdfData(): void;
62
+ GetFileData(payload: any): void;
63
+ PrintTemplate(payload: any): void;
64
+ ResetFileData(): void;
65
+ DownloadFile(payload: any): void;
66
+ ResetDownloadUrl(): void;
67
+ FileUpload(payload: any): void;
68
+ GetChartData(payload: object): void;
69
+ GetQr(payload: any): void;
70
+ getAuditVersionList(payload: any): void;
71
+ getAuditHistory(payload: any): void;
72
+ getAplicationsThemeSetting(payload: object): void;
73
+ getAplicationsSetting(payload: object): void;
74
+ fieldDinamicApi(api: any, payload: object): void;
75
+ getNextFormData(payload: any): void;
76
+ gitVersion(payload: string): void;
77
+ getReportLoadGridData(payload: any): void;
78
+ getFavouriteData(payload: any): void;
79
+ getUserNotification(payload: any): void;
80
+ getUserNotificationSetting(): void;
81
+ resetUserNotification(): void;
82
+ getDownloadManual(payload: object): void;
83
+ getGridRunningData(payload: any): void;
84
+ getDatabyCollectionName(payload: any): void;
85
+ GetChildGrid(payload: any): void;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiService, never>;
87
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiService>;
88
+ }
@@ -0,0 +1,13 @@
1
+ import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from "@angular/router";
2
+ import { AuthService } from "./auth.service";
3
+ import { StorageService } from "../../storage/storage.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class AuthGuard implements CanActivate {
6
+ private storageService;
7
+ private router;
8
+ private authService;
9
+ constructor(storageService: StorageService, router: Router, authService: AuthService);
10
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean | Promise<boolean>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
13
+ }
@@ -0,0 +1,50 @@
1
+ import { ApiCallService } from './../../api/api-call/api-call.service';
2
+ import { OnInit } from '@angular/core';
3
+ import { EnvService } from '../../env/env.service';
4
+ import { HttpClient } from '@angular/common/http';
5
+ import { StorageService } from '../../storage/storage.service';
6
+ import { Router } from '@angular/router';
7
+ import { EncryptionService } from '../../encryption/encryption.service';
8
+ import { CommonFunctionService } from '../../common-utils/common-function.service';
9
+ import { ApiService } from '../api.service';
10
+ import { CoreFunctionService } from '../../common-utils/core-function/core-function.service';
11
+ import { AuthDataShareService } from '../../data-share/auth-data-share/auth-data-share.service';
12
+ import * as i0 from "@angular/core";
13
+ export declare class AuthService implements OnInit {
14
+ private http;
15
+ private envService;
16
+ private apiService;
17
+ private storageService;
18
+ private router;
19
+ private encryptionService;
20
+ private commonFunctionService;
21
+ private coreFunctionService;
22
+ private authDataShareService;
23
+ private apiCallService;
24
+ constructor(http: HttpClient, envService: EnvService, apiService: ApiService, storageService: StorageService, router: Router, encryptionService: EncryptionService, commonFunctionService: CommonFunctionService, coreFunctionService: CoreFunctionService, authDataShareService: AuthDataShareService, apiCallService: ApiCallService);
25
+ ngOnInit(): void;
26
+ Logout(payload: any): void;
27
+ SessionExpired(payload?: any): void;
28
+ resetData(): void;
29
+ logOutRedirection(): void;
30
+ gotToSigninPage(): void;
31
+ GetUserInfoFromToken(payload: any, loginRedirect?: string): void;
32
+ redirectionWithMenuType(loginRedirectUrl?: string): void;
33
+ redirectToSignPage(): void;
34
+ Signin(payload: any): void;
35
+ Signup(payload: any): void;
36
+ TryForgotPassword(payload: any): void;
37
+ SaveNewPassword(payload: any): void;
38
+ ResetPass(payload: any): void;
39
+ TryVerify(payload: object): void;
40
+ changePassword(payload: any): void;
41
+ userVarify(payload: any): void;
42
+ checkIdTokenStatus(): {
43
+ status: boolean;
44
+ msg: string;
45
+ };
46
+ checkApplicationSetting(): boolean;
47
+ authenticateUser(payload: any): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
49
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
50
+ }
@@ -0,0 +1,22 @@
1
+ import { StorageService } from '../../storage/storage.service';
2
+ import { DataShareService } from '../../data-share/data-share.service';
3
+ import { EncryptionService } from '../../encryption/encryption.service';
4
+ import { ApiCallService } from '../api-call/api-call.service';
5
+ import { EnvService } from '../../env/env.service';
6
+ import { NotificationService } from '../../notify/notification.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class AwsSecretManagerService {
9
+ private storageService;
10
+ private dataShareService;
11
+ private encryptionService;
12
+ private apiCallService;
13
+ private envService;
14
+ private notificationService;
15
+ private awsClient;
16
+ constructor(storageService: StorageService, dataShareService: DataShareService, encryptionService: EncryptionService, apiCallService: ApiCallService, envService: EnvService, notificationService: NotificationService);
17
+ getServerAndAppSetting(): Promise<void>;
18
+ getserverHostByAwsOrLocal(domain: string): Promise<undefined>;
19
+ getServerHostFromAwsSecretManager(key: string): Promise<undefined>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<AwsSecretManagerService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<AwsSecretManagerService>;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { DataShareService } from '../../data-share/data-share.service';
3
+ import { EnvService } from '../../env/env.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CommonApiService {
6
+ private dataShareService;
7
+ private http;
8
+ private envService;
9
+ constructor(dataShareService: DataShareService, http: HttpClient, envService: EnvService);
10
+ SaveNavigation(payload: object): void;
11
+ GetNavigation(payload: object): void;
12
+ SavePermission(payload: object): void;
13
+ GetPermission(payload: object): void;
14
+ SaveInformation(payload: object): void;
15
+ ResetSave(): void;
16
+ GetDepartments(payload: object): void;
17
+ GetCategory(payload: object): void;
18
+ GetProductsByCategory(payload: object): void;
19
+ GetTestParameter(payload: object): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonApiService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonApiService>;
22
+ }
@@ -0,0 +1,35 @@
1
+ import { EnvService } from '../../env/env.service';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { DocDataShareService } from '../../data-share/doc-data-share/doc-data-share.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DocApiService {
6
+ private http;
7
+ private envService;
8
+ private docDataShare;
9
+ constructor(http: HttpClient, envService: EnvService, docDataShare: DocDataShareService);
10
+ SearchDocData(payload: object): void;
11
+ GetHomeVdr(payload: any): void;
12
+ GetHomeVdrBack(payload: any): void;
13
+ GetMoveFolderData(payload: object): void;
14
+ GetMoveFolderChild(payload: object): void;
15
+ SaveUploadFile(payload: object): void;
16
+ CreateFolder(payload: object): void;
17
+ GetFolderChild(payload: object): void;
18
+ GetFolderChild1(payload: any): void;
19
+ GetFolderByKey(payload: object): void;
20
+ GetDocAudit(payload: object): void;
21
+ ResetAudit(): void;
22
+ DocFileDownload(payload: object): void;
23
+ SetDocFileAutditAfterDownload(payload: object): void;
24
+ ResetDownloadLink(): void;
25
+ GetDocFileViewLink(payload: object): void;
26
+ DocDelete(payload: any): void;
27
+ ResetDeleteDocResponce(): void;
28
+ GetBackFoldersByKey(payload: object): void;
29
+ GetBackHomeVdr(payload: object): void;
30
+ toShare(payload: object): void;
31
+ getFoderByKey(payload: object): void;
32
+ SetDocPermission(payload: object): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocApiService, never>;
34
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocApiService>;
35
+ }
@@ -0,0 +1,14 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { EnvService } from '../../env/env.service';
3
+ import { PublicDataShareService } from '../../data-share/public-data-share/public-data-share.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PublicApiService {
6
+ private publicDataShare;
7
+ private http;
8
+ private envService;
9
+ constructor(publicDataShare: PublicDataShareService, http: HttpClient, envService: EnvService);
10
+ SaveContactUs(payload: any): void;
11
+ SaveCareerWithUs(payload: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<PublicApiService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<PublicApiService>;
14
+ }
@@ -0,0 +1,21 @@
1
+ import { DatePipe } from '@angular/common';
2
+ import { EventEmitter } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ChartService {
5
+ private datePipe;
6
+ filterRest: EventEmitter<any>;
7
+ constructor(datePipe: DatePipe);
8
+ getDownloadData(chart: any, object: any): Promise<{
9
+ url: any;
10
+ name: any;
11
+ }>;
12
+ downloadFile(data: any): Blob;
13
+ createBlobUrl(value: any): Blob;
14
+ downlodBlobData(blob: any, fileName: string): void;
15
+ resetChartFilter(): void;
16
+ getFilterData(dashbord: any, formValue: any): any;
17
+ getMongochartFilterValue(fields: any, object: any): any;
18
+ getMongodbFilterObject(data: any): any;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChartService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<ChartService>;
21
+ }
@@ -0,0 +1,50 @@
1
+ import { StorageService } from './../storage/storage.service';
2
+ import { UntypedFormGroup } from '@angular/forms';
3
+ import { CommonFunctionService } from '../common-utils/common-function.service';
4
+ import { NotificationService } from '../notify/notification.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CheckIfService {
7
+ private commonFunctionService;
8
+ private storageService;
9
+ private notificationService;
10
+ constructor(commonFunctionService: CommonFunctionService, storageService: StorageService, notificationService: NotificationService);
11
+ checkIsDisable(parent: any, chield: any, updateMode: boolean, formValue: any, templateForm: UntypedFormGroup): {
12
+ tobedesabled: string;
13
+ templateForm: UntypedFormGroup;
14
+ };
15
+ checkIsMendetory(parent: any, chield: any, formValue: any, templateForm: UntypedFormGroup): {
16
+ tobedesabled: string;
17
+ templateForm: UntypedFormGroup;
18
+ };
19
+ checkShowIfListOfFiedlds(parent: any, field: any, formValue: any): boolean;
20
+ checkAddNewButtonOnGridSelection(buttons: any): boolean;
21
+ checkFieldShowOrHide(field: any, showIfFieldList: any): boolean;
22
+ checkDublicateOnForm(fields: any, value: any, list: any, i: any, showIfFieldList: any, custmizedFormValue: any, dataListForUpload: any, templateForm: UntypedFormGroup, parent?: any): {
23
+ status: boolean;
24
+ msg: string;
25
+ };
26
+ isGridFieldExist(tab: any, fieldName: any): boolean;
27
+ checkShowIf(field: any, selectedRow: any, formValue: any): boolean | undefined;
28
+ showIf(field: any, formValue: any): boolean | undefined;
29
+ checkIfConditionForArrayListValue(data: any, formValue: any): any;
30
+ isDisable(tableField: any, updateMode: any, formValue: any): any;
31
+ is_check_role(id: any): boolean;
32
+ isMendetory(tableField: any, formValue: any): any;
33
+ checkIfCondition(data: any, formValue: any, datatype?: any): any;
34
+ checkAddUpdateIf(tableField: any, fieldName: any): boolean;
35
+ checkDisableRowIf(field: string, formValue: string): boolean;
36
+ checkRowIf(data: any, field: any): boolean;
37
+ checkDisableInRow(editedColumns: any, row: any): void;
38
+ isDisableRow(field: any, data: any): any;
39
+ isDisableRuntime(column: any, data: any, i: number, gridData: any, field: any, filterData: any): any;
40
+ checkDataAlreadyAddedInListOrNot(field: any, incomingData: any, alreadyDataAddedlist: any, i?: any): {
41
+ status: boolean;
42
+ msg: string;
43
+ };
44
+ checkCustmizedValuValidation(fields: any, value: any): any;
45
+ checkCallGridData(ObjectValue: any, gridDisable: boolean): boolean;
46
+ checkUpdatePermission(rowdata: any, details: any): boolean;
47
+ checkFieldsAvailability(formName: string, tab: any, gridButtons: any): boolean;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckIfService, never>;
49
+ static ɵprov: i0.ɵɵInjectableDeclaration<CheckIfService>;
50
+ }
@@ -0,0 +1,84 @@
1
+ import { UntypedFormGroup } from '@angular/forms';
2
+ import { DatePipe } from '@angular/common';
3
+ import { StorageService } from '../../services/storage/storage.service';
4
+ import { CoreFunctionService } from '../common-utils/core-function/core-function.service';
5
+ import { ApiService } from '../api/api.service';
6
+ import { ModelService } from '../model/model.service';
7
+ import { EnvService } from '../env/env.service';
8
+ import { NotificationService } from '../notify/notification.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class CommonFunctionService {
11
+ private storageService;
12
+ private modalService;
13
+ private datePipe;
14
+ private apiService;
15
+ private coreFunctionService;
16
+ private envService;
17
+ private notificationService;
18
+ userInfo: any;
19
+ localTas: any;
20
+ constructor(storageService: StorageService, modalService: ModelService, datePipe: DatePipe, apiService: ApiService, coreFunctionService: CoreFunctionService, envService: EnvService, notificationService: NotificationService);
21
+ getRefcode(): any;
22
+ getAppId(): any;
23
+ getObjectValue(field: any, object: any): any;
24
+ getddnDisplayVal(val: any): any;
25
+ openTreeModal(fieldLabel: any, ddnField: any, modalName: any): void;
26
+ dateFormat(value: any): string | null;
27
+ getDivClass(field: any, fieldsLangth: any): any;
28
+ getFixedDivClass(field: any, fieldsLangth: any): any;
29
+ getButtonDivClass(field: any): any;
30
+ getConvertedString(ja: any, incomingTemplate: any): string;
31
+ getStringValue(details: any, ja: any): any;
32
+ sanitizeObject(tableFields: any, formValue: any, validatField: any, formValueWithCust?: any): any;
33
+ applicableForValidation(field: any): boolean;
34
+ getDateInStringFunction(templateValue: any): any;
35
+ populatefields(value: any, populate_fields: any, field: any, multipleFormCollection?: any): any;
36
+ mergeMultiFieldsValues(field: any, object: any): string;
37
+ populate_fields_for_report(templateForm: UntypedFormGroup): void;
38
+ openFileUpload(fieldName: any, modalName: any, formValue: any, fileData: any): void;
39
+ openAlertModal(id: string, type: any, headerMessage: any, bodyMessage: any): void;
40
+ getForm(forms: any, formName: any, gridButtons: any): any;
41
+ gotoHomePage(): {
42
+ appName: any;
43
+ data: {
44
+ accessToken: any;
45
+ };
46
+ };
47
+ download_file(payload: object): void;
48
+ getQRCode(data: object): void;
49
+ getAuditHistory(data: object): void;
50
+ downloadFile(file: string): void;
51
+ numberOnly(event: any): boolean;
52
+ viewModal(id: any, object: any, field: any, currentMenu: any, editemode: any): void;
53
+ custmizedKey(parentfield: any): any;
54
+ checkStorageValue(object: any, parent: any, chield: any): boolean;
55
+ getVariableStorageValue(object: any, parent: any, chield: any): Array<any>;
56
+ formSize(evt: any, fieldLangth: number): any;
57
+ getMatchingInList(list: any, IncomingData: any, existData: any): boolean;
58
+ getCorrectIndex(data: any, indx: number, field: any, gridData: any, filterValue: any): number | undefined;
59
+ getIndexInArrayById(array: any, id: any, key?: any): number;
60
+ openModal(id: any, data: any): void;
61
+ getOperatorSymbol(operator: any): string;
62
+ getFormDataInMultiformCollection(multiformCollection: any, formValue: any, index?: any): any;
63
+ convertListOfStringToListObject(list_of_populated_fields: any, keysList: any, seprator: any): any;
64
+ getReferenceObject(obj: any): any;
65
+ dateDiff(dateSent: any): any;
66
+ getDay(data: any): String;
67
+ updateFieldInList(fieldName: any, list: any): any;
68
+ funModeTravelChange(value: any): {
69
+ claimSheet: {
70
+ distanceInKm: string;
71
+ localTa: string;
72
+ };
73
+ };
74
+ print(data: any): void;
75
+ isArray(obj: any): boolean;
76
+ donotResetField(tableFields: any, FormValue: any): any;
77
+ getFirstCharOfString(char: any): any;
78
+ removeItem(data: any, column: any, i: number): any;
79
+ checkObjecOrString(data: any): any;
80
+ copyGridCellText(value: any): void;
81
+ copyGridColumnText(head: any, data: any, elements?: any): void;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonFunctionService, never>;
83
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonFunctionService>;
84
+ }
@@ -0,0 +1,21 @@
1
+ import { OperatorType } from '../../../shared/enums/operator_type.enum';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CoreFunctionService {
4
+ constructor();
5
+ isNotBlank(value: any): boolean;
6
+ getModulesFromMapObject(obj: any): any;
7
+ setTabOrPermission(menu: any, permissionList: any, menuObj: any): void;
8
+ setDefaultIndexForModules(modules: any): any;
9
+ sortMenu(menuList: any): any;
10
+ convertListToColonString(list: any, type: any, key?: string): string;
11
+ prepareTemplate(tempList: any, moduleName: string): any;
12
+ getTempNameFromPayload(payload: any): string;
13
+ getJsonSizeInKilobyte(obj: any): number;
14
+ removeSpaceFromString(str: string): string;
15
+ checkBlankProperties(data: any): any;
16
+ getOperators(type: OperatorType, name: string): Map<string, string>;
17
+ sortOperators(operatorList: any): any;
18
+ mapObjectToListOfString(mapObject: any): any;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoreFunctionService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<CoreFunctionService>;
21
+ }
@@ -0,0 +1,21 @@
1
+ import { ValidatorFn, AbstractControl, ValidationErrors } from '@angular/forms';
2
+ import { UntypedFormGroup } from '@angular/forms';
3
+ import { DataShareService } from '../data-share/data-share.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CustomvalidationService {
6
+ private dataShareService;
7
+ constructor(dataShareService: DataShareService);
8
+ patternValidator(): ValidatorFn;
9
+ checkCommonPassword(value: string): boolean;
10
+ checkDates(endDate: string, startDate: string): (formGroup: UntypedFormGroup) => void;
11
+ MatchPassword(password: any, confirmPassword: any): (formGroup: UntypedFormGroup) => any;
12
+ userNameValidator(userControl: AbstractControl): Promise<unknown>;
13
+ validateUserName(userName: string): boolean;
14
+ checkLimit(min: number, max: number): ValidatorFn;
15
+ isValidGSTNumber(control: AbstractControl): Promise<ValidationErrors | null>;
16
+ calcCheckSum(gstin: any): string;
17
+ validatePattern(gstin: any): boolean;
18
+ isValidData(control: AbstractControl): Promise<ValidationErrors | null>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomvalidationService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomvalidationService>;
21
+ }
@@ -0,0 +1,33 @@
1
+ import { Subject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AuthDataShareService {
4
+ signinResponse: Subject<any>;
5
+ authenticated: Subject<boolean>;
6
+ forgot: Subject<any>;
7
+ settingData: Subject<any>;
8
+ signUpResponse: Subject<any>;
9
+ otpResponse: Subject<any>;
10
+ OtpAutoLoginData: any;
11
+ createPwd: Subject<any>;
12
+ userInfo: Subject<any>;
13
+ sessionexpired: Subject<any>;
14
+ resetPass: Subject<any>;
15
+ authResponce: Subject<any>;
16
+ constructor();
17
+ setSigninResponse(responce: any): void;
18
+ setAuthentication(responce: boolean): void;
19
+ getAuthentication(): Subject<boolean>;
20
+ setForgot(responce: any): void;
21
+ restSettingModule(value: any): void;
22
+ setSignUpResponse(response: any): void;
23
+ setOtpResponse(response: any): void;
24
+ setOtpAutoLogin(response: any): void;
25
+ getOtpAutoLogin(): any;
26
+ setChangePwd(responce: any): void;
27
+ setUserInfo(responce: any): void;
28
+ setSessionExpired(responce: any): void;
29
+ resetPassword(responce: any): void;
30
+ setAuthenticationResponce(responce: any): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthDataShareService, never>;
32
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthDataShareService>;
33
+ }
@@ -0,0 +1,36 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CommonAppDataShareService {
4
+ moduleList: any;
5
+ moduleIndex: any;
6
+ tabIndex: any;
7
+ parentRouting: any;
8
+ formId: any;
9
+ shareCardList: EventEmitter<any>;
10
+ cardList: any;
11
+ nestedCardId: any;
12
+ nestedCard: EventEmitter<any>;
13
+ multipleCardCollection: any;
14
+ constructor();
15
+ setModuleList(modules: any): void;
16
+ getModuleList(): any;
17
+ resetModuleList(): void;
18
+ setModuleIndex(index: any): void;
19
+ getModuleIndex(): any;
20
+ setSelectedTabIndex(index: any): void;
21
+ getSelectdTabIndex(): any;
22
+ setParentRouting(routeLink: any): void;
23
+ getParentRouting(): any;
24
+ setFormId(id: any): void;
25
+ getFormId(): any;
26
+ sharecardlist(cardList: any): void;
27
+ setCardList(value: any): void;
28
+ getCardList(): any;
29
+ setNestedCardId(id: any): void;
30
+ getNestedCardId(): any;
31
+ setNestedCard(responce: any): void;
32
+ setMultipleCardCollection(response: any): void;
33
+ getMultipleCardCollection(): any;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonAppDataShareService, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonAppDataShareService>;
36
+ }