import { inputText } from '../../lib/input-text.ts'; import { Head, Link, router, usePage } from '@inertiajs/react'; import { Frame, card, button } from '@/pages/investment/shared'; import { NoticeContent, states, acts, type Publication } from './shared'; export default function Show({ id, publication, state, history, watching, backUrl, printMode, }: { id: string; publication: Publication; state: string; history: Publication[]; watching: boolean; backUrl: string; printMode: boolean; }) { const { auth } = usePage<{ auth: { user: unknown } }>().props; return (
Voltar aos resultados Relatório imprimível {printMode && ( )} {auth?.user ? ( ) : ( Entrar para acompanhar — conta simples )}

{states[state]} · {acts[publication.act]} · Versão {publication.version}

Publicação deste acto no InvesteMoz: {publication.published_at}{' '} (UTC). Esta data não reinicia o prazo de origem.

Actos publicados e histórico

{history.map((v) => (
{acts[v.act]} · versão {v.version} ·{' '} {v.published_at} (UTC)

Motivo público: {v.reason}

))}
); }