feat: consolidar desenvolvimentos do portal InvestMoz

This commit is contained in:
2026-11-03 23:32:32 +02:00
parent 1da273f1f3
commit 36c8cadb49
345 changed files with 110714 additions and 2799 deletions
@@ -10,6 +10,9 @@ import { createOperationKey } from '@/lib/operation-key';
import { valueText } from '@/lib/value-text';
import { modalityLabels } from '@/components/opportunity-search-filters';
import OpportunityProfileActions from '@/components/opportunity-profile-actions';
import OpportunityTechnicalIncidents, {
type OpportunityTechnicalIncident,
} from '@/components/opportunity-technical-incidents';
import OpportunityContactForm from '@/components/opportunity-contact-form';
import OpportunityCanonicalFields, {
type CanonicalOptions,
@@ -89,6 +92,7 @@ export default function OpportunityDraft({
workflowState,
canonicalResponse,
workflowTasks = [],
workflowIncidents = [],
workflowParticipants,
publicationPreview,
publicationState,
@@ -101,6 +105,7 @@ export default function OpportunityDraft({
profileMode?: boolean;
profileOrganization?: string | null;
profileActions?: string[];
workflowIncidents?: OpportunityTechnicalIncident[];
profileReauthenticationRequired?: boolean;
profileContext?: Record<string, unknown> | null;
profileAccess?: {
@@ -1259,6 +1264,9 @@ export default function OpportunityDraft({
</p>
</section>
)}
{profileMode && record && (
<OpportunityTechnicalIncidents incidents={workflowIncidents} />
)}
{profileMode && record && etag && (
<OpportunityProfileActions
reauthenticationRequired={profileReauthenticationRequired}