Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
# Tasks: enterprise-qrcode
## 1. Scaffold
- [x] 1.1 `universal/media/qrcode/`; 100/100/100/100; guard tests; CLAUDE/README/FOLDERS.
## 2. Errors + schemas
- [x] 2.1 `src/error-codes.ts` — codes + side-effect register.
- [x] 2.2 Zod schemas per option type.
## 3. Encoder
- [x] 3.1 `src/generator/segmenter.ts` — mode selection (numeric / alphanumeric / byte / kanji).
- [x] 3.2 `src/generator/rs.ts` — Reed-Solomon codewords.
- [x] 3.3 `src/generator/mask-evaluator.ts` — 8-mask evaluator.
- [x] 3.4 `src/generator/qr-generator.ts` — `QrGenerator` orchestrator + `QrError`.
## 4. Decoder
- [x] 4.1 `src/reader/qr-reader.ts` — binarisation, locator-pattern detection, perspective correction, decoding.
## 5. Styled export
- [x] 5.1 `src/styled/styled-qr.ts` — `generateStyledSvg`, `getLogoModuleArea`, gradients + module shapes.
## 6. Export
- [x] 6.1 `src/export/qr-exporter.ts` — `toDataUrl`, `toSvg`.
## 7. Batch
- [x] 7.1 `src/batch/batch-generator.ts` — sync / async / progress variants.
## 8. Docs / barrel / subpath exports / README
## 9. Benchmarks
- [x] 9.1 Encode / decode benchmarks at version 5 / 10 / 40.
## 10. Ship gate
- [x] 10.1 Verification sequence; fold + archive.