/** * CE-Akte section type metadata โ€” icons and descriptions for the tech-file viewer. * Structured per EU Machinery Regulation 2023/1230 Annex IV. */ export const SECTION_TYPES: Record = { // Annex IV mandatory sections (EU Machinery Regulation 2023/1230) general_description: { icon: '๐Ÿญ', description: 'Anhang IV.1 โ€” Allgemeine Beschreibung der Maschine mit bestimmungsgemaesser Verwendung', }, design_specifications: { icon: '๐Ÿ“', description: 'Anhang IV.2 โ€” Gesamtplan, Schaltplaene und Systemarchitektur', }, component_list: { icon: '๐Ÿ”ง', description: 'Anhang IV.3 โ€” Detailplaene und Verzeichnis aller sicherheitsrelevanten Komponenten', }, risk_assessment_report: { icon: '๐Ÿ“Š', description: 'Anhang IV.4 โ€” Risikobeurteilung nach ISO 12100 mit allen bewerteten Gefaehrdungen', }, standards_applied: { icon: '๐Ÿ“', description: 'Anhang IV.5 โ€” Angewandte harmonisierte Normen und deren Vermutungswirkung', }, test_reports: { icon: '๐Ÿงช', description: 'Anhang IV.6 โ€” Pruefberichte und Verifikationsergebnisse', }, instructions_for_use: { icon: '๐Ÿ“–', description: 'Anhang IV.7 โ€” Betriebsanleitung mit Sicherheitshinweisen', }, declaration_of_conformity: { icon: '๐Ÿ“œ', description: 'Anhang IV.8 โ€” EU-Konformitaetserklaerung', }, assembly_declaration: { icon: '๐Ÿ”ฉ', description: 'Anhang IV.9 โ€” Einbauerklaerung fuer unvollstaendige Maschinen', }, // Supplementary CE-Akte sections hazard_log_combined: { icon: 'โš ๏ธ', description: 'Vollstaendiges Gefaehrdungsprotokoll (Hazard Log) mit S/E/P-Bewertungen', }, essential_requirements: { icon: '๐Ÿ“‹', description: 'Grundlegende Anforderungen (EHSR) nach MVO Anhang III', }, mitigation_report: { icon: '๐Ÿ›ก๏ธ', description: 'Uebersicht aller Schutzmassnahmen nach 3-Stufen-Verfahren', }, verification_report: { icon: 'โœ…', description: 'Verifikationsplan und Ergebnisse aller Nachweisverfahren', }, evidence_index: { icon: '๐Ÿ“Ž', description: 'Index aller Nachweisdokumente mit Verknuepfungen', }, classification_report: { icon: '๐Ÿท๏ธ', description: 'Regulatorische Klassifikation (AI Act, MVO, CRA, NIS2)', }, monitoring_plan: { icon: '๐Ÿ“ก', description: 'Post-Market Surveillance und Ueberwachungsplan', }, // AI-specific sections (when AI components present) ai_intended_purpose: { icon: '๐ŸŽฏ', description: 'Bestimmungsgemaesser Zweck des KI-Systems (AI Act Art. 13)', }, ai_model_description: { icon: '๐Ÿง ', description: 'KI-Modellbeschreibung, Trainingsdaten und Architektur', }, ai_risk_management: { icon: 'โš™๏ธ', description: 'KI-Risikomanagementsystem (AI Act Art. 9)', }, ai_human_oversight: { icon: '๐Ÿ‘๏ธ', description: 'Menschliche Aufsicht und Kontrollmassnahmen (AI Act Art. 14)', }, } export const STATUS_CONFIG: Record = { empty: { label: 'Leer', color: 'text-gray-500', bgColor: 'bg-gray-100' }, draft: { label: 'Entwurf', color: 'text-yellow-700', bgColor: 'bg-yellow-100' }, generated: { label: 'Generiert', color: 'text-blue-700', bgColor: 'bg-blue-100' }, reviewed: { label: 'Geprueft', color: 'text-orange-700', bgColor: 'bg-orange-100' }, approved: { label: 'Freigegeben', color: 'text-green-700', bgColor: 'bg-green-100' }, } export const EXPORT_FORMATS: { value: string; label: string; extension: string }[] = [ { value: 'pdf', label: 'PDF', extension: '.pdf' }, { value: 'xlsx', label: 'Excel', extension: '.xlsx' }, { value: 'docx', label: 'Word', extension: '.docx' }, { value: 'md', label: 'Markdown', extension: '.md' }, { value: 'json', label: 'JSON', extension: '.json' }, ]