UNPKG

captide

Version:

Get hundreds of thousands of financial documents into your AI app 🚀

23 lines (22 loc) • 967 B
import React from 'react'; import { DocumentViewerProps } from './types'; /** * DocumentViewer Component * * This is the main entry point for the document viewer. * It handles loading the appropriate viewer based on the document type: * - HTML Viewer for HTML content (SEC filings, 10-K, 10-Q, 8-K, etc.) * - PDF Viewer for PDF documents * - Spreadsheet Viewer for Excel/CSV files * * Features: * - Support for all document types (10-K/10-Q filings, 8-K documents, and earnings call transcripts) * - Support for international filings (20-F, 40-F, and 6-K documents) with comment-based highlighting * - Smart element highlighting with clustering * - Efficient document reloading on content change * - Zoom controls for adjusting document scale * - Hover-to-share functionality for highlighted elements * - Support for PDF and Excel documents from IR sites */ declare const DocumentViewer: React.FC<DocumentViewerProps>; export default DocumentViewer;