feat: add QRCode scanner

This commit is contained in:
2025-12-17 23:57:04 +07:00
parent 5b5fcf9d44
commit bec77d187d
9 changed files with 1067 additions and 75 deletions

View File

@@ -6,15 +6,20 @@
"description": "An Ionic project",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"build": "vite build",
"preview": "vite preview",
"run:ios": "ionic capacitor run ios -l --external",
"run:android": "ionic capacitor run android -l --external",
"test:e2e": "cypress run",
"test:unit": "vitest",
"lint": "eslint",
"lint:fix": "eslint --fix"
},
"dependencies": {
"@capacitor-community/barcode-scanner": "^4.0.1",
"@capacitor-mlkit/barcode-scanning": "^8.0.0",
"@capacitor/app": "8.0.0",
"@capacitor/camera": "^8.0.0",
"@capacitor/core": "8.0.0",
"@capacitor/haptics": "8.0.0",
"@capacitor/ios": "^8.0.0",
@@ -23,7 +28,7 @@
"@elysiajs/eden": "^1.4.5",
"@ionic/vue": "^8.7.11",
"@ionic/vue-router": "^8.7.11",
"@riwa/api-types": "http://192.168.1.36:9527/api/riwa-api-types-0.0.24.tgz",
"@riwa/api-types": "http://192.168.1.36:9527/api/riwa-api-types-0.0.29.tgz",
"@tailwindcss/vite": "^4.1.18",
"@vee-validate/yup": "^4.15.1",
"@vueuse/core": "^14.1.0",
@@ -46,6 +51,7 @@
"@iconify-json/ic": "^1.2.4",
"@iconify-json/material-icon-theme": "^1.2.44",
"@iconify/vue": "^5.0.0",
"@ionic/cli": "^7.2.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.10.2",
"@vitejs/plugin-legacy": "^7.2.1",