vue-qrcode-reader
Advanced tools
Comparing version 5.2.0 to 5.3.0
@@ -1,4 +0,17 @@ | ||
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "detect"[], "detect", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & { | ||
import { type PropType } from 'vue'; | ||
declare const _sfc_main: import("vue").DefineComponent<{ | ||
formats: { | ||
type: PropType<BarcodeFormat[]>; | ||
default: () => BarcodeFormat[]; | ||
}; | ||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "detect"[], "detect", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
formats: { | ||
type: PropType<BarcodeFormat[]>; | ||
default: () => BarcodeFormat[]; | ||
}; | ||
}>> & { | ||
onDetect?: (...args: any[]) => any; | ||
}, {}, {}>; | ||
}, { | ||
formats: BarcodeFormat[]; | ||
}, {}>; | ||
export default _sfc_main; |
@@ -1,6 +0,19 @@ | ||
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("detect" | "error" | "dragover")[], "detect" | "error" | "dragover", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & { | ||
import { type PropType } from 'vue'; | ||
declare const _sfc_main: import("vue").DefineComponent<{ | ||
formats: { | ||
type: PropType<BarcodeFormat[]>; | ||
default: () => BarcodeFormat[]; | ||
}; | ||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("detect" | "error" | "dragover")[], "detect" | "error" | "dragover", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
formats: { | ||
type: PropType<BarcodeFormat[]>; | ||
default: () => BarcodeFormat[]; | ||
}; | ||
}>> & { | ||
onDetect?: (...args: any[]) => any; | ||
onError?: (...args: any[]) => any; | ||
onDragover?: (...args: any[]) => any; | ||
}, {}, {}>; | ||
}, { | ||
formats: BarcodeFormat[]; | ||
}, {}>; | ||
export default _sfc_main; |
@@ -0,1 +1,2 @@ | ||
import { type PropType } from 'vue'; | ||
declare const _sfc_main: import("vue").DefineComponent<{ | ||
@@ -8,2 +9,6 @@ constraints: { | ||
}; | ||
formats: { | ||
type: PropType<("aztec" | "code_128" | "code_39" | "code_93" | "codabar" | "data_matrix" | "ean_13" | "ean_8" | "itf" | "pdf417" | "qr_code" | "upc_a" | "upc_e" | "unknown")[]>; | ||
default: () => ("aztec" | "code_128" | "code_39" | "code_93" | "codabar" | "data_matrix" | "ean_13" | "ean_8" | "itf" | "pdf417" | "qr_code" | "upc_a" | "upc_e" | "unknown")[]; | ||
}; | ||
paused: { | ||
@@ -27,2 +32,6 @@ type: BooleanConstructor; | ||
}; | ||
formats: { | ||
type: PropType<("aztec" | "code_128" | "code_39" | "code_93" | "codabar" | "data_matrix" | "ean_13" | "ean_8" | "itf" | "pdf417" | "qr_code" | "upc_a" | "upc_e" | "unknown")[]>; | ||
default: () => ("aztec" | "code_128" | "code_39" | "code_93" | "codabar" | "data_matrix" | "ean_13" | "ean_8" | "itf" | "pdf417" | "qr_code" | "upc_a" | "upc_e" | "unknown")[]; | ||
}; | ||
paused: { | ||
@@ -46,2 +55,3 @@ type: BooleanConstructor; | ||
constraints: Record<string, any>; | ||
formats: ("aztec" | "code_128" | "code_39" | "code_93" | "codabar" | "data_matrix" | "ean_13" | "ean_8" | "itf" | "pdf417" | "qr_code" | "upc_a" | "upc_e" | "unknown")[]; | ||
paused: boolean; | ||
@@ -48,0 +58,0 @@ torch: boolean; |
@@ -1,2 +0,3 @@ | ||
import { type DetectedBarcode } from '@sec-ant/barcode-detector/pure'; | ||
import { type DetectedBarcode, type BarcodeFormat } from '@sec-ant/barcode-detector/pure'; | ||
export declare const setScanningFormats: (formats: BarcodeFormat[]) => void; | ||
/** | ||
@@ -11,3 +12,3 @@ * Continuously extracts frames from camera stream and tries to read | ||
}) => Promise<void>; | ||
export declare const processFile: (file: File) => Promise<DetectedBarcode[]>; | ||
export declare const processUrl: (url: string) => Promise<DetectedBarcode[]>; | ||
export declare const processFile: (file: File, formats?: BarcodeFormat[]) => Promise<DetectedBarcode[]>; | ||
export declare const processUrl: (url: string, formats?: BarcodeFormat[]) => Promise<DetectedBarcode[]>; |
{ | ||
"name": "vue-qrcode-reader", | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"description": "A set of Vue.js components for detecting and decoding QR codes.", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184675
3328