@pixelverse/strichjs-sdk 1.6.1 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/NOTICE +381 -2
- package/dist/strich-noesm.js +16 -16
- package/dist/strich.d.ts +35 -2
- package/dist/strich.js +16 -16
- package/package.json +1 -1
package/dist/strich.d.ts
CHANGED
|
@@ -537,6 +537,10 @@ export declare interface PopupConfiguration {
|
|
|
537
537
|
*/
|
|
538
538
|
cancelButtonColor?: string;
|
|
539
539
|
};
|
|
540
|
+
/**
|
|
541
|
+
* Optional Overlay configuration.
|
|
542
|
+
*/
|
|
543
|
+
overlay?: OverlayConfiguration;
|
|
540
544
|
/**
|
|
541
545
|
* Optional configuration for audible and haptic feedback.
|
|
542
546
|
*/
|
|
@@ -741,9 +745,9 @@ export declare type SymbologyName = 'ean13' | 'ean8' | 'upca' | 'upce' | 'databa
|
|
|
741
745
|
*/
|
|
742
746
|
export declare type SymbologySpec = {
|
|
743
747
|
/**
|
|
744
|
-
* The name of the symbology.
|
|
748
|
+
* The name of the 1D barcode symbology.
|
|
745
749
|
*/
|
|
746
|
-
name:
|
|
750
|
+
name: 'ean13' | 'ean8' | 'upca' | 'upce' | 'databar' | 'databar-exp' | 'code39' | 'code93' | 'code128' | 'i25' | 'codabar';
|
|
747
751
|
/**
|
|
748
752
|
* The minimum length of the barcode, only has an effect for variable-length symbologies.
|
|
749
753
|
*/
|
|
@@ -774,6 +778,35 @@ export declare type SymbologySpec = {
|
|
|
774
778
|
* @defaultValue 0
|
|
775
779
|
*/
|
|
776
780
|
checksumMode?: number;
|
|
781
|
+
} | {
|
|
782
|
+
/** The name of the QR Code symbology */
|
|
783
|
+
name: 'qr';
|
|
784
|
+
/**
|
|
785
|
+
* Enable detection of QR Codes with rounded finder patterns.
|
|
786
|
+
*
|
|
787
|
+
* @remarks
|
|
788
|
+
* The finder patterns of a QR Code are nominally square with straight edges. The straight edges
|
|
789
|
+
* are useful in optimizing the detection of finder pattern triplets and mapping of the QR Code.
|
|
790
|
+
* The ISO specification mandates square finder patterns, but rounded finder patterns are used
|
|
791
|
+
* in practice, especially outside of industrial use cases.
|
|
792
|
+
*
|
|
793
|
+
* @defaultValue false
|
|
794
|
+
*/
|
|
795
|
+
roundedFPs: boolean;
|
|
796
|
+
/**
|
|
797
|
+
* Enable detection of QR Codes on curved/bent surfaces.
|
|
798
|
+
*
|
|
799
|
+
* @remarks
|
|
800
|
+
* More advanced algorithms will be used to read QR Codes from curved or bent surfaces. This option
|
|
801
|
+
* incurs extra processing time and only makes sense if your QR Codes are printed on curved surfaces
|
|
802
|
+
* such as bottles, barrels and other cylindrical or spherical items.
|
|
803
|
+
*
|
|
804
|
+
* @defaultValue false
|
|
805
|
+
*/
|
|
806
|
+
curved: boolean;
|
|
807
|
+
} | {
|
|
808
|
+
/** The name of the 2D symbology */
|
|
809
|
+
name: 'aztec' | 'datamatrix' | 'pdf417';
|
|
777
810
|
};
|
|
778
811
|
|
|
779
812
|
export { }
|