Release / Plano (reaproveitar a imagem?) (push) Successful in 8s
CI / Trivy (dependências, segredos e configuração) (push) Failing after 8s
Release / ci (push) Failing after 9s
CI / Testes e imagem Docker (linux/arm64) (push) Skipped
Release / Publica a imagem (linux/arm64) (push) Skipped
Release / Cria a release no Gitea (push) Skipped
The GitHub account was suspended and the repository had no backup. The deployed code (src/, public/, index.html, main.py, requirements.txt) was extracted from the production image 1.3.1. The tests, Dockerfile, compose files, SECURITY.md, CHANGELOG.md and README were rebuilt from the records of the work sessions that created them; LICENSE, .gitignore, robots.txt and sitemap.xml were recreated. CI now runs on Gitea Actions. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
22 lines
517 B
JavaScript
22 lines
517 B
JavaScript
export const state = {
|
|
page_language: "pt-BR",
|
|
conversion_mode: "text-to-braille",
|
|
resolution: 20,
|
|
plate_thickness: 2,
|
|
unique_plate: true,
|
|
symbols_per_line: 22,
|
|
text_alignment: "center",
|
|
rounded: false,
|
|
points_only: false,
|
|
plate_width: 143.3, // calculated default
|
|
last_stl_blob: null
|
|
};
|
|
|
|
export function calculatePlateWidth() {
|
|
return ((state.symbols_per_line - 1) * 6.6) + 4.7;
|
|
}
|
|
|
|
export function updatePlateWidth() {
|
|
state.plate_width = calculatePlateWidth();
|
|
}
|