@tauri-apps/plugin-barcode-scanner
Advanced tools
+18
-0
@@ -11,2 +11,5 @@ 'use strict'; | ||
| Format["QRCode"] = "QR_CODE"; | ||
| /** | ||
| * Not supported on iOS. | ||
| */ | ||
| Format["UPC_A"] = "UPC_A"; | ||
@@ -19,2 +22,5 @@ Format["UPC_E"] = "UPC_E"; | ||
| Format["Code128"] = "CODE_128"; | ||
| /** | ||
| * Not supported on iOS. | ||
| */ | ||
| Format["Codabar"] = "CODABAR"; | ||
@@ -25,2 +31,14 @@ Format["ITF"] = "ITF"; | ||
| Format["PDF417"] = "PDF_417"; | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| Format["GS1DataBar"] = "GS1_DATA_BAR"; | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| Format["GS1DataBarLimited"] = "GS1_DATA_BAR_LIMITED"; | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| Format["GS1DataBarExpanded"] = "GS1_DATA_BAR_EXPANDED"; | ||
| })(exports.Format || (exports.Format = {})); | ||
@@ -27,0 +45,0 @@ /** |
+19
-1
| export type { PermissionState } from '@tauri-apps/api/core'; | ||
| export declare enum Format { | ||
| QRCode = "QR_CODE", | ||
| /** | ||
| * Not supported on iOS. | ||
| */ | ||
| UPC_A = "UPC_A", | ||
@@ -11,2 +14,5 @@ UPC_E = "UPC_E", | ||
| Code128 = "CODE_128", | ||
| /** | ||
| * Not supported on iOS. | ||
| */ | ||
| Codabar = "CODABAR", | ||
@@ -16,3 +22,15 @@ ITF = "ITF", | ||
| DataMatrix = "DATA_MATRIX", | ||
| PDF417 = "PDF_417" | ||
| PDF417 = "PDF_417", | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| GS1DataBar = "GS1_DATA_BAR", | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| GS1DataBarLimited = "GS1_DATA_BAR_LIMITED", | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| GS1DataBarExpanded = "GS1_DATA_BAR_EXPANDED" | ||
| } | ||
@@ -19,0 +37,0 @@ export interface ScanOptions { |
+18
-0
@@ -9,2 +9,5 @@ import { invoke, checkPermissions as checkPermissions$1, requestPermissions as requestPermissions$1 } from '@tauri-apps/api/core'; | ||
| Format["QRCode"] = "QR_CODE"; | ||
| /** | ||
| * Not supported on iOS. | ||
| */ | ||
| Format["UPC_A"] = "UPC_A"; | ||
@@ -17,2 +20,5 @@ Format["UPC_E"] = "UPC_E"; | ||
| Format["Code128"] = "CODE_128"; | ||
| /** | ||
| * Not supported on iOS. | ||
| */ | ||
| Format["Codabar"] = "CODABAR"; | ||
@@ -23,2 +29,14 @@ Format["ITF"] = "ITF"; | ||
| Format["PDF417"] = "PDF_417"; | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| Format["GS1DataBar"] = "GS1_DATA_BAR"; | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| Format["GS1DataBarLimited"] = "GS1_DATA_BAR_LIMITED"; | ||
| /** | ||
| * Not supported on Android. Requires iOS 15.4+ | ||
| */ | ||
| Format["GS1DataBarExpanded"] = "GS1_DATA_BAR_EXPANDED"; | ||
| })(Format || (Format = {})); | ||
@@ -25,0 +43,0 @@ /** |
+1
-1
| { | ||
| "name": "@tauri-apps/plugin-barcode-scanner", | ||
| "version": "2.3.0", | ||
| "version": "2.4.0", | ||
| "description": "Scan QR codes, EAN-13 and other kinds of barcodes on Android and iOS", | ||
@@ -5,0 +5,0 @@ "license": "MIT OR Apache-2.0", |
11354
13.32%210
34.62%