Add PDF ticket generation and download feature

Introduces PDF ticket generation using html2canvas and jsPDF, including a new PdfTicketComponent for ticket rendering and a PdfService for PDF creation. Updates purchase success flow to allow users to download tickets as PDFs, adds progress feedback, and includes a test route and component for development. Also refactors order form with a fake fill helper and improves UI details.
This commit is contained in:
2025-11-26 11:54:42 +01:00
parent ea9912d048
commit 624ff820da
15 changed files with 696 additions and 15 deletions

View File

@@ -34,6 +34,8 @@
"@tailwindcss/postcss": "^4.1.14",
"angularx-qrcode": "^20.0.0",
"canvas-confetti": "^1.9.4",
"html2canvas": "^1.4.1",
"jspdf": "^3.0.4",
"ngx-mask": "^20.0.3",
"postcss": "^8.5.6",
"rxjs": "~7.8.0",
@@ -45,6 +47,7 @@
"@angular/build": "^20.3.5",
"@angular/cli": "^20.3.5",
"@angular/compiler-cli": "^20.3.0",
"@types/html2canvas": "^0.5.35",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.9.0",
"karma": "~6.4.0",