fix(receipts): improve previews and localized scan results
Summary
Improve the transaction receipt experience with local previews, immediate UI refresh after receipt mutations, and localized OCR result formatting.
Changes
- Show image previews when users select receipts in the transaction form.
- Show a PDF placeholder for selected PDF receipts.
- Refresh the receipt preview immediately after a successful upload.
- Remove the receipt preview immediately after deletion.
- Add receipt image preview support to the AI receipt scanner.
- Format OCR amounts, percentages, file sizes, quantities, and dates using the active locale.
- Safely create and revoke browser object URLs when files change or components unmount.
- Allow
blob:URLs in the Mini App Content Security Policy. - Document the object URL lifecycle requirement in project memory.