mirror of
https://github.com/grocy/grocy.git
synced 2025-08-29 09:16:31 +00:00
Replaced barcode scanning library with ZXing (#2706)
* Replaced barcode scanning library with ZXing * Applied code formatting rules * Delete now obsolete user settings * Review --------- Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@if (!GROCY_FEATURE_FLAG_DISABLE_BROWSER_BARCODE_CAMERA_SCANNING)
|
||||
|
||||
@php require_frontend_packages(['quagga2']); @endphp
|
||||
@php require_frontend_packages(['zxing']); @endphp
|
||||
|
||||
@once
|
||||
@push('componentScripts')
|
||||
|
@@ -740,8 +740,8 @@
|
||||
@if(in_array('daterangepicker', $GROCY_REQUIRED_FRONTEND_PACKAGES))
|
||||
<script src="{{ $U('/packages/daterangepicker/daterangepicker.js?v=', true) }}{{ $version }}"></script>
|
||||
@endif
|
||||
@if(in_array('quagga2', $GROCY_REQUIRED_FRONTEND_PACKAGES))
|
||||
<script src="{{ $U('/packages/@ericblade/quagga2/dist/quagga.min.js?v=', true) }}{{ $version }}"></script>
|
||||
@if(in_array('zxing', $GROCY_REQUIRED_FRONTEND_PACKAGES))
|
||||
<script src="{{ $U('/packages/@zxing/library/umd/index.min.js?v=', true) }}{{ $version }}"></script>
|
||||
@endif
|
||||
@if(in_array('bwipjs', $GROCY_REQUIRED_FRONTEND_PACKAGES))
|
||||
<script src="{{ $U('/packages/bwip-js/dist/bwip-js-min.js?v=', true) }}{{ $version }}"></script>
|
||||
|
Reference in New Issue
Block a user