cat-documents-ng 1.0.6 → 1.0.8

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 (211) hide show
  1. package/README.md +322 -322
  2. package/Shared/components/confirmation-dialog/confirmation-dialog.component.d.ts +44 -0
  3. package/Shared/components/table-primary/table-primary.component.d.ts +31 -0
  4. package/Shared/components/table-primary/table-primary.model.d.ts +19 -0
  5. package/Shared/constant/ERROR.d.ts +52 -0
  6. package/Shared/constant/SHARED.d.ts +546 -0
  7. package/{src/Shared/constant/URLS.ts → Shared/constant/URLS.d.ts} +25 -31
  8. package/Shared/services/app-config.service.d.ts +51 -0
  9. package/{src/Shared/services/global-error.handler.ts → Shared/services/global-error.handler.d.ts} +9 -11
  10. package/Shared/services/session.service.d.ts +46 -0
  11. package/Shared/shared.module.d.ts +14 -0
  12. package/fesm2022/cat-documents-ng.mjs +11405 -0
  13. package/fesm2022/cat-documents-ng.mjs.map +1 -0
  14. package/index.d.ts +5 -0
  15. package/lib/document/components/document-actions/document-actions.component.d.ts +78 -0
  16. package/lib/document/components/document-container/document-container.component.d.ts +162 -0
  17. package/lib/document/components/document-content-viewer/document-content-viewer.component.d.ts +291 -0
  18. package/lib/document/components/document-history/document-history.component.d.ts +160 -0
  19. package/lib/document/components/document-list/document-list.component.d.ts +299 -0
  20. package/lib/document/components/document-list-item/document-list-item.component.d.ts +28 -0
  21. package/lib/document/components/document-search/document-search.component.d.ts +77 -0
  22. package/lib/document/components/document-status/document-status.component.d.ts +24 -0
  23. package/lib/document/components/document-upload/document-upload.component.d.ts +321 -0
  24. package/lib/document/components/document-viewer/document-viewer.component.d.ts +137 -0
  25. package/lib/document/components/document-zoom-controls/document-zoom-controls.component.d.ts +33 -0
  26. package/lib/document/components/documents-menu/documents-menu.component.d.ts +110 -0
  27. package/{src/lib/document/components/folder-block/folder-block.component.ts → lib/document/components/folder-block/folder-block.component.d.ts} +12 -28
  28. package/lib/document/components/folder-container/folder-container.component.d.ts +162 -0
  29. package/lib/document/components/linked-document/linked-document.component.d.ts +39 -0
  30. package/lib/document/components/request-document/request-document.component.d.ts +69 -0
  31. package/lib/document/components/sidebar/sidebar.component.d.ts +109 -0
  32. package/lib/document/components/user-list/user-list.component.d.ts +34 -0
  33. package/lib/document/constant/DOCUMENT_HISTORY.d.ts +41 -0
  34. package/lib/document/directives/document.directive.d.ts +20 -0
  35. package/lib/document/directives/permission.directive.d.ts +38 -0
  36. package/lib/document/document.module.d.ts +60 -0
  37. package/{src/lib/document/models/document-alert.model.ts → lib/document/models/document-alert.model.d.ts} +4 -11
  38. package/lib/document/models/document-category.model.d.ts +24 -0
  39. package/lib/document/models/document-history.model.d.ts +94 -0
  40. package/lib/document/models/document-list-response.model.d.ts +33 -0
  41. package/lib/document/models/document-type.model.d.ts +37 -0
  42. package/lib/document/models/document.model.d.ts +44 -0
  43. package/{src/lib/document/models/folder.model.ts → lib/document/models/folder.model.d.ts} +4 -10
  44. package/lib/document/models/status-data.model.d.ts +27 -0
  45. package/lib/document/models/uploaded-file-response.model.d.ts +7 -0
  46. package/lib/document/models/user-list.model.d.ts +8 -0
  47. package/lib/document/services/csv-parser.service.d.ts +88 -0
  48. package/lib/document/services/document-actions.service.d.ts +48 -0
  49. package/lib/document/services/document-content-type.service.d.ts +85 -0
  50. package/lib/document/services/document-history-style.service.d.ts +34 -0
  51. package/lib/document/services/document-history.service.d.ts +42 -0
  52. package/lib/document/services/document-http.service.d.ts +179 -0
  53. package/lib/document/services/document-list.service.d.ts +74 -0
  54. package/lib/document/services/document-menu.service.d.ts +122 -0
  55. package/lib/document/services/document-scroll.service.d.ts +55 -0
  56. package/lib/document/services/document-table-builder.service.d.ts +38 -0
  57. package/lib/document/services/document-upload-business.service.d.ts +107 -0
  58. package/lib/document/services/document-upload-data.service.d.ts +40 -0
  59. package/lib/document/services/document-upload-form.service.d.ts +41 -0
  60. package/lib/document/services/document-upload.service.d.ts +99 -0
  61. package/lib/document/services/document-viewer.service.d.ts +97 -0
  62. package/lib/document/services/document-zoom.service.d.ts +81 -0
  63. package/lib/document/services/document.service.d.ts +161 -0
  64. package/lib/document/services/eml-parser.service.d.ts +116 -0
  65. package/lib/document/services/excel-parser.service.d.ts +169 -0
  66. package/lib/document/services/file-format.service.d.ts +34 -0
  67. package/lib/document/services/status-calculator.service.d.ts +20 -0
  68. package/lib/document/services/user-list.service.d.ts +29 -0
  69. package/lib/document/state/document.query.d.ts +243 -0
  70. package/{src/lib/document/state/document.service.ts → lib/document/state/document.service.d.ts} +15 -46
  71. package/lib/document/state/document.state.d.ts +61 -0
  72. package/lib/document/state/document.store.d.ts +56 -0
  73. package/package.json +11 -5
  74. package/{src/public-api.ts → public-api.d.ts} +0 -4
  75. package/ng-package.json +0 -10
  76. package/src/Shared/components/confirmation-dialog/confirmation-dialog.component.html +0 -3
  77. package/src/Shared/components/confirmation-dialog/confirmation-dialog.component.scss +0 -13
  78. package/src/Shared/components/confirmation-dialog/confirmation-dialog.component.spec.ts +0 -70
  79. package/src/Shared/components/confirmation-dialog/confirmation-dialog.component.ts +0 -133
  80. package/src/Shared/components/table-primary/table-primary.component.html +0 -66
  81. package/src/Shared/components/table-primary/table-primary.component.scss +0 -227
  82. package/src/Shared/components/table-primary/table-primary.component.spec.ts +0 -23
  83. package/src/Shared/components/table-primary/table-primary.component.ts +0 -143
  84. package/src/Shared/components/table-primary/table-primary.model.ts +0 -21
  85. package/src/Shared/constant/ERROR.ts +0 -55
  86. package/src/Shared/constant/PERMISSIONS.ts +0 -17
  87. package/src/Shared/constant/SHARED.ts +0 -936
  88. package/src/Shared/services/app-config.service.spec.ts +0 -19
  89. package/src/Shared/services/app-config.service.ts +0 -73
  90. package/src/Shared/services/session.service.spec.ts +0 -16
  91. package/src/Shared/services/session.service.ts +0 -76
  92. package/src/Shared/shared.module.ts +0 -25
  93. package/src/lib/document/components/csv-viewer/csv-viewer.component.ts +0 -1
  94. package/src/lib/document/components/document-actions/document-actions.component.html +0 -59
  95. package/src/lib/document/components/document-actions/document-actions.component.scss +0 -362
  96. package/src/lib/document/components/document-actions/document-actions.component.spec.ts +0 -297
  97. package/src/lib/document/components/document-actions/document-actions.component.ts +0 -163
  98. package/src/lib/document/components/document-container/document-container.component.html +0 -36
  99. package/src/lib/document/components/document-container/document-container.component.scss +0 -144
  100. package/src/lib/document/components/document-container/document-container.component.spec.ts +0 -110
  101. package/src/lib/document/components/document-container/document-container.component.ts +0 -363
  102. package/src/lib/document/components/document-content-viewer/document-content-viewer.component.html +0 -332
  103. package/src/lib/document/components/document-content-viewer/document-content-viewer.component.scss +0 -1877
  104. package/src/lib/document/components/document-content-viewer/document-content-viewer.component.spec.ts +0 -258
  105. package/src/lib/document/components/document-content-viewer/document-content-viewer.component.ts +0 -664
  106. package/src/lib/document/components/document-history/document-history.component.html +0 -96
  107. package/src/lib/document/components/document-history/document-history.component.scss +0 -392
  108. package/src/lib/document/components/document-history/document-history.component.spec.ts +0 -93
  109. package/src/lib/document/components/document-history/document-history.component.ts +0 -373
  110. package/src/lib/document/components/document-list/document-list.component.html +0 -46
  111. package/src/lib/document/components/document-list/document-list.component.scss +0 -513
  112. package/src/lib/document/components/document-list/document-list.component.spec.ts +0 -486
  113. package/src/lib/document/components/document-list/document-list.component.ts +0 -682
  114. package/src/lib/document/components/document-list-item/document-list-item.component.html +0 -36
  115. package/src/lib/document/components/document-list-item/document-list-item.component.scss +0 -34
  116. package/src/lib/document/components/document-list-item/document-list-item.component.spec.ts +0 -75
  117. package/src/lib/document/components/document-list-item/document-list-item.component.ts +0 -40
  118. package/src/lib/document/components/document-search/document-search.component.html +0 -64
  119. package/src/lib/document/components/document-search/document-search.component.scss +0 -206
  120. package/src/lib/document/components/document-search/document-search.component.spec.ts +0 -82
  121. package/src/lib/document/components/document-search/document-search.component.ts +0 -163
  122. package/src/lib/document/components/document-status/document-status.component.html +0 -31
  123. package/src/lib/document/components/document-status/document-status.component.scss +0 -192
  124. package/src/lib/document/components/document-status/document-status.component.spec.ts +0 -23
  125. package/src/lib/document/components/document-status/document-status.component.ts +0 -87
  126. package/src/lib/document/components/document-upload/document-upload.component.html +0 -160
  127. package/src/lib/document/components/document-upload/document-upload.component.scss +0 -235
  128. package/src/lib/document/components/document-upload/document-upload.component.spec.ts +0 -95
  129. package/src/lib/document/components/document-upload/document-upload.component.ts +0 -668
  130. package/src/lib/document/components/document-viewer/document-viewer.component.html +0 -50
  131. package/src/lib/document/components/document-viewer/document-viewer.component.scss +0 -187
  132. package/src/lib/document/components/document-viewer/document-viewer.component.spec.ts +0 -79
  133. package/src/lib/document/components/document-viewer/document-viewer.component.ts +0 -261
  134. package/src/lib/document/components/document-zoom-controls/document-zoom-controls.component.html +0 -48
  135. package/src/lib/document/components/document-zoom-controls/document-zoom-controls.component.scss +0 -320
  136. package/src/lib/document/components/document-zoom-controls/document-zoom-controls.component.spec.ts +0 -59
  137. package/src/lib/document/components/document-zoom-controls/document-zoom-controls.component.ts +0 -150
  138. package/src/lib/document/components/documents-menu/documents-menu.component.html +0 -44
  139. package/src/lib/document/components/documents-menu/documents-menu.component.scss +0 -363
  140. package/src/lib/document/components/documents-menu/documents-menu.component.spec.ts +0 -23
  141. package/src/lib/document/components/documents-menu/documents-menu.component.ts +0 -316
  142. package/src/lib/document/components/folder-block/folder-block.component.html +0 -46
  143. package/src/lib/document/components/folder-block/folder-block.component.scss +0 -9
  144. package/src/lib/document/components/folder-block/folder-block.component.spec.ts +0 -70
  145. package/src/lib/document/components/folder-container/folder-container.component.html +0 -56
  146. package/src/lib/document/components/folder-container/folder-container.component.scss +0 -20
  147. package/src/lib/document/components/folder-container/folder-container.component.spec.ts +0 -27
  148. package/src/lib/document/components/folder-container/folder-container.component.ts +0 -328
  149. package/src/lib/document/components/linked-document/linked-document.component.html +0 -23
  150. package/src/lib/document/components/linked-document/linked-document.component.scss +0 -10
  151. package/src/lib/document/components/linked-document/linked-document.component.spec.ts +0 -61
  152. package/src/lib/document/components/linked-document/linked-document.component.ts +0 -49
  153. package/src/lib/document/components/request-document/request-document.component.html +0 -86
  154. package/src/lib/document/components/request-document/request-document.component.scss +0 -16
  155. package/src/lib/document/components/request-document/request-document.component.ts +0 -278
  156. package/src/lib/document/components/sidebar/sidebar.component.html +0 -75
  157. package/src/lib/document/components/sidebar/sidebar.component.scss +0 -157
  158. package/src/lib/document/components/sidebar/sidebar.component.spec.ts +0 -114
  159. package/src/lib/document/components/sidebar/sidebar.component.ts +0 -223
  160. package/src/lib/document/components/user-list/user-list.component.html +0 -33
  161. package/src/lib/document/components/user-list/user-list.component.scss +0 -118
  162. package/src/lib/document/components/user-list/user-list.component.spec.ts +0 -23
  163. package/src/lib/document/components/user-list/user-list.component.ts +0 -181
  164. package/src/lib/document/constant/DOCUMENT_HISTORY.ts +0 -52
  165. package/src/lib/document/directives/document.directive.ts +0 -32
  166. package/src/lib/document/directives/permission.directive.spec.ts +0 -0
  167. package/src/lib/document/directives/permission.directive.ts +0 -72
  168. package/src/lib/document/document.module.ts +0 -351
  169. package/src/lib/document/models/document-category.model.ts +0 -30
  170. package/src/lib/document/models/document-history.model.ts +0 -109
  171. package/src/lib/document/models/document-list-response.model.ts +0 -37
  172. package/src/lib/document/models/document-type.model.ts +0 -44
  173. package/src/lib/document/models/document.model.ts +0 -53
  174. package/src/lib/document/models/status-data.model.ts +0 -31
  175. package/src/lib/document/models/uploaded-file-response.model.ts +0 -7
  176. package/src/lib/document/models/user-list.model.ts +0 -10
  177. package/src/lib/document/services/csv-parser.service.spec.ts +0 -97
  178. package/src/lib/document/services/csv-parser.service.ts +0 -303
  179. package/src/lib/document/services/document-actions.service.ts +0 -125
  180. package/src/lib/document/services/document-content-type.service.ts +0 -193
  181. package/src/lib/document/services/document-history-style.service.ts +0 -138
  182. package/src/lib/document/services/document-history.service.ts +0 -129
  183. package/src/lib/document/services/document-http.service.spec.ts +0 -119
  184. package/src/lib/document/services/document-http.service.ts +0 -497
  185. package/src/lib/document/services/document-list.service.ts +0 -195
  186. package/src/lib/document/services/document-menu.service.ts +0 -277
  187. package/src/lib/document/services/document-scroll.service.ts +0 -138
  188. package/src/lib/document/services/document-severity.service.ts +0 -98
  189. package/src/lib/document/services/document-table-builder.service.ts +0 -82
  190. package/src/lib/document/services/document-upload-business.service.ts +0 -326
  191. package/src/lib/document/services/document-upload-data.service.ts +0 -82
  192. package/src/lib/document/services/document-upload-form.service.ts +0 -149
  193. package/src/lib/document/services/document-upload.service.spec.ts +0 -99
  194. package/src/lib/document/services/document-upload.service.ts +0 -209
  195. package/src/lib/document/services/document-viewer.service.ts +0 -279
  196. package/src/lib/document/services/document-zoom.service.spec.ts +0 -56
  197. package/src/lib/document/services/document-zoom.service.ts +0 -164
  198. package/src/lib/document/services/document.service.ts +0 -356
  199. package/src/lib/document/services/eml-parser.service.ts +0 -444
  200. package/src/lib/document/services/excel-parser.service.spec.ts +0 -66
  201. package/src/lib/document/services/excel-parser.service.ts +0 -483
  202. package/src/lib/document/services/file-format.service.spec.ts +0 -16
  203. package/src/lib/document/services/file-format.service.ts +0 -63
  204. package/src/lib/document/services/status-calculator.service.ts +0 -44
  205. package/src/lib/document/services/user-list.service.ts +0 -77
  206. package/src/lib/document/state/document.query.ts +0 -378
  207. package/src/lib/document/state/document.state.ts +0 -100
  208. package/src/lib/document/state/document.store.ts +0 -200
  209. package/tsconfig.lib.json +0 -15
  210. package/tsconfig.lib.prod.json +0 -11
  211. package/tsconfig.spec.json +0 -15
