scandit-capacitor-datacapture-barcode 7.3.0 → 7.4.0-beta.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/ScanditCapacitorDatacaptureBarcode.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/scandit/capacitor/datacapture/barcode/ScanditBarcodeNative.kt +34 -12
- package/dist/barcode.js +281 -191
- package/dist/barcode.js.map +1 -1
- package/dist/dts/definitions.d.ts +0 -32
- package/dist/dts/ts/BarcodePickView.d.ts +0 -1
- package/dist/dts/ts/SparkScanView.d.ts +2 -0
- package/dist/index.js +171 -363
- package/dist/index.js.map +1 -1
- package/ios/Plugin/Plugin.m +12 -10
- package/ios/Plugin/ScanditBarcodeCapture.swift +49 -22
- package/package.json +5 -14
- package/dist/dts/ts/Capacitor/BarcodePickListenerProxy.d.ts +0 -14
- package/dist/dts/ts/Capacitor/BarcodePickProductProxy.d.ts +0 -11
- package/dist/dts/ts/Capacitor/BarcodePickViewProxy.d.ts +0 -44
package/dist/barcode.js
CHANGED
|
@@ -2616,6 +2616,8 @@ function getBarcodeFindDefaults() {
|
|
|
2616
2616
|
}
|
|
2617
2617
|
function parseBarcodeFindDefaults(jsonDefaults) {
|
|
2618
2618
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2619
|
+
const viewJsonDefaults = jsonDefaults.BarcodeFindView;
|
|
2620
|
+
const settingsJsonDefaults = jsonDefaults.BarcodeFindViewSettings;
|
|
2619
2621
|
return {
|
|
2620
2622
|
RecommendedCameraSettings: CameraSettings
|
|
2621
2623
|
.fromJSON(jsonDefaults.RecommendedCameraSettings),
|
|
@@ -2625,24 +2627,28 @@ function parseBarcodeFindDefaults(jsonDefaults) {
|
|
|
2625
2627
|
.fromJSON(JSON.parse(jsonDefaults.BarcodeFindFeedback).itemListUpdated),
|
|
2626
2628
|
},
|
|
2627
2629
|
BarcodeFindView: {
|
|
2628
|
-
hardwareTriggerSupported:
|
|
2629
|
-
shouldShowCarousel:
|
|
2630
|
-
shouldShowFinishButton:
|
|
2631
|
-
shouldShowHints:
|
|
2632
|
-
shouldShowPauseButton:
|
|
2633
|
-
shouldShowProgressBar:
|
|
2634
|
-
shouldShowUserGuidanceView:
|
|
2635
|
-
shouldShowTorchControl:
|
|
2636
|
-
shouldShowZoomControl:
|
|
2637
|
-
textForAllItemsFoundSuccessfullyHint: (_a =
|
|
2638
|
-
textForItemListUpdatedHint: (_b =
|
|
2639
|
-
textForItemListUpdatedWhenPausedHint: (_c =
|
|
2640
|
-
textForCollapseCardsButton: (_d =
|
|
2641
|
-
textForMoveCloserToBarcodesHint: (_e =
|
|
2642
|
-
textForPointAtBarcodesToSearchHint: (_f =
|
|
2643
|
-
textForTapShutterToPauseScreenHint: (_g =
|
|
2644
|
-
textForTapShutterToResumeSearchHint: (_h =
|
|
2645
|
-
torchControlPosition:
|
|
2630
|
+
hardwareTriggerSupported: viewJsonDefaults.hardwareTriggerSupported,
|
|
2631
|
+
shouldShowCarousel: viewJsonDefaults.shouldShowCarousel,
|
|
2632
|
+
shouldShowFinishButton: viewJsonDefaults.shouldShowFinishButton,
|
|
2633
|
+
shouldShowHints: viewJsonDefaults.shouldShowHints,
|
|
2634
|
+
shouldShowPauseButton: viewJsonDefaults.shouldShowPauseButton,
|
|
2635
|
+
shouldShowProgressBar: viewJsonDefaults.shouldShowProgressBar,
|
|
2636
|
+
shouldShowUserGuidanceView: viewJsonDefaults.shouldShowUserGuidanceView,
|
|
2637
|
+
shouldShowTorchControl: viewJsonDefaults.shouldShowTorchControl,
|
|
2638
|
+
shouldShowZoomControl: viewJsonDefaults.shouldShowZoomControl,
|
|
2639
|
+
textForAllItemsFoundSuccessfullyHint: (_a = viewJsonDefaults.textForAllItemsFoundSuccessfullyHint) !== null && _a !== void 0 ? _a : null,
|
|
2640
|
+
textForItemListUpdatedHint: (_b = viewJsonDefaults.textForItemListUpdatedHint) !== null && _b !== void 0 ? _b : null,
|
|
2641
|
+
textForItemListUpdatedWhenPausedHint: (_c = viewJsonDefaults.textForItemListUpdatedWhenPausedHint) !== null && _c !== void 0 ? _c : null,
|
|
2642
|
+
textForCollapseCardsButton: (_d = viewJsonDefaults.textForCollapseCardsButton) !== null && _d !== void 0 ? _d : null,
|
|
2643
|
+
textForMoveCloserToBarcodesHint: (_e = viewJsonDefaults.textForMoveCloserToBarcodesHint) !== null && _e !== void 0 ? _e : null,
|
|
2644
|
+
textForPointAtBarcodesToSearchHint: (_f = viewJsonDefaults.textForPointAtBarcodesToSearchHint) !== null && _f !== void 0 ? _f : null,
|
|
2645
|
+
textForTapShutterToPauseScreenHint: (_g = viewJsonDefaults.textForTapShutterToPauseScreenHint) !== null && _g !== void 0 ? _g : null,
|
|
2646
|
+
textForTapShutterToResumeSearchHint: (_h = viewJsonDefaults.textForTapShutterToResumeSearchHint) !== null && _h !== void 0 ? _h : null,
|
|
2647
|
+
torchControlPosition: viewJsonDefaults.torchControlPosition,
|
|
2648
|
+
},
|
|
2649
|
+
BarcodeFindViewSettings: {
|
|
2650
|
+
progressBarStartColor: Color.fromJSON(settingsJsonDefaults.progressBarStartColor),
|
|
2651
|
+
progressBarFinishColor: Color.fromJSON(settingsJsonDefaults.progressBarFinishColor),
|
|
2646
2652
|
}
|
|
2647
2653
|
};
|
|
2648
2654
|
}
|
|
@@ -2678,6 +2684,7 @@ function parseSparkScanDefaults(jsonDefaults) {
|
|
|
2678
2684
|
barcodeCountButtonVisible: jsonDefaults.SparkScanView.barcodeCountButtonVisible,
|
|
2679
2685
|
barcodeFindButtonVisible: jsonDefaults.SparkScanView.barcodeFindButtonVisible,
|
|
2680
2686
|
targetModeButtonVisible: jsonDefaults.SparkScanView.targetModeButtonVisible,
|
|
2687
|
+
labelCaptureButtonVisible: jsonDefaults.SparkScanView.labelCaptureButtonVisible,
|
|
2681
2688
|
previewSizeControlVisible: jsonDefaults.SparkScanView.previewSizeControlVisible,
|
|
2682
2689
|
triggerButtonAnimationColor: jsonDefaults.SparkScanView.triggerButtonAnimationColor || null,
|
|
2683
2690
|
triggerButtonExpandedColor: jsonDefaults.SparkScanView.triggerButtonExpandedColor || null,
|
|
@@ -6642,6 +6649,7 @@ var SparkScanViewEvents;
|
|
|
6642
6649
|
(function (SparkScanViewEvents) {
|
|
6643
6650
|
SparkScanViewEvents["barcodeFindButtonTapped"] = "SparkScanViewUiListener.barcodeFindButtonTapped";
|
|
6644
6651
|
SparkScanViewEvents["barcodeCountButtonTapped"] = "SparkScanViewUiListener.barcodeCountButtonTapped";
|
|
6652
|
+
SparkScanViewEvents["labelCaptureButtonTapped"] = "SparkScanViewUiListener.labelCaptureButtonTapped";
|
|
6645
6653
|
SparkScanViewEvents["didChangeViewState"] = "SparkScanViewUiListener.didChangeViewState";
|
|
6646
6654
|
SparkScanViewEvents["feedbackForBarcode"] = "SparkScanFeedbackDelegate.feedbackForBarcode";
|
|
6647
6655
|
SparkScanViewEvents["didUpdateSession"] = "SparkScanListener.didUpdateSession";
|
|
@@ -6712,6 +6720,17 @@ class SparkScanViewController extends BaseNewController {
|
|
|
6712
6720
|
}
|
|
6713
6721
|
(_b = (_a = this.view.uiListener) === null || _a === void 0 ? void 0 : _a.didTapBarcodeFindButton) === null || _b === void 0 ? void 0 : _b.call(_a, this.view);
|
|
6714
6722
|
});
|
|
6723
|
+
this.labelCaptureButtonTappedListener = (ev) => __awaiter(this, void 0, void 0, function* () {
|
|
6724
|
+
var _a, _b;
|
|
6725
|
+
const payload = EventDataParser.parse(ev.data);
|
|
6726
|
+
if (payload === null) {
|
|
6727
|
+
return;
|
|
6728
|
+
}
|
|
6729
|
+
if (payload.viewId !== this.viewInstanceId) {
|
|
6730
|
+
return;
|
|
6731
|
+
}
|
|
6732
|
+
(_b = (_a = this.view.uiListener) === null || _a === void 0 ? void 0 : _a.didTapLabelCaptureButton) === null || _b === void 0 ? void 0 : _b.call(_a, this.view);
|
|
6733
|
+
});
|
|
6715
6734
|
this.didChangeViewStateListener = (ev) => __awaiter(this, void 0, void 0, function* () {
|
|
6716
6735
|
var _a, _b;
|
|
6717
6736
|
const payload = EventDataParser.parse(ev.data);
|
|
@@ -6729,6 +6748,7 @@ class SparkScanViewController extends BaseNewController {
|
|
|
6729
6748
|
initialize() {
|
|
6730
6749
|
this._proxy.on$barcodeCountButtonTapped = this.barcodeCountButtonTappedListener;
|
|
6731
6750
|
this._proxy.on$barcodeFindButtonTapped = this.barcodeFindButtonTappedListener;
|
|
6751
|
+
this._proxy.on$labelCaptureButtonTapped = this.labelCaptureButtonTappedListener;
|
|
6732
6752
|
this._proxy.on$didChangeViewState = this.didChangeViewStateListener;
|
|
6733
6753
|
this._proxy.on$didUpdateSession = this.didUpdateSessionListener;
|
|
6734
6754
|
this._proxy.on$didScan = this.didScanListener;
|
|
@@ -6978,6 +6998,9 @@ class BaseSparkScanView {
|
|
|
6978
6998
|
if (props.targetModeButtonVisible !== undefined && props.targetModeButtonVisible !== null) {
|
|
6979
6999
|
view._targetModeButtonVisible = props.targetModeButtonVisible;
|
|
6980
7000
|
}
|
|
7001
|
+
if (props.labelCaptureButtonVisible !== undefined && props.labelCaptureButtonVisible !== null) {
|
|
7002
|
+
view._labelCaptureButtonVisible = props.labelCaptureButtonVisible;
|
|
7003
|
+
}
|
|
6981
7004
|
if (props.torchControlVisible !== undefined && props.torchControlVisible !== null) {
|
|
6982
7005
|
view._torchControlVisible = props.torchControlVisible;
|
|
6983
7006
|
}
|
|
@@ -7030,6 +7053,7 @@ class BaseSparkScanView {
|
|
|
7030
7053
|
this._barcodeCountButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.barcodeCountButtonVisible;
|
|
7031
7054
|
this._barcodeFindButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.barcodeFindButtonVisible;
|
|
7032
7055
|
this._targetModeButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.targetModeButtonVisible;
|
|
7056
|
+
this._labelCaptureButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.labelCaptureButtonVisible;
|
|
7033
7057
|
this._toolbarBackgroundColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarBackgroundColor;
|
|
7034
7058
|
this._toolbarIconActiveTintColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarIconActiveTintColor;
|
|
7035
7059
|
this._toolbarIconInactiveTintColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarIconInactiveTintColor;
|
|
@@ -7107,6 +7131,13 @@ class BaseSparkScanView {
|
|
|
7107
7131
|
this._targetModeButtonVisible = newValue;
|
|
7108
7132
|
this.update();
|
|
7109
7133
|
}
|
|
7134
|
+
get labelCaptureButtonVisible() {
|
|
7135
|
+
return this._labelCaptureButtonVisible;
|
|
7136
|
+
}
|
|
7137
|
+
set labelCaptureButtonVisible(newValue) {
|
|
7138
|
+
this._labelCaptureButtonVisible = newValue;
|
|
7139
|
+
this.update();
|
|
7140
|
+
}
|
|
7110
7141
|
/**
|
|
7111
7142
|
* @deprecated The trigger button no longer displays text.
|
|
7112
7143
|
*/
|
|
@@ -7410,6 +7441,7 @@ class BaseSparkScanView {
|
|
|
7410
7441
|
barcodeCountButtonVisible: this.barcodeCountButtonVisible,
|
|
7411
7442
|
barcodeFindButtonVisible: this.barcodeFindButtonVisible,
|
|
7412
7443
|
targetModeButtonVisible: this.targetModeButtonVisible,
|
|
7444
|
+
labelCaptureButtonVisible: this.labelCaptureButtonVisible,
|
|
7413
7445
|
stopCapturingText: this.stopCapturingText,
|
|
7414
7446
|
startCapturingText: this.startCapturingText,
|
|
7415
7447
|
resumeCapturingText: this.resumeCapturingText,
|
|
@@ -7436,6 +7468,9 @@ class BaseSparkScanView {
|
|
|
7436
7468
|
return json;
|
|
7437
7469
|
}
|
|
7438
7470
|
}
|
|
7471
|
+
__decorate([
|
|
7472
|
+
ignoreFromSerialization
|
|
7473
|
+
], BaseSparkScanView.prototype, "_viewId", void 0);
|
|
7439
7474
|
|
|
7440
7475
|
class SparkScanBarcodeFeedback extends DefaultSerializeable {
|
|
7441
7476
|
constructor() {
|
|
@@ -7540,22 +7575,21 @@ class BarcodePickScanningSession {
|
|
|
7540
7575
|
|
|
7541
7576
|
var BarcodePickListenerEvents;
|
|
7542
7577
|
(function (BarcodePickListenerEvents) {
|
|
7543
|
-
BarcodePickListenerEvents["
|
|
7544
|
-
BarcodePickListenerEvents["
|
|
7578
|
+
BarcodePickListenerEvents["didCompleteScanningSession"] = "BarcodePickScanningListener.didCompleteScanningSession";
|
|
7579
|
+
BarcodePickListenerEvents["didUpdateScanningSession"] = "BarcodePickScanningListener.didUpdateScanningSession";
|
|
7545
7580
|
})(BarcodePickListenerEvents || (BarcodePickListenerEvents = {}));
|
|
7546
|
-
class BarcodePickListenerController extends
|
|
7581
|
+
class BarcodePickListenerController extends BaseNewController {
|
|
7547
7582
|
constructor(barcodePick) {
|
|
7548
7583
|
super('BarcodePickListenerProxy');
|
|
7549
7584
|
this._barcodePick = barcodePick;
|
|
7550
|
-
this.eventEmitter = FactoryMaker.getInstance('EventEmitter');
|
|
7551
7585
|
}
|
|
7552
7586
|
static forBarcodePick(barcodePick) {
|
|
7553
7587
|
return new BarcodePickListenerController(barcodePick);
|
|
7554
7588
|
}
|
|
7555
7589
|
subscribeListeners() {
|
|
7556
|
-
this._proxy
|
|
7557
|
-
this.
|
|
7558
|
-
const payload = EventDataParser.parse(data);
|
|
7590
|
+
this._proxy.$addBarcodePickScanningListener();
|
|
7591
|
+
this._proxy.on$didCompleteScanningSession = (ev) => __awaiter(this, void 0, void 0, function* () {
|
|
7592
|
+
const payload = EventDataParser.parse(ev.data);
|
|
7559
7593
|
if (payload === null) {
|
|
7560
7594
|
console.error('BarcodePickListenerController DidCompleteScanningSession payload is null');
|
|
7561
7595
|
return;
|
|
@@ -7564,8 +7598,8 @@ class BarcodePickListenerController extends BaseController {
|
|
|
7564
7598
|
.fromJSON(JSON.parse(payload.session));
|
|
7565
7599
|
this.notifyListenersOfDidCompleteScanningSession(session);
|
|
7566
7600
|
});
|
|
7567
|
-
this.
|
|
7568
|
-
const payload = EventDataParser.parse(data);
|
|
7601
|
+
this._proxy.on$didUpdateScanningSession = (ev) => __awaiter(this, void 0, void 0, function* () {
|
|
7602
|
+
const payload = EventDataParser.parse(ev.data);
|
|
7569
7603
|
if (payload === null) {
|
|
7570
7604
|
console.error('BarcodePickListenerController DidUpdateScanningSession payload is null');
|
|
7571
7605
|
return;
|
|
@@ -7596,9 +7630,8 @@ class BarcodePickListenerController extends BaseController {
|
|
|
7596
7630
|
mode.isInListenerCallback = false;
|
|
7597
7631
|
}
|
|
7598
7632
|
unsubscribeListeners() {
|
|
7599
|
-
this.
|
|
7600
|
-
this.
|
|
7601
|
-
this._proxy.unsubscribeBarcodePickListeners();
|
|
7633
|
+
this._proxy.$removeBarcodePickScanningListener();
|
|
7634
|
+
this._proxy.dispose();
|
|
7602
7635
|
}
|
|
7603
7636
|
}
|
|
7604
7637
|
|
|
@@ -7674,151 +7707,11 @@ class BarcodePickActionCallback {
|
|
|
7674
7707
|
}
|
|
7675
7708
|
}
|
|
7676
7709
|
|
|
7677
|
-
var
|
|
7678
|
-
(function (
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
BarcodePickViewListenerEvents["DidStopScanning"] = "BarcodePickViewListener.didStopScanning";
|
|
7683
|
-
})(BarcodePickViewListenerEvents || (BarcodePickViewListenerEvents = {}));
|
|
7684
|
-
var BarcodePickViewUiListenerEvents;
|
|
7685
|
-
(function (BarcodePickViewUiListenerEvents) {
|
|
7686
|
-
BarcodePickViewUiListenerEvents["DidTapFinishButton"] = "BarcodePickViewUiListener.didTapFinishButton";
|
|
7687
|
-
})(BarcodePickViewUiListenerEvents || (BarcodePickViewUiListenerEvents = {}));
|
|
7688
|
-
var BarcodePickEvents;
|
|
7689
|
-
(function (BarcodePickEvents) {
|
|
7690
|
-
BarcodePickEvents["DidPick"] = "BarcodePickActionListener.didPick";
|
|
7691
|
-
BarcodePickEvents["DidUnpick"] = "BarcodePickActionListener.didUnpick";
|
|
7692
|
-
BarcodePickEvents["OnProductIdentifierForItems"] = "BarcodePickAsyncMapperProductProviderCallback.onProductIdentifierForItems";
|
|
7693
|
-
})(BarcodePickEvents || (BarcodePickEvents = {}));
|
|
7694
|
-
class BarcodePickViewController extends BaseController {
|
|
7695
|
-
static forBarcodePick(view, nativeView, autoCreateNativeView = true) {
|
|
7696
|
-
const viewController = new BarcodePickViewController();
|
|
7697
|
-
viewController.view = view;
|
|
7698
|
-
viewController.nativeView = nativeView;
|
|
7699
|
-
viewController.initialize(autoCreateNativeView);
|
|
7700
|
-
return viewController;
|
|
7701
|
-
}
|
|
7702
|
-
constructor() {
|
|
7703
|
-
super('BarcodePickViewProxy');
|
|
7704
|
-
}
|
|
7705
|
-
initialize(autoCreateNativeView) {
|
|
7706
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7707
|
-
// We call update because it returns a promise, this guarantees, that by the time
|
|
7708
|
-
// we need the deserialized context, it will be set in the native layer.
|
|
7709
|
-
yield this.view.context.update();
|
|
7710
|
-
if (autoCreateNativeView) {
|
|
7711
|
-
yield this.create();
|
|
7712
|
-
}
|
|
7713
|
-
});
|
|
7714
|
-
}
|
|
7715
|
-
start() {
|
|
7716
|
-
return this._proxy.viewStart();
|
|
7717
|
-
}
|
|
7718
|
-
stop() {
|
|
7719
|
-
return this._proxy.viewStop();
|
|
7720
|
-
}
|
|
7721
|
-
freeze() {
|
|
7722
|
-
return this._proxy.viewFreeze();
|
|
7723
|
-
}
|
|
7724
|
-
pause() {
|
|
7725
|
-
return this._proxy.viewPause();
|
|
7726
|
-
}
|
|
7727
|
-
resume() {
|
|
7728
|
-
return this._proxy.viewResume();
|
|
7729
|
-
}
|
|
7730
|
-
finishPickAction(itemData, result) {
|
|
7731
|
-
return this._proxy.finishPickAction(itemData, result);
|
|
7732
|
-
}
|
|
7733
|
-
createNativeView() {
|
|
7734
|
-
return this.create();
|
|
7735
|
-
}
|
|
7736
|
-
removeNativeView() {
|
|
7737
|
-
var _a, _b, _c;
|
|
7738
|
-
return (_c = (_b = (_a = this._proxy).removeView) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : Promise.resolve();
|
|
7739
|
-
}
|
|
7740
|
-
create() {
|
|
7741
|
-
const barcodePickView = this.view.toJSON();
|
|
7742
|
-
const json = JSON.stringify(barcodePickView);
|
|
7743
|
-
const id = this._proxy.findNodeHandle(this.nativeView);
|
|
7744
|
-
return this._proxy.createView(id, json);
|
|
7745
|
-
}
|
|
7746
|
-
dispose() {
|
|
7747
|
-
this.unsubscribeListeners();
|
|
7748
|
-
}
|
|
7749
|
-
setUiListener(listener) {
|
|
7750
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7751
|
-
if (listener) {
|
|
7752
|
-
yield this._proxy.subscribeBarcodePickViewUiListener();
|
|
7753
|
-
}
|
|
7754
|
-
if (listener == null) {
|
|
7755
|
-
yield this._proxy.unsubscribeBarcodePickViewUiListener();
|
|
7756
|
-
}
|
|
7757
|
-
});
|
|
7758
|
-
}
|
|
7759
|
-
subscribeListeners() {
|
|
7760
|
-
this._proxy.registerFrameworkEvents();
|
|
7761
|
-
this.eventEmitter.on(BarcodePickEvents.DidPick, (data) => {
|
|
7762
|
-
const payload = EventDataParser.parse(data);
|
|
7763
|
-
if (payload === null) {
|
|
7764
|
-
console.error('BarcodePickViewController DidPick payload is null');
|
|
7765
|
-
return;
|
|
7766
|
-
}
|
|
7767
|
-
const barcodePickActionCallback = new BarcodePickActionCallback();
|
|
7768
|
-
barcodePickActionCallback._viewController = this;
|
|
7769
|
-
barcodePickActionCallback._itemData = payload.itemData;
|
|
7770
|
-
this.view.actionListeners
|
|
7771
|
-
.forEach(listener => listener.didPickItem(payload.itemData, barcodePickActionCallback));
|
|
7772
|
-
});
|
|
7773
|
-
this.eventEmitter.on(BarcodePickEvents.DidUnpick, (data) => {
|
|
7774
|
-
const payload = EventDataParser.parse(data);
|
|
7775
|
-
if (payload === null) {
|
|
7776
|
-
console.error('BarcodePickViewController DidUnpick payload is null');
|
|
7777
|
-
return;
|
|
7778
|
-
}
|
|
7779
|
-
const barcodePickActionCallback = new BarcodePickActionCallback();
|
|
7780
|
-
barcodePickActionCallback._viewController = this;
|
|
7781
|
-
barcodePickActionCallback._itemData = payload.itemData;
|
|
7782
|
-
this.view.actionListeners
|
|
7783
|
-
.forEach(listener => listener.didUnpickItem(payload.itemData, barcodePickActionCallback));
|
|
7784
|
-
});
|
|
7785
|
-
this.eventEmitter.on(BarcodePickViewUiListenerEvents.DidTapFinishButton, () => {
|
|
7786
|
-
var _a, _b;
|
|
7787
|
-
if (!this.view.uiListener) {
|
|
7788
|
-
return;
|
|
7789
|
-
}
|
|
7790
|
-
(_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.uiListener) === null || _b === void 0 ? void 0 : _b.didTapFinishButton(this);
|
|
7791
|
-
});
|
|
7792
|
-
this.eventEmitter.on(BarcodePickViewListenerEvents.DidStartScanning, () => {
|
|
7793
|
-
this.view.listeners
|
|
7794
|
-
.forEach(listener => listener.didStartScanning(this.view));
|
|
7795
|
-
});
|
|
7796
|
-
this.eventEmitter.on(BarcodePickViewListenerEvents.DidFreezeScanning, () => {
|
|
7797
|
-
this.view.listeners
|
|
7798
|
-
.forEach(listener => listener.didFreezeScanning(this.view));
|
|
7799
|
-
});
|
|
7800
|
-
this.eventEmitter.on(BarcodePickViewListenerEvents.DidPauseScanning, () => {
|
|
7801
|
-
this.view.listeners
|
|
7802
|
-
.forEach(listener => listener.didPauseScanning(this.view));
|
|
7803
|
-
});
|
|
7804
|
-
this.eventEmitter.on(BarcodePickViewListenerEvents.DidStopScanning, () => {
|
|
7805
|
-
this.view.listeners
|
|
7806
|
-
.forEach(listener => listener.didStopScanning(this.view));
|
|
7807
|
-
});
|
|
7808
|
-
}
|
|
7809
|
-
unsubscribeListeners() {
|
|
7810
|
-
this._proxy.unregisterFrameworkEvents();
|
|
7811
|
-
this.eventEmitter.removeAllListeners(BarcodePickEvents.DidPick);
|
|
7812
|
-
this.eventEmitter.removeAllListeners(BarcodePickEvents.DidUnpick);
|
|
7813
|
-
this.eventEmitter.removeAllListeners(BarcodePickViewListenerEvents.DidFreezeScanning);
|
|
7814
|
-
this.eventEmitter.removeAllListeners(BarcodePickViewListenerEvents.DidPauseScanning);
|
|
7815
|
-
this.eventEmitter.removeAllListeners(BarcodePickViewListenerEvents.DidStartScanning);
|
|
7816
|
-
this.eventEmitter.removeAllListeners(BarcodePickViewListenerEvents.DidStopScanning);
|
|
7817
|
-
this.eventEmitter.removeAllListeners(BarcodePickViewUiListenerEvents.DidTapFinishButton);
|
|
7818
|
-
}
|
|
7819
|
-
}
|
|
7820
|
-
|
|
7821
|
-
class BarcodePickProductController extends BaseController {
|
|
7710
|
+
var BarcodePickProductIdentifierEvents;
|
|
7711
|
+
(function (BarcodePickProductIdentifierEvents) {
|
|
7712
|
+
BarcodePickProductIdentifierEvents["productIdentifierForItems"] = "BarcodePickAsyncMapperProductProviderCallback.onProductIdentifierForItems";
|
|
7713
|
+
})(BarcodePickProductIdentifierEvents || (BarcodePickProductIdentifierEvents = {}));
|
|
7714
|
+
class BarcodePickProductController extends BaseNewController {
|
|
7822
7715
|
static create(callback) {
|
|
7823
7716
|
const controller = new BarcodePickProductController();
|
|
7824
7717
|
controller.barcodePickMapperCallback = callback;
|
|
@@ -7829,15 +7722,15 @@ class BarcodePickProductController extends BaseController {
|
|
|
7829
7722
|
super('BarcodePickProductProxy');
|
|
7830
7723
|
}
|
|
7831
7724
|
finishOnProductIdentifierForItems(data) {
|
|
7832
|
-
return this._proxy
|
|
7725
|
+
return this._proxy.$finishOnProductIdentifierForItems({ itemsJson: JSON.stringify(data) });
|
|
7833
7726
|
}
|
|
7834
7727
|
dispose() {
|
|
7835
7728
|
this.unsubscribeListeners();
|
|
7836
7729
|
}
|
|
7837
7730
|
subscribeListeners() {
|
|
7838
|
-
this._proxy
|
|
7839
|
-
this.
|
|
7840
|
-
const payload = EventDataParser.parse(data);
|
|
7731
|
+
this._proxy.$registerOnProductIdentifierForItemsListener();
|
|
7732
|
+
this._proxy.on$productIdentifierForItems = (ev) => {
|
|
7733
|
+
const payload = EventDataParser.parse(ev.data);
|
|
7841
7734
|
if (payload === null) {
|
|
7842
7735
|
console.error('BarcodePickProductController OnProductIdentifierForItems payload is null');
|
|
7843
7736
|
return;
|
|
@@ -7847,11 +7740,11 @@ class BarcodePickProductController extends BaseController {
|
|
|
7847
7740
|
this.finishOnProductIdentifierForItems(callbackItems);
|
|
7848
7741
|
}
|
|
7849
7742
|
});
|
|
7850
|
-
}
|
|
7743
|
+
};
|
|
7851
7744
|
}
|
|
7852
7745
|
unsubscribeListeners() {
|
|
7853
|
-
this.
|
|
7854
|
-
this._proxy.
|
|
7746
|
+
this._proxy.$unregisterOnProductIdentifierForItemsListener();
|
|
7747
|
+
this._proxy.dispose();
|
|
7855
7748
|
}
|
|
7856
7749
|
}
|
|
7857
7750
|
|
|
@@ -8010,6 +7903,136 @@ var BarcodePickState;
|
|
|
8010
7903
|
BarcodePickState["Unknown"] = "unknown";
|
|
8011
7904
|
})(BarcodePickState || (BarcodePickState = {}));
|
|
8012
7905
|
|
|
7906
|
+
var BarcodePickViewEvents;
|
|
7907
|
+
(function (BarcodePickViewEvents) {
|
|
7908
|
+
BarcodePickViewEvents["didStartScanning"] = "BarcodePickViewListener.didStartScanning";
|
|
7909
|
+
BarcodePickViewEvents["didFreezeScanning"] = "BarcodePickViewListener.didFreezeScanning";
|
|
7910
|
+
BarcodePickViewEvents["didPauseScanning"] = "BarcodePickViewListener.didPauseScanning";
|
|
7911
|
+
BarcodePickViewEvents["didStopScanning"] = "BarcodePickViewListener.didStopScanning";
|
|
7912
|
+
BarcodePickViewEvents["didTapFinishButton"] = "BarcodePickViewUiListener.didTapFinishButton";
|
|
7913
|
+
BarcodePickViewEvents["didPick"] = "BarcodePickActionListener.didPick";
|
|
7914
|
+
BarcodePickViewEvents["didUnpick"] = "BarcodePickActionListener.didUnpick";
|
|
7915
|
+
})(BarcodePickViewEvents || (BarcodePickViewEvents = {}));
|
|
7916
|
+
class BarcodePickViewController extends BaseNewController {
|
|
7917
|
+
static forBarcodePick(view, nativeView, autoCreateNativeView = true) {
|
|
7918
|
+
const viewController = new BarcodePickViewController();
|
|
7919
|
+
viewController.view = view;
|
|
7920
|
+
viewController.nativeView = nativeView;
|
|
7921
|
+
viewController.initialize(autoCreateNativeView);
|
|
7922
|
+
return viewController;
|
|
7923
|
+
}
|
|
7924
|
+
constructor() {
|
|
7925
|
+
super('BarcodePickViewProxy');
|
|
7926
|
+
}
|
|
7927
|
+
initialize(autoCreateNativeView) {
|
|
7928
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7929
|
+
// We call update because it returns a promise, this guarantees, that by the time
|
|
7930
|
+
// we need the deserialized context, it will be set in the native layer.
|
|
7931
|
+
yield this.view.context.update();
|
|
7932
|
+
if (autoCreateNativeView) {
|
|
7933
|
+
yield this.create();
|
|
7934
|
+
}
|
|
7935
|
+
});
|
|
7936
|
+
}
|
|
7937
|
+
start() {
|
|
7938
|
+
return this._proxy.$pickViewStart();
|
|
7939
|
+
}
|
|
7940
|
+
stop() {
|
|
7941
|
+
return this._proxy.$pickViewStop();
|
|
7942
|
+
}
|
|
7943
|
+
freeze() {
|
|
7944
|
+
return this._proxy.$pickViewFreeze();
|
|
7945
|
+
}
|
|
7946
|
+
finishPickAction(itemData, result) {
|
|
7947
|
+
return this._proxy.$finishPickAction({ code: itemData, result });
|
|
7948
|
+
}
|
|
7949
|
+
createNativeView() {
|
|
7950
|
+
return this.create();
|
|
7951
|
+
}
|
|
7952
|
+
removeNativeView() {
|
|
7953
|
+
return this._proxy.$removePickView();
|
|
7954
|
+
}
|
|
7955
|
+
create() {
|
|
7956
|
+
const barcodePickView = this.view.toJSON();
|
|
7957
|
+
const json = JSON.stringify(barcodePickView);
|
|
7958
|
+
return this._proxy.$createPickView({ json });
|
|
7959
|
+
}
|
|
7960
|
+
dispose() {
|
|
7961
|
+
this.unsubscribeActionListeners();
|
|
7962
|
+
this.unsubscribeListeners();
|
|
7963
|
+
this._proxy.dispose();
|
|
7964
|
+
}
|
|
7965
|
+
setUiListener(listener) {
|
|
7966
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7967
|
+
if (listener) {
|
|
7968
|
+
yield this._proxy.$registerBarcodePickViewUiListener();
|
|
7969
|
+
}
|
|
7970
|
+
if (listener == null) {
|
|
7971
|
+
yield this._proxy.$unregisterBarcodePickViewUiListener();
|
|
7972
|
+
}
|
|
7973
|
+
});
|
|
7974
|
+
}
|
|
7975
|
+
subscribeActionListeners() {
|
|
7976
|
+
this._proxy.$addPickActionListener();
|
|
7977
|
+
this._proxy.on$didPick = (ev) => {
|
|
7978
|
+
const payload = EventDataParser.parse(ev.data);
|
|
7979
|
+
if (payload === null) {
|
|
7980
|
+
console.error('BarcodePickViewController DidPick payload is null');
|
|
7981
|
+
return;
|
|
7982
|
+
}
|
|
7983
|
+
const barcodePickActionCallback = new BarcodePickActionCallback();
|
|
7984
|
+
barcodePickActionCallback._viewController = this;
|
|
7985
|
+
barcodePickActionCallback._itemData = payload.itemData;
|
|
7986
|
+
this.view.actionListeners
|
|
7987
|
+
.forEach(listener => listener.didPickItem(payload.itemData, barcodePickActionCallback));
|
|
7988
|
+
};
|
|
7989
|
+
this._proxy.on$didUnpick = (ev) => {
|
|
7990
|
+
const payload = EventDataParser.parse(ev.data);
|
|
7991
|
+
if (payload === null) {
|
|
7992
|
+
console.error('BarcodePickViewController DidUnpick payload is null');
|
|
7993
|
+
return;
|
|
7994
|
+
}
|
|
7995
|
+
const barcodePickActionCallback = new BarcodePickActionCallback();
|
|
7996
|
+
barcodePickActionCallback._viewController = this;
|
|
7997
|
+
barcodePickActionCallback._itemData = payload.itemData;
|
|
7998
|
+
this.view.actionListeners
|
|
7999
|
+
.forEach(listener => listener.didUnpickItem(payload.itemData, barcodePickActionCallback));
|
|
8000
|
+
};
|
|
8001
|
+
}
|
|
8002
|
+
unsubscribeActionListeners() {
|
|
8003
|
+
this._proxy.$removePickActionListener();
|
|
8004
|
+
}
|
|
8005
|
+
subscribeListeners() {
|
|
8006
|
+
this._proxy.$addPickViewListener();
|
|
8007
|
+
this._proxy.on$didTapFinishButton = () => {
|
|
8008
|
+
var _a, _b;
|
|
8009
|
+
if (!this.view.uiListener) {
|
|
8010
|
+
return;
|
|
8011
|
+
}
|
|
8012
|
+
(_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.uiListener) === null || _b === void 0 ? void 0 : _b.didTapFinishButton(this);
|
|
8013
|
+
};
|
|
8014
|
+
this._proxy.on$didStartScanning = () => {
|
|
8015
|
+
this.view.listeners
|
|
8016
|
+
.forEach(listener => listener.didStartScanning(this.view));
|
|
8017
|
+
};
|
|
8018
|
+
this._proxy.on$didFreezeScanning = () => {
|
|
8019
|
+
this.view.listeners
|
|
8020
|
+
.forEach(listener => listener.didFreezeScanning(this.view));
|
|
8021
|
+
};
|
|
8022
|
+
this._proxy.on$didPauseScanning = () => {
|
|
8023
|
+
this.view.listeners
|
|
8024
|
+
.forEach(listener => listener.didPauseScanning(this.view));
|
|
8025
|
+
};
|
|
8026
|
+
this._proxy.on$didStopScanning = () => {
|
|
8027
|
+
this.view.listeners
|
|
8028
|
+
.forEach(listener => listener.didStopScanning(this.view));
|
|
8029
|
+
};
|
|
8030
|
+
}
|
|
8031
|
+
unsubscribeListeners() {
|
|
8032
|
+
this._proxy.$removePickViewListener();
|
|
8033
|
+
}
|
|
8034
|
+
}
|
|
8035
|
+
|
|
8013
8036
|
class BaseBarcodePickView extends DefaultSerializeable {
|
|
8014
8037
|
get context() {
|
|
8015
8038
|
return this._context;
|
|
@@ -8074,22 +8097,32 @@ class BaseBarcodePickView extends DefaultSerializeable {
|
|
|
8074
8097
|
freeze() {
|
|
8075
8098
|
this.viewController.freeze();
|
|
8076
8099
|
}
|
|
8077
|
-
pause() {
|
|
8078
|
-
this.viewController.pause();
|
|
8079
|
-
}
|
|
8080
|
-
resume() {
|
|
8081
|
-
this.viewController.resume();
|
|
8082
|
-
}
|
|
8083
8100
|
addActionListener(listener) {
|
|
8101
|
+
this.checkAndSubscribeActionListeners();
|
|
8084
8102
|
if (this.actionListeners.findIndex(l => l === listener) === -1) {
|
|
8085
8103
|
this.actionListeners.push(listener);
|
|
8086
8104
|
}
|
|
8087
8105
|
}
|
|
8106
|
+
checkAndSubscribeActionListeners() {
|
|
8107
|
+
if (this.actionListeners.length === 0) {
|
|
8108
|
+
this.viewController.subscribeActionListeners();
|
|
8109
|
+
}
|
|
8110
|
+
}
|
|
8088
8111
|
removeActionListener(listener) {
|
|
8089
8112
|
if (this.actionListeners.findIndex(l => l === listener) === -1) {
|
|
8090
8113
|
return;
|
|
8091
8114
|
}
|
|
8092
8115
|
this.actionListeners.splice(this.actionListeners.indexOf(listener), 1);
|
|
8116
|
+
this.checkAndUnsubscribeActionListeners();
|
|
8117
|
+
}
|
|
8118
|
+
checkAndUnsubscribeActionListeners() {
|
|
8119
|
+
if (this.actionListeners.length === 0 && this.listeners.length === 0) {
|
|
8120
|
+
this.viewController.dispose();
|
|
8121
|
+
return;
|
|
8122
|
+
}
|
|
8123
|
+
if (this.actionListeners.length === 0) {
|
|
8124
|
+
this.viewController.unsubscribeActionListeners();
|
|
8125
|
+
}
|
|
8093
8126
|
}
|
|
8094
8127
|
addListener(listener) {
|
|
8095
8128
|
this.checkAndSubscribeListeners();
|
|
@@ -8110,6 +8143,10 @@ class BaseBarcodePickView extends DefaultSerializeable {
|
|
|
8110
8143
|
this.checkAndUnsubscribeListeners();
|
|
8111
8144
|
}
|
|
8112
8145
|
checkAndUnsubscribeListeners() {
|
|
8146
|
+
if (this.actionListeners.length === 0 && this.listeners.length === 0) {
|
|
8147
|
+
this.viewController.dispose();
|
|
8148
|
+
return;
|
|
8149
|
+
}
|
|
8113
8150
|
if (this.listeners.length === 0) {
|
|
8114
8151
|
this.viewController.unsubscribeListeners();
|
|
8115
8152
|
}
|
|
@@ -8621,6 +8658,17 @@ __decorate([
|
|
|
8621
8658
|
nameForSerialization('itemListUpdated')
|
|
8622
8659
|
], BarcodeFindFeedback.prototype, "_itemListUpdated", void 0);
|
|
8623
8660
|
|
|
8661
|
+
class BarcodeFindSession {
|
|
8662
|
+
get trackedBarcodes() {
|
|
8663
|
+
return this._trackedBarcodes;
|
|
8664
|
+
}
|
|
8665
|
+
static fromJSON(json) {
|
|
8666
|
+
const session = new BarcodeFindSession();
|
|
8667
|
+
session._trackedBarcodes = json.trackedBarcodes;
|
|
8668
|
+
return session;
|
|
8669
|
+
}
|
|
8670
|
+
}
|
|
8671
|
+
|
|
8624
8672
|
var BarcodeFindListenerEvents;
|
|
8625
8673
|
(function (BarcodeFindListenerEvents) {
|
|
8626
8674
|
BarcodeFindListenerEvents["inCallback"] = "BarcodeFindListener.inCallback";
|
|
@@ -8628,6 +8676,7 @@ var BarcodeFindListenerEvents;
|
|
|
8628
8676
|
BarcodeFindListenerEvents["onSearchPausedEvent"] = "BarcodeFindListener.onSearchPaused";
|
|
8629
8677
|
BarcodeFindListenerEvents["onSearchStoppedEvent"] = "BarcodeFindListener.onSearchStopped";
|
|
8630
8678
|
BarcodeFindListenerEvents["onTransformBarcodeData"] = "BarcodeFindTransformer.transformBarcodeData";
|
|
8679
|
+
BarcodeFindListenerEvents["didUpdateSession"] = "BarcodeFindListener.didUpdateSession";
|
|
8631
8680
|
})(BarcodeFindListenerEvents || (BarcodeFindListenerEvents = {}));
|
|
8632
8681
|
class BarcodeFindController extends BaseController {
|
|
8633
8682
|
constructor(barcodeFind) {
|
|
@@ -8683,6 +8732,18 @@ class BarcodeFindController extends BaseController {
|
|
|
8683
8732
|
}
|
|
8684
8733
|
subscribeListeners() {
|
|
8685
8734
|
this._proxy.subscribeBarcodeFindListener();
|
|
8735
|
+
this.eventEmitter.on(BarcodeFindListenerEvents.didUpdateSession, (data) => {
|
|
8736
|
+
var _a;
|
|
8737
|
+
const payload = EventDataParser.parse(data);
|
|
8738
|
+
if (payload === null) {
|
|
8739
|
+
console.error('BarcodeFindController didUpdateSession payload is null');
|
|
8740
|
+
return;
|
|
8741
|
+
}
|
|
8742
|
+
const session = BarcodeFindSession.fromJSON(JSON.parse(payload.session));
|
|
8743
|
+
for (const listener of this._barcodeFind.listeners) {
|
|
8744
|
+
(_a = listener === null || listener === void 0 ? void 0 : listener.didUpdateSession) === null || _a === void 0 ? void 0 : _a.call(listener, session);
|
|
8745
|
+
}
|
|
8746
|
+
});
|
|
8686
8747
|
this.eventEmitter.on(BarcodeFindListenerEvents.onSearchStartedEvent, () => {
|
|
8687
8748
|
var _a;
|
|
8688
8749
|
const listeners = this._barcodeFind.listeners;
|
|
@@ -8711,6 +8772,7 @@ class BarcodeFindController extends BaseController {
|
|
|
8711
8772
|
this.eventEmitter.off(BarcodeFindListenerEvents.onSearchStartedEvent);
|
|
8712
8773
|
this.eventEmitter.off(BarcodeFindListenerEvents.onSearchStoppedEvent);
|
|
8713
8774
|
this.eventEmitter.off(BarcodeFindListenerEvents.onTransformBarcodeData);
|
|
8775
|
+
this.eventEmitter.off(BarcodeFindListenerEvents.didUpdateSession);
|
|
8714
8776
|
}
|
|
8715
8777
|
dispose() {
|
|
8716
8778
|
this.unsubscribeListeners();
|
|
@@ -8966,18 +9028,31 @@ __decorate([
|
|
|
8966
9028
|
], BarcodeFindSettings, "barcodeDefaults", null);
|
|
8967
9029
|
|
|
8968
9030
|
class BarcodeFindViewSettings extends DefaultSerializeable {
|
|
8969
|
-
|
|
9031
|
+
static get barcodeFindViewSettingsDefaults() {
|
|
9032
|
+
return getBarcodeFindDefaults().BarcodeFindViewSettings;
|
|
9033
|
+
}
|
|
9034
|
+
constructor(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor) {
|
|
8970
9035
|
super();
|
|
9036
|
+
this._progressBarStartColor = BarcodeFindViewSettings.barcodeFindViewSettingsDefaults.progressBarStartColor;
|
|
9037
|
+
this._progressBarFinishColor = BarcodeFindViewSettings.barcodeFindViewSettingsDefaults.progressBarFinishColor;
|
|
8971
9038
|
this._inListItemColor = inListItemColor;
|
|
8972
9039
|
this._notInListItemColor = notInListItemColor;
|
|
8973
9040
|
this._soundEnabled = soundEnabled;
|
|
8974
9041
|
this._hapticEnabled = hapticEnabled;
|
|
8975
9042
|
this._hardwareTriggerEnabled = hardwareTriggerEnabled || false;
|
|
8976
9043
|
this._hardwareTriggerKeyCode = hardwareTriggerKeyCode || null;
|
|
9044
|
+
progressBarStartColor && (this._progressBarStartColor = progressBarStartColor);
|
|
9045
|
+
progressBarFinishColor && (this._progressBarFinishColor = progressBarFinishColor);
|
|
8977
9046
|
}
|
|
8978
|
-
withHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode) {
|
|
9047
|
+
static withHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode) {
|
|
8979
9048
|
return new BarcodeFindViewSettings(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode);
|
|
8980
9049
|
}
|
|
9050
|
+
static withProgressBarColor(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, progressBarStartColor, progressBarFinishColor) {
|
|
9051
|
+
return new BarcodeFindViewSettings(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, undefined, undefined, progressBarStartColor, progressBarFinishColor);
|
|
9052
|
+
}
|
|
9053
|
+
static withProgressBarColorAndHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor) {
|
|
9054
|
+
return new BarcodeFindViewSettings(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor);
|
|
9055
|
+
}
|
|
8981
9056
|
get inListItemColor() {
|
|
8982
9057
|
return this._inListItemColor;
|
|
8983
9058
|
}
|
|
@@ -8996,6 +9071,12 @@ class BarcodeFindViewSettings extends DefaultSerializeable {
|
|
|
8996
9071
|
get hardwareTriggerKeyCode() {
|
|
8997
9072
|
return this._hardwareTriggerKeyCode;
|
|
8998
9073
|
}
|
|
9074
|
+
get progressBarStartColor() {
|
|
9075
|
+
return this._progressBarStartColor;
|
|
9076
|
+
}
|
|
9077
|
+
get progressBarFinishColor() {
|
|
9078
|
+
return this._progressBarFinishColor;
|
|
9079
|
+
}
|
|
8999
9080
|
}
|
|
9000
9081
|
__decorate([
|
|
9001
9082
|
nameForSerialization('inListItemColor')
|
|
@@ -9015,6 +9096,15 @@ __decorate([
|
|
|
9015
9096
|
__decorate([
|
|
9016
9097
|
nameForSerialization('hardwareTriggerKeyCode')
|
|
9017
9098
|
], BarcodeFindViewSettings.prototype, "_hardwareTriggerKeyCode", void 0);
|
|
9099
|
+
__decorate([
|
|
9100
|
+
nameForSerialization('progressBarStartColor')
|
|
9101
|
+
], BarcodeFindViewSettings.prototype, "_progressBarStartColor", void 0);
|
|
9102
|
+
__decorate([
|
|
9103
|
+
nameForSerialization('progressBarFinishColor')
|
|
9104
|
+
], BarcodeFindViewSettings.prototype, "_progressBarFinishColor", void 0);
|
|
9105
|
+
__decorate([
|
|
9106
|
+
ignoreFromSerialization
|
|
9107
|
+
], BarcodeFindViewSettings, "barcodeFindViewSettingsDefaults", null);
|
|
9018
9108
|
|
|
9019
9109
|
var BarcodeFindViewEvents;
|
|
9020
9110
|
(function (BarcodeFindViewEvents) {
|
|
@@ -9580,4 +9670,4 @@ var QrCodeErrorCorrectionLevel;
|
|
|
9580
9670
|
QrCodeErrorCorrectionLevel["High"] = "high";
|
|
9581
9671
|
})(QrCodeErrorCorrectionLevel || (QrCodeErrorCorrectionLevel = {}));
|
|
9582
9672
|
|
|
9583
|
-
export { ArucoDictionary, ArucoDictionaryPreset, ArucoMarker, AztecBarcodeGeneratorBuilder, Barcode, BarcodeAr, BarcodeArAnnotationTrigger, BarcodeArCircleHighlight, BarcodeArCircleHighlightPreset, BarcodeArFeedback, BarcodeArInfoAnnotation, BarcodeArInfoAnnotationAnchor, BarcodeArInfoAnnotationBodyComponent, BarcodeArInfoAnnotationFooter, BarcodeArInfoAnnotationHeader, BarcodeArInfoAnnotationWidthPreset, BarcodeArListenerController, BarcodeArListenerEvents, BarcodeArPopoverAnnotation, BarcodeArPopoverAnnotationButton, BarcodeArRectangleHighlight, BarcodeArSession, BarcodeArSessionController, BarcodeArSettings, BarcodeArStatusIconAnnotation, BarcodeArViewController, BarcodeArViewEvents, BarcodeArViewSettings, BarcodeBatch, BarcodeBatchAdvancedOverlayController, BarcodeBatchAdvancedOverlayListenerEvents, BarcodeBatchBasicOverlay, BarcodeBatchBasicOverlayController, BarcodeBatchBasicOverlayListenerEvents, BarcodeBatchBasicOverlayStyle, BarcodeBatchListenerController, BarcodeBatchListenerEvents, BarcodeBatchScenario, BarcodeBatchSession, BarcodeBatchSettings, BarcodeCapture, BarcodeCaptureFeedback, BarcodeCaptureListenerController, BarcodeCaptureListenerEvents, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureSession, BarcodeCaptureSettings, BarcodeCount, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountFeedback, BarcodeCountListenerController, BarcodeCountListenerEvents, BarcodeCountNotInListActionSettings, BarcodeCountSession, BarcodeCountSessionController, BarcodeCountSettings, BarcodeCountToolbarSettings, BarcodeCountViewController, BarcodeCountViewEvents, BarcodeCountViewStyle, BarcodeFilterHighlightSettingsBrush, BarcodeFilterHighlightType, BarcodeFilterSettings, BarcodeFind, BarcodeFindController, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindListenerEvents, BarcodeFindSettings, BarcodeFindViewEvents, BarcodeFindViewSettings, BarcodeGenerator, BarcodeGeneratorBuilder, BarcodeGeneratorController, BarcodePick, BarcodePickActionCallback, BarcodePickAsyncMapperProductProvider,
|
|
9673
|
+
export { ArucoDictionary, ArucoDictionaryPreset, ArucoMarker, AztecBarcodeGeneratorBuilder, Barcode, BarcodeAr, BarcodeArAnnotationTrigger, BarcodeArCircleHighlight, BarcodeArCircleHighlightPreset, BarcodeArFeedback, BarcodeArInfoAnnotation, BarcodeArInfoAnnotationAnchor, BarcodeArInfoAnnotationBodyComponent, BarcodeArInfoAnnotationFooter, BarcodeArInfoAnnotationHeader, BarcodeArInfoAnnotationWidthPreset, BarcodeArListenerController, BarcodeArListenerEvents, BarcodeArPopoverAnnotation, BarcodeArPopoverAnnotationButton, BarcodeArRectangleHighlight, BarcodeArSession, BarcodeArSessionController, BarcodeArSettings, BarcodeArStatusIconAnnotation, BarcodeArViewController, BarcodeArViewEvents, BarcodeArViewSettings, BarcodeBatch, BarcodeBatchAdvancedOverlayController, BarcodeBatchAdvancedOverlayListenerEvents, BarcodeBatchBasicOverlay, BarcodeBatchBasicOverlayController, BarcodeBatchBasicOverlayListenerEvents, BarcodeBatchBasicOverlayStyle, BarcodeBatchListenerController, BarcodeBatchListenerEvents, BarcodeBatchScenario, BarcodeBatchSession, BarcodeBatchSettings, BarcodeCapture, BarcodeCaptureFeedback, BarcodeCaptureListenerController, BarcodeCaptureListenerEvents, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureSession, BarcodeCaptureSettings, BarcodeCount, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountFeedback, BarcodeCountListenerController, BarcodeCountListenerEvents, BarcodeCountNotInListActionSettings, BarcodeCountSession, BarcodeCountSessionController, BarcodeCountSettings, BarcodeCountToolbarSettings, BarcodeCountViewController, BarcodeCountViewEvents, BarcodeCountViewStyle, BarcodeFilterHighlightSettingsBrush, BarcodeFilterHighlightType, BarcodeFilterSettings, BarcodeFind, BarcodeFindController, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindListenerEvents, BarcodeFindSession, BarcodeFindSettings, BarcodeFindViewEvents, BarcodeFindViewSettings, BarcodeGenerator, BarcodeGeneratorBuilder, BarcodeGeneratorController, BarcodePick, BarcodePickActionCallback, BarcodePickAsyncMapperProductProvider, BarcodePickListenerController, BarcodePickListenerEvents, BarcodePickProduct, BarcodePickProductController, BarcodePickProductIdentifierEvents, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickScanningSession, BarcodePickSettings, BarcodePickState, BarcodePickStatusIconSettings, BarcodePickViewController, BarcodePickViewEvents, BarcodePickViewSettings, BarcodeSelection, BarcodeSelectionAimerSelection, BarcodeSelectionAutoSelectionStrategy, BarcodeSelectionBasicOverlay, BarcodeSelectionBasicOverlayStyle, BarcodeSelectionBrushProviderEvents, BarcodeSelectionController, BarcodeSelectionFeedback, BarcodeSelectionFreezeBehavior, BarcodeSelectionListenerController, BarcodeSelectionListenerEvents, BarcodeSelectionManualSelectionStrategy, BarcodeSelectionOverlayController, BarcodeSelectionSession, BarcodeSelectionSettings, BarcodeSelectionStrategyType, BarcodeSelectionTapBehavior, BarcodeSelectionTapSelection, BarcodeSelectionTypeName, BarcodeSpatialGrid, BaseBarcodeArView, BaseBarcodeBatchAdvancedOverlay, BaseBarcodeCountView, BaseBarcodeFindView, BaseBarcodePickView, 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, SparkScanMiniPreviewSize, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewController, SparkScanViewEvents, SparkScanViewSettings, SparkScanViewState, StructuredAppendData, Symbology, SymbologyDescription, SymbologySettings, TargetBarcode, TrackedBarcode, UpcaBarcodeGeneratorBuilder, getBarcodeArDefaults, getBarcodeBatchDefaults, getBarcodeCaptureDefaults, getBarcodeCountDefaults, getBarcodeDefaults, getBarcodeFindDefaults, getBarcodePickDefaults, getBarcodeSelectionDefaults, getSparkScanDefaults, loadBarcodeArDefaults, loadBarcodeBatchDefaults, loadBarcodeCaptureDefaults, loadBarcodeCountDefaults, loadBarcodeDefaults, loadBarcodeFindDefaults, loadBarcodePickDefaults, loadBarcodeSelectionDefaults, loadSparkScanDefaults };
|