Spaces:
Running
Running
Guilherme Silberfarb Costa commited on
Commit 路
8cc746d
1
Parent(s): 22106af
pequenas correcoes esteticas
Browse files- frontend/src/components/ElaboracaoTab.jsx +52 -49
- frontend/src/styles.css +30 -0
frontend/src/components/ElaboracaoTab.jsx
CHANGED
|
@@ -2443,7 +2443,7 @@ export default function ElaboracaoTab({ sessionId }) {
|
|
| 2443 |
</span>
|
| 2444 |
{dataMercadoPendente ? <span className="pending-apply-note">{pendingWarningText}</span> : null}
|
| 2445 |
</div>
|
| 2446 |
-
<div className="section1-empty-hint">
|
| 2447 |
</div>
|
| 2448 |
{dataMercadoError ? <div className="error-line inline-error">{dataMercadoError}</div> : null}
|
| 2449 |
</div>
|
|
@@ -2476,7 +2476,7 @@ export default function ElaboracaoTab({ sessionId }) {
|
|
| 2476 |
</span>
|
| 2477 |
{dependentePendente ? <span className="pending-apply-note">{pendingWarningText}</span> : null}
|
| 2478 |
</div>
|
| 2479 |
-
<div className="section1-empty-hint">
|
| 2480 |
</SectionBlock>
|
| 2481 |
|
| 2482 |
<SectionBlock step="6" title="Selecionar Vari谩veis Independentes" subtitle="Escolha regressoras e grupos de tipologia.">
|
|
@@ -2580,53 +2580,56 @@ export default function ElaboracaoTab({ sessionId }) {
|
|
| 2580 |
) : null}
|
| 2581 |
{colunaY ? (
|
| 2582 |
<div className="section6-selected-summary">
|
| 2583 |
-
<div className="section6-
|
| 2584 |
-
<div className="section6-
|
| 2585 |
-
|
| 2586 |
-
<div className="
|
| 2587 |
-
|
| 2588 |
-
|
| 2589 |
-
|
| 2590 |
-
|
| 2591 |
-
|
| 2592 |
-
|
| 2593 |
-
|
| 2594 |
-
|
| 2595 |
-
|
| 2596 |
-
<
|
| 2597 |
-
|
| 2598 |
-
<div className="
|
| 2599 |
-
|
| 2600 |
-
|
| 2601 |
-
|
| 2602 |
-
|
| 2603 |
-
|
| 2604 |
-
|
| 2605 |
-
|
| 2606 |
-
|
| 2607 |
-
|
| 2608 |
-
<
|
| 2609 |
-
|
| 2610 |
-
<div className="
|
| 2611 |
-
|
| 2612 |
-
|
| 2613 |
-
|
| 2614 |
-
|
| 2615 |
-
|
| 2616 |
-
|
| 2617 |
-
|
| 2618 |
-
|
| 2619 |
-
|
| 2620 |
-
<
|
| 2621 |
-
|
| 2622 |
-
<div className="
|
| 2623 |
-
|
| 2624 |
-
|
| 2625 |
-
|
| 2626 |
-
|
| 2627 |
-
|
| 2628 |
-
|
| 2629 |
-
|
|
|
|
|
|
|
|
|
|
| 2630 |
</div>
|
| 2631 |
</div>
|
| 2632 |
) : null}
|
|
|
|
| 2443 |
</span>
|
| 2444 |
{dataMercadoPendente ? <span className="pending-apply-note">{pendingWarningText}</span> : null}
|
| 2445 |
</div>
|
| 2446 |
+
<div className="section1-empty-hint">Valor atualmente aplicado: {colunaDataMercadoAplicada || '-'}</div>
|
| 2447 |
</div>
|
| 2448 |
{dataMercadoError ? <div className="error-line inline-error">{dataMercadoError}</div> : null}
|
| 2449 |
</div>
|
|
|
|
| 2476 |
</span>
|
| 2477 |
{dependentePendente ? <span className="pending-apply-note">{pendingWarningText}</span> : null}
|
| 2478 |
</div>
|
| 2479 |
+
<div className="section1-empty-hint section5-applied-hint">Valor atualmente aplicado: {colunaY || '-'}</div>
|
| 2480 |
</SectionBlock>
|
| 2481 |
|
| 2482 |
<SectionBlock step="6" title="Selecionar Vari谩veis Independentes" subtitle="Escolha regressoras e grupos de tipologia.">
|
|
|
|
| 2580 |
) : null}
|
| 2581 |
{colunaY ? (
|
| 2582 |
<div className="section6-selected-summary">
|
| 2583 |
+
<div className="section6-applied-badge">
|
| 2584 |
+
<div className="section6-applied-badge-title">Vari谩veis atualmente aplicadas</div>
|
| 2585 |
+
<div className="section6-summary-group">
|
| 2586 |
+
<div className="section6-summary-label">Independentes:</div>
|
| 2587 |
+
{colunasX.length > 0 ? (
|
| 2588 |
+
<div className="checkbox-inline-wrap">
|
| 2589 |
+
{colunasX.map((coluna) => (
|
| 2590 |
+
<span key={`selected-x-${coluna}`} className="compact-chip">{coluna}</span>
|
| 2591 |
+
))}
|
| 2592 |
+
</div>
|
| 2593 |
+
) : (
|
| 2594 |
+
<div className="section1-empty-hint">Nenhuma.</div>
|
| 2595 |
+
)}
|
| 2596 |
+
</div>
|
| 2597 |
+
<div className="section6-summary-group">
|
| 2598 |
+
<div className="section6-summary-label">Dicot么micas:</div>
|
| 2599 |
+
{dicotomicas.length > 0 ? (
|
| 2600 |
+
<div className="checkbox-inline-wrap">
|
| 2601 |
+
{dicotomicas.map((coluna) => (
|
| 2602 |
+
<span key={`selected-d-${coluna}`} className="compact-chip">{coluna}</span>
|
| 2603 |
+
))}
|
| 2604 |
+
</div>
|
| 2605 |
+
) : (
|
| 2606 |
+
<div className="section1-empty-hint">Nenhuma.</div>
|
| 2607 |
+
)}
|
| 2608 |
+
</div>
|
| 2609 |
+
<div className="section6-summary-group">
|
| 2610 |
+
<div className="section6-summary-label">C贸digo alocado/ajustado:</div>
|
| 2611 |
+
{codigoAlocado.length > 0 ? (
|
| 2612 |
+
<div className="checkbox-inline-wrap">
|
| 2613 |
+
{codigoAlocado.map((coluna) => (
|
| 2614 |
+
<span key={`selected-c-${coluna}`} className="compact-chip">{coluna}</span>
|
| 2615 |
+
))}
|
| 2616 |
+
</div>
|
| 2617 |
+
) : (
|
| 2618 |
+
<div className="section1-empty-hint">Nenhuma.</div>
|
| 2619 |
+
)}
|
| 2620 |
+
</div>
|
| 2621 |
+
<div className="section6-summary-group">
|
| 2622 |
+
<div className="section6-summary-label">Percentuais:</div>
|
| 2623 |
+
{percentuais.length > 0 ? (
|
| 2624 |
+
<div className="checkbox-inline-wrap">
|
| 2625 |
+
{percentuais.map((coluna) => (
|
| 2626 |
+
<span key={`selected-p-${coluna}`} className="compact-chip">{coluna}</span>
|
| 2627 |
+
))}
|
| 2628 |
+
</div>
|
| 2629 |
+
) : (
|
| 2630 |
+
<div className="section1-empty-hint">Nenhuma.</div>
|
| 2631 |
+
)}
|
| 2632 |
+
</div>
|
| 2633 |
</div>
|
| 2634 |
</div>
|
| 2635 |
) : null}
|
frontend/src/styles.css
CHANGED
|
@@ -1908,6 +1908,32 @@ button.btn-upload-select {
|
|
| 1908 |
gap: 8px;
|
| 1909 |
}
|
| 1910 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1911 |
.section6-summary-group {
|
| 1912 |
display: grid;
|
| 1913 |
gap: 5px;
|
|
@@ -2443,6 +2469,10 @@ button.btn-upload-select {
|
|
| 2443 |
margin-bottom: 0;
|
| 2444 |
}
|
| 2445 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2446 |
.pending-apply-note {
|
| 2447 |
display: inline-flex;
|
| 2448 |
align-items: center;
|
|
|
|
| 1908 |
gap: 8px;
|
| 1909 |
}
|
| 1910 |
|
| 1911 |
+
.section6-applied-badge {
|
| 1912 |
+
border: 1px solid #d8e4ef;
|
| 1913 |
+
border-radius: 12px;
|
| 1914 |
+
background: linear-gradient(180deg, #fcfdff 0%, #f7fbff 100%);
|
| 1915 |
+
padding: 10px 11px;
|
| 1916 |
+
display: grid;
|
| 1917 |
+
gap: 9px;
|
| 1918 |
+
}
|
| 1919 |
+
|
| 1920 |
+
.section6-applied-badge-title {
|
| 1921 |
+
display: inline-flex;
|
| 1922 |
+
align-items: center;
|
| 1923 |
+
justify-content: flex-start;
|
| 1924 |
+
width: fit-content;
|
| 1925 |
+
border: 1px solid #cadbeb;
|
| 1926 |
+
border-radius: 999px;
|
| 1927 |
+
background: #edf4fb;
|
| 1928 |
+
color: #3f5f7f;
|
| 1929 |
+
font-family: 'Sora', sans-serif;
|
| 1930 |
+
font-size: 0.73rem;
|
| 1931 |
+
font-weight: 800;
|
| 1932 |
+
text-transform: uppercase;
|
| 1933 |
+
letter-spacing: 0.04em;
|
| 1934 |
+
padding: 3px 10px;
|
| 1935 |
+
}
|
| 1936 |
+
|
| 1937 |
.section6-summary-group {
|
| 1938 |
display: grid;
|
| 1939 |
gap: 5px;
|
|
|
|
| 2469 |
margin-bottom: 0;
|
| 2470 |
}
|
| 2471 |
|
| 2472 |
+
.section5-applied-hint {
|
| 2473 |
+
margin-top: 8px;
|
| 2474 |
+
}
|
| 2475 |
+
|
| 2476 |
.pending-apply-note {
|
| 2477 |
display: inline-flex;
|
| 2478 |
align-items: center;
|