cat-documents-ng 0.2.67 → 0.2.69
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.
|
@@ -11,6 +11,7 @@ import { DocumentUploadDataService } from '../../services/document-upload-data.s
|
|
|
11
11
|
import { UserListModel } from '../../models/user-list.model';
|
|
12
12
|
import { DocumentCategory } from '../../models/document-category.model';
|
|
13
13
|
import { DocumentTypeModel } from '../../models/document-type.model';
|
|
14
|
+
import { Observable } from 'rxjs';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
/**
|
|
16
17
|
* Component responsible for handling document uploads with templated metadata.
|
|
@@ -27,6 +28,7 @@ export declare class DocumentUploadComponent implements OnDestroy {
|
|
|
27
28
|
private businessService;
|
|
28
29
|
private formService;
|
|
29
30
|
private dataService;
|
|
31
|
+
documentService: DocumentUploadService;
|
|
30
32
|
/** The context ID for the document upload operation */
|
|
31
33
|
contextId: string;
|
|
32
34
|
/** Reference to the file upload component */
|
|
@@ -81,7 +83,7 @@ export declare class DocumentUploadComponent implements OnDestroy {
|
|
|
81
83
|
* @param formService - Service for form validation and handling
|
|
82
84
|
* @param dataService - Service for data loading operations
|
|
83
85
|
*/
|
|
84
|
-
constructor(documentUpload: DocumentUploadService, uploadService: DocumentService, config: PrimeNGConfig, fileFormatService: FileFormatService, messageService: MessageService, cdr: ChangeDetectorRef, businessService: DocumentUploadBusinessService, formService: DocumentUploadFormService, dataService: DocumentUploadDataService);
|
|
86
|
+
constructor(documentUpload: DocumentUploadService, uploadService: DocumentService, config: PrimeNGConfig, fileFormatService: FileFormatService, messageService: MessageService, cdr: ChangeDetectorRef, businessService: DocumentUploadBusinessService, formService: DocumentUploadFormService, dataService: DocumentUploadDataService, documentService: DocumentUploadService);
|
|
85
87
|
/**
|
|
86
88
|
* Handles changes in assignment type selection.
|
|
87
89
|
* Resets form selections, loads categories, and handles applicant loading.
|
|
@@ -135,7 +137,7 @@ export declare class DocumentUploadComponent implements OnDestroy {
|
|
|
135
137
|
* Sets up progress tracking and upload listener for the file.
|
|
136
138
|
* @param file - The file to be uploaded
|
|
137
139
|
*/
|
|
138
|
-
|
|
140
|
+
uploadFile$(file: File): Observable<any>;
|
|
139
141
|
/**
|
|
140
142
|
* Removes a document from the uploaded files list.
|
|
141
143
|
* Updates progress tracking and validates form.
|