From 20b0793227ed519b004155323e8469a7bbec0ea2 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 29 May 2026 15:00:02 +0000 Subject: [PATCH] fix(web): substitui Space direction por orientation em todos os arquivos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AntD 6 deprecou direction em favor de orientation. 14 ocorrências em ClientsPage, NewOrderPage, RafaelPainel e SandraPainel. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- apps/web/src/cockpits/rafael/ClientsPage.tsx | 6 +++--- apps/web/src/cockpits/rafael/NewOrderPage.tsx | 6 +++--- apps/web/src/cockpits/rafael/RafaelPainel.tsx | 10 +++++----- apps/web/src/cockpits/sandra/SandraPainel.tsx | 8 ++++---- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/web/src/cockpits/rafael/ClientsPage.tsx b/apps/web/src/cockpits/rafael/ClientsPage.tsx index 5d90841..280f250 100644 --- a/apps/web/src/cockpits/rafael/ClientsPage.tsx +++ b/apps/web/src/cockpits/rafael/ClientsPage.tsx @@ -25,7 +25,7 @@ function buildColumns(navigate: ReturnType): TableColumnsTyp dataIndex: 'nome', key: 'nome', render: (nome: string, record: ClientSummary) => ( - + @@ -101,9 +101,9 @@ export function ClientsPage() { const columns = buildColumns(navigate); return ( - + {/* Cabeçalho */} - + Carteira de Clientes diff --git a/apps/web/src/cockpits/rafael/NewOrderPage.tsx b/apps/web/src/cockpits/rafael/NewOrderPage.tsx index be5aa1b..9f7f2a9 100644 --- a/apps/web/src/cockpits/rafael/NewOrderPage.tsx +++ b/apps/web/src/cockpits/rafael/NewOrderPage.tsx @@ -138,7 +138,7 @@ function ProductStep({ ]; return ( - + + {fmt(itemsSubtotal)} @@ -257,7 +257,7 @@ function ConfirmStep({ const total = Math.round(itemsSubtotal * (1 - globalDisc / 100) * 100) / 100; return ( - + {clientNome} {cart.length} item(ns) diff --git a/apps/web/src/cockpits/rafael/RafaelPainel.tsx b/apps/web/src/cockpits/rafael/RafaelPainel.tsx index 1ae0a6a..34731ae 100644 --- a/apps/web/src/cockpits/rafael/RafaelPainel.tsx +++ b/apps/web/src/cockpits/rafael/RafaelPainel.tsx @@ -88,7 +88,7 @@ export function RafaelPainel() { - + META DO MÊS @@ -127,7 +127,7 @@ export function RafaelPainel() { - + PEDIDOS NO MÊS @@ -143,7 +143,7 @@ export function RafaelPainel() { - + COMISSÃO ACUMULADA @@ -191,7 +191,7 @@ export function RafaelPainel() { background: c.diasSemCompra > 60 ? '#fff7e6' : 'var(--bg-surface-alt)', }} > - + {c.nome} @@ -236,7 +236,7 @@ export function RafaelPainel() { {pedidosRecentes.map((o: PedidoSummary) => ( - + {o.numPedSar} diff --git a/apps/web/src/cockpits/sandra/SandraPainel.tsx b/apps/web/src/cockpits/sandra/SandraPainel.tsx index 652c76b..2bac414 100644 --- a/apps/web/src/cockpits/sandra/SandraPainel.tsx +++ b/apps/web/src/cockpits/sandra/SandraPainel.tsx @@ -121,7 +121,7 @@ export function SandraPainel() { - + APROVAÇÕES PENDENTES @@ -148,7 +148,7 @@ export function SandraPainel() { - + PEDIDOS HOJE @@ -171,7 +171,7 @@ export function SandraPainel() { - + VALOR HOJE @@ -253,7 +253,7 @@ export function SandraPainel() { background: 'var(--bg-surface-alt)', }} > - + Rep cód. {r.codVendedor}