Add bounded chart loading, per-layer retry states, and shared SVG skeletons. Add report block downloads with SVG, localized metadata, and inline deletion. Record verification and retain CRLF export, full-build, and controlled-device acceptance blockers. User authorized staging delivery with these gaps documented. Co-Authored-By: Claude Code <noreply@anthropic.com>
15 lines
650 B
TypeScript
15 lines
650 B
TypeScript
import type { ReportFactTable } from "./report-fact-table-schema";
|
|
|
|
export const FACT_STATUS_LABELS = {
|
|
multi_system_consensus: "多系统共识",
|
|
single_system_inference: "单一系统推断",
|
|
parameter_sensitive: "参数敏感",
|
|
unclosed_divisional_chart: "分盘尚未核验完整",
|
|
user_history_verification_required: "需要过往经历核对",
|
|
blocked: "暂不可用",
|
|
} as const;
|
|
|
|
export function factCellText(cell: ReportFactTable["rows"][number]["cells"][number]): string {
|
|
return cell === null ? "—" : typeof cell === "boolean" ? (cell ? "是" : "否") : typeof cell === "number" ? String(Number(cell.toFixed(2))) : cell;
|
|
}
|