feat: the Site's packing engine shared with the montador's real layout (front 7a.2a)

The packing engine moves verbatim from web/site-packing.js to
web/packing.js, loaded by the Site and the Kanban. Montar folha packs the
list with it after every change and draws the sheet, showing the real
length instead of the estimate.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-11-09 14:25:15 -03:00
parent 7a5116ab19
commit 04761e63e3
6 changed files with 324 additions and 218 deletions

View File

@@ -1204,6 +1204,7 @@ h2 em{font-style:normal;color:var(--laranja)}
<script src="/site-sheet.js"></script>
<script src="/site-pdf.js"></script>
<script src="/site-quality.js"></script>
<script src="/packing.js"></script>
<script src="/site-packing.js"></script>
<script src="/site-cart.js"></script>
<script src="/site-flow.js"></script>