@bnsights/bbsf-controls 1.2.6 → 1.2.7
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.
|
@@ -7587,6 +7587,17 @@ class FileUploadComponent {
|
|
|
7587
7587
|
}
|
|
7588
7588
|
}, 5000);
|
|
7589
7589
|
}
|
|
7590
|
+
// Auto-clear ToolTipTypeError error after 5 seconds (similar to DuplicateFileError and FileMaxSizeInMB)
|
|
7591
|
+
if (validationErrorType === 'ToolTipTypeError') {
|
|
7592
|
+
setTimeout(() => {
|
|
7593
|
+
// Only clear if the current error is still the ToolTipTypeError we set
|
|
7594
|
+
const currentErrors = formControl.errors;
|
|
7595
|
+
if (currentErrors && currentErrors['ToolTipTypeError'] === errorObj['ToolTipTypeError']) {
|
|
7596
|
+
formControl.setErrors(null);
|
|
7597
|
+
this.pendingValidationErrors = null;
|
|
7598
|
+
}
|
|
7599
|
+
}, 5000);
|
|
7600
|
+
}
|
|
7590
7601
|
// Don't return here, continue processing valid files
|
|
7591
7602
|
}
|
|
7592
7603
|
// Re-filter the queue to get only valid files for processing
|
|
@@ -12532,6 +12543,7 @@ var FileType;
|
|
|
12532
12543
|
FileType["MP3"] = "audio/mpeg";
|
|
12533
12544
|
FileType["FLV"] = "video/x-flv";
|
|
12534
12545
|
FileType["WMV"] = "video/x-ms-wmv";
|
|
12546
|
+
FileType["ICO"] = "image/x-icon, image/vnd.microsoft.icon";
|
|
12535
12547
|
FileType["None"] = "";
|
|
12536
12548
|
})(FileType || (FileType = {}));
|
|
12537
12549
|
|