fix(number-fields): избегаем потери точности длинных чисел

- number-поля теперь рендерятся как text + inputMode=numeric,
  чтобы браузер не округлял значения через input type=number
- пробелы при вставке в number-поля удаляются
- бэкенд нормализует значения number-полей в строку перед сохранением
- добавлен хелпер normalizeFieldValueForStorage

Closes: искажение расчётного счёта и других длинных числовых полей
This commit is contained in:
2026-07-07 21:03:40 +03:00
commit 1f5ecb6da4
1089 changed files with 237546 additions and 0 deletions

54
.replit Normal file
View File

@@ -0,0 +1,54 @@
modules = ["nodejs-20", "web", "python-3.11", "postgresql-16"]
run = "npm run dev"
hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"]
[nix]
channel = "stable-24_05"
packages = ["imagemagick", "jdk17", "expect"]
[deployment]
deploymentTarget = "autoscale"
build = ["npm", "run", "build"]
run = ["sh", "-c", "NODE_ENV=production node dist/index.js"]
[env]
PORT = "5000"
[agent]
integrations = ["javascript_sendgrid:1.0.0", "javascript_database:1.0.0"]
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Start application"
[[workflows.workflow]]
name = "Start application"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "npm run dev"
waitForPort = 5000
[[ports]]
localPort = 5000
externalPort = 80
[userenv]
[userenv.shared]
VAPID_PUBLIC_KEY = "BIciI35ELG1CcSkpcrguGVsRYn26iqyE1Gatisjo2gKT7q5eGkMzp1xMiRS_Ded2T5EcJzisorvxPKWuyPna894"
VAPID_PRIVATE_KEY = "C45jDHzSUc2criqL8ccPwZYXtqCMLujMdZ6I0nh4qGY"
PUSHY_API_KEY = "8954cb06931b4d6bf519add9cd22f2b4c02780eb090cd8c3244013f94e8b966d"
[postMerge]
path = "scripts/post-merge.sh"
timeoutMs = 20000