feat: implement QR code scanning with jsQR

Add jsQR for QR detection and update translations for scanning feedback

Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
v0
2026-01-15 17:21:46 +00:00
parent 16d51ea92c
commit 08a37a72e7
4 changed files with 95 additions and 9 deletions

8
pnpm-lock.yaml generated
View File

@@ -116,6 +116,9 @@ importers:
input-otp:
specifier: 1.4.1
version: 1.4.1(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
jsqr:
specifier: 1.4.0
version: 1.4.0
lucide-react:
specifier: ^0.454.0
version: 0.454.0(react@19.2.0)
@@ -1390,6 +1393,9 @@ packages:
js-tokens@4.0.0:
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
jsqr@1.4.0:
resolution: {integrity: sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A==}
lightningcss-darwin-arm64@1.30.1:
resolution: {integrity: sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ==}
engines: {node: '>= 12.0.0'}
@@ -2879,6 +2885,8 @@ snapshots:
js-tokens@4.0.0: {}
jsqr@1.4.0: {}
lightningcss-darwin-arm64@1.30.1:
optional: true