scandit-capacitor-datacapture-barcode 7.3.0 → 7.4.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/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: jsonDefaults.hardwareTriggerSupported,
2629
- shouldShowCarousel: jsonDefaults.shouldShowCarousel,
2630
- shouldShowFinishButton: jsonDefaults.shouldShowFinishButton,
2631
- shouldShowHints: jsonDefaults.shouldShowHints,
2632
- shouldShowPauseButton: jsonDefaults.shouldShowPauseButton,
2633
- shouldShowProgressBar: jsonDefaults.shouldShowProgressBar,
2634
- shouldShowUserGuidanceView: jsonDefaults.shouldShowUserGuidanceView,
2635
- shouldShowTorchControl: jsonDefaults.shouldShowTorchControl,
2636
- shouldShowZoomControl: jsonDefaults.shouldShowZoomControl,
2637
- textForAllItemsFoundSuccessfullyHint: (_a = jsonDefaults.textForAllItemsFoundSuccessfullyHint) !== null && _a !== void 0 ? _a : null,
2638
- textForItemListUpdatedHint: (_b = jsonDefaults.textForItemListUpdatedHint) !== null && _b !== void 0 ? _b : null,
2639
- textForItemListUpdatedWhenPausedHint: (_c = jsonDefaults.textForItemListUpdatedWhenPausedHint) !== null && _c !== void 0 ? _c : null,
2640
- textForCollapseCardsButton: (_d = jsonDefaults.textForCollapseCardsButton) !== null && _d !== void 0 ? _d : null,
2641
- textForMoveCloserToBarcodesHint: (_e = jsonDefaults.textForMoveCloserToBarcodesHint) !== null && _e !== void 0 ? _e : null,
2642
- textForPointAtBarcodesToSearchHint: (_f = jsonDefaults.textForPointAtBarcodesToSearchHint) !== null && _f !== void 0 ? _f : null,
2643
- textForTapShutterToPauseScreenHint: (_g = jsonDefaults.textForTapShutterToPauseScreenHint) !== null && _g !== void 0 ? _g : null,
2644
- textForTapShutterToResumeSearchHint: (_h = jsonDefaults.textForTapShutterToResumeSearchHint) !== null && _h !== void 0 ? _h : null,
2645
- torchControlPosition: jsonDefaults.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,
@@ -2813,25 +2820,8 @@ class BarcodeCaptureListenerController extends BaseNewController {
2813
2820
  }
