From 173c1c777e89f283ade8bd1b5059a27022cf0091 Mon Sep 17 00:00:00 2001 From: VPS 4 Builder Date: Thu, 14 May 2026 17:22:41 +0200 Subject: [PATCH] =?UTF-8?q?fix(ui):=20modais=20responsivos=20=E2=80=94=209?= =?UTF-8?q?6=C3=9798=20em=20desktop,=20tela=20cheia=20em=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/AgendaSettingsModal.tsx | 6 ++-- frontend/views/AdminViews.tsx | 22 ++++++------ frontend/views/AgendaView.tsx | 8 ++--- frontend/views/FinanceiroView.tsx | 4 +-- frontend/views/LeadsView.tsx | 8 ++--- frontend/views/OrthoView.tsx | 4 +-- frontend/views/PatientsView.tsx | 40 ++++++++++----------- frontend/views/PedidoExameModal.tsx | 8 ++--- frontend/views/ReceitaModal.tsx | 4 +-- 9 files changed, 52 insertions(+), 52 deletions(-) diff --git a/frontend/components/AgendaSettingsModal.tsx b/frontend/components/AgendaSettingsModal.tsx index c87b224..dc2b548 100644 --- a/frontend/components/AgendaSettingsModal.tsx +++ b/frontend/components/AgendaSettingsModal.tsx @@ -79,8 +79,8 @@ export const AgendaSettingsModal: React.FC = ({ isOpen const totalPages = 3; return ( -
-
+
+
{/* Header */}
@@ -220,7 +220,7 @@ export const AgendaSettingsModal: React.FC = ({ isOpen
-
+

Nova Integração Inteligente (OAuth2)

Agora você pode conectar agendas sem precisar torná-las públicas ou usar API Keys.

diff --git a/frontend/views/AdminViews.tsx b/frontend/views/AdminViews.tsx index fc3ac43..7510024 100644 --- a/frontend/views/AdminViews.tsx +++ b/frontend/views/AdminViews.tsx @@ -44,8 +44,8 @@ const DentistHoursModal: React.FC<{ dentist: Dentista; clinicaId: string; onClos }; return ( -
-
+
+

ESCALA DE ATENDIMENTO

@@ -65,7 +65,7 @@ const DentistHoursModal: React.FC<{ dentist: Dentista; clinicaId: string; onClos -
+
{horarios?.map(h => (
@@ -225,8 +225,8 @@ export const DentistasView: React.FC = () => {
{isModalOpen && ( -
-
+
+

{editingDentista?.id ? 'EDITAR' : 'NOVO'} DENTISTA

@@ -385,8 +385,8 @@ export const EspecialidadesView: React.FC = () => {
{isModalOpen && ( -
-
+
+

{editingEsp?.id ? 'EDITAR' : 'NOVA'} ESPECIALIDADE

@@ -583,8 +583,8 @@ export const ProcedimentosView: React.FC = () => {
{isModalOpen && ( -
-
+
+

{editingProcedimento?.id ? 'EDITAR' : 'NOVO'} PROCEDIMENTO

@@ -818,8 +818,8 @@ export const PlanosView: React.FC = () => {
{isModalOpen && ( -
-
+
+

{editingPlano?.id ? 'EDITAR' : 'NOVO'} PLANO

diff --git a/frontend/views/AgendaView.tsx b/frontend/views/AgendaView.tsx index 8b4046c..fcd6076 100644 --- a/frontend/views/AgendaView.tsx +++ b/frontend/views/AgendaView.tsx @@ -178,8 +178,8 @@ const AppointmentModal: React.FC<{ if (!isOpen) return null; return ( -
-
+
+

AGENDAR CONSULTA @@ -457,8 +457,8 @@ export const AgendaView: React.FC = () => { {/* Event Details "Popover" (Modal style for real estate) */} {showDetails && selectedAppointment && ( -
-
+
+
{/* Header with quick actions */}
diff --git a/frontend/views/FinanceiroView.tsx b/frontend/views/FinanceiroView.tsx index 56f243c..59f9d4e 100644 --- a/frontend/views/FinanceiroView.tsx +++ b/frontend/views/FinanceiroView.tsx @@ -79,8 +79,8 @@ const NovoLancamentoModal: React.FC<{ }; return ( -
- +
+ {/* HEADER */}

diff --git a/frontend/views/LeadsView.tsx b/frontend/views/LeadsView.tsx index 6ee720f..77af193 100644 --- a/frontend/views/LeadsView.tsx +++ b/frontend/views/LeadsView.tsx @@ -48,8 +48,8 @@ const NovoLeadModal: React.FC<{ onClose: () => void; onSaved: () => void }> = ({ }; return ( -
-
+
+

CADASTRAR NOVO LEAD @@ -251,8 +251,8 @@ export const LeadsView: React.FC = () => {

{isConvertModalOpen && selectedLead && ( -
-
+
+

CONVERTER LEAD diff --git a/frontend/views/OrthoView.tsx b/frontend/views/OrthoView.tsx index e1cf30c..5954410 100644 --- a/frontend/views/OrthoView.tsx +++ b/frontend/views/OrthoView.tsx @@ -829,8 +829,8 @@ const OrthoDetailPanel: React.FC<{ treatment: TratamentoOrto; onClose: () => voi }, [onClose]); return ( -
-
+
+
{/* Top bar */}
-
+
{patient.nome}
@@ -319,15 +319,15 @@ const NovoPacienteModal: React.FC<{ onClose: () => void; onSaved: () => void }> const input = "w-full border border-gray-200 rounded-lg p-2.5 text-sm focus:ring-2 focus:ring-blue-100 focus:border-blue-300 outline-none"; return ( -
-
+
+

Novo Paciente

- +
setForm(f => ({ ...f, nome: e.target.value.toUpperCase() }))} className={input} placeholder="NOME COMPLETO" /> @@ -435,13 +435,13 @@ const HistoricoModal: React.FC<{ patient: Paciente; onClose: () => void }> = ({ }, [onClose]); return ( -
-
+
+

HISTÓRICO — {patient.nome}

-
+
{isLoading &&

CARREGANDO...

} {!isLoading && meus.length === 0 &&

NENHUM AGENDAMENTO ENCONTRADO.

} {meus.map(a => ( @@ -507,8 +507,8 @@ const EditarPacienteModal: React.FC<{ patient: Paciente; onClose: () => void; on const inp = "w-full border border-gray-200 rounded-lg p-2.5 text-sm focus:ring-2 focus:ring-blue-100 focus:border-blue-300 outline-none"; return ( -
-
+
+
{/* Header */}
@@ -944,8 +944,8 @@ export const PatientsView: React.FC = () => { {/* MODAL MENU CLÍNICO */} {modal.type === 'clinical' && modal.patient && ( -
-
+
+
Menu Clínico
@@ -979,8 +979,8 @@ export const PatientsView: React.FC = () => { {/* MODAL MENU FINANCEIRO */} {modal.type === 'financial' && modal.patient && ( -
-
+
+
Menu Financeiro
@@ -998,8 +998,8 @@ export const PatientsView: React.FC = () => { {/* ASAAS MODAL */} {modal.type === 'asaas' && modal.patient && ( -
-
+
+
@@ -1017,7 +1017,7 @@ export const PatientsView: React.FC = () => {
-
+
diff --git a/frontend/views/PedidoExameModal.tsx b/frontend/views/PedidoExameModal.tsx index 1f873f9..2bc5f12 100644 --- a/frontend/views/PedidoExameModal.tsx +++ b/frontend/views/PedidoExameModal.tsx @@ -248,8 +248,8 @@ export const PedidoExameModal: React.FC<{ paciente: Paciente; onClose: () => voi if (view === 'print') { return ( -
-
+
+
setView('editor')} />
@@ -257,8 +257,8 @@ export const PedidoExameModal: React.FC<{ paciente: Paciente; onClose: () => voi } return ( -
-
+
+
{/* Header */}
diff --git a/frontend/views/ReceitaModal.tsx b/frontend/views/ReceitaModal.tsx index a61b764..12c5bb3 100644 --- a/frontend/views/ReceitaModal.tsx +++ b/frontend/views/ReceitaModal.tsx @@ -320,8 +320,8 @@ export const ReceitaModal: React.FC<{ paciente: Paciente; onClose: () => void }> }); return ( -
-
+
+
{view === 'lista' && ( <>