Block uploads and other document actions while a file is being removed, and show per-item and global loading feedback until deletion completes.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Added DocumentItem component to display uploaded documents in CompanyDetailsPage.
- Introduced useUploadCompanyDocuments hook for handling document uploads.
- Updated CreateCompany form to include document upload capabilities and validation for file types and sizes.
- Enhanced API services to support batch document uploads and retrieval of document information.
- Improved response handling in the file service for better error management and user feedback.