@@ -0,0 +1,44 @@
1
+ import { ConfirmationService } from 'primeng/api';
2
+ import * as i0 from "@angular/core";
3
+ export interface ConfirmationOptions {
4
+ message: string;
5
+ header?: string;
6
+ icon?: string;
7
+ acceptLabel?: string;
8
+ rejectLabel?: string;
9
+ acceptIcon?: string;
10
+ rejectIcon?: string;
11
+ acceptButtonClass?: string;
12
+ rejectButtonClass?: string;
13
+ }
14
+ export declare class ConfirmationDialogComponent {
15
+ private confirmationService;
16
+ confirmationOptions: ConfirmationOptions;
17
+ constructor(confirmationService: ConfirmationService);
18
+ /**
19
+ * Shows the confirmation dialog with the specified options
20
+ * @param options - Configuration options for the confirmation dialog
21
+ * @param acceptCallback - Function to execute when user accepts
22
+ * @param rejectCallback - Function to execute when user rejects
23
+ */
24
+ confirm(options: Partial<ConfirmationOptions>, acceptCallback: () => void, rejectCallback?: () => void): void;
25
+ /**
26
+ * Static method to show a confirmation dialog (for components that don't want to inject this component)
27
+ * @param confirmationService - The ConfirmationService instance
28
+ * @param options - Configuration options for the confirmation dialog
29
+ * @param acceptCallback - Function to execute when user accepts
30
+ * @param rejectCallback - Function to execute when user rejects
31
+ */
32
+ static confirm(confirmationService: ConfirmationService, options: Partial<ConfirmationOptions>, acceptCallback: () => void, rejectCallback?: () => void): void;
33
+ /**
34
+ * Static method to show a delete confirmation dialog
35
+ * @param confirmationService - The ConfirmationService instance
36
+ * @param itemName - Name of the item to be deleted
37
+ * @param acceptCallback - Function to execute when user accepts deletion
38
+ * @param rejectCallback - Function to execute when user rejects deletion
39
+ */
40
+ static confirmDelete(confirmationService: ConfirmationService, itemName: string, acceptCallback: () => void, rejectCallback?: () => void): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "app-confirmation-dialog", never, { "confirmationOptions": { "alias": "confirmationOptions"; "required": false; }; }, {}, never, never, false, never>;
43
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationDialogComponent>;
44
+ }
@@ -0,0 +1,31 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { SHARED } from '../../constant/SHARED';
3
+ import { ProcessedRowData, TableData } from './table-primary.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TablePrimaryComponent implements OnChanges {
6
+ tableData: TableData;
7
+ showHeader: boolean;
8
+ tableStyle: any;
9
+ rowClick: EventEmitter<any>;
10
+ rowCtrlClick: EventEmitter<any>;
11
+ processedData: ProcessedRowData[];
12
+ readonly SHARED: typeof SHARED;
13
+ get visibleColumns(): import("cat-documents-ng").TableColumn[];
14
+ ngOnChanges(changes: SimpleChanges): void;
15
+ private processTableData;
16
+ getStatusClass(status: string): string;
17
+ getStatusIcon(status: string): string;
18
+ getFileExtension(fileName: string): string;
19
+ onRowClick(event: MouseEvent, rowData: any): void;
20
+ getVisibleColumnCount(): number;
21
+ /**
22
+ * Formats document display name based on whether aliasName exists:
23
+ * - Without aliasName: fileName on top, docName below
24
+ * - With aliasName: aliasName on top, docName - fileName below
25
+ * @param rowData The row data containing docName, aliasName, and fileName
26
+ * @returns HTML string with proper formatting
27
+ */
28
+ formatDocumentDisplayName(rowData: any): string;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<TablePrimaryComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TablePrimaryComponent, "lib-table-primary", never, { "tableData": { "alias": "tableData"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; }, { "rowClick": "rowClick"; "rowCtrlClick": "rowCtrlClick"; }, never, never, false, never>;
31
+ }
@@ -0,0 +1,19 @@
1
+ export interface TableColumn {
2
+ field: string;
3
+ header: string;
4
+ type?: 'text' | 'status' | 'document' | 'actions';
5
+ width?: string;
6
+ }
7
+ export interface TableData {
8
+ columns: TableColumn[];
9
+ data: any[];
10
+ }
11
+ export interface ProcessedRowData {
12
+ _fileExtension?: string;
13
+ _isPdfFile?: boolean;
14
+ _isImageFile?: boolean;
15
+ _isExcelFile?: boolean;
16
+ _isOtherFile?: boolean;
17
+ _statusClass?: string;
18
+ _statusIcon?: string;
19
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * A utility class containing common error messages.
3
+ * @class ERRORS
4
+ */
5
+ export declare class ERRORS {
6
+ /**
7
+ * Error message for invalid recipient.
8
+ * @static
9
+ * @type {string}
10
+ */
11
+ static INVALID_RECIPIENT: string;
12
+ static NO_VALUE_FOUND: string;
13
+ /**
14
+ * Error message for invalid document.
15
+ * @static
16
+ * @type {string}
17
+ */
18
+ static ERROR_FETCHING_DOCUMENTS: string;
19
+ /**
20
+ * Error message for invalid document.
21
+ * @static
22
+ * @type {string}
23
+ */
24
+ static ERROR_FETCHING_FOLDERS: string;
25
+ /**
26
+ * Error message for invalid document.
27
+ * @static
28
+ * @type {string}
29
+ */
30
+ static ERROR_ALLDOCUMENT_MISSING: string;
31
+ /**
32
+ * Error message for invalid document.
33
+ * @static
34
+ * @type {string}
35
+ */
36
+ static ERROR_DOCUMENT_TYPES: string;
37
+ static ERROR_DOCUMENT_CATAGORY: string;
38
+ static NO_DOCUMENT_URL: string;
39
+ static DOWNLOAD_FAIL: string;
40
+ static ERROR_DELETING_DOCUMENT: string;
41
+ static ERROR_RECEIVING_DOCUMENT_LIST: string;
42
+ static CONTEXT_ID_REQUIRED: string;
43
+ static ERROR_FETCHING_STATUS_DATA: string;
44
+ static ERROR_FETCHING_USER_LIST: string;
45
+ static ERROR_FETCHING_DOCUMENT_LIST: string;
46
+ static ERROR_FETCHING_DOCUMENT_CATEGORIES: string;
47
+ static ERROR_FETCHING_DOCUMENTS_BY_STATUS: string;
48
+ static ERROR_FETCHING_DOCUMENTS_BY_CATEGORY: string;
49
+ static ERROR_CALLING_API_WITH_SELECTION: string;
50
+ static ERROR_FILE_NAME_INVALID_CHARACTERS: string;
51
+ static ERROR_FILE_NAME_EMPTY: string;
52
+ }
@@ -0,0 +1,546 @@
1
+ /**
2
+ * The `SHARED` class contains shared constants used across the application.
3
+ * These constants are related to document statuses and other shared data.
4
+ */
5
+ export declare class SHARED {
6
+ /**
7
+ * Represents the info.
8
+ */
9
+ static UNKNOWN_USER: string;
10
+ /**
11
+ * Represents the info.
12
+ */
13
+ static ACTIONS: string;
14
+ /**
15
+ * Represents the info.
16
+ */
17
+ static VISIBLE: string;
18
+ /**
19
+ * Represents the info.
20
+ */
21
+ static HIDDEN: string;
22
+ static NO_DOCUMENTS_FOUND: string;
23
+ static DOCUMENT_TYPES_DELETE: string;
24
+ static SUCCESS_MESSAGE: string;
25
+ /**
26
+ * Represents the info.
27
+ */
28
+ static APPLICATION_DOCS: string;
29
+ /**
30
+ * Represents the info.
31
+ */
32
+ static INFO: string;
33
+ /**
34
+ * Represents the success.
35
+ */
36
+ static SUCCESS: string;
37
+ /**
38
+ * Represents the warning.
39
+ */
40
+ static WARNING: string;
41
+ /**
42
+ * Represents the warning.
43
+ */
44
+ static DANGER: string;
45
+ /**
46
+ * Represents the stores userData.
47
+ */
48
+ static SESSIONKEY: string;
49
+ /**
50
+ * Represents the count of missing files.
51
+ */
52
+ static MISSINGCOUNT: number;
53
+ /**
54
+ * Represents the count of pending files.
55
+ */
56
+ static PENDINGCOUNT: number;
57
+ /**
58
+ * Represents an empty string.
59
+ */
60
+ static EMPTY: string;
61
+ /**
62
+ * Represents an empty string.
63
+ */
64
+ static STRING: string;
65
+ /**
66
+ * Represents an true.
67
+ * @static
68
+ * @type {boolean}
69
+ */
70
+ static TRUE: boolean;
71
+ /**
72
+ * Represents an false.
73
+ * @static
74
+ * @type {boolean}
75
+ */
76
+ static FALSE: boolean;
77
+ /**
78
+ * Represents an INITIAL_COUNT.
79
+ */
80
+ static INITIAL_COUNT: number;
81
+ /**
82
+ * Represents an INITIAL_VALUE.
83
+ */
84
+ static INITIAL_VALUE: number;
85
+ /**
86
+ * Represents the constant value for one (1).
87
+ * @static
88
+ * @type {number}
89
+ */
90
+ static ONE: number;
91
+ /**
92
+ * Represents the constant value for two (2).
93
+ * @static
94
+ * @type {number}
95
+ */
96
+ static TWO: number;
97
+ /**
98
+ * Represents the constant value for ten (10).
99
+ * @static
100
+ * @type {number}
101
+ */
102
+ static TEN: number;
103
+ /**
104
+ * Represents the constant string value 'files' used for file-related operations.
105
+ * @static
106
+ * @type {string}
107
+ */
108
+ static FILE: string;
109
+ /**
110
+ * Query parameter for menu item filter.
111
+ * @static
112
+ * @type {string}
113
+ */
114
+ static MENU_ITEM_PARAM: string;
115
+ /**
116
+ * Query parameter for user ID filter.
117
+ * @static
118
+ * @type {string}
119
+ */
120
+ static USER_ID_PARAM: string;
121
+ /**
122
+ * Query parameter for status filter.
123
+ * @static
124
+ * @type {string}
125
+ */
126
+ static STATUS_PARAM: string;
127
+ /**
128
+ * Represents the array of file size units ('B', 'KB', 'MB') used for file size formatting.
129
+ * @static
130
+ * @type {string[]}
131
+ */
132
+ static FILE_SIZE_UNITS: string[];
133
+ /**
134
+ * Show SEVERITY value.
135
+ * @static
136
+ * @type {'error'}
137
+ */
138
+ static SEVERITY: string;
139
+ /**
140
+ * Show SEVERITY value.
141
+ * @static
142
+ * @type {'error'}
143
+ */
144
+ static SUCCESS_SEVERITY: string;
145
+ /**
146
+ * Show upload summery if it's failed.
147
+ * @static
148
+ * @type {'Upload Failed'}
149
+ */
150
+ static UPLOAD_SUMMERY: string;
151
+ /**
152
+ * Show upload summery if it's success.
153
+ * @static
154
+ * @type {'Document uploaded successfully.'}
155
+ */
156
+ static UPLOAD_SUCCESS: string;
157
+ /**
158
+ * Represent empty array.
159
+ * @static
160
+ * @type {{}}
161
+ */
162
+ static EMPTY_ARRAY: never[];
163
+ /**
164
+ * Represent contextId.
165
+ * @static
166
+ * @type {string}
167
+ */
168
+ static CONTEXT_ID: string;
169
+ /**
170
+ * Represent contextId.
171
+ * @static
172
+ * @type {string}
173
+ */
174
+ static CATEGORY: string;
175
+ /**
176
+ * Represent fileSize.
177
+ * @static
178
+ * @type {string}
179
+ */
180
+ static FILE_SIZE: string;
181
+ /**
182
+ * Represent documentName.
183
+ * @static
184
+ * @type {string}
185
+ */
186
+ static DOCUMENT_NAME: string;
187
+ /**
188
+ * Represent documentTypeId.
189
+ * @static
190
+ * @type {string}
191
+ */
192
+ static DOCUMENT_TYPE_ID: string;
193
+ /**
194
+ * Represent blob.
195
+ * @static
196
+ * @type {string}
197
+ */
198
+ static DOCUMENT: string;
199
+ /**
200
+ * Represent none.
201
+ * @static
202
+ * @type {string}
203
+ */
204
+ static NONE: string;
205
+ /**
206
+ * Represent upload summery.
207
+ * @static
208
+ * @type {string}
209
+ */
210
+ static UPLOAD_ERROR_SUMMERY: string;
211
+ /**
212
+ * Represent upload error details.
213
+ * @static
214
+ * @type {string}
215
+ */
216
+ static UPLOAD_ERROR_DETAILS: string;
217
+ /**
218
+ * Represents the message prefix for a successful document name update.
219
+ * @static
220
+ * @type {string}
221
+ */
222
+ static UPDATE_DOCUMENT_NAME: string;
223
+ static WIDTH: string;
224
+ static BASEZINDEX: number;
225
+ static DOCX: string;
226
+ static DOC: string;
227
+ static CSV: string;
228
+ static CLOSE_ICON: string;
229
+ static SAVE: string;
230
+ static UPLOAD_PROGRESS_100: number;
231
+ static UPLOAD_PROGRESS_10: number;
232
+ static APPLICANT: string;
233
+ static APPLICANT_LOWERCASE: string;
234
+ static APPLICATION_LOWERCASE: string;
235
+ static DOCUMENT_LOWERCASE: string;
236
+ static USER_LOWERCASE: string;
237
+ static CATAGORIES: string;
238
+ static DOCUMENTS: string;
239
+ static UPLOAD_FAILED: string;
240
+ static USER_LIST: string;
241
+ static HYPEN: string;
242
+ static CATEGORIES: string;
243
+ static UNSAVED_CHANGES_MESSAGE: string;
244
+ static UNSAVED_CHANGES_HEADER: string;
245
+ static DOCUMENT_DELETED_SUCCESSFULLY: string;
246
+ static UNSAVED_CHANGES_ICON: string;
247
+ static REMOVE: string;
248
+ static YES: string;
249
+ static NO: string;
250
+ static CANCEL: string;
251
+ static DELETE: string;
252
+ static DELETE_CONFIRMATION_HEADER: string;
253
+ static VALUATION_REPORT_DELETE_MESSAGE: string;
254
+ static VALUATION_REPORT: string;
255
+ static DELETE_BUTTON_STYLE_CLASS: string;
256
+ static ACCEPT_ICON: string;
257
+ static REJECT_ICON: string;
258
+ static ACCEPT_BUTTON_STYLE_CLASS: string;
259
+ static REJECT_BUTTON_STYLE_CLASS: string;
260
+ static NO_DATA_FOUND: string;
261
+ static BORDERS: string[];
262
+ static FILE_TYPES: string[];
263
+ static COMMA: string;
264
+ static TEAM_LEADER: string;
265
+ static UNDERWRITER_USER: string;
266
+ static INITIAL_REQUEST: string;
267
+ static ERROR_PARSING_SHEET_DATA: string;
268
+ static REFRESH_TRIGGER: string;
269
+ static PDF_TYPE: string;
270
+ static EXCEL_XLSX_MIME_TYPE: string;
271
+ static EXCEL_XLS_MIME_TYPE: string;
272
+ static OCTET_STREAM: string;
273
+ static WORD_DOCX_MIME_TYPE: string;
274
+ static WORD_DOC_MIME_TYPE: string;
275
+ static CSV_MIME_TYPE: string;
276
+ static EMAIL_RFC822_MIME_TYPE: string;
277
+ static EMAIL_OUTLOOK_MIME_TYPE: string;
278
+ static OPEN_DOCUMENT_MIME_TYPE: string;
279
+ static ICON_FILE_WORD: string;
280
+ static ICON_ENVELOPE: string;
281
+ static PDF_DOCUMENT: string;
282
+ static IMAGE: string;
283
+ static EXCEL_SPREADSHEET: string;
284
+ static WORD_DOCUMENT: string;
285
+ static CSV_FILE: string;
286
+ static EMAIL_MESSAGE: string;
287
+ static OPEN_DOCUMENT: string;
288
+ static NO_DATA_AVAILABLE: string;
289
+ static ERROR_PARSING_EXCEL_FILE: string;
290
+ static ERROR_PARSING_EXCEL_FILE_STRUCTURE: string;
291
+ static NAME_UPDATE_ACTION: string;
292
+ static REQUESTED: string;
293
+ static ACCEPTED: string;
294
+ static UPLOADED: string;
295
+ static REJECTED: string;
296
+ static Menu: {
297
+ label: string;
298
+ items: ({
299
+ badge: string;
300
+ label: string;
301
+ icon: string;
302
+ } | {
303
+ label: string;
304
+ icon: string;
305
+ badge?: undefined;
306
+ })[];
307
+ }[];
308
+ static APPLICATION: string;
309
+ static APPLICANTS: string;
310
+ static EMPTY_SPACE: string;
311
+ static COLORS: string[];
312
+ static COLOR_MAP: {
313
+ orange: string;
314
+ blue: string;
315
+ green: string;
316
+ grey: string;
317
+ purple: string;
318
+ };
319
+ static DEFAULT_COLOR: string;
320
+ static STATUS_WITH_DASH: string;
321
+ static ICON_WITH_DASH: string;
322
+ static SEARCH_KEY: string;
323
+ static APPROVED: string;
324
+ static PENDING: string;
325
+ static DOT: string;
326
+ static PDF: string;
327
+ static PDF2: string;
328
+ static PENDING_STATUS: string;
329
+ static EVENT_REQUESTED: string;
330
+ static EVENT_ACCEPTED: string;
331
+ static EVENT_REJECTED: string;
332
+ static EVENT_DEFAULT: string;
333
+ static ICON_REQUESTED: string;
334
+ static ICON_ACCEPTED: string;
335
+ static ICON_REJECTED: string;
336
+ static ICON_DEFAULT: string;
337
+ static ICON_CHECK_CIRCLE: string;
338
+ static ICON_FOLDER_PLUS: string;
339
+ static ICON_TIMES: string;
340
+ static ICON_FILE: string;
341
+ static JPG: string;
342
+ static PNG: string;
343
+ static XLSX: string;
344
+ static XLS: string;
345
+ static APPROVED_STATUS: string;
346
+ static ALERT_STATUS: string;
347
+ static UPLOADED_STATUS: string;
348
+ static REVIEWING_STATUS: string;
349
+ static REJECTED_STATUS: string;
350
+ static REQUESTED_STATUS: string;
351
+ static STATUS_PENDING_CLASS: string;
352
+ static STATUS_APPROVED_CLASS: string;
353
+ static STATUS_ALERT_CLASS: string;
354
+ static STATUS_UPLOADED_CLASS: string;
355
+ static STATUS_REVIEWING_CLASS: string;
356
+ static STATUS_REJECTED_CLASS: string;
357
+ static ICON_CHECK: string;
358
+ static ICON_EXCLAMATION_TRIANGLE: string;
359
+ static ICON_CLOUD_UPLOAD: string;
360
+ static ICON_EYE: string;
361
+ static ICON_CLOCK: string;
362
+ static ICON_FILE_PDF: string;
363
+ static ICON_IMAGE: string;
364
+ static ICON_FILE_EXCEL: string;
365
+ static ICON_DELETE: string;
366
+ static CELL_TYPE_DOCUMENT: string;
367
+ static CELL_TYPE_STATUS: string;
368
+ static CELL_TYPE_ACTIONS: string;
369
+ static CELL_TYPE_TEXT: string;
370
+ /**
371
+ * Document table columns configuration
372
+ * @static
373
+ * @type {Array<{field: string, header: string, type: 'text' | 'status' | 'document' | 'actions', width: string}>}
374
+ */
375
+ static DOCUMENT_TABLE_COLUMNS: Array<{
376
+ field: string;
377
+ header: string;
378
+ type: 'text' | 'status' | 'document' | 'actions';
379
+ width: string;
380
+ }>;
381
+ static DOCUMENT_REQUESTED: string;
382
+ static DOCUMENT_UPLOADED: string;
383
+ static DOCUMENT_REJECTED: string;
384
+ static DOCUMENT_ACCEPTED: string;
385
+ static ACCEPT_ACTION: string;
386
+ static REJECT_ACTION: string;
387
+ static DELETE_ACTION: string;
388
+ static ACCEPT_CONFIRM_HEADER: string;
389
+ static REJECT_CONFIRM_HEADER: string;
390
+ static ACCEPT_NOTE_LABEL: string;
391
+ static REJECT_NOTE_LABEL: string;
392
+ static ACCEPT_NOTE_PLACEHOLDER: string;
393
+ static REJECT_NOTE_PLACEHOLDER: string;
394
+ static CANCEL_BUTTON_LABEL: string;
395
+ static ACCEPT_BUTTON_LABEL: string;
396
+ static REJECT_BUTTON_LABEL: string;
397
+ static DOCUMENT_ACCEPTED_MESSAGE: string;
398
+ static DOCUMENT_REJECTED_MESSAGE: string;
399
+ static DOCUMENT_UPDATE_ERROR_MESSAGE: string;
400
+ static STATUS_APPROVED: string;
401
+ static STATUS_REJECTED: string;
402
+ static STATUS_PENDING: string;
403
+ static STATUS_ACCEPTED: string;
404
+ static STATUS_REJECTED_LOWERCASE: string;
405
+ static STATUS_DECLINED: string;
406
+ static CARD_PENDING: string;
407
+ static CARD_ACCEPTED: string;
408
+ static CARD_REJECTED: string;
409
+ static BUTTON_SECONDARY_REJECT: string;
410
+ static BUTTON_PRIMARY_REJECT: string;
411
+ static BUTTON_DEFAULT_REJECT: string;
412
+ static BUTTON_PRIMARY_ACCEPT: string;
413
+ static BUTTON_SECONDARY_ACCEPT: string;
414
+ static BUTTON_DEFAULT_ACCEPT: string;
415
+ static BUTTON_LABEL_REJECT: string;
416
+ static BUTTON_LABEL_REJECTED: string;
417
+ static BUTTON_LABEL_ACCEPT: string;
418
+ static BUTTON_LABEL_ACCEPTED: string;
419
+ static VALIDATION_NO_APPLICANT_SELECTED: string;
420
+ static VALIDATION_NO_APPLICANT_DETAIL: string;
421
+ static VALIDATION_NO_CATEGORY_SELECTED: string;
422
+ static VALIDATION_NO_CATEGORY_DETAIL: string;
423
+ static VALIDATION_NO_DOCUMENT_TYPE_SELECTED: string;
424
+ static VALIDATION_NO_DOCUMENT_TYPE_DETAIL: string;
425
+ static VALIDATION_NO_DOCUMENTS_UPLOADED: string;
426
+ static VALIDATION_NO_DOCUMENTS_DETAIL: string;
427
+ static VALIDATION_FORM_INCOMPLETE: string;
428
+ static VALIDATION_FORM_INCOMPLETE_DETAIL: string;
429
+ static VALIDATION_MISSING_REQUIRED_DATA: string;
430
+ static VALIDATION_SELECT_ASSIGNMENT_TYPE: string;
431
+ static VALIDATION_SELECT_CATEGORY: string;
432
+ static VALIDATION_SELECT_DOCUMENT_TYPE: string;
433
+ static VALIDATION_UPLOAD_AT_LEAST_ONE: string;
434
+ static VALIDATION_WAIT_FOR_UPLOAD: string;
435
+ static VALIDATION_SELECT_APPLICANT: string;
436
+ static VALIDATION_ALL_FIELDS_COMPLETED: string;
437
+ static VALIDATION_OPTIONS_NOT_LOADED: string;
438
+ static CONTENT_TYPE: string;
439
+ static DOCUMENT_URL: string;
440
+ static DOC_VIEWER_WRAPPER: string;
441
+ static CSV_TABLE_CONTAINER: string;
442
+ static DOCX_CONTAINER: string;
443
+ static PDF_CONTAINER: string;
444
+ static IMAGE_CONTAINER: string;
445
+ static WHEEL_CAPTURE_OVERLAY: string;
446
+ static DOCUMENT_CONTENT_VIEWER_CONTAINER: string;
447
+ static EXCEL_ZOOM_WRAPPER: string;
448
+ static DOC_ZOOM_WRAPPER: string;
449
+ static CSV_ZOOM_WRAPPER: string;
450
+ static ERROR_PARSING_CSV_FILE: string;
451
+ static ERROR_LOADING_CSV_FILE: string;
452
+ static ERROR_PARSING_CSV_DATA: string;
453
+ static ERROR_PARSING_EMAIL_FILE: string;
454
+ static ERROR_LOADING_EMAIL_FILE: string;
455
+ static SMOOTH_SCROLL: ScrollBehavior;
456
+ }
457
+ /**
458
+ * `DUMMYDOCUMENTLIST` is a mock list of document objects used for testing and development purposes.
459
+ * Each document includes an ID, file name, status, and document URL.
460
+ */
461
+ export declare const DUMMYDOCUMENTLIST: {
462
+ _id: number;
463
+ fileName: string;
464
+ status: string;
465
+ documentUrl: string;
466
+ }[];
467
+ /**
468
+ * `FOLDERPANEL` is a mock list of folder data representing various folders in the application.
469
+ * Each folder contains an ID, file count, text description, missing files count, and pending files count.
470
+ */
471
+ export declare const USERLIST: {
472
+ _id: string;
473
+ username: string;
474
+ approveDocumentCount: number;
475
+ pendingDocumentCount: number;
476
+ }[];
477
+ export declare const SAMPLE_STATUS_DATA: {
478
+ status: string;
479
+ count: number;
480
+ color: string;
481
+ icon: string;
482
+ }[];
483
+ /**
484
+ * Dummy data for sumaery.
485
+ * @type {{}}
486
+ */
487
+ export declare const DUMMYSUMMARY: ({
488
+ status: string;
489
+ date: string;
490
+ icon: string;
491
+ color: string;
492
+ image: string;
493
+ } | {
494
+ status: string;
495
+ date: string;
496
+ icon: string;
497
+ color: string;
498
+ image?: undefined;
499
+ })[];
500
+ /**
501
+ * Dummy data for list box.
502
+ * @type {{}}
503
+ */
504
+ export declare const COUNTRIES: {
505
+ name: string;
506
+ code: string;
507
+ checked: boolean;
508
+ }[];
509
+ /**
510
+ * Default supported image types.
511
+ * @type {{}}
512
+ */
513
+ export declare const SUPPORTED_IMAGE_TYPES: string[];
514
+ /**
515
+ * @constant {Array<{label: string, value: string, files: string[]}>} DOCUMENTTYPES
516
+ * An array of document type objects containing labels, values, and associated files.
517
+ */
518
+ export declare const DOCUMENTTYPES: {
519
+ label: string;
520
+ value: string;
521
+ }[];
522
+ export declare const DocumentAlertList: {
523
+ status: string;
524
+ isAlert: boolean;
525
+ alertMessage: string;
526
+ }[];
527
+ export declare const OPEN_DOCUMENT_EXTENSIONS: string[];
528
+ /**
529
+ * Dummy data for document sections with detailed document lists.
530
+ * Based on the document management interface structure.
531
+ * @type {Array<{header: string, description: string, pendingDocument: number, approvedDocument: number, list: Array<{documentName: string, documentType: string, documentUrl: string, status: string, applicantName: string, uploadedTime: string}>}>}
532
+ */
533
+ export declare const DUMMY_DOCUMENT_SECTIONS: {
534
+ header: string;
535
+ description: string;
536
+ pendingDocument: number;
537
+ approvedDocument: number;
538
+ list: {
539
+ documentName: string;
540
+ documentType: string;
541
+ documentUrl: string;
542
+ status: string;
543
+ applicantName: string;
544
+ uploadedTime: string;
545
+ }[];
546
+ }[];