Document Upload Widget
Component Detail
User Interface
medium complexity
frontendmobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Handles file selection, camera capture, and metadata entry for uploading legal or medical documents. Validates file types and sizes before upload, and shows upload progress. Supports both digital document files and scanned paper documents.
document-upload-widget
Responsibilities
- Allow file selection from device storage
- Support camera capture for scanning paper documents
- Collect document metadata (type, description, expiry date)
- Validate file format and size constraints
- Show upload progress and completion confirmation
Interfaces
selectFile(allowedTypes)
captureFromCamera()
setDocumentMetadata(metadata)
uploadWithProgress(file, metadata, onProgress)
validateFile(file)
resetUpload()
Related Data Entities (1)
Data entities managed by this component