Support for Barcode reader (#650)
* Add Barcode Input Component and Integrate Quagga for Scanning - Introduced a new BarcodeInput component for scanning barcodes using the Quagga library. - Updated package.json and package-lock.json to include Quagga as a dependency. - Enhanced form themes to accommodate the new BarcodeInput component. - Added localization support for barcode scanning actions in English. - Updated blocks_types.json to register the new barcode input type. These changes improve the application's functionality by allowing users to scan barcodes directly within forms, enhancing user experience and data input efficiency. * Update Barcode scanner UI * Barcode decoder as user selection * improve barcode
This commit is contained in:
@@ -143,6 +143,15 @@
|
||||
"text_class": "text-pink-900",
|
||||
"is_input": true
|
||||
},
|
||||
"barcode": {
|
||||
"name": "barcode",
|
||||
"title": "Barcode Reader",
|
||||
"icon": "i-material-symbols-barcode-scanner-rounded",
|
||||
"default_block_name": "Scan Barcode",
|
||||
"bg_class": "bg-pink-100",
|
||||
"text_class": "text-pink-900",
|
||||
"is_input": true
|
||||
},
|
||||
"nf-text": {
|
||||
"name": "nf-text",
|
||||
"title": "Text",
|
||||
|
||||
Reference in New Issue
Block a user