cat-documents-ng 0.2.81 → 0.2.82
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.
|
@@ -136,11 +136,11 @@ export declare class DocumentUploadComponent implements OnDestroy {
|
|
|
136
136
|
*/
|
|
137
137
|
handleTemplatedUpload(file: File, index: number): Promise<void>;
|
|
138
138
|
/**
|
|
139
|
-
* Starts progress
|
|
139
|
+
* Starts smooth progress animation for a file upload from 0 to 90.
|
|
140
140
|
* @param file - The file being uploaded
|
|
141
141
|
* @param index - The index of the file in uploadedFiles array
|
|
142
142
|
*/
|
|
143
|
-
private
|
|
143
|
+
private startSmoothProgress;
|
|
144
144
|
/**
|
|
145
145
|
* Removes a document from the uploaded files list.
|
|
146
146
|
* Updates progress tracking and validates form.
|
|
@@ -187,6 +187,36 @@ export declare class DocumentUploadComponent implements OnDestroy {
|
|
|
187
187
|
* @returns True if the file has an error, false otherwise
|
|
188
188
|
*/
|
|
189
189
|
isFileError(file: File): boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Gets the number of files currently uploading.
|
|
192
|
+
* @returns The count of files currently being uploaded
|
|
193
|
+
*/
|
|
194
|
+
getUploadingCount(): number;
|
|
195
|
+
/**
|
|
196
|
+
* Gets the number of files that have been successfully uploaded.
|
|
197
|
+
* @returns The count of successfully uploaded files
|
|
198
|
+
*/
|
|
199
|
+
getUploadedCount(): number;
|
|
200
|
+
/**
|
|
201
|
+
* Gets the number of files that failed to upload.
|
|
202
|
+
* @returns The count of failed uploads
|
|
203
|
+
*/
|
|
204
|
+
getFailedCount(): number;
|
|
205
|
+
/**
|
|
206
|
+
* Gets the total number of files in the upload queue.
|
|
207
|
+
* @returns The total count of files (uploading + uploaded + failed)
|
|
208
|
+
*/
|
|
209
|
+
getTotalCount(): number;
|
|
210
|
+
/**
|
|
211
|
+
* Checks if there are any files currently uploading.
|
|
212
|
+
* @returns True if any files are uploading, false otherwise
|
|
213
|
+
*/
|
|
214
|
+
hasUploadingFiles(): boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Checks if all files have completed (either uploaded or failed).
|
|
217
|
+
* @returns True if all files have completed, false otherwise
|
|
218
|
+
*/
|
|
219
|
+
allFilesCompleted(): boolean;
|
|
190
220
|
/**
|
|
191
221
|
* Resets the form to its initial state.
|
|
192
222
|
* Clears all selections, uploaded files, and progress tracking.
|