cat-documents-ng 0.2.32 → 0.2.34
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.
- package/Shared/components/table-primary/table-primary.component.d.ts +23 -0
- package/Shared/constant/SHARED.d.ts +29 -5
- package/Shared/shared.module.d.ts +11 -0
- package/fesm2022/cat-documents-ng.mjs +1262 -301
- package/fesm2022/cat-documents-ng.mjs.map +1 -1
- package/lib/document/components/document-container/document-container.component.d.ts +1 -0
- package/lib/document/components/document-list/document-list.component.d.ts +20 -1
- package/lib/document/components/document-status/document-status.component.d.ts +25 -0
- package/lib/document/components/documents-menu/documents-menu.component.d.ts +17 -2
- package/lib/document/components/folder-container/folder-container.component.d.ts +14 -1
- package/lib/document/components/user-list/user-list.component.d.ts +32 -0
- package/lib/document/document.module.d.ts +25 -21
- package/lib/document/models/document-status.model.d.ts +6 -0
- package/lib/document/services/document-http.service.d.ts +9 -0
- package/lib/document/services/document-table-builder.service.d.ts +52 -0
- package/lib/document/services/document.service.d.ts +58 -2
- package/lib/document/state/document.query.d.ts +43 -0
- package/lib/document/state/document.state.d.ts +4 -0
- package/lib/document/state/document.store.d.ts +6 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/assets/config/api.config.json +0 -20
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface TableColumn {
|
|
3
|
+
field: string;
|
|
4
|
+
header: string;
|
|
5
|
+
type?: 'text' | 'status' | 'document' | 'actions';
|
|
6
|
+
width?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TableData {
|
|
9
|
+
columns: TableColumn[];
|
|
10
|
+
data: any[];
|
|
11
|
+
}
|
|
12
|
+
export declare class TablePrimaryComponent {
|
|
13
|
+
tableData: TableData;
|
|
14
|
+
showHeader: boolean;
|
|
15
|
+
tableStyle: any;
|
|
16
|
+
getStatusClass(status: string): string;
|
|
17
|
+
getStatusIcon(status: string): string;
|
|
18
|
+
getFileSize(fileName: string): string;
|
|
19
|
+
getFileExtension(fileName: string): string;
|
|
20
|
+
onActionClick(event: Event, rowData: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablePrimaryComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TablePrimaryComponent, "lib-table-primary", never, { "tableData": { "alias": "tableData"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -168,12 +168,17 @@ export declare const DUMMYDOCUMENTLIST: {
|
|
|
168
168
|
* `FOLDERPANEL` is a mock list of folder data representing various folders in the application.
|
|
169
169
|
* Each folder contains an ID, file count, text description, missing files count, and pending files count.
|
|
170
170
|
*/
|
|
171
|
-
export declare const
|
|
171
|
+
export declare const USERLIST: {
|
|
172
172
|
_id: string;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
173
|
+
username: string;
|
|
174
|
+
approveDocumentCount: number;
|
|
175
|
+
pendingDocumentCount: number;
|
|
176
|
+
}[];
|
|
177
|
+
export declare const SAMPLE_STATUS_DATA: {
|
|
178
|
+
status: string;
|
|
179
|
+
count: number;
|
|
180
|
+
color: string;
|
|
181
|
+
icon: string;
|
|
177
182
|
}[];
|
|
178
183
|
/**
|
|
179
184
|
* Dummy data for sumaery.
|
|
@@ -219,3 +224,22 @@ export declare const DocumentAlertList: {
|
|
|
219
224
|
isAlert: boolean;
|
|
220
225
|
alertMessage: string;
|
|
221
226
|
}[];
|
|
227
|
+
/**
|
|
228
|
+
* Dummy data for document sections with detailed document lists.
|
|
229
|
+
* Based on the document management interface structure.
|
|
230
|
+
* @type {Array<{header: string, description: string, pendingDocument: number, approvedDocument: number, list: Array<{documentName: string, documentType: string, documentUrl: string, status: string, applicantName: string, uploadedTime: string}>}>}
|
|
231
|
+
*/
|
|
232
|
+
export declare const DUMMY_DOCUMENT_SECTIONS: {
|
|
233
|
+
header: string;
|
|
234
|
+
description: string;
|
|
235
|
+
pendingDocument: number;
|
|
236
|
+
approvedDocument: number;
|
|
237
|
+
list: {
|
|
238
|
+
documentName: string;
|
|
239
|
+
documentType: string;
|
|
240
|
+
documentUrl: string;
|
|
241
|
+
status: string;
|
|
242
|
+
applicantName: string;
|
|
243
|
+
uploadedTime: string;
|
|
244
|
+
}[];
|
|
245
|
+
}[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/table-primary/table-primary.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "primeng/table";
|
|
5
|
+
import * as i4 from "primeng/button";
|
|
6
|
+
import * as i5 from "primeng/ripple";
|
|
7
|
+
export declare class SharedModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.TablePrimaryComponent], [typeof i2.CommonModule, typeof i3.TableModule, typeof i4.ButtonModule, typeof i5.RippleModule], [typeof i1.TablePrimaryComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
11
|
+
}
|