Spaces:
Runtime error
Runtime error
| import React from 'react'; | |
| export const APP_NAME = "PetroMind AI"; | |
| export const APP_VERSION = "v3.0.0-enterprise"; | |
| // Icons as components | |
| // Icons as components | |
| export const Icons = { | |
| Upload: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /> | |
| <polyline points="17 8 12 3 7 8" /> | |
| <line x1="12" y1="3" x2="12" y2="15" /> | |
| </svg> | |
| ), | |
| FileText: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" /> | |
| <polyline points="14 2 14 8 20 8" /> | |
| </svg> | |
| ), | |
| Database: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <ellipse cx="12" cy="5" rx="9" ry="3" /> | |
| <path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3" /> | |
| <path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5" /> | |
| </svg> | |
| ), | |
| Cpu: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <rect x="4" y="4" width="16" height="16" rx="2" ry="2" /> | |
| <rect x="9" y="9" width="6" height="6" /> | |
| <line x1="9" y1="1" x2="9" y2="4" /> | |
| <line x1="15" y1="1" x2="15" y2="4" /> | |
| <line x1="9" y1="20" x2="9" y2="23" /> | |
| <line x1="15" y1="20" x2="15" y2="23" /> | |
| <line x1="20" y1="9" x2="23" y2="9" /> | |
| <line x1="20" y1="14" x2="23" y2="14" /> | |
| <line x1="1" y1="9" x2="4" y2="9" /> | |
| <line x1="1" y1="14" x2="4" y2="14" /> | |
| </svg> | |
| ), | |
| Download: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /> | |
| <polyline points="7 10 12 15 17 10" /> | |
| <line x1="12" y1="15" x2="12" y2="3" /> | |
| </svg> | |
| ), | |
| CheckCircle: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <path d="M22 11.08V12a10 10 0 1 1-5.93-9.14" /> | |
| <polyline points="22 4 12 14.01 9 11.01" /> | |
| </svg> | |
| ), | |
| AlertTriangle: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" /> | |
| <line x1="12" y1="9" x2="12" y2="13" /> | |
| <line x1="12" y1="17" x2="12.01" y2="17" /> | |
| </svg> | |
| ), | |
| Activity: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline> | |
| </svg> | |
| ), | |
| Table: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <path d="M3 3h18v18H3zM21 9H3M21 15H3M12 3v18" /> | |
| </svg> | |
| ), | |
| Chart: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <line x1="18" y1="20" x2="18" y2="10" /> | |
| <line x1="12" y1="20" x2="12" y2="4" /> | |
| <line x1="6" y1="20" x2="6" y2="14" /> | |
| </svg> | |
| ), | |
| FileSpreadsheet: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}><path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" /><polyline points="14 2 14 8 20 8" /><path d="M8 13h2" /><path d="M8 17h2" /><path d="M14 13h2" /><path d="M14 17h2" /></svg> | |
| ), | |
| MessageSquare: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /></svg> | |
| ), | |
| Refresh: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <path d="M23 4v6h-6" /> | |
| <path d="M1 20v-6h6" /> | |
| <path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15" /> | |
| </svg> | |
| ), | |
| ChevronLeft: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <polyline points="15 18 9 12 15 6" /> | |
| </svg> | |
| ), | |
| ChevronRight: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <polyline points="9 18 15 12 9 6" /> | |
| </svg> | |
| ), | |
| ChevronDown: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <polyline points="6 9 12 15 18 9" /> | |
| </svg> | |
| ), | |
| ZoomIn: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <circle cx="11" cy="11" r="8" /> | |
| <line x1="21" y1="21" x2="16.65" y2="16.65" /> | |
| <line x1="11" y1="8" x2="11" y2="14" /> | |
| <line x1="8" y1="11" x2="14" y2="11" /> | |
| </svg> | |
| ), | |
| ZoomOut: (props: any) => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}> | |
| <circle cx="11" cy="11" r="8" /> | |
| <line x1="21" y1="21" x2="16.65" y2="16.65" /> | |
| <line x1="8" y1="11" x2="14" y2="11" /> | |
| </svg> | |
| ) | |
| }; |