scandit-capacitor-datacapture-barcode 6.23.2 → 6.24.0-beta.2
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/ScanditCapacitorDatacaptureBarcode.podspec +1 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/scandit/capacitor/datacapture/barcode/ScanditBarcodeNative.kt +23 -9
- package/dist/barcode.js +603 -261
- package/dist/barcode.js.map +1 -1
- package/dist/dts/definitions.d.ts +7 -5
- package/dist/dts/ts/BarcodeFindView.d.ts +4 -0
- package/dist/dts/ts/BarcodePickView.d.ts +1 -1
- package/dist/dts/ts/Capacitor/BarcodeFindListenerProxy.d.ts +2 -0
- package/dist/dts/ts/Capacitor/BarcodePickViewProxy.d.ts +2 -0
- package/dist/dts/ts/Capacitor/Capacitor.d.ts +3 -1
- package/dist/dts/ts/Capacitor/SparkScanListenerProxy.d.ts +1 -1
- package/dist/dts/ts/Capacitor/SparkScanViewProxy.d.ts +19 -25
- package/dist/dts/ts/SparkScanView.d.ts +9 -42
- package/dist/index.js +280 -480
- package/dist/index.js.map +1 -1
- package/ios/Plugin/Plugin.m +2 -1
- package/ios/Plugin/ScanditBarcodeCapture.swift +20 -2
- package/package.json +18 -7
package/dist/barcode.js
CHANGED
|
@@ -34,6 +34,7 @@ var Symbology;
|
|
|
34
34
|
Symbology["ArUco"] = "aruco";
|
|
35
35
|
Symbology["Upu4State"] = "upu-4state";
|
|
36
36
|
Symbology["AustralianPost"] = "australian-post-4state";
|
|
37
|
+
Symbology["FrenchPost"] = "french-post";
|
|
37
38
|
})(Symbology || (Symbology = {}));
|
|
38
39
|
|
|
39
40
|
/******************************************************************************
|
|
@@ -307,6 +308,8 @@ function parseBarcodeCaptureDefaults(jsonDefaults) {
|
|
|
307
308
|
.fromJSON(jsonDefaults.RecommendedCameraSettings),
|
|
308
309
|
BarcodeCaptureSettings: {
|
|
309
310
|
codeDuplicateFilter: jsonDefaults.BarcodeCaptureSettings.codeDuplicateFilter,
|
|
311
|
+
batterySavingMode: jsonDefaults.BarcodeCaptureSettings.batterySavingMode,
|
|
312
|
+
scanIntention: jsonDefaults.BarcodeCaptureSettings.scanIntention,
|
|
310
313
|
},
|
|
311
314
|
BarcodeCaptureOverlay: {
|
|
312
315
|
defaultStyle: jsonDefaults.BarcodeCaptureOverlay.defaultStyle,
|
|
@@ -543,7 +546,7 @@ function getBarcodePickDefaults() {
|
|
|
543
546
|
}
|
|
544
547
|
function parseBarcodePickViewHighlightStyle(jsonStyles) {
|
|
545
548
|
const styles = {};
|
|
546
|
-
Object.entries(jsonStyles).
|
|
549
|
+
Object.entries(jsonStyles).forEach(([key, value]) => {
|
|
547
550
|
styles[key] = JSON.parse(value);
|
|
548
551
|
});
|
|
549
552
|
return styles;
|
|
@@ -589,12 +592,14 @@ function getBarcodeFindDefaults() {
|
|
|
589
592
|
return FactoryMaker.getInstance('BarcodeFindDefaults');
|
|
590
593
|
}
|
|
591
594
|
function parseBarcodeFindDefaults(jsonDefaults) {
|
|
592
|
-
var _a, _b, _c, _d, _e, _f;
|
|
595
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
593
596
|
return {
|
|
594
597
|
RecommendedCameraSettings: CameraSettings
|
|
595
598
|
.fromJSON(jsonDefaults.RecommendedCameraSettings),
|
|
596
599
|
Feedback: {
|
|
597
|
-
found: Feedback.fromJSON(JSON.parse(jsonDefaults.BarcodeFindFeedback).found)
|
|
600
|
+
found: Feedback.fromJSON(JSON.parse(jsonDefaults.BarcodeFindFeedback).found),
|
|
601
|
+
itemListUpdated: Feedback
|
|
602
|
+
.fromJSON(JSON.parse(jsonDefaults.BarcodeFindFeedback).itemListUpdated),
|
|
598
603
|
},
|
|
599
604
|
BarcodeFindView: {
|
|
600
605
|
shouldShowCarousel: jsonDefaults.shouldShowCarousel,
|
|
@@ -605,184 +610,31 @@ function parseBarcodeFindDefaults(jsonDefaults) {
|
|
|
605
610
|
shouldShowUserGuidanceView: jsonDefaults.shouldShowUserGuidanceView,
|
|
606
611
|
shouldShowTorchControl: jsonDefaults.shouldShowTorchControl,
|
|
607
612
|
textForAllItemsFoundSuccessfullyHint: (_a = jsonDefaults.textForAllItemsFoundSuccessfullyHint) !== null && _a !== void 0 ? _a : null,
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
+
textForItemListUpdatedHint: (_b = jsonDefaults.textForItemListUpdatedHint) !== null && _b !== void 0 ? _b : null,
|
|
614
|
+
textForItemListUpdatedWhenPausedHint: (_c = jsonDefaults.textForItemListUpdatedWhenPausedHint) !== null && _c !== void 0 ? _c : null,
|
|
615
|
+
textForCollapseCardsButton: (_d = jsonDefaults.textForCollapseCardsButton) !== null && _d !== void 0 ? _d : null,
|
|
616
|
+
textForMoveCloserToBarcodesHint: (_e = jsonDefaults.textForMoveCloserToBarcodesHint) !== null && _e !== void 0 ? _e : null,
|
|
617
|
+
textForPointAtBarcodesToSearchHint: (_f = jsonDefaults.textForPointAtBarcodesToSearchHint) !== null && _f !== void 0 ? _f : null,
|
|
618
|
+
textForTapShutterToPauseScreenHint: (_g = jsonDefaults.textForTapShutterToPauseScreenHint) !== null && _g !== void 0 ? _g : null,
|
|
619
|
+
textForTapShutterToResumeSearchHint: (_h = jsonDefaults.textForTapShutterToResumeSearchHint) !== null && _h !== void 0 ? _h : null,
|
|
613
620
|
torchControlPosition: jsonDefaults.torchControlPosition,
|
|
614
621
|
}
|
|
615
622
|
};
|
|
616
623
|
}
|
|
617
624
|
|
|
618
|
-
class SparkScanToastSettings extends DefaultSerializeable {
|
|
619
|
-
constructor() {
|
|
620
|
-
super(...arguments);
|
|
621
|
-
this._toastEnabled = false;
|
|
622
|
-
this._toastBackgroundColor = null;
|
|
623
|
-
this._toastTextColor = null;
|
|
624
|
-
this._targetModeEnabledMessage = null;
|
|
625
|
-
this._targetModeDisabledMessage = null;
|
|
626
|
-
this._continuousModeEnabledMessage = null;
|
|
627
|
-
this._continuousModeDisabledMessage = null;
|
|
628
|
-
this._cameraTimeoutMessage = null;
|
|
629
|
-
this._scanPausedMessage = null;
|
|
630
|
-
this._zoomedInMessage = null;
|
|
631
|
-
this._zoomedOutMessage = null;
|
|
632
|
-
this._torchEnabledMessage = null;
|
|
633
|
-
this._torchDisabledMessage = null;
|
|
634
|
-
}
|
|
635
|
-
set toastEnabled(isEnabled) {
|
|
636
|
-
this._toastEnabled = isEnabled;
|
|
637
|
-
}
|
|
638
|
-
get toastEnabled() {
|
|
639
|
-
return this._toastEnabled;
|
|
640
|
-
}
|
|
641
|
-
set toastBackgroundColor(backgroundColor) {
|
|
642
|
-
this._toastBackgroundColor = backgroundColor;
|
|
643
|
-
}
|
|
644
|
-
get toastBackgroundColor() {
|
|
645
|
-
return this._toastBackgroundColor;
|
|
646
|
-
}
|
|
647
|
-
set toastTextColor(textColor) {
|
|
648
|
-
this._toastTextColor = textColor;
|
|
649
|
-
}
|
|
650
|
-
get toastTextColor() {
|
|
651
|
-
return this._toastTextColor;
|
|
652
|
-
}
|
|
653
|
-
set targetModeEnabledMessage(message) {
|
|
654
|
-
this._targetModeEnabledMessage = message;
|
|
655
|
-
}
|
|
656
|
-
get targetModeEnabledMessage() {
|
|
657
|
-
return this._targetModeEnabledMessage;
|
|
658
|
-
}
|
|
659
|
-
set targetModeDisabledMessage(message) {
|
|
660
|
-
this._targetModeDisabledMessage = message;
|
|
661
|
-
}
|
|
662
|
-
get targetModeDisabledMessage() {
|
|
663
|
-
return this._targetModeDisabledMessage;
|
|
664
|
-
}
|
|
665
|
-
set continuousModeEnabledMessage(message) {
|
|
666
|
-
this._continuousModeEnabledMessage = message;
|
|
667
|
-
}
|
|
668
|
-
get continuousModeEnabledMessage() {
|
|
669
|
-
return this._continuousModeEnabledMessage;
|
|
670
|
-
}
|
|
671
|
-
set continuousModeDisabledMessage(message) {
|
|
672
|
-
this._continuousModeDisabledMessage = message;
|
|
673
|
-
}
|
|
674
|
-
get continuousModeDisabledMessage() {
|
|
675
|
-
return this._continuousModeDisabledMessage;
|
|
676
|
-
}
|
|
677
|
-
set cameraTimeoutMessage(message) {
|
|
678
|
-
this._cameraTimeoutMessage = message;
|
|
679
|
-
}
|
|
680
|
-
get cameraTimeoutMessage() {
|
|
681
|
-
return this._cameraTimeoutMessage;
|
|
682
|
-
}
|
|
683
|
-
set scanPausedMessage(message) {
|
|
684
|
-
this._scanPausedMessage = message;
|
|
685
|
-
}
|
|
686
|
-
get scanPausedMessage() {
|
|
687
|
-
return this._scanPausedMessage;
|
|
688
|
-
}
|
|
689
|
-
set zoomedInMessage(message) {
|
|
690
|
-
this._zoomedInMessage = message;
|
|
691
|
-
}
|
|
692
|
-
get zoomedInMessage() {
|
|
693
|
-
return this._zoomedInMessage;
|
|
694
|
-
}
|
|
695
|
-
set zoomedOutMessage(message) {
|
|
696
|
-
this._zoomedOutMessage = message;
|
|
697
|
-
}
|
|
698
|
-
get zoomedOutMessage() {
|
|
699
|
-
return this._zoomedOutMessage;
|
|
700
|
-
}
|
|
701
|
-
set torchEnabledMessage(message) {
|
|
702
|
-
this._torchEnabledMessage = message;
|
|
703
|
-
}
|
|
704
|
-
get torchEnabledMessage() {
|
|
705
|
-
return this._torchEnabledMessage;
|
|
706
|
-
}
|
|
707
|
-
set torchDisabledMessage(message) {
|
|
708
|
-
this._torchDisabledMessage = message;
|
|
709
|
-
}
|
|
710
|
-
get torchDisabledMessage() {
|
|
711
|
-
return this._torchDisabledMessage;
|
|
712
|
-
}
|
|
713
|
-
static fromJSON(json) {
|
|
714
|
-
const toastSettings = new SparkScanToastSettings();
|
|
715
|
-
toastSettings._toastEnabled = json.toastEnabled;
|
|
716
|
-
toastSettings._toastBackgroundColor = json.toastBackgroundColor;
|
|
717
|
-
toastSettings._toastTextColor = json.toastTextColor;
|
|
718
|
-
toastSettings._targetModeEnabledMessage = json.targetModeEnabledMessage;
|
|
719
|
-
toastSettings._targetModeDisabledMessage = json.targetModeDisabledMessage;
|
|
720
|
-
toastSettings._continuousModeEnabledMessage = json.continuousModeEnabledMessage;
|
|
721
|
-
toastSettings._continuousModeDisabledMessage = json.continuousModeDisabledMessage;
|
|
722
|
-
toastSettings._cameraTimeoutMessage = json.cameraTimeoutMessage;
|
|
723
|
-
return toastSettings;
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
__decorate([
|
|
727
|
-
nameForSerialization('toastEnabled')
|
|
728
|
-
], SparkScanToastSettings.prototype, "_toastEnabled", void 0);
|
|
729
|
-
__decorate([
|
|
730
|
-
nameForSerialization('toastBackgroundColor')
|
|
731
|
-
], SparkScanToastSettings.prototype, "_toastBackgroundColor", void 0);
|
|
732
|
-
__decorate([
|
|
733
|
-
nameForSerialization('toastTextColor')
|
|
734
|
-
], SparkScanToastSettings.prototype, "_toastTextColor", void 0);
|
|
735
|
-
__decorate([
|
|
736
|
-
nameForSerialization('targetModeEnabledMessage')
|
|
737
|
-
], SparkScanToastSettings.prototype, "_targetModeEnabledMessage", void 0);
|
|
738
|
-
__decorate([
|
|
739
|
-
nameForSerialization('targetModeDisabledMessage')
|
|
740
|
-
], SparkScanToastSettings.prototype, "_targetModeDisabledMessage", void 0);
|
|
741
|
-
__decorate([
|
|
742
|
-
nameForSerialization('continuousModeEnabledMessage')
|
|
743
|
-
], SparkScanToastSettings.prototype, "_continuousModeEnabledMessage", void 0);
|
|
744
|
-
__decorate([
|
|
745
|
-
nameForSerialization('continuousModeDisabledMessage')
|
|
746
|
-
], SparkScanToastSettings.prototype, "_continuousModeDisabledMessage", void 0);
|
|
747
|
-
__decorate([
|
|
748
|
-
nameForSerialization('cameraTimeoutMessage')
|
|
749
|
-
], SparkScanToastSettings.prototype, "_cameraTimeoutMessage", void 0);
|
|
750
|
-
__decorate([
|
|
751
|
-
nameForSerialization('scanPausedMessage')
|
|
752
|
-
], SparkScanToastSettings.prototype, "_scanPausedMessage", void 0);
|
|
753
|
-
__decorate([
|
|
754
|
-
nameForSerialization('zoomedInMessage')
|
|
755
|
-
], SparkScanToastSettings.prototype, "_zoomedInMessage", void 0);
|
|
756
|
-
__decorate([
|
|
757
|
-
nameForSerialization('zoomedOutMessage')
|
|
758
|
-
], SparkScanToastSettings.prototype, "_zoomedOutMessage", void 0);
|
|
759
|
-
__decorate([
|
|
760
|
-
nameForSerialization('torchEnabledMessage')
|
|
761
|
-
], SparkScanToastSettings.prototype, "_torchEnabledMessage", void 0);
|
|
762
|
-
__decorate([
|
|
763
|
-
nameForSerialization('torchDisabledMessage')
|
|
764
|
-
], SparkScanToastSettings.prototype, "_torchDisabledMessage", void 0);
|
|
765
|
-
|
|
766
625
|
function parseSparkScanDefaults(jsonDefaults) {
|
|
767
626
|
const sparkScanViewSettingsDefaults = JSON.parse(jsonDefaults.SparkScanView.SparkScanViewSettings);
|
|
627
|
+
const toastSettingsDefaults = JSON.parse(sparkScanViewSettingsDefaults.toastSettings);
|
|
768
628
|
const sparkScanDefaults = {
|
|
769
629
|
Feedback: ({
|
|
770
630
|
success: {
|
|
771
631
|
visualFeedbackColor: Color.fromJSON(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.visualFeedbackColor),
|
|
772
|
-
brush:
|
|
773
|
-
fillColor: Color.fromJSON(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.brush.fill.color),
|
|
774
|
-
strokeColor: Color.fromJSON(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.brush.stroke.color),
|
|
775
|
-
strokeWidth: JSON.parse(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.brush.stroke.width),
|
|
776
|
-
},
|
|
632
|
+
brush: new Brush(Color.fromJSON(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.brush.fill.color), Color.fromJSON(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.brush.stroke.color), JSON.parse(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.brush.stroke.width)),
|
|
777
633
|
feedbackDefault: Feedback.fromJSON(JSON.parse(jsonDefaults.Feedback.success).barcodeFeedback.feedback),
|
|
778
634
|
},
|
|
779
635
|
error: {
|
|
780
636
|
visualFeedbackColor: JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.visualFeedbackColor,
|
|
781
|
-
brush:
|
|
782
|
-
fillColor: Color.fromJSON(JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.brush.fill.color),
|
|
783
|
-
strokeColor: Color.fromJSON(JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.brush.stroke.color),
|
|
784
|
-
strokeWidth: JSON.parse(JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.brush.stroke.width),
|
|
785
|
-
},
|
|
637
|
+
brush: new Brush(Color.fromJSON(JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.brush.fill.color), Color.fromJSON(JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.brush.stroke.color), JSON.parse(JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.brush.stroke.width)),
|
|
786
638
|
feedbackDefault: Feedback.fromJSON(JSON.parse(jsonDefaults.Feedback.error).barcodeFeedback.feedback),
|
|
787
639
|
}
|
|
788
640
|
}),
|
|
@@ -792,15 +644,12 @@ function parseSparkScanDefaults(jsonDefaults) {
|
|
|
792
644
|
locationSelection: (fromJSON) => {
|
|
793
645
|
return fromJSON(JSON.parse(jsonDefaults.SparkScanSettings.locationSelection));
|
|
794
646
|
},
|
|
795
|
-
singleBarcodeAutoDetection: jsonDefaults.SparkScanSettings.singleBarcodeAutoDetection
|
|
647
|
+
singleBarcodeAutoDetection: jsonDefaults.SparkScanSettings.singleBarcodeAutoDetection,
|
|
648
|
+
scanIntention: jsonDefaults.SparkScanSettings.scanIntention,
|
|
796
649
|
},
|
|
797
650
|
SparkScanView: {
|
|
798
651
|
shouldShowScanAreaGuides: jsonDefaults.SparkScanView.shouldShowScanAreaGuides,
|
|
799
|
-
brush:
|
|
800
|
-
fillColor: Color.fromJSON(jsonDefaults.SparkScanView.brush.fillColor),
|
|
801
|
-
strokeColor: Color.fromJSON(jsonDefaults.SparkScanView.brush.strokeColor),
|
|
802
|
-
strokeWidth: jsonDefaults.SparkScanView.brush.strokeWidth
|
|
803
|
-
},
|
|
652
|
+
brush: new Brush(Color.fromJSON(jsonDefaults.SparkScanView.brush.fillColor), Color.fromJSON(jsonDefaults.SparkScanView.brush.strokeColor), jsonDefaults.SparkScanView.brush.strokeWidth),
|
|
804
653
|
torchButtonVisible: jsonDefaults.SparkScanView.torchButtonVisible,
|
|
805
654
|
scanningBehaviorButtonVisible: jsonDefaults.SparkScanView.scanningBehaviorButtonVisible,
|
|
806
655
|
handModeButtonVisible: jsonDefaults.SparkScanView.handModeButtonVisible,
|
|
@@ -828,6 +677,7 @@ function parseSparkScanDefaults(jsonDefaults) {
|
|
|
828
677
|
.fromJSON(jsonDefaults.SparkScanView.toolbarIconActiveTintColor) : null,
|
|
829
678
|
toolbarIconInactiveTintColor: jsonDefaults.SparkScanView.toolbarIconInactiveTintColor ? Color
|
|
830
679
|
.fromJSON(jsonDefaults.SparkScanView.toolbarIconInactiveTintColor) : null,
|
|
680
|
+
cameraSwitchButtonVisible: jsonDefaults.SparkScanView.cameraSwitchButtonVisible,
|
|
831
681
|
SparkScanViewSettings: {
|
|
832
682
|
triggerButtonCollapseTimeout: sparkScanViewSettingsDefaults.triggerButtonCollapseTimeout,
|
|
833
683
|
continuousCaptureTimeout: sparkScanViewSettingsDefaults.continuousCaptureTimeout,
|
|
@@ -842,13 +692,31 @@ function parseSparkScanDefaults(jsonDefaults) {
|
|
|
842
692
|
hardwareTriggerEnabled: sparkScanViewSettingsDefaults.hardwareTriggerEnabled,
|
|
843
693
|
hardwareTriggerKeyCode: sparkScanViewSettingsDefaults.hardwareTriggerKeyCode,
|
|
844
694
|
visualFeedbackEnabled: sparkScanViewSettingsDefaults.visualFeedbackEnabled ? sparkScanViewSettingsDefaults.visualFeedbackEnabled : false,
|
|
845
|
-
toastSettings:
|
|
846
|
-
.
|
|
695
|
+
toastSettings: {
|
|
696
|
+
toastEnabled: toastSettingsDefaults.toastEnabled,
|
|
697
|
+
toastBackgroundColor: toastSettingsDefaults.toastBackgroundColor ? Color
|
|
698
|
+
.fromJSON(toastSettingsDefaults.toastBackgroundColor) : null,
|
|
699
|
+
toastTextColor: toastSettingsDefaults.toastTextColor ? Color
|
|
700
|
+
.fromJSON(toastSettingsDefaults.toastTextColor) : null,
|
|
701
|
+
targetModeEnabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
702
|
+
targetModeDisabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
703
|
+
continuousModeEnabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
704
|
+
continuousModeDisabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
705
|
+
cameraTimeoutMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
706
|
+
worldFacingCameraEnabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
707
|
+
userFacingCameraEnabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
708
|
+
scanPausedMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
709
|
+
zoomedInMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
710
|
+
zoomedOutMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
711
|
+
torchEnabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
712
|
+
torchDisabledMessage: toastSettingsDefaults.targetModeEnabledMessage,
|
|
713
|
+
},
|
|
847
714
|
targetZoomFactorOut: sparkScanViewSettingsDefaults.targetZoomFactorOut,
|
|
848
715
|
targetZoomFactorIn: sparkScanViewSettingsDefaults.targetZoomFactorIn,
|
|
849
716
|
zoomFactorOut: sparkScanViewSettingsDefaults.zoomFactorOut,
|
|
850
717
|
zoomFactorIn: sparkScanViewSettingsDefaults.zoomFactorIn,
|
|
851
718
|
inactiveStateTimeout: sparkScanViewSettingsDefaults.inactiveStateTimeout,
|
|
719
|
+
defaultCameraPosition: sparkScanViewSettingsDefaults.defaultCameraPosition,
|
|
852
720
|
}
|
|
853
721
|
},
|
|
854
722
|
};
|
|
@@ -1441,6 +1309,8 @@ class BarcodeCaptureSettings extends DefaultSerializeable {
|
|
|
1441
1309
|
this.symbologies = {};
|
|
1442
1310
|
this._codeDuplicateFilter = BarcodeCaptureSettings.barcodeCaptureDefaults.BarcodeCaptureSettings.codeDuplicateFilter;
|
|
1443
1311
|
this._arucoDictionary = null;
|
|
1312
|
+
this.batterySavingMode = BarcodeCaptureSettings.barcodeCaptureDefaults.BarcodeCaptureSettings.batterySavingMode;
|
|
1313
|
+
this.scanIntention = BarcodeCaptureSettings.barcodeCaptureDefaults.BarcodeCaptureSettings.scanIntention;
|
|
1444
1314
|
}
|
|
1445
1315
|
settingsForSymbology(symbology) {
|
|
1446
1316
|
if (!this.symbologies[symbology]) {
|
|
@@ -2439,11 +2309,17 @@ class BarcodeCount extends DefaultSerializeable {
|
|
|
2439
2309
|
return this.didChange();
|
|
2440
2310
|
}
|
|
2441
2311
|
addListener(listener) {
|
|
2312
|
+
this.checkAndSubscribeListeners();
|
|
2442
2313
|
if (this.listeners.includes(listener)) {
|
|
2443
2314
|
return;
|
|
2444
2315
|
}
|
|
2445
2316
|
this.listeners.push(listener);
|
|
2446
2317
|
}
|
|
2318
|
+
checkAndSubscribeListeners() {
|
|
2319
|
+
if (this.listeners.length === 0) {
|
|
2320
|
+
this.listenerController.subscribeListener();
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2447
2323
|
removeListener(listener) {
|
|
2448
2324
|
if (!this.listeners.includes(listener)) {
|
|
2449
2325
|
return;
|
|
@@ -2482,9 +2358,6 @@ class BarcodeCount extends DefaultSerializeable {
|
|
|
2482
2358
|
didChange() {
|
|
2483
2359
|
return this.listenerController.update();
|
|
2484
2360
|
}
|
|
2485
|
-
subscribeNativeListeners() {
|
|
2486
|
-
this.listenerController.subscribeListener();
|
|
2487
|
-
}
|
|
2488
2361
|
unsubscribeNativeListeners() {
|
|
2489
2362
|
this.listenerController.unsubscribeListener();
|
|
2490
2363
|
}
|
|
@@ -2638,6 +2511,21 @@ __decorate([
|
|
|
2638
2511
|
ignoreFromSerialization
|
|
2639
2512
|
], BarcodeCountToolbarSettings, "barcodeCountDefaults", null);
|
|
2640
2513
|
|
|
2514
|
+
var BarcodeCountViewEvents;
|
|
2515
|
+
(function (BarcodeCountViewEvents) {
|
|
2516
|
+
BarcodeCountViewEvents["singleScanButtonTapped"] = "BarcodeCountViewUiListener.onSingleScanButtonTapped";
|
|
2517
|
+
BarcodeCountViewEvents["listButtonTapped"] = "BarcodeCountViewUiListener.onListButtonTapped";
|
|
2518
|
+
BarcodeCountViewEvents["exitButtonTapped"] = "BarcodeCountViewUiListener.onExitButtonTapped";
|
|
2519
|
+
BarcodeCountViewEvents["brushForRecognizedBarcode"] = "BarcodeCountViewListener.brushForRecognizedBarcode";
|
|
2520
|
+
BarcodeCountViewEvents["brushForRecognizedBarcodeNotInList"] = "BarcodeCountViewListener.brushForRecognizedBarcodeNotInList";
|
|
2521
|
+
BarcodeCountViewEvents["brushForUnrecognizedBarcode"] = "BarcodeCountViewListener.brushForUnrecognizedBarcode";
|
|
2522
|
+
BarcodeCountViewEvents["filteredBarcodeTapped"] = "BarcodeCountViewListener.didTapFilteredBarcode";
|
|
2523
|
+
BarcodeCountViewEvents["recognizedBarcodeNotInListTapped"] = "BarcodeCountViewListener.didTapRecognizedBarcodeNotInList";
|
|
2524
|
+
BarcodeCountViewEvents["recognizedBarcodeTapped"] = "BarcodeCountViewListener.didTapRecognizedBarcode";
|
|
2525
|
+
BarcodeCountViewEvents["unrecognizedBarcodeTapped"] = "BarcodeCountViewListener.didTapUnrecognizedBarcode";
|
|
2526
|
+
BarcodeCountViewEvents["captureListCompleted"] = "BarcodeCountViewListener.didCompleteCaptureList";
|
|
2527
|
+
})(BarcodeCountViewEvents || (BarcodeCountViewEvents = {}));
|
|
2528
|
+
|
|
2641
2529
|
class BarcodeFilterHighlightSettingsBrush extends DefaultSerializeable {
|
|
2642
2530
|
static create(brush) {
|
|
2643
2531
|
return new BarcodeFilterHighlightSettingsBrush(brush);
|
|
@@ -3451,16 +3339,28 @@ class SparkScan extends DefaultSerializeable {
|
|
|
3451
3339
|
return this.didChange();
|
|
3452
3340
|
}
|
|
3453
3341
|
addListener(listener) {
|
|
3342
|
+
this.checkAndSubscribeListeners();
|
|
3454
3343
|
if (this.listeners.includes(listener)) {
|
|
3455
3344
|
return;
|
|
3456
3345
|
}
|
|
3457
3346
|
this.listeners.push(listener);
|
|
3458
3347
|
}
|
|
3348
|
+
checkAndSubscribeListeners() {
|
|
3349
|
+
if (this.listeners.length === 0) {
|
|
3350
|
+
this.listenerController.subscribeListener();
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
checkAndUnsubscribeListeners() {
|
|
3354
|
+
if (this.listeners.length === 0) {
|
|
3355
|
+
this.listenerController.unsubscribeListener();
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3459
3358
|
removeListener(listener) {
|
|
3460
3359
|
if (!this.listeners.includes(listener)) {
|
|
3461
3360
|
return;
|
|
3462
3361
|
}
|
|
3463
3362
|
this.listeners.splice(this.listeners.indexOf(listener));
|
|
3363
|
+
this.checkAndUnsubscribeListeners();
|
|
3464
3364
|
}
|
|
3465
3365
|
didChange() {
|
|
3466
3366
|
if (this.listenerController) {
|
|
@@ -3470,9 +3370,6 @@ class SparkScan extends DefaultSerializeable {
|
|
|
3470
3370
|
return Promise.resolve();
|
|
3471
3371
|
}
|
|
3472
3372
|
}
|
|
3473
|
-
subscribeNativeListeners() {
|
|
3474
|
-
this.listenerController.subscribeListener();
|
|
3475
|
-
}
|
|
3476
3373
|
unsubscribeNativeListeners() {
|
|
3477
3374
|
this.listenerController.unsubscribeListener();
|
|
3478
3375
|
}
|
|
@@ -3502,6 +3399,171 @@ var SparkScanPreviewBehavior;
|
|
|
3502
3399
|
SparkScanPreviewBehavior["Default"] = "default";
|
|
3503
3400
|
})(SparkScanPreviewBehavior || (SparkScanPreviewBehavior = {}));
|
|
3504
3401
|
|
|
3402
|
+
class SparkScanToastSettings extends DefaultSerializeable {
|
|
3403
|
+
constructor() {
|
|
3404
|
+
super(...arguments);
|
|
3405
|
+
this._toastEnabled = SparkScanToastSettings.toastSettings.toastEnabled;
|
|
3406
|
+
this._toastBackgroundColor = SparkScanToastSettings.toastSettings.toastBackgroundColor;
|
|
3407
|
+
this._toastTextColor = SparkScanToastSettings.toastSettings.toastTextColor;
|
|
3408
|
+
this._targetModeEnabledMessage = SparkScanToastSettings.toastSettings.targetModeEnabledMessage;
|
|
3409
|
+
this._targetModeDisabledMessage = SparkScanToastSettings.toastSettings.targetModeDisabledMessage;
|
|
3410
|
+
this._continuousModeEnabledMessage = SparkScanToastSettings.toastSettings.continuousModeEnabledMessage;
|
|
3411
|
+
this._continuousModeDisabledMessage = SparkScanToastSettings.toastSettings.continuousModeDisabledMessage;
|
|
3412
|
+
this._cameraTimeoutMessage = SparkScanToastSettings.toastSettings.cameraTimeoutMessage;
|
|
3413
|
+
this._scanPausedMessage = SparkScanToastSettings.toastSettings.scanPausedMessage;
|
|
3414
|
+
this._zoomedInMessage = SparkScanToastSettings.toastSettings.zoomedInMessage;
|
|
3415
|
+
this._zoomedOutMessage = SparkScanToastSettings.toastSettings.zoomedOutMessage;
|
|
3416
|
+
this._torchEnabledMessage = SparkScanToastSettings.toastSettings.torchEnabledMessage;
|
|
3417
|
+
this._torchDisabledMessage = SparkScanToastSettings.toastSettings.torchDisabledMessage;
|
|
3418
|
+
this._userFacingCameraEnabledMessage = SparkScanToastSettings.toastSettings.userFacingCameraEnabledMessage;
|
|
3419
|
+
this._worldFacingCameraEnabledMessage = SparkScanToastSettings.toastSettings.worldFacingCameraEnabledMessage;
|
|
3420
|
+
}
|
|
3421
|
+
set toastEnabled(isEnabled) {
|
|
3422
|
+
this._toastEnabled = isEnabled;
|
|
3423
|
+
}
|
|
3424
|
+
get toastEnabled() {
|
|
3425
|
+
return this._toastEnabled;
|
|
3426
|
+
}
|
|
3427
|
+
set toastBackgroundColor(backgroundColor) {
|
|
3428
|
+
this._toastBackgroundColor = backgroundColor;
|
|
3429
|
+
}
|
|
3430
|
+
get toastBackgroundColor() {
|
|
3431
|
+
return this._toastBackgroundColor;
|
|
3432
|
+
}
|
|
3433
|
+
set toastTextColor(textColor) {
|
|
3434
|
+
this._toastTextColor = textColor;
|
|
3435
|
+
}
|
|
3436
|
+
get toastTextColor() {
|
|
3437
|
+
return this._toastTextColor;
|
|
3438
|
+
}
|
|
3439
|
+
set targetModeEnabledMessage(message) {
|
|
3440
|
+
this._targetModeEnabledMessage = message;
|
|
3441
|
+
}
|
|
3442
|
+
get targetModeEnabledMessage() {
|
|
3443
|
+
return this._targetModeEnabledMessage;
|
|
3444
|
+
}
|
|
3445
|
+
set targetModeDisabledMessage(message) {
|
|
3446
|
+
this._targetModeDisabledMessage = message;
|
|
3447
|
+
}
|
|
3448
|
+
get targetModeDisabledMessage() {
|
|
3449
|
+
return this._targetModeDisabledMessage;
|
|
3450
|
+
}
|
|
3451
|
+
set continuousModeEnabledMessage(message) {
|
|
3452
|
+
this._continuousModeEnabledMessage = message;
|
|
3453
|
+
}
|
|
3454
|
+
get continuousModeEnabledMessage() {
|
|
3455
|
+
return this._continuousModeEnabledMessage;
|
|
3456
|
+
}
|
|
3457
|
+
set continuousModeDisabledMessage(message) {
|
|
3458
|
+
this._continuousModeDisabledMessage = message;
|
|
3459
|
+
}
|
|
3460
|
+
get continuousModeDisabledMessage() {
|
|
3461
|
+
return this._continuousModeDisabledMessage;
|
|
3462
|
+
}
|
|
3463
|
+
set cameraTimeoutMessage(message) {
|
|
3464
|
+
this._cameraTimeoutMessage = message;
|
|
3465
|
+
}
|
|
3466
|
+
get cameraTimeoutMessage() {
|
|
3467
|
+
return this._cameraTimeoutMessage;
|
|
3468
|
+
}
|
|
3469
|
+
set scanPausedMessage(message) {
|
|
3470
|
+
this._scanPausedMessage = message;
|
|
3471
|
+
}
|
|
3472
|
+
get scanPausedMessage() {
|
|
3473
|
+
return this._scanPausedMessage;
|
|
3474
|
+
}
|
|
3475
|
+
set zoomedInMessage(message) {
|
|
3476
|
+
this._zoomedInMessage = message;
|
|
3477
|
+
}
|
|
3478
|
+
get zoomedInMessage() {
|
|
3479
|
+
return this._zoomedInMessage;
|
|
3480
|
+
}
|
|
3481
|
+
set zoomedOutMessage(message) {
|
|
3482
|
+
this._zoomedOutMessage = message;
|
|
3483
|
+
}
|
|
3484
|
+
get zoomedOutMessage() {
|
|
3485
|
+
return this._zoomedOutMessage;
|
|
3486
|
+
}
|
|
3487
|
+
set torchEnabledMessage(message) {
|
|
3488
|
+
this._torchEnabledMessage = message;
|
|
3489
|
+
}
|
|
3490
|
+
get torchEnabledMessage() {
|
|
3491
|
+
return this._torchEnabledMessage;
|
|
3492
|
+
}
|
|
3493
|
+
set torchDisabledMessage(message) {
|
|
3494
|
+
this._torchDisabledMessage = message;
|
|
3495
|
+
}
|
|
3496
|
+
get torchDisabledMessage() {
|
|
3497
|
+
return this._torchDisabledMessage;
|
|
3498
|
+
}
|
|
3499
|
+
set worldFacingCameraEnabledMessage(message) {
|
|
3500
|
+
this._worldFacingCameraEnabledMessage = message;
|
|
3501
|
+
}
|
|
3502
|
+
get worldFacingCameraEnabledMessage() {
|
|
3503
|
+
return this._worldFacingCameraEnabledMessage;
|
|
3504
|
+
}
|
|
3505
|
+
set userFacingCameraEnabledMessage(message) {
|
|
3506
|
+
this._userFacingCameraEnabledMessage = message;
|
|
3507
|
+
}
|
|
3508
|
+
get userFacingCameraEnabledMessage() {
|
|
3509
|
+
return this._userFacingCameraEnabledMessage;
|
|
3510
|
+
}
|
|
3511
|
+
static get sparkScanDefaults() {
|
|
3512
|
+
return getSparkScanDefaults();
|
|
3513
|
+
}
|
|
3514
|
+
static get toastSettings() {
|
|
3515
|
+
return SparkScanToastSettings.sparkScanDefaults.SparkScanView.SparkScanViewSettings.toastSettings;
|
|
3516
|
+
}
|
|
3517
|
+
}
|
|
3518
|
+
__decorate([
|
|
3519
|
+
nameForSerialization('toastEnabled')
|
|
3520
|
+
], SparkScanToastSettings.prototype, "_toastEnabled", void 0);
|
|
3521
|
+
__decorate([
|
|
3522
|
+
nameForSerialization('toastBackgroundColor')
|
|
3523
|
+
], SparkScanToastSettings.prototype, "_toastBackgroundColor", void 0);
|
|
3524
|
+
__decorate([
|
|
3525
|
+
nameForSerialization('toastTextColor')
|
|
3526
|
+
], SparkScanToastSettings.prototype, "_toastTextColor", void 0);
|
|
3527
|
+
__decorate([
|
|
3528
|
+
nameForSerialization('targetModeEnabledMessage')
|
|
3529
|
+
], SparkScanToastSettings.prototype, "_targetModeEnabledMessage", void 0);
|
|
3530
|
+
__decorate([
|
|
3531
|
+
nameForSerialization('targetModeDisabledMessage')
|
|
3532
|
+
], SparkScanToastSettings.prototype, "_targetModeDisabledMessage", void 0);
|
|
3533
|
+
__decorate([
|
|
3534
|
+
nameForSerialization('continuousModeEnabledMessage')
|
|
3535
|
+
], SparkScanToastSettings.prototype, "_continuousModeEnabledMessage", void 0);
|
|
3536
|
+
__decorate([
|
|
3537
|
+
nameForSerialization('continuousModeDisabledMessage')
|
|
3538
|
+
], SparkScanToastSettings.prototype, "_continuousModeDisabledMessage", void 0);
|
|
3539
|
+
__decorate([
|
|
3540
|
+
nameForSerialization('cameraTimeoutMessage')
|
|
3541
|
+
], SparkScanToastSettings.prototype, "_cameraTimeoutMessage", void 0);
|
|
3542
|
+
__decorate([
|
|
3543
|
+
nameForSerialization('scanPausedMessage')
|
|
3544
|
+
], SparkScanToastSettings.prototype, "_scanPausedMessage", void 0);
|
|
3545
|
+
__decorate([
|
|
3546
|
+
nameForSerialization('zoomedInMessage')
|
|
3547
|
+
], SparkScanToastSettings.prototype, "_zoomedInMessage", void 0);
|
|
3548
|
+
__decorate([
|
|
3549
|
+
nameForSerialization('zoomedOutMessage')
|
|
3550
|
+
], SparkScanToastSettings.prototype, "_zoomedOutMessage", void 0);
|
|
3551
|
+
__decorate([
|
|
3552
|
+
nameForSerialization('torchEnabledMessage')
|
|
3553
|
+
], SparkScanToastSettings.prototype, "_torchEnabledMessage", void 0);
|
|
3554
|
+
__decorate([
|
|
3555
|
+
nameForSerialization('torchDisabledMessage')
|
|
3556
|
+
], SparkScanToastSettings.prototype, "_torchDisabledMessage", void 0);
|
|
3557
|
+
__decorate([
|
|
3558
|
+
nameForSerialization('userFacingCameraEnabledMessage')
|
|
3559
|
+
], SparkScanToastSettings.prototype, "_userFacingCameraEnabledMessage", void 0);
|
|
3560
|
+
__decorate([
|
|
3561
|
+
nameForSerialization('worldFacingCameraEnabledMessage')
|
|
3562
|
+
], SparkScanToastSettings.prototype, "_worldFacingCameraEnabledMessage", void 0);
|
|
3563
|
+
__decorate([
|
|
3564
|
+
ignoreFromSerialization
|
|
3565
|
+
], SparkScanToastSettings, "sparkScanDefaults", null);
|
|
3566
|
+
|
|
3505
3567
|
var SparkScanScanningBehavior;
|
|
3506
3568
|
(function (SparkScanScanningBehavior) {
|
|
3507
3569
|
SparkScanScanningBehavior["Single"] = "single";
|
|
@@ -3627,6 +3689,7 @@ class SparkScanSettings extends DefaultSerializeable {
|
|
|
3627
3689
|
this._locationSelection = null;
|
|
3628
3690
|
this.properties = {};
|
|
3629
3691
|
this.symbologies = {};
|
|
3692
|
+
this.scanIntention = SparkScanSettings.sparkScanDefaults.SparkScanSettings.scanIntention;
|
|
3630
3693
|
}
|
|
3631
3694
|
settingsForSymbology(symbology) {
|
|
3632
3695
|
if (!this.symbologies[symbology]) {
|
|
@@ -3741,12 +3804,13 @@ class SparkScanViewSettings extends DefaultSerializeable {
|
|
|
3741
3804
|
this.hardwareTriggerKeyCode = SparkScanViewSettings.viewSettingsDefaults.hardwareTriggerKeyCode;
|
|
3742
3805
|
this.visualFeedbackEnabled = SparkScanViewSettings.viewSettingsDefaults.visualFeedbackEnabled;
|
|
3743
3806
|
this.ignoreDragLimits = true;
|
|
3744
|
-
this.toastSettings =
|
|
3807
|
+
this.toastSettings = new SparkScanToastSettings();
|
|
3745
3808
|
this.targetZoomFactorOut = SparkScanViewSettings.viewSettingsDefaults.targetZoomFactorOut;
|
|
3746
3809
|
this.targetZoomFactorIn = SparkScanViewSettings.viewSettingsDefaults.targetZoomFactorIn;
|
|
3747
3810
|
this.zoomFactorOut = SparkScanViewSettings.viewSettingsDefaults.zoomFactorOut;
|
|
3748
3811
|
this.zoomFactorIn = SparkScanViewSettings.viewSettingsDefaults.zoomFactorIn;
|
|
3749
3812
|
this.inactiveStateTimeout = SparkScanViewSettings.viewSettingsDefaults.inactiveStateTimeout;
|
|
3813
|
+
this.defaultCameraPosition = SparkScanViewSettings.viewSettingsDefaults.defaultCameraPosition;
|
|
3750
3814
|
}
|
|
3751
3815
|
scanModeFromJSON(json) {
|
|
3752
3816
|
const scanningBehavior = json.settings.scanningBehavior;
|
|
@@ -3790,11 +3854,11 @@ class SparkScanViewController extends BaseController {
|
|
|
3790
3854
|
}
|
|
3791
3855
|
constructor() {
|
|
3792
3856
|
super('SparkScanViewProxy');
|
|
3857
|
+
this.hasFeedbackDelegateListener = false;
|
|
3793
3858
|
}
|
|
3794
3859
|
initialize() {
|
|
3795
3860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3796
3861
|
this.subscribeListeners();
|
|
3797
|
-
this.sparkScan.subscribeNativeListeners();
|
|
3798
3862
|
yield this.view.context.update();
|
|
3799
3863
|
yield this.create();
|
|
3800
3864
|
this._proxy.prepareSparkScanViewScanning();
|
|
@@ -3807,23 +3871,22 @@ class SparkScanViewController extends BaseController {
|
|
|
3807
3871
|
dispose() {
|
|
3808
3872
|
this.sparkScan.unsubscribeNativeListeners();
|
|
3809
3873
|
this.unsubscribeListeners();
|
|
3874
|
+
this.removeFeedbackDelegate();
|
|
3810
3875
|
this._proxy.disposeSparkScanView();
|
|
3811
3876
|
}
|
|
3812
3877
|
subscribeListeners() {
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
(_b = (_a = this.view.uiListener) === null || _a === void 0 ? void 0 : _a.didTapFastFindButton) === null || _b === void 0 ? void 0 : _b.call(_a, this.view);
|
|
3822
|
-
});
|
|
3878
|
+
this._proxy.registerSparkScanViewListenerEvents();
|
|
3879
|
+
this.eventEmitter.on(SparkScanViewEvents.barcodeCountButtonTapped, () => {
|
|
3880
|
+
var _a, _b;
|
|
3881
|
+
(_b = (_a = this.view.uiListener) === null || _a === void 0 ? void 0 : _a.didTapBarcodeCountButton) === null || _b === void 0 ? void 0 : _b.call(_a, this.view);
|
|
3882
|
+
});
|
|
3883
|
+
this.eventEmitter.on(SparkScanViewEvents.fastFindButtonTapped, () => {
|
|
3884
|
+
var _a, _b;
|
|
3885
|
+
(_b = (_a = this.view.uiListener) === null || _a === void 0 ? void 0 : _a.didTapFastFindButton) === null || _b === void 0 ? void 0 : _b.call(_a, this.view);
|
|
3823
3886
|
});
|
|
3824
3887
|
}
|
|
3825
3888
|
unsubscribeListeners() {
|
|
3826
|
-
this._proxy.
|
|
3889
|
+
this._proxy.unregisterSparkScanViewListenerEvents();
|
|
3827
3890
|
this.eventEmitter.off(SparkScanViewEvents.barcodeCountButtonTapped);
|
|
3828
3891
|
this.eventEmitter.off(SparkScanViewEvents.fastFindButtonTapped);
|
|
3829
3892
|
}
|
|
@@ -3856,22 +3919,32 @@ class SparkScanViewController extends BaseController {
|
|
|
3856
3919
|
return this._proxy.showToast(text);
|
|
3857
3920
|
}
|
|
3858
3921
|
show() {
|
|
3859
|
-
return this._proxy.showSparkScanView();
|
|
3922
|
+
return this._proxy.showSparkScanView ? this._proxy.showSparkScanView() : Promise.resolve();
|
|
3860
3923
|
}
|
|
3861
3924
|
hide() {
|
|
3862
|
-
return this._proxy.hideSparkScanView();
|
|
3925
|
+
return this._proxy.hideSparkScanView ? this._proxy.hideSparkScanView() : Promise.resolve();
|
|
3863
3926
|
}
|
|
3864
3927
|
addFeedbackDelegate() {
|
|
3928
|
+
if (this.hasFeedbackDelegateListener) {
|
|
3929
|
+
return;
|
|
3930
|
+
}
|
|
3865
3931
|
this._proxy.registerDelegateForEvents();
|
|
3866
3932
|
this.eventEmitter.on(SparkScanFeedbackDelegateEvents.feedbackForBarcode, (body) => {
|
|
3867
3933
|
var _a, _b;
|
|
3868
|
-
const
|
|
3934
|
+
const payload = JSON.parse(body);
|
|
3935
|
+
const barcode = Barcode.fromJSON(JSON.parse(payload.barcode));
|
|
3869
3936
|
const feedback = (_b = (_a = this.view.feedbackDelegate) === null || _a === void 0 ? void 0 : _a.feedbackForBarcode) === null || _b === void 0 ? void 0 : _b.call(_a, barcode);
|
|
3870
3937
|
this._proxy.submitFeedbackForBarcode(JSON.stringify(feedback === null || feedback === void 0 ? void 0 : feedback.toJSON()));
|
|
3871
3938
|
});
|
|
3939
|
+
this.hasFeedbackDelegateListener = true;
|
|
3872
3940
|
}
|
|
3873
3941
|
removeFeedbackDelegate() {
|
|
3874
|
-
this.
|
|
3942
|
+
if (!this.hasFeedbackDelegateListener) {
|
|
3943
|
+
return;
|
|
3944
|
+
}
|
|
3945
|
+
this._proxy.unregisterDelegateForEvents();
|
|
3946
|
+
this.eventEmitter.off(SparkScanFeedbackDelegateEvents.feedbackForBarcode);
|
|
3947
|
+
this.hasFeedbackDelegateListener = false;
|
|
3875
3948
|
}
|
|
3876
3949
|
}
|
|
3877
3950
|
|
|
@@ -3881,13 +3954,35 @@ class BaseSparkScanView {
|
|
|
3881
3954
|
return view;
|
|
3882
3955
|
}
|
|
3883
3956
|
static get defaultBrush() {
|
|
3884
|
-
return
|
|
3957
|
+
return BaseSparkScanView.sparkScanDefaults.SparkScanView.brush;
|
|
3885
3958
|
}
|
|
3886
3959
|
constructor({ context, sparkScan, settings }) {
|
|
3887
3960
|
this.uiListener = null;
|
|
3888
3961
|
this._brush = BaseSparkScanView.defaultBrush;
|
|
3889
3962
|
this._feedbackDelegate = null;
|
|
3890
3963
|
this._previewSizeControlVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.previewSizeControlVisible;
|
|
3964
|
+
this._cameraSwitchButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.cameraSwitchButtonVisible;
|
|
3965
|
+
this._shouldShowScanAreaGuides = BaseSparkScanView.sparkScanDefaults.SparkScanView.shouldShowScanAreaGuides;
|
|
3966
|
+
this._torchButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.torchButtonVisible;
|
|
3967
|
+
this._scanningBehaviorButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.scanningBehaviorButtonVisible;
|
|
3968
|
+
this._handModeButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.handModeButtonVisible;
|
|
3969
|
+
this._barcodeCountButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.barcodeCountButtonVisible;
|
|
3970
|
+
this._fastFindButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.fastFindButtonVisible;
|
|
3971
|
+
this._targetModeButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.targetModeButtonVisible;
|
|
3972
|
+
this._soundModeButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.soundModeButtonVisible;
|
|
3973
|
+
this._hapticModeButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.hapticModeButtonVisible;
|
|
3974
|
+
this._stopCapturingText = BaseSparkScanView.sparkScanDefaults.SparkScanView.stopCapturingText;
|
|
3975
|
+
this._startCapturingText = BaseSparkScanView.sparkScanDefaults.SparkScanView.startCapturingText;
|
|
3976
|
+
this._resumeCapturingText = BaseSparkScanView.sparkScanDefaults.SparkScanView.resumeCapturingText;
|
|
3977
|
+
this._scanningCapturingText = BaseSparkScanView.sparkScanDefaults.SparkScanView.scanningCapturingText;
|
|
3978
|
+
this._captureButtonActiveBackgroundColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.captureButtonActiveBackgroundColor;
|
|
3979
|
+
this._captureButtonBackgroundColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.captureButtonBackgroundColor;
|
|
3980
|
+
this._captureButtonTintColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.captureButtonTintColor;
|
|
3981
|
+
this._toolbarBackgroundColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarBackgroundColor;
|
|
3982
|
+
this._toolbarIconActiveTintColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarIconActiveTintColor;
|
|
3983
|
+
this._toolbarIconInactiveTintColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarIconInactiveTintColor;
|
|
3984
|
+
this._targetModeHintText = BaseSparkScanView.sparkScanDefaults.SparkScanView.targetModeHintText;
|
|
3985
|
+
this._shouldShowTargetModeHint = BaseSparkScanView.sparkScanDefaults.SparkScanView.shouldShowTargetModeHint;
|
|
3891
3986
|
this._sparkScan = sparkScan;
|
|
3892
3987
|
this.context = context;
|
|
3893
3988
|
this._viewSettings = settings !== null && settings !== void 0 ? settings : new SparkScanViewSettings();
|
|
@@ -3898,160 +3993,167 @@ class BaseSparkScanView {
|
|
|
3898
3993
|
}
|
|
3899
3994
|
set brush(newValue) {
|
|
3900
3995
|
this._brush = newValue;
|
|
3901
|
-
this.
|
|
3996
|
+
this.update();
|
|
3902
3997
|
}
|
|
3903
3998
|
get previewSizeControlVisible() {
|
|
3904
3999
|
return this._previewSizeControlVisible;
|
|
3905
4000
|
}
|
|
3906
4001
|
set previewSizeControlVisible(newValue) {
|
|
3907
4002
|
this._previewSizeControlVisible = newValue;
|
|
3908
|
-
this.
|
|
4003
|
+
this.update();
|
|
3909
4004
|
}
|
|
3910
4005
|
get shouldShowScanAreaGuides() {
|
|
3911
|
-
return
|
|
4006
|
+
return this._shouldShowScanAreaGuides;
|
|
3912
4007
|
}
|
|
3913
4008
|
set shouldShowScanAreaGuides(newValue) {
|
|
3914
|
-
|
|
3915
|
-
this.
|
|
4009
|
+
this._shouldShowScanAreaGuides = newValue;
|
|
4010
|
+
this.update();
|
|
3916
4011
|
}
|
|
3917
4012
|
get torchButtonVisible() {
|
|
3918
|
-
return
|
|
4013
|
+
return this._torchButtonVisible;
|
|
3919
4014
|
}
|
|
3920
4015
|
set torchButtonVisible(newValue) {
|
|
3921
|
-
|
|
4016
|
+
this._torchButtonVisible = newValue;
|
|
3922
4017
|
this.update();
|
|
3923
4018
|
}
|
|
3924
4019
|
get scanningBehaviorButtonVisible() {
|
|
3925
|
-
return
|
|
4020
|
+
return this._scanningBehaviorButtonVisible;
|
|
3926
4021
|
}
|
|
3927
4022
|
set scanningBehaviorButtonVisible(newValue) {
|
|
3928
|
-
|
|
4023
|
+
this._scanningBehaviorButtonVisible = newValue;
|
|
3929
4024
|
this.update();
|
|
3930
4025
|
}
|
|
3931
4026
|
get handModeButtonVisible() {
|
|
3932
|
-
return
|
|
4027
|
+
return this._handModeButtonVisible;
|
|
3933
4028
|
}
|
|
3934
4029
|
set handModeButtonVisible(newValue) {
|
|
3935
|
-
|
|
4030
|
+
this._handModeButtonVisible = newValue;
|
|
3936
4031
|
this.update();
|
|
3937
4032
|
}
|
|
3938
4033
|
get barcodeCountButtonVisible() {
|
|
3939
|
-
return
|
|
4034
|
+
return this._barcodeCountButtonVisible;
|
|
3940
4035
|
}
|
|
3941
4036
|
set barcodeCountButtonVisible(newValue) {
|
|
3942
|
-
|
|
4037
|
+
this._barcodeCountButtonVisible = newValue;
|
|
3943
4038
|
this.update();
|
|
3944
4039
|
}
|
|
3945
4040
|
get fastFindButtonVisible() {
|
|
3946
|
-
return
|
|
4041
|
+
return this._fastFindButtonVisible;
|
|
3947
4042
|
}
|
|
3948
4043
|
set fastFindButtonVisible(newValue) {
|
|
3949
|
-
|
|
4044
|
+
this._fastFindButtonVisible = newValue;
|
|
3950
4045
|
this.update();
|
|
3951
4046
|
}
|
|
3952
4047
|
get targetModeButtonVisible() {
|
|
3953
|
-
return
|
|
4048
|
+
return this._targetModeButtonVisible;
|
|
3954
4049
|
}
|
|
3955
4050
|
set targetModeButtonVisible(newValue) {
|
|
3956
|
-
|
|
4051
|
+
this._targetModeButtonVisible = newValue;
|
|
3957
4052
|
this.update();
|
|
3958
4053
|
}
|
|
3959
4054
|
get soundModeButtonVisible() {
|
|
3960
|
-
return
|
|
4055
|
+
return this._soundModeButtonVisible;
|
|
3961
4056
|
}
|
|
3962
4057
|
set soundModeButtonVisible(newValue) {
|
|
3963
|
-
|
|
4058
|
+
this._soundModeButtonVisible = newValue;
|
|
3964
4059
|
this.update();
|
|
3965
4060
|
}
|
|
3966
4061
|
get hapticModeButtonVisible() {
|
|
3967
|
-
return
|
|
4062
|
+
return this._hapticModeButtonVisible;
|
|
3968
4063
|
}
|
|
3969
4064
|
set hapticModeButtonVisible(newValue) {
|
|
3970
|
-
|
|
4065
|
+
this._hapticModeButtonVisible = newValue;
|
|
3971
4066
|
this.update();
|
|
3972
4067
|
}
|
|
3973
4068
|
get stopCapturingText() {
|
|
3974
|
-
return
|
|
4069
|
+
return this._stopCapturingText;
|
|
3975
4070
|
}
|
|
3976
4071
|
set stopCapturingText(newValue) {
|
|
3977
|
-
|
|
4072
|
+
this._stopCapturingText = newValue;
|
|
3978
4073
|
this.update();
|
|
3979
4074
|
}
|
|
3980
4075
|
get startCapturingText() {
|
|
3981
|
-
return
|
|
4076
|
+
return this._startCapturingText;
|
|
3982
4077
|
}
|
|
3983
4078
|
set startCapturingText(newValue) {
|
|
3984
|
-
|
|
4079
|
+
this._startCapturingText = newValue;
|
|
3985
4080
|
this.update();
|
|
3986
4081
|
}
|
|
3987
4082
|
get resumeCapturingText() {
|
|
3988
|
-
return
|
|
4083
|
+
return this._resumeCapturingText;
|
|
3989
4084
|
}
|
|
3990
4085
|
set resumeCapturingText(newValue) {
|
|
3991
|
-
|
|
4086
|
+
this._resumeCapturingText = newValue;
|
|
3992
4087
|
this.update();
|
|
3993
4088
|
}
|
|
3994
4089
|
get scanningCapturingText() {
|
|
3995
|
-
return
|
|
4090
|
+
return this._scanningCapturingText;
|
|
3996
4091
|
}
|
|
3997
4092
|
set scanningCapturingText(newValue) {
|
|
3998
|
-
|
|
4093
|
+
this._scanningCapturingText = newValue;
|
|
3999
4094
|
this.update();
|
|
4000
4095
|
}
|
|
4001
4096
|
get captureButtonActiveBackgroundColor() {
|
|
4002
|
-
return
|
|
4097
|
+
return this._captureButtonActiveBackgroundColor;
|
|
4003
4098
|
}
|
|
4004
4099
|
set captureButtonActiveBackgroundColor(newValue) {
|
|
4005
|
-
|
|
4100
|
+
this._captureButtonActiveBackgroundColor = newValue;
|
|
4006
4101
|
this.update();
|
|
4007
4102
|
}
|
|
4008
4103
|
get captureButtonBackgroundColor() {
|
|
4009
|
-
return
|
|
4104
|
+
return this._captureButtonBackgroundColor;
|
|
4010
4105
|
}
|
|
4011
4106
|
set captureButtonBackgroundColor(newValue) {
|
|
4012
|
-
|
|
4107
|
+
this._captureButtonBackgroundColor = newValue;
|
|
4013
4108
|
this.update();
|
|
4014
4109
|
}
|
|
4015
4110
|
get captureButtonTintColor() {
|
|
4016
|
-
return
|
|
4111
|
+
return this._captureButtonTintColor;
|
|
4017
4112
|
}
|
|
4018
4113
|
set captureButtonTintColor(newValue) {
|
|
4019
|
-
|
|
4114
|
+
this._captureButtonTintColor = newValue;
|
|
4020
4115
|
this.update();
|
|
4021
4116
|
}
|
|
4022
4117
|
get toolbarBackgroundColor() {
|
|
4023
|
-
return
|
|
4118
|
+
return this._toolbarBackgroundColor;
|
|
4024
4119
|
}
|
|
4025
4120
|
set toolbarBackgroundColor(newValue) {
|
|
4026
|
-
|
|
4121
|
+
this._toolbarBackgroundColor = newValue;
|
|
4027
4122
|
this.update();
|
|
4028
4123
|
}
|
|
4029
4124
|
get toolbarIconActiveTintColor() {
|
|
4030
|
-
return
|
|
4125
|
+
return this._toolbarIconActiveTintColor;
|
|
4031
4126
|
}
|
|
4032
4127
|
set toolbarIconActiveTintColor(newValue) {
|
|
4033
|
-
|
|
4128
|
+
this._toolbarIconActiveTintColor = newValue;
|
|
4034
4129
|
this.update();
|
|
4035
4130
|
}
|
|
4036
4131
|
get toolbarIconInactiveTintColor() {
|
|
4037
|
-
return
|
|
4132
|
+
return this._toolbarIconInactiveTintColor;
|
|
4038
4133
|
}
|
|
4039
4134
|
set toolbarIconInactiveTintColor(newValue) {
|
|
4040
|
-
|
|
4135
|
+
this._toolbarIconInactiveTintColor = newValue;
|
|
4041
4136
|
this.update();
|
|
4042
4137
|
}
|
|
4043
4138
|
get targetModeHintText() {
|
|
4044
|
-
return
|
|
4139
|
+
return this._targetModeHintText;
|
|
4045
4140
|
}
|
|
4046
4141
|
set targetModeHintText(newValue) {
|
|
4047
|
-
|
|
4142
|
+
this._targetModeHintText = newValue;
|
|
4048
4143
|
this.update();
|
|
4049
4144
|
}
|
|
4050
4145
|
get shouldShowTargetModeHint() {
|
|
4051
|
-
return
|
|
4146
|
+
return this._shouldShowTargetModeHint;
|
|
4052
4147
|
}
|
|
4053
4148
|
set shouldShowTargetModeHint(newValue) {
|
|
4054
|
-
|
|
4149
|
+
this._shouldShowTargetModeHint = newValue;
|
|
4150
|
+
this.update();
|
|
4151
|
+
}
|
|
4152
|
+
get cameraSwitchButtonVisible() {
|
|
4153
|
+
return this._cameraSwitchButtonVisible;
|
|
4154
|
+
}
|
|
4155
|
+
set cameraSwitchButtonVisible(newValue) {
|
|
4156
|
+
this._cameraSwitchButtonVisible = newValue;
|
|
4055
4157
|
this.update();
|
|
4056
4158
|
}
|
|
4057
4159
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -4137,6 +4239,7 @@ class BaseSparkScanView {
|
|
|
4137
4239
|
targetModeHintText: this.targetModeHintText,
|
|
4138
4240
|
shouldShowTargetModeHint: this.shouldShowTargetModeHint,
|
|
4139
4241
|
hasFeedbackDelegate: this._feedbackDelegate != null,
|
|
4242
|
+
cameraSwitchButtonVisible: this.cameraSwitchButtonVisible,
|
|
4140
4243
|
};
|
|
4141
4244
|
if (this._viewSettings != null) {
|
|
4142
4245
|
json.viewSettings = (_a = this._viewSettings) === null || _a === void 0 ? void 0 : _a.toJSON();
|
|
@@ -4179,7 +4282,7 @@ class SparkScanBarcodeErrorFeedback extends SparkScanBarcodeFeedback {
|
|
|
4179
4282
|
};
|
|
4180
4283
|
}
|
|
4181
4284
|
static fromMessage(message, resumeCapturingDelay) {
|
|
4182
|
-
return new SparkScanBarcodeErrorFeedback(message, resumeCapturingDelay, SparkScanBarcodeErrorFeedback.sparkScanDefaults.Feedback.error.visualFeedbackColor,
|
|
4285
|
+
return new SparkScanBarcodeErrorFeedback(message, resumeCapturingDelay, SparkScanBarcodeErrorFeedback.sparkScanDefaults.Feedback.error.visualFeedbackColor, SparkScanBarcodeErrorFeedback.sparkScanDefaults.Feedback.error.brush, SparkScanBarcodeErrorFeedback.sparkScanDefaults.Feedback.error.feedbackDefault);
|
|
4183
4286
|
}
|
|
4184
4287
|
static get sparkScanDefaults() {
|
|
4185
4288
|
return getSparkScanDefaults();
|
|
@@ -4207,7 +4310,7 @@ class SparkScanBarcodeSuccessFeedback extends SparkScanBarcodeFeedback {
|
|
|
4207
4310
|
this.type = 'success';
|
|
4208
4311
|
this._barcodeFeedback = {
|
|
4209
4312
|
visualFeedbackColor: SparkScanBarcodeSuccessFeedback.sparkScanDefaults.Feedback.success.visualFeedbackColor,
|
|
4210
|
-
brush:
|
|
4313
|
+
brush: SparkScanBarcodeSuccessFeedback.sparkScanDefaults.Feedback.success.brush,
|
|
4211
4314
|
feedback: SparkScanBarcodeSuccessFeedback.sparkScanDefaults.Feedback.success.feedbackDefault
|
|
4212
4315
|
};
|
|
4213
4316
|
}
|
|
@@ -4396,7 +4499,6 @@ class BarcodePickViewController extends BaseController {
|
|
|
4396
4499
|
const viewController = new BarcodePickViewController();
|
|
4397
4500
|
viewController.view = view;
|
|
4398
4501
|
viewController.nativeView = nativeView;
|
|
4399
|
-
viewController.subscribeListeners();
|
|
4400
4502
|
viewController.initialize();
|
|
4401
4503
|
return viewController;
|
|
4402
4504
|
}
|
|
@@ -4414,12 +4516,18 @@ class BarcodePickViewController extends BaseController {
|
|
|
4414
4516
|
start() {
|
|
4415
4517
|
return this._proxy.viewStart();
|
|
4416
4518
|
}
|
|
4417
|
-
|
|
4418
|
-
return this._proxy.
|
|
4519
|
+
stop() {
|
|
4520
|
+
return this._proxy.viewStop();
|
|
4419
4521
|
}
|
|
4420
4522
|
freeze() {
|
|
4421
4523
|
return this._proxy.viewFreeze();
|
|
4422
4524
|
}
|
|
4525
|
+
pause() {
|
|
4526
|
+
return this._proxy.viewPause();
|
|
4527
|
+
}
|
|
4528
|
+
resume() {
|
|
4529
|
+
return this._proxy.viewResume();
|
|
4530
|
+
}
|
|
4423
4531
|
finishPickAction(itemData, result) {
|
|
4424
4532
|
return this._proxy.finishPickAction(itemData, result);
|
|
4425
4533
|
}
|
|
@@ -4728,12 +4836,18 @@ class BaseBarcodePickView extends DefaultSerializeable {
|
|
|
4728
4836
|
this.isStarted = true;
|
|
4729
4837
|
this.viewController.start();
|
|
4730
4838
|
}
|
|
4839
|
+
stop() {
|
|
4840
|
+
this.viewController.stop();
|
|
4841
|
+
}
|
|
4731
4842
|
freeze() {
|
|
4732
4843
|
this.viewController.freeze();
|
|
4733
4844
|
}
|
|
4734
4845
|
pause() {
|
|
4735
4846
|
this.viewController.pause();
|
|
4736
4847
|
}
|
|
4848
|
+
resume() {
|
|
4849
|
+
this.viewController.resume();
|
|
4850
|
+
}
|
|
4737
4851
|
addActionListener(listener) {
|
|
4738
4852
|
if (this.actionListeners.findIndex(l => l === listener) === -1) {
|
|
4739
4853
|
this.actionListeners.push(listener);
|
|
@@ -4746,15 +4860,27 @@ class BaseBarcodePickView extends DefaultSerializeable {
|
|
|
4746
4860
|
this.actionListeners.splice(this.actionListeners.indexOf(listener), 1);
|
|
4747
4861
|
}
|
|
4748
4862
|
addListener(listener) {
|
|
4863
|
+
this.checkAndSubscribeListeners();
|
|
4749
4864
|
if (this.listeners.findIndex(l => l === listener) === -1) {
|
|
4750
4865
|
this.listeners.push(listener);
|
|
4751
4866
|
}
|
|
4752
4867
|
}
|
|
4868
|
+
checkAndSubscribeListeners() {
|
|
4869
|
+
if (this.listeners.length === 0) {
|
|
4870
|
+
this.viewController.subscribeListeners();
|
|
4871
|
+
}
|
|
4872
|
+
}
|
|
4753
4873
|
removeListener(listener) {
|
|
4754
4874
|
if (this.listeners.findIndex(l => l === listener) === -1) {
|
|
4755
4875
|
return;
|
|
4756
4876
|
}
|
|
4757
4877
|
this.listeners.splice(this.listeners.indexOf(listener), 1);
|
|
4878
|
+
this.checkAndUnsubscribeListeners();
|
|
4879
|
+
}
|
|
4880
|
+
checkAndUnsubscribeListeners() {
|
|
4881
|
+
if (this.listeners.length === 0) {
|
|
4882
|
+
this.viewController.unsubscribeListeners();
|
|
4883
|
+
}
|
|
4758
4884
|
}
|
|
4759
4885
|
toJSON() {
|
|
4760
4886
|
return {
|
|
@@ -5016,8 +5142,8 @@ class DotWithIcons extends DefaultSerializeable {
|
|
|
5016
5142
|
}
|
|
5017
5143
|
setIconForState(image, state) {
|
|
5018
5144
|
const indexToUpdate = this._iconsForState.findIndex(item => item.barcodePickState === state);
|
|
5019
|
-
if (indexToUpdate
|
|
5020
|
-
this._iconsForState.
|
|
5145
|
+
if (indexToUpdate > -1) {
|
|
5146
|
+
this._iconsForState.splice(indexToUpdate, 1);
|
|
5021
5147
|
}
|
|
5022
5148
|
this._iconsForState.push(new IconForStateObject(state, image));
|
|
5023
5149
|
}
|
|
@@ -5093,8 +5219,8 @@ class RectangularWithIcons extends DefaultSerializeable {
|
|
|
5093
5219
|
}
|
|
5094
5220
|
setIconForState(image, state) {
|
|
5095
5221
|
const indexToUpdate = this._iconsForState.findIndex(item => item.barcodePickState === state);
|
|
5096
|
-
if (indexToUpdate
|
|
5097
|
-
this._iconsForState.
|
|
5222
|
+
if (indexToUpdate > -1) {
|
|
5223
|
+
this._iconsForState.splice(indexToUpdate, 1);
|
|
5098
5224
|
}
|
|
5099
5225
|
this._iconsForState.push(new IconForStateObject(state, image));
|
|
5100
5226
|
}
|
|
@@ -5125,6 +5251,7 @@ class BarcodeFindFeedback extends DefaultSerializeable {
|
|
|
5125
5251
|
constructor() {
|
|
5126
5252
|
super(...arguments);
|
|
5127
5253
|
this.found = BarcodeFindFeedback.barcodeFindDefaults.Feedback.found;
|
|
5254
|
+
this.itemListUpdated = BarcodeFindFeedback.barcodeFindDefaults.Feedback.itemListUpdated;
|
|
5128
5255
|
}
|
|
5129
5256
|
static get barcodeFindDefaults() {
|
|
5130
5257
|
return getBarcodeFindDefaults();
|
|
@@ -5140,6 +5267,7 @@ var BarcodeFindListenerEvents;
|
|
|
5140
5267
|
BarcodeFindListenerEvents["onSearchStartedEvent"] = "BarcodeFindListener.onSearchStarted";
|
|
5141
5268
|
BarcodeFindListenerEvents["onSearchPausedEvent"] = "BarcodeFindListener.onSearchPaused";
|
|
5142
5269
|
BarcodeFindListenerEvents["onSearchStoppedEvent"] = "BarcodeFindListener.onSearchStopped";
|
|
5270
|
+
BarcodeFindListenerEvents["onTransformBarcodeData"] = "BarcodeFindTransformer.transformBarcodeData";
|
|
5143
5271
|
})(BarcodeFindListenerEvents || (BarcodeFindListenerEvents = {}));
|
|
5144
5272
|
class BarcodeFindController extends BaseController {
|
|
5145
5273
|
constructor(barcodeFind) {
|
|
@@ -5169,12 +5297,25 @@ class BarcodeFindController extends BaseController {
|
|
|
5169
5297
|
setModeEnabledState(isEnabled) {
|
|
5170
5298
|
this._proxy.setModeEnabledState(isEnabled);
|
|
5171
5299
|
}
|
|
5300
|
+
setBarcodeTransformer() {
|
|
5301
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5302
|
+
yield this._proxy.setBarcodeTransformer();
|
|
5303
|
+
this.subscribeBarcodeFindTransformerEvent();
|
|
5304
|
+
});
|
|
5305
|
+
}
|
|
5172
5306
|
filterFoundItemsFromEvent(eventBody) {
|
|
5173
5307
|
const foundItemsData = JSON.parse(eventBody).foundItems;
|
|
5174
5308
|
const itemsToFind = JSON.parse(this._barcodeFind.itemsToFind);
|
|
5175
5309
|
const foundItems = itemsToFind.filter((item) => foundItemsData.includes(item.searchOptions.barcodeData));
|
|
5176
5310
|
return foundItems;
|
|
5177
5311
|
}
|
|
5312
|
+
subscribeBarcodeFindTransformerEvent() {
|
|
5313
|
+
this.eventEmitter.on(BarcodeFindListenerEvents.onTransformBarcodeData, (body) => {
|
|
5314
|
+
var _a;
|
|
5315
|
+
const transformed = (_a = this._barcodeFind.barcodeTransformer) === null || _a === void 0 ? void 0 : _a.transformBarcodeData(body);
|
|
5316
|
+
this._proxy.submitBarcodeFindTransformerResult(transformed);
|
|
5317
|
+
});
|
|
5318
|
+
}
|
|
5178
5319
|
subscribeListeners() {
|
|
5179
5320
|
this._proxy.subscribeBarcodeFindListener();
|
|
5180
5321
|
this.eventEmitter.on(BarcodeFindListenerEvents.onSearchStartedEvent, () => {
|
|
@@ -5204,6 +5345,7 @@ class BarcodeFindController extends BaseController {
|
|
|
5204
5345
|
this.eventEmitter.off(BarcodeFindListenerEvents.onSearchPausedEvent);
|
|
5205
5346
|
this.eventEmitter.off(BarcodeFindListenerEvents.onSearchStartedEvent);
|
|
5206
5347
|
this.eventEmitter.off(BarcodeFindListenerEvents.onSearchStoppedEvent);
|
|
5348
|
+
this.eventEmitter.off(BarcodeFindListenerEvents.onTransformBarcodeData);
|
|
5207
5349
|
}
|
|
5208
5350
|
dispose() {
|
|
5209
5351
|
this.unsubscribeListeners();
|
|
@@ -5217,8 +5359,10 @@ class BarcodeFind extends DefaultSerializeable {
|
|
|
5217
5359
|
this._feedback = BarcodeFindFeedback.defaultFeedback;
|
|
5218
5360
|
this._enabled = true;
|
|
5219
5361
|
this._isInCallback = false;
|
|
5220
|
-
this.
|
|
5362
|
+
this.itemsToFind = null;
|
|
5363
|
+
this._hasBarcodeTransformer = false;
|
|
5221
5364
|
this.listeners = [];
|
|
5365
|
+
this.barcodeTransformer = null;
|
|
5222
5366
|
this._settings = settings;
|
|
5223
5367
|
this._controller = BarcodeFindController.forBarcodeFind(this);
|
|
5224
5368
|
this._dataCaptureContext = dataCaptureContext;
|
|
@@ -5273,6 +5417,11 @@ class BarcodeFind extends DefaultSerializeable {
|
|
|
5273
5417
|
this.listeners.splice(this.listeners.indexOf(listener));
|
|
5274
5418
|
this.checkAndUnsubscribeListeners();
|
|
5275
5419
|
}
|
|
5420
|
+
setBarcodeTransformer(barcodeTransformer) {
|
|
5421
|
+
this.barcodeTransformer = barcodeTransformer;
|
|
5422
|
+
this._hasBarcodeTransformer = this.barcodeTransformer != undefined;
|
|
5423
|
+
this._controller.setBarcodeTransformer();
|
|
5424
|
+
}
|
|
5276
5425
|
checkAndUnsubscribeListeners() {
|
|
5277
5426
|
if (this.listeners.length > 0) {
|
|
5278
5427
|
return;
|
|
@@ -5280,9 +5429,8 @@ class BarcodeFind extends DefaultSerializeable {
|
|
|
5280
5429
|
this._controller.unsubscribeListeners();
|
|
5281
5430
|
}
|
|
5282
5431
|
setItemList(items) {
|
|
5283
|
-
this.
|
|
5432
|
+
this.itemsToFind = JSON.stringify(items.map(item => item.toJSON()));
|
|
5284
5433
|
return this._controller.setItemList(items);
|
|
5285
|
-
// return this.update();
|
|
5286
5434
|
}
|
|
5287
5435
|
start() {
|
|
5288
5436
|
return this._controller.start();
|
|
@@ -5313,8 +5461,8 @@ __decorate([
|
|
|
5313
5461
|
nameForSerialization('settings')
|
|
5314
5462
|
], BarcodeFind.prototype, "_settings", void 0);
|
|
5315
5463
|
__decorate([
|
|
5316
|
-
nameForSerialization('
|
|
5317
|
-
], BarcodeFind.prototype, "
|
|
5464
|
+
nameForSerialization('hasBarcodeTransformer')
|
|
5465
|
+
], BarcodeFind.prototype, "_hasBarcodeTransformer", void 0);
|
|
5318
5466
|
__decorate([
|
|
5319
5467
|
ignoreFromSerialization
|
|
5320
5468
|
], BarcodeFind.prototype, "listeners", void 0);
|
|
@@ -5482,7 +5630,6 @@ class BarcodeFindViewController extends BaseController {
|
|
|
5482
5630
|
const viewController = new BarcodeFindViewController();
|
|
5483
5631
|
viewController.baseView = baseView;
|
|
5484
5632
|
viewController.nativeView = nativeView;
|
|
5485
|
-
viewController.subscribeToEvents();
|
|
5486
5633
|
viewController.initialize();
|
|
5487
5634
|
return viewController;
|
|
5488
5635
|
}
|
|
@@ -5490,11 +5637,11 @@ class BarcodeFindViewController extends BaseController {
|
|
|
5490
5637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5491
5638
|
if (listener && !this.isListenerEnabled) {
|
|
5492
5639
|
this.isListenerEnabled = true;
|
|
5493
|
-
|
|
5640
|
+
this.subscribeToEvents();
|
|
5494
5641
|
}
|
|
5495
5642
|
if (listener == null) {
|
|
5496
5643
|
this.isListenerEnabled = false;
|
|
5497
|
-
|
|
5644
|
+
this.unsubscribeToEvents();
|
|
5498
5645
|
}
|
|
5499
5646
|
});
|
|
5500
5647
|
}
|
|
@@ -5577,6 +5724,7 @@ class BaseBarcodeFindView {
|
|
|
5577
5724
|
}
|
|
5578
5725
|
initialize(nativeView) {
|
|
5579
5726
|
this.controller = BarcodeFindViewController.forBarcodeFindView(this, nativeView);
|
|
5727
|
+
this._isInitialized = true;
|
|
5580
5728
|
}
|
|
5581
5729
|
static forMode(dataCaptureContext, barcodeFind) {
|
|
5582
5730
|
return new BaseBarcodeFindView(dataCaptureContext, barcodeFind);
|
|
@@ -5684,6 +5832,20 @@ class BaseBarcodeFindView {
|
|
|
5684
5832
|
BaseBarcodeFindView.barcodeFindViewDefaults.textForAllItemsFoundSuccessfullyHint = value;
|
|
5685
5833
|
this.update();
|
|
5686
5834
|
}
|
|
5835
|
+
get textForItemListUpdatedHint() {
|
|
5836
|
+
return BaseBarcodeFindView.barcodeFindViewDefaults.textForItemListUpdatedHint;
|
|
5837
|
+
}
|
|
5838
|
+
set textForItemListUpdatedHint(value) {
|
|
5839
|
+
BaseBarcodeFindView.barcodeFindViewDefaults.textForItemListUpdatedHint = value;
|
|
5840
|
+
this.update();
|
|
5841
|
+
}
|
|
5842
|
+
get textForItemListUpdatedWhenPausedHint() {
|
|
5843
|
+
return BaseBarcodeFindView.barcodeFindViewDefaults.textForItemListUpdatedWhenPausedHint;
|
|
5844
|
+
}
|
|
5845
|
+
set textForItemListUpdatedWhenPausedHint(value) {
|
|
5846
|
+
BaseBarcodeFindView.barcodeFindViewDefaults.textForItemListUpdatedWhenPausedHint = value;
|
|
5847
|
+
this.update();
|
|
5848
|
+
}
|
|
5687
5849
|
get textForPointAtBarcodesToSearchHint() {
|
|
5688
5850
|
return BaseBarcodeFindView.barcodeFindViewDefaults.textForPointAtBarcodesToSearchHint;
|
|
5689
5851
|
}
|
|
@@ -5736,6 +5898,8 @@ class BaseBarcodeFindView {
|
|
|
5736
5898
|
torchControlPosition: (_a = this.torchControlPosition) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
5737
5899
|
textForCollapseCardsButton: this.textForCollapseCardsButton,
|
|
5738
5900
|
textForAllItemsFoundSuccessfullyHint: this.textForAllItemsFoundSuccessfullyHint,
|
|
5901
|
+
textForItemListUpdatedHint: this.textForItemListUpdatedHint,
|
|
5902
|
+
textForItemListUpdatedWhenPausedHint: this.textForItemListUpdatedWhenPausedHint,
|
|
5739
5903
|
textForPointAtBarcodesToSearchHint: this.textForPointAtBarcodesToSearchHint,
|
|
5740
5904
|
textForMoveCloserToBarcodesHint: this.textForMoveCloserToBarcodesHint,
|
|
5741
5905
|
textForTapShutterToPauseScreenHint: this.textForTapShutterToPauseScreenHint,
|
|
@@ -5756,4 +5920,182 @@ class BaseBarcodeFindView {
|
|
|
5756
5920
|
}
|
|
5757
5921
|
}
|
|
5758
5922
|
|
|
5759
|
-
|
|
5923
|
+
class BarcodeGeneratorCreationOptions {
|
|
5924
|
+
constructor(backgroundColor = null, foregroundColor = null, errorCorrectionLevel = null, versionNumber = null) {
|
|
5925
|
+
this.backgroundColor = backgroundColor;
|
|
5926
|
+
this.foregroundColor = foregroundColor;
|
|
5927
|
+
this.errorCorrectionLevel = errorCorrectionLevel;
|
|
5928
|
+
this.versionNumber = versionNumber;
|
|
5929
|
+
}
|
|
5930
|
+
}
|
|
5931
|
+
|
|
5932
|
+
class BarcodeGeneratorBuilder {
|
|
5933
|
+
constructor(type, dataCaptureContext) {
|
|
5934
|
+
this.options = new BarcodeGeneratorCreationOptions();
|
|
5935
|
+
this.type = type;
|
|
5936
|
+
this.dataCaptureContext = dataCaptureContext;
|
|
5937
|
+
}
|
|
5938
|
+
withBackgroundColor(color) {
|
|
5939
|
+
this.options.backgroundColor = color;
|
|
5940
|
+
return this;
|
|
5941
|
+
}
|
|
5942
|
+
withForegroundColor(color) {
|
|
5943
|
+
this.options.foregroundColor = color;
|
|
5944
|
+
return this;
|
|
5945
|
+
}
|
|
5946
|
+
build() {
|
|
5947
|
+
return BarcodeGenerator.create(this.type, this.options, this.dataCaptureContext);
|
|
5948
|
+
}
|
|
5949
|
+
}
|
|
5950
|
+
|
|
5951
|
+
class Code39BarcodeGeneratorBuilder extends BarcodeGeneratorBuilder {
|
|
5952
|
+
constructor(dataCaptureContext) {
|
|
5953
|
+
super('code39Generator', dataCaptureContext);
|
|
5954
|
+
}
|
|
5955
|
+
}
|
|
5956
|
+
|
|
5957
|
+
class Code128BarcodeGeneratorBuilder extends BarcodeGeneratorBuilder {
|
|
5958
|
+
constructor(dataCaptureContext) {
|
|
5959
|
+
super('code128Generator', dataCaptureContext);
|
|
5960
|
+
}
|
|
5961
|
+
}
|
|
5962
|
+
|
|
5963
|
+
class Ean13BarcodeGeneratorBuilder extends BarcodeGeneratorBuilder {
|
|
5964
|
+
constructor(dataCaptureContext) {
|
|
5965
|
+
super('ean13Generator', dataCaptureContext);
|
|
5966
|
+
}
|
|
5967
|
+
}
|
|
5968
|
+
|
|
5969
|
+
class UpcaBarcodeGeneratorBuilder extends BarcodeGeneratorBuilder {
|
|
5970
|
+
constructor(dataCaptureContext) {
|
|
5971
|
+
super('upcaGenerator', dataCaptureContext);
|
|
5972
|
+
}
|
|
5973
|
+
}
|
|
5974
|
+
|
|
5975
|
+
class InterleavedTwoOfFiveBarcodeGeneratorBuilder extends BarcodeGeneratorBuilder {
|
|
5976
|
+
constructor(dataCaptureContext) {
|
|
5977
|
+
super('interleavedTwoOfFiveGenerator', dataCaptureContext);
|
|
5978
|
+
}
|
|
5979
|
+
}
|
|
5980
|
+
|
|
5981
|
+
class QrCodeBarcodeGeneratorBuilder extends BarcodeGeneratorBuilder {
|
|
5982
|
+
constructor(dataCaptureContext) {
|
|
5983
|
+
super('qrCodeGenerator', dataCaptureContext);
|
|
5984
|
+
}
|
|
5985
|
+
withErrorCorrectionLevel(errorCorrectionLevel) {
|
|
5986
|
+
this.options.errorCorrectionLevel = errorCorrectionLevel;
|
|
5987
|
+
return this;
|
|
5988
|
+
}
|
|
5989
|
+
withVersionNumber(versionNumber) {
|
|
5990
|
+
this.options.versionNumber = versionNumber;
|
|
5991
|
+
return this;
|
|
5992
|
+
}
|
|
5993
|
+
}
|
|
5994
|
+
|
|
5995
|
+
class DataMatrixBarcodeGeneratorBuilder extends BarcodeGeneratorBuilder {
|
|
5996
|
+
constructor(dataCaptureContext) {
|
|
5997
|
+
super('dataMatrixGenerator', dataCaptureContext);
|
|
5998
|
+
}
|
|
5999
|
+
}
|
|
6000
|
+
|
|
6001
|
+
class BarcodeGeneratorController {
|
|
6002
|
+
get _proxy() {
|
|
6003
|
+
return FactoryMaker.getInstance('BarcodeGeneratorProxy');
|
|
6004
|
+
}
|
|
6005
|
+
static forBarcodeGenerator(generator) {
|
|
6006
|
+
const controller = new BarcodeGeneratorController();
|
|
6007
|
+
controller.generator = generator;
|
|
6008
|
+
controller.initialize();
|
|
6009
|
+
return controller;
|
|
6010
|
+
}
|
|
6011
|
+
initialize() {
|
|
6012
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6013
|
+
// We call update because it returns a promise, this guarantees, that by the time
|
|
6014
|
+
// we need the deserialized context, it will be set in the native layer.
|
|
6015
|
+
yield this.generator.dataCaptureContext.update();
|
|
6016
|
+
this.create();
|
|
6017
|
+
});
|
|
6018
|
+
}
|
|
6019
|
+
create() {
|
|
6020
|
+
return this._proxy.create(JSON.stringify(this.generator.toJSON()));
|
|
6021
|
+
}
|
|
6022
|
+
generateFromBase64EncodedData(data, imageWidth) {
|
|
6023
|
+
return this._proxy.generateFromBase64EncodedData(this.generator.id, data, imageWidth);
|
|
6024
|
+
}
|
|
6025
|
+
generate(text, imageWidth) {
|
|
6026
|
+
return this._proxy.generate(this.generator.id, text, imageWidth);
|
|
6027
|
+
}
|
|
6028
|
+
dispose() {
|
|
6029
|
+
return this._proxy.dispose(this.generator.id);
|
|
6030
|
+
}
|
|
6031
|
+
}
|
|
6032
|
+
|
|
6033
|
+
class BarcodeGenerator extends DefaultSerializeable {
|
|
6034
|
+
get id() {
|
|
6035
|
+
return this._id;
|
|
6036
|
+
}
|
|
6037
|
+
constructor(dataCaptureContext, type, backgroundColor, foregroundColor, errorCorrectionLevel, versionNumber) {
|
|
6038
|
+
super();
|
|
6039
|
+
this._id = `${Date.now()}`;
|
|
6040
|
+
this.errorCorrectionLevel = null;
|
|
6041
|
+
this.dataCaptureContext = dataCaptureContext;
|
|
6042
|
+
this.type = type;
|
|
6043
|
+
this.backgroundColor = backgroundColor;
|
|
6044
|
+
this.foregroundColor = foregroundColor;
|
|
6045
|
+
this.errorCorrectionLevel = errorCorrectionLevel;
|
|
6046
|
+
this.versionNumber = versionNumber;
|
|
6047
|
+
this.controller = BarcodeGeneratorController.forBarcodeGenerator(this);
|
|
6048
|
+
}
|
|
6049
|
+
static create(type, options, dataCaptureContext) {
|
|
6050
|
+
return new BarcodeGenerator(dataCaptureContext, type, options.backgroundColor, options.backgroundColor, options.errorCorrectionLevel, options.versionNumber);
|
|
6051
|
+
}
|
|
6052
|
+
generate(text, imageWidth) {
|
|
6053
|
+
return this.controller.generate(text, imageWidth);
|
|
6054
|
+
}
|
|
6055
|
+
generateFromBase64EncodedData(data, imageWidth) {
|
|
6056
|
+
return this.controller.generateFromBase64EncodedData(data, imageWidth);
|
|
6057
|
+
}
|
|
6058
|
+
dispose() {
|
|
6059
|
+
this.controller.dispose();
|
|
6060
|
+
}
|
|
6061
|
+
static code39BarcodeGeneratorBuilder(dataCaptureContext) {
|
|
6062
|
+
return new Code39BarcodeGeneratorBuilder(dataCaptureContext);
|
|
6063
|
+
}
|
|
6064
|
+
static code128BarcodeGeneratorBuilder(dataCaptureContext) {
|
|
6065
|
+
return new Code128BarcodeGeneratorBuilder(dataCaptureContext);
|
|
6066
|
+
}
|
|
6067
|
+
static ean13BarcodeGeneratorBuilder(dataCaptureContext) {
|
|
6068
|
+
return new Ean13BarcodeGeneratorBuilder(dataCaptureContext);
|
|
6069
|
+
}
|
|
6070
|
+
static upcaBarcodeGeneratorBuilder(dataCaptureContext) {
|
|
6071
|
+
return new UpcaBarcodeGeneratorBuilder(dataCaptureContext);
|
|
6072
|
+
}
|
|
6073
|
+
static interleavedTwoOfFiveBarcodeGeneratorBuilder(dataCaptureContext) {
|
|
6074
|
+
return new InterleavedTwoOfFiveBarcodeGeneratorBuilder(dataCaptureContext);
|
|
6075
|
+
}
|
|
6076
|
+
static qrCodeBarcodeGeneratorBuilder(dataCaptureContext) {
|
|
6077
|
+
return new QrCodeBarcodeGeneratorBuilder(dataCaptureContext);
|
|
6078
|
+
}
|
|
6079
|
+
static dataMatrixBarcodeGeneratorBuilder(dataCaptureContext) {
|
|
6080
|
+
return new DataMatrixBarcodeGeneratorBuilder(dataCaptureContext);
|
|
6081
|
+
}
|
|
6082
|
+
}
|
|
6083
|
+
__decorate([
|
|
6084
|
+
nameForSerialization('id')
|
|
6085
|
+
], BarcodeGenerator.prototype, "_id", void 0);
|
|
6086
|
+
__decorate([
|
|
6087
|
+
ignoreFromSerialization
|
|
6088
|
+
], BarcodeGenerator.prototype, "dataCaptureContext", void 0);
|
|
6089
|
+
__decorate([
|
|
6090
|
+
ignoreFromSerialization
|
|
6091
|
+
], BarcodeGenerator.prototype, "controller", void 0);
|
|
6092
|
+
|
|
6093
|
+
var QrCodeErrorCorrectionLevel;
|
|
6094
|
+
(function (QrCodeErrorCorrectionLevel) {
|
|
6095
|
+
QrCodeErrorCorrectionLevel["Low"] = "low";
|
|
6096
|
+
QrCodeErrorCorrectionLevel["Medium"] = "medium";
|
|
6097
|
+
QrCodeErrorCorrectionLevel["Quartile"] = "quartile";
|
|
6098
|
+
QrCodeErrorCorrectionLevel["High"] = "high";
|
|
6099
|
+
})(QrCodeErrorCorrectionLevel || (QrCodeErrorCorrectionLevel = {}));
|
|
6100
|
+
|
|
6101
|
+
export { ArucoDictionary, ArucoDictionaryPreset, ArucoMarker, Barcode, BarcodeCapture, BarcodeCaptureFeedback, BarcodeCaptureListenerController, BarcodeCaptureListenerEvents, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureSession, BarcodeCaptureSettings, BarcodeCount, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountFeedback, BarcodeCountListenerController, BarcodeCountListenerEvents, BarcodeCountSession, BarcodeCountSessionController, BarcodeCountSettings, BarcodeCountToolbarSettings, BarcodeCountViewEvents, BarcodeCountViewStyle, BarcodeFilterHighlightSettingsBrush, BarcodeFilterHighlightType, BarcodeFilterSettings, BarcodeFind, BarcodeFindController, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindListenerEvents, BarcodeFindSettings, BarcodeFindViewEvents, BarcodeFindViewSettings, BarcodeGenerator, BarcodeGeneratorBuilder, BarcodeGeneratorController, BarcodePick, BarcodePickActionCallback, BarcodePickAsyncMapperProductProvider, BarcodePickEvents, BarcodePickIconStyle, BarcodePickListenerController, BarcodePickListenerEvents, BarcodePickProduct, BarcodePickProductController, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickScanningSession, BarcodePickSettings, BarcodePickState, BarcodePickViewController, BarcodePickViewListenerEvents, BarcodePickViewSettings, BarcodePickViewUiListenerEvents, BarcodeSelection, BarcodeSelectionAimerSelection, BarcodeSelectionAutoSelectionStrategy, BarcodeSelectionBasicOverlay, BarcodeSelectionBasicOverlayStyle, BarcodeSelectionBrushProviderEvents, BarcodeSelectionController, BarcodeSelectionFeedback, BarcodeSelectionFreezeBehavior, BarcodeSelectionListenerController, BarcodeSelectionListenerEvents, BarcodeSelectionManualSelectionStrategy, BarcodeSelectionOverlayController, BarcodeSelectionSession, BarcodeSelectionSettings, BarcodeSelectionStrategyType, BarcodeSelectionTapBehavior, BarcodeSelectionTapSelection, BarcodeSelectionTypeName, BarcodeSpatialGrid, BarcodeTracking, BarcodeTrackingAdvancedOverlayController, BarcodeTrackingAdvancedOverlayListenerEvents, BarcodeTrackingBasicOverlay, BarcodeTrackingBasicOverlayController, BarcodeTrackingBasicOverlayListenerEvents, BarcodeTrackingBasicOverlayStyle, BarcodeTrackingListenerController, BarcodeTrackingListenerEvents, BarcodeTrackingScenario, BarcodeTrackingSession, BarcodeTrackingSettings, BaseBarcodeFindView, BaseBarcodePickView, BaseBarcodeTrackingAdvancedOverlay, BaseSparkScanView, BatterySavingMode, BrushForStateObject, Checksum, Code128BarcodeGeneratorBuilder, Code39BarcodeGeneratorBuilder, CompositeFlag, CompositeType, DataMatrixBarcodeGeneratorBuilder, Dot, DotWithIcons, Ean13BarcodeGeneratorBuilder, Ean13UpcaClassification, EncodingRange, InterleavedTwoOfFiveBarcodeGeneratorBuilder, LocalizedOnlyBarcode, PrivateBarcodeSelectionStrategy, PrivateBarcodeSelectionType, QrCodeBarcodeGeneratorBuilder, QrCodeErrorCorrectionLevel, Range, Rectangular, RectangularWithIcons, SparkScan, SparkScanBarcodeErrorFeedback, SparkScanBarcodeFeedback, SparkScanBarcodeSuccessFeedback, SparkScanFeedback, SparkScanFeedbackDelegateEvents, SparkScanListenerController, SparkScanListenerEvents, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanScanningPrecision, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewController, SparkScanViewErrorFeedback, SparkScanViewEvents, SparkScanViewFeedback, SparkScanViewHandMode, SparkScanViewSettings, SparkScanViewSuccessFeedback, StructuredAppendData, Symbology, SymbologyDescription, SymbologySettings, TargetBarcode, TrackedBarcode, UpcaBarcodeGeneratorBuilder, getBarcodeCaptureDefaults, getBarcodeCountDefaults, getBarcodeDefaults, getBarcodeFindDefaults, getBarcodePickDefaults, getBarcodeSelectionDefaults, getBarcodeTrackingDefaults, getSparkScanDefaults, loadBarcodeCaptureDefaults, loadBarcodeCountDefaults, loadBarcodeDefaults, loadBarcodeFindDefaults, loadBarcodePickDefaults, loadBarcodeSelectionDefaults, loadBarcodeTrackingDefaults, loadSparkScanDefaults };
|