vrsao 2
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-08 14:02:01 +02:00
parent bdd766c68a
commit 1106509116
354 changed files with 48275 additions and 24635 deletions
+29 -29
View File
@@ -1,6 +1,6 @@
import { Link } from "@inertiajs/react";
import { cloneElement, isValidElement, useId, type ReactNode } from "react";
import { Layout } from "../portfolio/shared";
import { Link } from '@inertiajs/react';
import { cloneElement, isValidElement, useId, type ReactNode } from 'react';
import { Layout } from '../portfolio/shared';
export type Option = { id: string | number; name: string };
export type Territory = {
@@ -79,32 +79,32 @@ export type Interest = {
room_id: number | null;
};
export const labels: Record<string, string> = {
draft: "Rascunho",
pending: "Submetida — legado",
submitted: "Submetida",
returned: "Devolvida",
rejected: "Rejeitada",
published: "Publicada",
suspended: "Suspensa",
archived: "Arquivada",
withdrawn: "Retirada",
clarification: "Em esclarecimento",
shortlisted: "Lista curta",
negotiation: "Em negociação",
agreement_recorded: "Acordo registado",
agreed: "Confirmado pelas partes",
execution: "Em execução",
closed: "Concluída",
cancelled: "Cancelada",
progress: "Em curso",
completed: "Concluído",
met: "Comprovadamente cumprido",
unmet: "Comprovadamente incumprido",
unknown: "Informação insuficiente",
draft: 'Rascunho',
pending: 'Submetida — legado',
submitted: 'Submetida',
returned: 'Devolvida',
rejected: 'Rejeitada',
published: 'Publicada',
suspended: 'Suspensa',
archived: 'Arquivada',
withdrawn: 'Retirada',
clarification: 'Em esclarecimento',
shortlisted: 'Lista curta',
negotiation: 'Em negociação',
agreement_recorded: 'Acordo registado',
agreed: 'Confirmado pelas partes',
execution: 'Em execução',
closed: 'Concluída',
cancelled: 'Cancelada',
progress: 'Em curso',
completed: 'Concluído',
met: 'Comprovadamente cumprido',
unmet: 'Comprovadamente incumprido',
unknown: 'Informação insuficiente',
};
export const control = "w-full rounded border bg-background p-2";
export const control = 'w-full rounded border bg-background p-2';
export const button =
"inline-flex rounded bg-emerald-800 px-4 py-2 text-white disabled:opacity-50";
'inline-flex rounded bg-emerald-800 px-4 py-2 text-white disabled:opacity-50';
export function Frame({
title,
children,
@@ -151,8 +151,8 @@ export function Field({
<span id={id} className="font-medium">
{label}
</span>
{isValidElement<{ "aria-labelledby"?: string }>(children)
? cloneElement(children, { "aria-labelledby": id })
{isValidElement<{ 'aria-labelledby'?: string }>(children)
? cloneElement(children, { 'aria-labelledby': id })
: children}
</label>
);