2814
2821
  constructor() {
2815
2822
  super('BarcodeCaptureListenerProxy');
2816
- }
2817
- reset() {
2818
- return this._proxy.$resetBarcodeCaptureSession();
2819
- }
2820
- setModeEnabledState(enabled) {
2821
- this._proxy.$setBarcodeCaptureModeEnabledState({ enabled: enabled });
2822
- }
2823
- updateBarcodeCaptureMode() {
2824
- return this._proxy.$updateBarcodeCaptureMode({ modeJson: JSON.stringify(this.barcodeCapture.toJSON()) });
2825
- }
2826
- applyBarcodeCaptureModeSettings(newSettings) {
2827
- return this._proxy.$applyBarcodeCaptureModeSettings({ modeSettingsJson: JSON.stringify(newSettings.toJSON()) });
2828
- }
2829
- updateBarcodeCaptureOverlay(overlay) {
2830
- return this._proxy.$updateBarcodeCaptureOverlay({ overlayJson: JSON.stringify(overlay.toJSON()) });
2831
- }
2832
- subscribeListener() {
2833
- this._proxy.$registerBarcodeCaptureListenerForEvents();
2834
- this._proxy.on$didUpdateSession = (ev) => __awaiter(this, void 0, void 0, function* () {
2823
+ this.isListeningForEvents = false;
2824
+ this.handleDidUpdateSession = (ev) => __awaiter(this, void 0, void 0, function* () {
2835
2825
  const payload = EventDataParser.parse(ev.data);
2836
2826
  if (payload === null) {
2837
2827
  console.error('BarcodeCaptureListenerController.subscribeListener: didUpdateSession payload is null');
@@ -2841,7 +2831,7 @@ class BarcodeCaptureListenerController extends BaseNewController {
2841
2831
  yield this.notifyListenersOfDidUpdateSession(session);
2842
2832
  this._proxy.$finishBarcodeCaptureDidUpdateSession({ enabled: this.barcodeCapture.isEnabled });
2843
2833
  });
2844
- this._proxy.on$didScan = (ev) => __awaiter(this, void 0, void 0, function* () {
2834
+ this.handleDidScan = (ev) => __awaiter(this, void 0, void 0, function* () {
2845
2835
  const payload = EventDataParser.parse(ev.data);
2846
2836
  if (payload === null) {
2847
2837
  console.error('BarcodeCaptureListenerController.subscribeListener: didScan payload is null');
@@ -2852,8 +2842,43 @@ class BarcodeCaptureListenerController extends BaseNewController {
2852
2842
  this._proxy.$finishBarcodeCaptureDidScan({ enabled: this.barcodeCapture.isEnabled });
2853
2843
  });
2854
2844
  }
2845
+ reset() {
2846
+ return this._proxy.$resetBarcodeCaptureSession();
2847
+ }
2848
+ setModeEnabledState(enabled) {
2849
+ this._proxy.$setBarcodeCaptureModeEnabledState({ enabled: enabled });
2850
+ }
2851
+ updateBarcodeCaptureMode() {
2852
+ return this._proxy.$updateBarcodeCaptureMode({ modeJson: JSON.stringify(this.barcodeCapture.toJSON()) });
2853
+ }
2854
+ applyBarcodeCaptureModeSettings(newSettings) {
2855
+ return this._proxy.$applyBarcodeCaptureModeSettings({ modeSettingsJson: JSON.stringify(newSettings.toJSON()) });
2856
+ }
2857
+ updateBarcodeCaptureOverlay(overlay) {
2858
+ return this._proxy.$updateBarcodeCaptureOverlay({ overlayJson: JSON.stringify(overlay.toJSON()) });
2859
+ }
2860
+ subscribeListener() {
2861
+ if (this.isListeningForEvents) {
2862
+ return;
2863
+ }
2864
+ this._proxy.subscribeForEvents(Object.values(BarcodeCaptureListenerEvents));
2865
+ this._proxy.$registerBarcodeCaptureListenerForEvents();
2866
+ this._proxy.eventEmitter.on(BarcodeCaptureListenerEvents.didUpdateSession, this.handleDidUpdateSession);
2867
+ this._proxy.eventEmitter.on(BarcodeCaptureListenerEvents.didScan, this.handleDidScan);
2868
+ this.isListeningForEvents = true;
2869
+ }
2855
2870
  unsubscribeListener() {
2871
+ if (!this.isListeningForEvents) {
2872
+ return;
2873
+ }
2856
2874
  this._proxy.$unregisterBarcodeCaptureListenerForEvents();
2875
+ this._proxy.unsubscribeFromEvents(Object.values(BarcodeCaptureListenerEvents));
2876
+ this._proxy.eventEmitter.off(BarcodeCaptureListenerEvents.didUpdateSession, this.handleDidUpdateSession);
2877
+ this._proxy.eventEmitter.off(BarcodeCaptureListenerEvents.didScan, this.handleDidScan);
2878
+ this.isListeningForEvents = false;
2879
+ }
2880
+ dispose() {
2881
+ this.unsubscribeListener();
2857
2882
  this._proxy.dispose();
2858
2883
  }
2859
2884
  notifyListenersOfDidUpdateSession(session) {
@@ -6642,6 +6667,7 @@ var SparkScanViewEvents;
6642
6667
  (function (SparkScanViewEvents) {
6643
6668
  SparkScanViewEvents["barcodeFindButtonTapped"] = "SparkScanViewUiListener.barcodeFindButtonTapped";
6644
6669
  SparkScanViewEvents["barcodeCountButtonTapped"] = "SparkScanViewUiListener.barcodeCountButtonTapped";
6670
+ SparkScanViewEvents["labelCaptureButtonTapped"] = "SparkScanViewUiListener.labelCaptureButtonTapped";
6645
6671
  SparkScanViewEvents["didChangeViewState"] = "SparkScanViewUiListener.didChangeViewState";
6646
6672
  SparkScanViewEvents["feedbackForBarcode"] = "SparkScanFeedbackDelegate.feedbackForBarcode";
6647
6673
  SparkScanViewEvents["didUpdateSession"] = "SparkScanListener.didUpdateSession";
@@ -6712,6 +6738,17 @@ class SparkScanViewController extends BaseNewController {
6712
6738
  }
6713
6739
  (_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
6740
  });
6741
+ this.labelCaptureButtonTappedListener = (ev) => __awaiter(this, void 0, void 0, function* () {
6742
+ var _a, _b;
6743
+ const payload = EventDataParser.parse(ev.data);
6744
+ if (payload === null) {
6745
+ return;
6746
+ }
6747
+ if (payload.viewId !== this.viewInstanceId) {
6748
+ return;
6749
+ }
6750
+ (_b = (_a = this.view.uiListener) === null || _a === void 0 ? void 0 : _a.didTapLabelCaptureButton) === null || _b === void 0 ? void 0 : _b.call(_a, this.view);
6751
+ });
6715
6752
  this.didChangeViewStateListener = (ev) => __awaiter(this, void 0, void 0, function* () {
6716
6753
  var _a, _b;
6717
6754
  const payload = EventDataParser.parse(ev.data);
@@ -6729,6 +6766,7 @@ class SparkScanViewController extends BaseNewController {
6729
6766
  initialize() {
6730
6767
  this._proxy.on$barcodeCountButtonTapped = this.barcodeCountButtonTappedListener;
6731
6768
  this._proxy.on$barcodeFindButtonTapped = this.barcodeFindButtonTappedListener;
6769
+ this._proxy.on$labelCaptureButtonTapped = this.labelCaptureButtonTappedListener;
6732
6770
  this._proxy.on$didChangeViewState = this.didChangeViewStateListener;
6733
6771
  this._proxy.on$didUpdateSession = this.didUpdateSessionListener;
6734
6772
  this._proxy.on$didScan = this.didScanListener;
@@ -6978,6 +7016,9 @@ class BaseSparkScanView {
6978
7016
  if (props.targetModeButtonVisible !== undefined && props.targetModeButtonVisible !== null) {
6979
7017
  view._targetModeButtonVisible = props.targetModeButtonVisible;
6980
7018
  }
7019
+ if (props.labelCaptureButtonVisible !== undefined && props.labelCaptureButtonVisible !== null) {
7020
+ view._labelCaptureButtonVisible = props.labelCaptureButtonVisible;
7021
+ }
6981
7022
  if (props.torchControlVisible !== undefined && props.torchControlVisible !== null) {
6982
7023
  view._torchControlVisible = props.torchControlVisible;
6983
7024
  }
@@ -7030,6 +7071,7 @@ class BaseSparkScanView {
7030
7071
  this._barcodeCountButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.barcodeCountButtonVisible;
7031
7072
  this._barcodeFindButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.barcodeFindButtonVisible;
7032
7073
  this._targetModeButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.targetModeButtonVisible;
7074
+ this._labelCaptureButtonVisible = BaseSparkScanView.sparkScanDefaults.SparkScanView.labelCaptureButtonVisible;
7033
7075
  this._toolbarBackgroundColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarBackgroundColor;
7034
7076
  this._toolbarIconActiveTintColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarIconActiveTintColor;
7035
7077
  this._toolbarIconInactiveTintColor = BaseSparkScanView.sparkScanDefaults.SparkScanView.toolbarIconInactiveTintColor;
@@ -7107,6 +7149,13 @@ class BaseSparkScanView {
7107
7149
  this._targetModeButtonVisible = newValue;
7108
7150
  this.update();
7109
7151
  }
7152
+ get labelCaptureButtonVisible() {
7153
+ return this._labelCaptureButtonVisible;
7154
+ }
7155
+ set labelCaptureButtonVisible(newValue) {
7156
+ this._labelCaptureButtonVisible = newValue;
7157
+ this.update();
7158
+ }
7110
7159
  /**
7111
7160
  * @deprecated The trigger button no longer displays text.
7112
7161
  */
@@ -7410,6 +7459,7 @@ class BaseSparkScanView {
7410
7459
  barcodeCountButtonVisible: this.barcodeCountButtonVisible,
7411
7460
  barcodeFindButtonVisible: this.barcodeFindButtonVisible,
7412
7461
  targetModeButtonVisible: this.targetModeButtonVisible,
7462
+ labelCaptureButtonVisible: this.labelCaptureButtonVisible,
7413
7463
  stopCapturingText: this.stopCapturingText,
7414
7464
  startCapturingText: this.startCapturingText,
7415
7465
  resumeCapturingText: this.resumeCapturingText,
@@ -7436,6 +7486,9 @@ class BaseSparkScanView {
7436
7486
  return json;
7437
7487
  }
7438
7488
  }
7489
+ __decorate([
7490
+ ignoreFromSerialization
7491
+ ], BaseSparkScanView.prototype, "_viewId", void 0);
7439
7492
 
7440
7493
  class SparkScanBarcodeFeedback extends DefaultSerializeable {
7441
7494
  constructor() {
@@ -7540,22 +7593,21 @@ class BarcodePickScanningSession {
7540
7593
 
7541
7594
  var BarcodePickListenerEvents;
7542
7595
  (function (BarcodePickListenerEvents) {
7543
- BarcodePickListenerEvents["DidCompleteScanningSession"] = "BarcodePickScanningListener.didCompleteScanningSession";
7544
- BarcodePickListenerEvents["DidUpdateScanningSession"] = "BarcodePickScanningListener.didUpdateScanningSession";
7596
+ BarcodePickListenerEvents["didCompleteScanningSession"] = "BarcodePickScanningListener.didCompleteScanningSession";
7597
+ BarcodePickListenerEvents["didUpdateScanningSession"] = "BarcodePickScanningListener.didUpdateScanningSession";
7545
7598
  })(BarcodePickListenerEvents || (BarcodePickListenerEvents = {}));
7546
- class BarcodePickListenerController extends BaseController {
7599
+ class BarcodePickListenerController extends BaseNewController {
7547
7600
  constructor(barcodePick) {
7548
7601
  super('BarcodePickListenerProxy');
7549
7602
  this._barcodePick = barcodePick;
7550
- this.eventEmitter = FactoryMaker.getInstance('EventEmitter');
7551
7603
  }
7552
7604
  static forBarcodePick(barcodePick) {
7553
7605
  return new BarcodePickListenerController(barcodePick);
7554
7606
  }
7555
7607
  subscribeListeners() {
7556
- this._proxy.subscribeBarcodePickListeners();
7557
- this.eventEmitter.on(BarcodePickListenerEvents.DidCompleteScanningSession, (data) => {
7558
- const payload = EventDataParser.parse(data);
7608
+ this._proxy.$addBarcodePickScanningListener();
7609
+ this._proxy.on$didCompleteScanningSession = (ev) => __awaiter(this, void 0, void 0, function* () {
7610
+ const payload = EventDataParser.parse(ev.data);
7559
7611
  if (payload === null) {
7560
7612
  console.error('BarcodePickListenerController DidCompleteScanningSession payload is null');
7561
7613
  return;
@@ -7564,8 +7616,8 @@ class BarcodePickListenerController extends BaseController {
7564
7616
  .fromJSON(JSON.parse(payload.session));
7565
7617
  this.notifyListenersOfDidCompleteScanningSession(session);
7566
7618
  });
7567
- this.eventEmitter.on(BarcodePickListenerEvents.DidUpdateScanningSession, (data) => {
7568
- const payload = EventDataParser.parse(data);
7619
+ this._proxy.on$didUpdateScanningSession = (ev) => __awaiter(this, void 0, void 0, function* () {
7620
+ const payload = EventDataParser.parse(ev.data);
7569
7621
  if (payload === null) {
7570
7622
  console.error('BarcodePickListenerController DidUpdateScanningSession payload is null');
7571
7623
  return;
@@ -7596,9 +7648,8 @@ class BarcodePickListenerController extends BaseController {
7596
7648
  mode.isInListenerCallback = false;
7597
7649
  }
7598
7650
  unsubscribeListeners() {
7599
- this.eventEmitter.removeAllListeners(BarcodePickListenerEvents.DidCompleteScanningSession);
7600
- this.eventEmitter.removeAllListeners(BarcodePickListenerEvents.DidUpdateScanningSession);
7601
- this._proxy.unsubscribeBarcodePickListeners();
7651
+ this._proxy.$removeBarcodePickScanningListener();
7652
+ this._proxy.dispose();
7602
7653
  }
7603
7654
  }
7604
7655
 
@@ -7674,151 +7725,11 @@ class BarcodePickActionCallback {
7674
7725
  }
7675
7726
  }
7676
7727
 
7677
- var BarcodePickViewListenerEvents;
7678
- (function (BarcodePickViewListenerEvents) {
7679
- BarcodePickViewListenerEvents["DidStartScanning"] = "BarcodePickViewListener.didStartScanning";
7680
- BarcodePickViewListenerEvents["DidFreezeScanning"] = "BarcodePickViewListener.didFreezeScanning";
7681
- BarcodePickViewListenerEvents["DidPauseScanning"] = "BarcodePickViewListener.didPauseScanning";
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 {
7728
+ var BarcodePickProductIdentifierEvents;
7729
+ (function (BarcodePickProductIdentifierEvents) {
7730
+ BarcodePickProductIdentifierEvents["productIdentifierForItems"] = "BarcodePickAsyncMapperProductProviderCallback.onProductIdentifierForItems";
7731
+ })(BarcodePickProductIdentifierEvents || (BarcodePickProductIdentifierEvents = {}));
7732
+ class BarcodePickProductController extends BaseNewController {
7822
7733
  static create(callback) {
7823
7734
  const controller = new BarcodePickProductController();
7824
7735
  controller.barcodePickMapperCallback = callback;
@@ -7829,15 +7740,15 @@ class BarcodePickProductController extends BaseController {
7829
7740
  super('BarcodePickProductProxy');
7830
7741
  }
7831
7742
  finishOnProductIdentifierForItems(data) {
7832
- return this._proxy.finishOnProductIdentifierForItems(JSON.stringify(data));
7743
+ return this._proxy.$finishOnProductIdentifierForItems({ itemsJson: JSON.stringify(data) });
7833
7744
  }
7834
7745
  dispose() {
7835
7746
  this.unsubscribeListeners();
7836
7747
  }
7837
7748
  subscribeListeners() {
7838
- this._proxy.subscribeProductIdentifierForItemsListener();
7839
- this.eventEmitter.on(BarcodePickEvents.OnProductIdentifierForItems, (data) => {
7840
- const payload = EventDataParser.parse(data);
7749
+ this._proxy.$registerOnProductIdentifierForItemsListener();
7750
+ this._proxy.on$productIdentifierForItems = (ev) => {
7751
+ const payload = EventDataParser.parse(ev.data);
7841
7752
  if (payload === null) {
7842
7753
  console.error('BarcodePickProductController OnProductIdentifierForItems payload is null');
7843
7754
  return;
@@ -7847,11 +7758,11 @@ class BarcodePickProductController extends BaseController {
7847
7758
  this.finishOnProductIdentifierForItems(callbackItems);
7848
7759
  }
7849
7760
  });
7850
- });
7761
+ };
7851
7762
  }
7852
7763
  unsubscribeListeners() {
7853
- this.eventEmitter.removeAllListeners(BarcodePickEvents.OnProductIdentifierForItems);
7854
- this._proxy.unsubscribeListeners();
7764
+ this._proxy.$unregisterOnProductIdentifierForItemsListener();
7765
+ this._proxy.dispose();
7855
7766
  }
7856
7767
  }
7857
7768
 
@@ -8010,6 +7921,136 @@ var BarcodePickState;
8010
7921
  BarcodePickState["Unknown"] = "unknown";
8011
7922
  })(BarcodePickState || (BarcodePickState = {}));
8012
7923
 
7924
+ var BarcodePickViewEvents;
7925
+ (function (BarcodePickViewEvents) {
7926
+ BarcodePickViewEvents["didStartScanning"] = "BarcodePickViewListener.didStartScanning";
7927
+ BarcodePickViewEvents["didFreezeScanning"] = "BarcodePickViewListener.didFreezeScanning";
7928
+ BarcodePickViewEvents["didPauseScanning"] = "BarcodePickViewListener.didPauseScanning";
7929
+ BarcodePickViewEvents["didStopScanning"] = "BarcodePickViewListener.didStopScanning";
7930
+ BarcodePickViewEvents["didTapFinishButton"] = "BarcodePickViewUiListener.didTapFinishButton";
7931
+ BarcodePickViewEvents["didPick"] = "BarcodePickActionListener.didPick";
7932
+ BarcodePickViewEvents["didUnpick"] = "BarcodePickActionListener.didUnpick";
7933
+ })(BarcodePickViewEvents || (BarcodePickViewEvents = {}));
7934
+ class BarcodePickViewController extends BaseNewController {
7935
+ static forBarcodePick(view, nativeView, autoCreateNativeView = true) {
7936
+ const viewController = new BarcodePickViewController();
7937
+ viewController.view = view;
7938
+ viewController.nativeView = nativeView;
7939
+ viewController.initialize(autoCreateNativeView);
7940
+ return viewController;
7941
+ }
7942
+ constructor() {
7943
+ super('BarcodePickViewProxy');
7944
+ }
7945
+ initialize(autoCreateNativeView) {
7946
+ return __awaiter(this, void 0, void 0, function* () {
7947
+ // We call update because it returns a promise, this guarantees, that by the time
7948
+ // we need the deserialized context, it will be set in the native layer.
7949
+ yield this.view.context.update();
7950
+ if (autoCreateNativeView) {
7951
+ yield this.create();
7952
+ }
7953
+ });
7954
+ }
7955
+ start() {
7956
+ return this._proxy.$pickViewStart();
7957
+ }
7958
+ stop() {
7959
+ return this._proxy.$pickViewStop();
7960
+ }
7961
+ freeze() {
7962
+ return this._proxy.$pickViewFreeze();
7963
+ }
7964
+ finishPickAction(itemData, result) {
7965
+ return this._proxy.$finishPickAction({ code: itemData, result });
7966
+ }
7967
+ createNativeView() {
7968
+ return this.create();
7969
+ }
7970
+ removeNativeView() {
7971
+ return this._proxy.$removePickView();
7972
+ }
7973
+ create() {
7974
+ const barcodePickView = this.view.toJSON();
7975
+ const json = JSON.stringify(barcodePickView);
7976
+ return this._proxy.$createPickView({ json });
7977
+ }
7978
+ dispose() {
7979
+ this.unsubscribeActionListeners();
7980
+ this.unsubscribeListeners();
7981
+ this._proxy.dispose();
7982
+ }
7983
+ setUiListener(listener) {
7984
+ return __awaiter(this, void 0, void 0, function* () {
7985
+ if (listener) {
7986
+ yield this._proxy.$registerBarcodePickViewUiListener();
7987
+ }
7988
+ if (listener == null) {
7989
+ yield this._proxy.$unregisterBarcodePickViewUiListener();
7990
+ }
7991
+ });
7992
+ }
7993
+ subscribeActionListeners() {
7994
+ this._proxy.$addPickActionListener();
7995
+ this._proxy.on$didPick = (ev) => {
7996
+ const payload = EventDataParser.parse(ev.data);
7997
+ if (payload === null) {
7998
+ console.error('BarcodePickViewController DidPick payload is null');
7999
+ return;
8000
+ }
8001
+ const barcodePickActionCallback = new BarcodePickActionCallback();
8002
+ barcodePickActionCallback._viewController = this;
8003
+ barcodePickActionCallback._itemData = payload.itemData;
8004
+ this.view.actionListeners
8005
+ .forEach(listener => listener.didPickItem(payload.itemData, barcodePickActionCallback));
8006
+ };
8007
+ this._proxy.on$didUnpick = (ev) => {
8008
+ const payload = EventDataParser.parse(ev.data);
8009
+ if (payload === null) {
8010
+ console.error('BarcodePickViewController DidUnpick payload is null');
8011
+ return;
8012
+ }
8013
+ const barcodePickActionCallback = new BarcodePickActionCallback();
8014
+ barcodePickActionCallback._viewController = this;
8015
+ barcodePickActionCallback._itemData = payload.itemData;
8016
+ this.view.actionListeners
8017
+ .forEach(listener => listener.didUnpickItem(payload.itemData, barcodePickActionCallback));
8018
+ };
8019
+ }
8020
+ unsubscribeActionListeners() {
8021
+ this._proxy.$removePickActionListener();
8022
+ }
8023
+ subscribeListeners() {
8024
+ this._proxy.$addPickViewListener();
8025
+ this._proxy.on$didTapFinishButton = () => {
8026
+ var _a, _b;
8027
+ if (!this.view.uiListener) {
8028
+ return;
8029
+ }
8030
+ (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.uiListener) === null || _b === void 0 ? void 0 : _b.didTapFinishButton(this);
8031
+ };
8032
+ this._proxy.on$didStartScanning = () => {
8033
+ this.view.listeners
8034
+ .forEach(listener => listener.didStartScanning(this.view));
8035
+ };
8036
+ this._proxy.on$didFreezeScanning = () => {
8037
+ this.view.listeners
8038
+ .forEach(listener => listener.didFreezeScanning(this.view));
8039
+ };
8040
+ this._proxy.on$didPauseScanning = () => {
8041
+ this.view.listeners
8042
+ .forEach(listener => listener.didPauseScanning(this.view));
8043
+ };
8044
+ this._proxy.on$didStopScanning = () => {
8045
+ this.view.listeners
8046
+ .forEach(listener => listener.didStopScanning(this.view));
8047
+ };
8048
+ }
8049
+ unsubscribeListeners() {
8050
+ this._proxy.$removePickViewListener();
8051
+ }
8052
+ }
8053
+
8013
8054
  class BaseBarcodePickView extends DefaultSerializeable {
8014
8055
  get context() {
8015
8056
  return this._context;
@@ -8074,22 +8115,32 @@ class BaseBarcodePickView extends DefaultSerializeable {
8074
8115
  freeze() {
8075
8116
  this.viewController.freeze();
8076
8117
  }
8077
- pause() {
8078
- this.viewController.pause();
8079
- }
8080
- resume() {
8081
- this.viewController.resume();
8082
- }
8083
8118
  addActionListener(listener) {
8119
+ this.checkAndSubscribeActionListeners();
8084
8120
  if (this.actionListeners.findIndex(l => l === listener) === -1) {
8085
8121
  this.actionListeners.push(listener);
8086
8122
  }
8087
8123
  }
8124
+ checkAndSubscribeActionListeners() {
8125
+ if (this.actionListeners.length === 0) {
8126
+ this.viewController.subscribeActionListeners();
8127
+ }
8128
+ }
8088
8129
  removeActionListener(listener) {
8089
8130
  if (this.actionListeners.findIndex(l => l === listener) === -1) {
8090
8131
  return;
8091
8132
  }
8092
8133
  this.actionListeners.splice(this.actionListeners.indexOf(listener), 1);
8134
+ this.checkAndUnsubscribeActionListeners();
8135
+ }
8136
+ checkAndUnsubscribeActionListeners() {
8137
+ if (this.actionListeners.length === 0 && this.listeners.length === 0) {
8138
+ this.viewController.dispose();
8139
+ return;
8140
+ }
8141
+ if (this.actionListeners.length === 0) {
8142
+ this.viewController.unsubscribeActionListeners();
8143
+ }
8093
8144
  }
8094
8145
  addListener(listener) {
8095
8146
  this.checkAndSubscribeListeners();
@@ -8110,6 +8161,10 @@ class BaseBarcodePickView extends DefaultSerializeable {
8110
8161
  this.checkAndUnsubscribeListeners();
8111
8162
  }
8112
8163
  checkAndUnsubscribeListeners() {
8164
+ if (this.actionListeners.length === 0 && this.listeners.length === 0) {
8165
+ this.viewController.dispose();
8166
+ return;
8167
+ }
8113
8168
  if (this.listeners.length === 0) {
8114
8169
  this.viewController.unsubscribeListeners();
8115
8170
  }
@@ -8621,6 +8676,17 @@ __decorate([
8621
8676
  nameForSerialization('itemListUpdated')
8622
8677
  ], BarcodeFindFeedback.prototype, "_itemListUpdated", void 0);
8623
8678
 
8679
+ class BarcodeFindSession {
8680
+ get trackedBarcodes() {
8681
+ return this._trackedBarcodes;
8682
+ }
8683
+ static fromJSON(json) {
8684
+ const session = new BarcodeFindSession();
8685
+ session._trackedBarcodes = json.trackedBarcodes;
8686
+ return session;
8687
+ }
8688
+ }
8689
+
8624
8690
  var BarcodeFindListenerEvents;
8625
8691
  (function (BarcodeFindListenerEvents) {
8626
8692
  BarcodeFindListenerEvents["inCallback"] = "BarcodeFindListener.inCallback";
@@ -8628,6 +8694,7 @@ var BarcodeFindListenerEvents;
8628
8694
  BarcodeFindListenerEvents["onSearchPausedEvent"] = "BarcodeFindListener.onSearchPaused";
8629
8695
  BarcodeFindListenerEvents["onSearchStoppedEvent"] = "BarcodeFindListener.onSearchStopped";
8630
8696
  BarcodeFindListenerEvents["onTransformBarcodeData"] = "BarcodeFindTransformer.transformBarcodeData";
8697
+ BarcodeFindListenerEvents["didUpdateSession"] = "BarcodeFindListener.didUpdateSession";
8631
8698
  })(BarcodeFindListenerEvents || (BarcodeFindListenerEvents = {}));
8632
8699
  class BarcodeFindController extends BaseController {
8633
8700
  constructor(barcodeFind) {
@@ -8683,6 +8750,18 @@ class BarcodeFindController extends BaseController {
8683
8750
  }
8684
8751
  subscribeListeners() {
8685
8752
  this._proxy.subscribeBarcodeFindListener();
8753
+ this.eventEmitter.on(BarcodeFindListenerEvents.didUpdateSession, (data) => {
8754
+ var _a;
8755
+ const payload = EventDataParser.parse(data);
8756
+ if (payload === null) {
8757
+ console.error('BarcodeFindController didUpdateSession payload is null');
8758
+ return;
8759
+ }
8760
+ const session = BarcodeFindSession.fromJSON(JSON.parse(payload.session));
8761
+ for (const listener of this._barcodeFind.listeners) {
8762
+ (_a = listener === null || listener === void 0 ? void 0 : listener.didUpdateSession) === null || _a === void 0 ? void 0 : _a.call(listener, session);
8763
+ }
8764
+ });
8686
8765
  this.eventEmitter.on(BarcodeFindListenerEvents.onSearchStartedEvent, () => {
8687
8766
  var _a;
8688
8767
  const listeners = this._barcodeFind.listeners;
@@ -8711,6 +8790,7 @@ class BarcodeFindController extends BaseController {
8711
8790
  this.eventEmitter.off(BarcodeFindListenerEvents.onSearchStartedEvent);
8712
8791
  this.eventEmitter.off(BarcodeFindListenerEvents.onSearchStoppedEvent);
8713
8792
  this.eventEmitter.off(BarcodeFindListenerEvents.onTransformBarcodeData);
8793
+ this.eventEmitter.off(BarcodeFindListenerEvents.didUpdateSession);
8714
8794
  }
8715
8795
  dispose() {
8716
8796
  this.unsubscribeListeners();
@@ -8966,18 +9046,31 @@ __decorate([
8966
9046
  ], BarcodeFindSettings, "barcodeDefaults", null);
8967
9047
 
8968
9048
  class BarcodeFindViewSettings extends DefaultSerializeable {
8969
- constructor(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode) {
9049
+ static get barcodeFindViewSettingsDefaults() {
9050
+ return getBarcodeFindDefaults().BarcodeFindViewSettings;
9051
+ }
9052
+ constructor(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor) {
8970
9053
  super();
9054
+ this._progressBarStartColor = BarcodeFindViewSettings.barcodeFindViewSettingsDefaults.progressBarStartColor;
9055
+ this._progressBarFinishColor = BarcodeFindViewSettings.barcodeFindViewSettingsDefaults.progressBarFinishColor;
8971
9056
  this._inListItemColor = inListItemColor;
8972
9057
  this._notInListItemColor = notInListItemColor;
8973
9058
  this._soundEnabled = soundEnabled;
8974
9059
  this._hapticEnabled = hapticEnabled;
8975
9060
  this._hardwareTriggerEnabled = hardwareTriggerEnabled || false;
8976
9061
  this._hardwareTriggerKeyCode = hardwareTriggerKeyCode || null;
9062
+ progressBarStartColor && (this._progressBarStartColor = progressBarStartColor);
9063
+ progressBarFinishColor && (this._progressBarFinishColor = progressBarFinishColor);
8977
9064
  }
8978
- withHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode) {
9065
+ static withHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode) {
8979
9066
  return new BarcodeFindViewSettings(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode);
8980
9067
  }
9068
+ static withProgressBarColor(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, progressBarStartColor, progressBarFinishColor) {
9069
+ return new BarcodeFindViewSettings(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, undefined, undefined, progressBarStartColor, progressBarFinishColor);
9070
+ }
9071
+ static withProgressBarColorAndHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor) {
9072
+ return new BarcodeFindViewSettings(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor);
9073
+ }
8981
9074
  get inListItemColor() {
8982
9075
  return this._inListItemColor;
8983
9076
  }
@@ -8996,6 +9089,12 @@ class BarcodeFindViewSettings extends DefaultSerializeable {
8996
9089
  get hardwareTriggerKeyCode() {
8997
9090
  return this._hardwareTriggerKeyCode;
8998
9091
  }
9092
+ get progressBarStartColor() {
9093
+ return this._progressBarStartColor;
9094
+ }
9095
+ get progressBarFinishColor() {
9096
+ return this._progressBarFinishColor;
9097
+ }
8999
9098
  }
9000
9099
  __decorate([
9001
9100
  nameForSerialization('inListItemColor')
@@ -9015,6 +9114,15 @@ __decorate([
9015
9114
  __decorate([
9016
9115
  nameForSerialization('hardwareTriggerKeyCode')
9017
9116
  ], BarcodeFindViewSettings.prototype, "_hardwareTriggerKeyCode", void 0);
9117
+ __decorate([
9118
+ nameForSerialization('progressBarStartColor')
9119
+ ], BarcodeFindViewSettings.prototype, "_progressBarStartColor", void 0);
9120
+ __decorate([
9121
+ nameForSerialization('progressBarFinishColor')
9122
+ ], BarcodeFindViewSettings.prototype, "_progressBarFinishColor", void 0);
9123
+ __decorate([
9124
+ ignoreFromSerialization
9125
+ ], BarcodeFindViewSettings, "barcodeFindViewSettingsDefaults", null);
9018
9126
 
9019
9127
  var BarcodeFindViewEvents;
9020
9128
  (function (BarcodeFindViewEvents) {
@@ -9580,4 +9688,4 @@ var QrCodeErrorCorrectionLevel;
9580
9688
  QrCodeErrorCorrectionLevel["High"] = "high";
9581
9689
  })(QrCodeErrorCorrectionLevel || (QrCodeErrorCorrectionLevel = {}));
9582
9690
 
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, BarcodePickEvents, BarcodePickListenerController, BarcodePickListenerEvents, BarcodePickProduct, BarcodePickProductController, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickScanningSession, BarcodePickSettings, BarcodePickState, BarcodePickStatusIconSettings, BarcodePickViewController, BarcodePickViewListenerEvents, BarcodePickViewSettings, BarcodePickViewUiListenerEvents, 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 };
9691
+ 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 };