Document comparison
Two versions side by side or inline, with text diff and rendered previews.
PDF, spreadsheet, document and archive viewers with compare and highlight features.
lr-document-compare
import '@aceshooting/lyra-ui/components/lr-document-compare.js';Components wey relate
- Document preview — E show document or attachment inside page based on MIME type, or offer download.
- Document viewer — E show document inside dialog, using renderer registry based on MIME type.
- DOCX viewer — E convert DOCX to safe semantic HTML through mammoth converter.
- E-book viewer — E show EPUB with chapter navigation through optional epub.js peer.
- Email viewer — E read .eml and show headers, safe message body and attachments.
- GeoJSON viewer — E fetch and check GeoJSON, then draw im features on map.