function ChannelBadge({ channel }) { const colors = { WhatsApp: '#2bb741', Email: '#e5a22a', SMS: '#00a4b7', }; return ( {channel} ); } function LastMessageDot({ fromMe }) { const color = fromMe ? '#e5a22a' : '#00a4b7'; const label = fromMe ? 'Última mensagem enviada pelo atendimento' : 'Última mensagem enviada pelo cliente'; return ( ); } function UnreadBadge({ count }) { if (!count) return null; return ( {count > 99 ? '99+' : count} ); } function SavedContactLabel({ contact }) { const profile = contact.contactProfile; const hasSavedContact = Boolean(profile?.created_at || profile?.name || profile?.company || profile?.note); if (!hasSavedContact) return null; return ( •Salvo• ); } const CHAT_LIST_HEIGHT = 'min(760px, calc(100vh - 160px))'; export function ChatConversationList({ contacts, activeContactId, onSelectContact, onOpenContact, isMobile = false, }) { return ( ); }