import { BatchPdfPanel, DocumentEnginePanel, SigningDashboard, } from '@szl-holdings/shared-ui/document-engine'; import { cn } from '@szl-holdings/shared-ui/utils'; import { motion } from 'framer-motion'; import { BookOpen, FileText, Layers, Pen } from 'lucide-react'; import { useState } from 'react'; const TABS = [ { id: 'documents', label: 'Documents', icon: FileText }, { id: 'signing', label: 'Signing', icon: Pen }, { id: 'pdf-batch', label: 'PDF Batches', icon: Layers }, ] as const; type TabId = (typeof TABS)[number]['id']; export default function VesselsDocumentEngine() { const [activeTab, setActiveTab] = useState('documents'); return (

Document Engine

Voyage reports, charter parties, and maritime documentation

{TABS.map((tab) => { const Icon = tab.icon; const isActive = activeTab === tab.id; return ( ); })}
{activeTab === 'documents' && ( )} {activeTab === 'signing' && ( )} {activeTab === 'pdf-batch' && ( )}
); }