scandit-capacitor-datacapture-barcode 6.27.2 → 6.28.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ScanditCapacitorDatacaptureBarcode.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/scandit/capacitor/datacapture/barcode/ScanditBarcodeNative.kt +20 -0
- package/dist/barcode.js +187 -9
- package/dist/barcode.js.map +1 -1
- package/dist/dts/definitions.d.ts +10 -2
- package/dist/dts/ts/Capacitor/BarcodeCountListenerProxy.d.ts +1 -0
- package/dist/dts/ts/Capacitor/BarcodeFindListenerProxy.d.ts +1 -0
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/ios/Plugin/Plugin.m +3 -0
- package/ios/Plugin/ScanditBarcodeCapture.swift +22 -0
- package/package.json +4 -4
|
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
|
|
18
18
|
s.dependency "Capacitor"
|
|
19
19
|
s.dependency "ScanditCapacitorDatacaptureCore", "= #{version}"
|
|
20
|
-
s.dependency "scandit-datacapture-frameworks-barcode", '= 6.
|
|
20
|
+
s.dependency "scandit-datacapture-frameworks-barcode", '= 6.28.0-beta.2'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
package/android/src/main/java/com/scandit/capacitor/datacapture/barcode/ScanditBarcodeNative.kt
CHANGED
|
@@ -787,6 +787,16 @@ class ScanditBarcodeNative :
|
|
|
787
787
|
call.resolve()
|
|
788
788
|
}
|
|
789
789
|
|
|
790
|
+
@PluginMethod
|
|
791
|
+
fun updateBarcodeCountFeedback(call: PluginCall) {
|
|
792
|
+
val feedbackJson = call.data.getString("feedbackJson")
|
|
793
|
+
if (feedbackJson.isNullOrBlank()) {
|
|
794
|
+
call.reject("No feedbackJson was provided for the function.")
|
|
795
|
+
return
|
|
796
|
+
}
|
|
797
|
+
barcodeCountModule.updateFeedback(feedbackJson, CapacitorResult(call))
|
|
798
|
+
}
|
|
799
|
+
|
|
790
800
|
//endregion
|
|
791
801
|
|
|
792
802
|
@PluginMethod
|
|
@@ -998,6 +1008,16 @@ class ScanditBarcodeNative :
|
|
|
998
1008
|
barcodeFindModule.submitBarcodeFindTransformerResult(transformedBarcode, CapacitorResult(call))
|
|
999
1009
|
}
|
|
1000
1010
|
|
|
1011
|
+
@PluginMethod
|
|
1012
|
+
fun updateBarcodeFindFeedback(call: PluginCall) {
|
|
1013
|
+
val feedbackJson = call.data.getString("feedbackJson")
|
|
1014
|
+
if (feedbackJson.isNullOrBlank()) {
|
|
1015
|
+
call.reject("No feedbackJson was provided for the function.")
|
|
1016
|
+
return
|
|
1017
|
+
}
|
|
1018
|
+
barcodeFindModule.updateFeedback(feedbackJson, CapacitorResult(call))
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1001
1021
|
//endregion
|
|
1002
1022
|
|
|
1003
1023
|
//region BarcodePick
|
package/dist/barcode.js
CHANGED
|
@@ -420,6 +420,24 @@ class BarcodeCountFeedback extends DefaultSerializeable {
|
|
|
420
420
|
static get default() {
|
|
421
421
|
return new BarcodeCountFeedback(BarcodeCountFeedback.barcodeCountDefaults.Feedback.success, BarcodeCountFeedback.barcodeCountDefaults.Feedback.failure);
|
|
422
422
|
}
|
|
423
|
+
get success() {
|
|
424
|
+
return this._success;
|
|
425
|
+
}
|
|
426
|
+
set success(success) {
|
|
427
|
+
this._success = success;
|
|
428
|
+
this.updateFeedback();
|
|
429
|
+
}
|
|
430
|
+
get failure() {
|
|
431
|
+
return this._failure;
|
|
432
|
+
}
|
|
433
|
+
set failure(failure) {
|
|
434
|
+
this._failure = failure;
|
|
435
|
+
this.updateFeedback();
|
|
436
|
+
}
|
|
437
|
+
updateFeedback() {
|
|
438
|
+
var _a;
|
|
439
|
+
(_a = this.listenerController) === null || _a === void 0 ? void 0 : _a.updateFeedback(JSON.stringify(this.toJSON()));
|
|
440
|
+
}
|
|
423
441
|
static fromJSON(json) {
|
|
424
442
|
const success = Feedback.fromJSON(json.success);
|
|
425
443
|
const failure = Feedback.fromJSON(json.failure);
|
|
@@ -430,12 +448,22 @@ class BarcodeCountFeedback extends DefaultSerializeable {
|
|
|
430
448
|
}
|
|
431
449
|
constructor(success, error) {
|
|
432
450
|
super();
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
451
|
+
this.listenerController = null;
|
|
452
|
+
this._success = BarcodeCountFeedback.barcodeCountDefaults.Feedback.success;
|
|
453
|
+
this._failure = BarcodeCountFeedback.barcodeCountDefaults.Feedback.failure;
|
|
435
454
|
this.success = success;
|
|
436
455
|
this.failure = error;
|
|
437
456
|
}
|
|
438
457
|
}
|
|
458
|
+
__decorate([
|
|
459
|
+
ignoreFromSerialization
|
|
460
|
+
], BarcodeCountFeedback.prototype, "listenerController", void 0);
|
|
461
|
+
__decorate([
|
|
462
|
+
nameForSerialization('success')
|
|
463
|
+
], BarcodeCountFeedback.prototype, "_success", void 0);
|
|
464
|
+
__decorate([
|
|
465
|
+
nameForSerialization('failure')
|
|
466
|
+
], BarcodeCountFeedback.prototype, "_failure", void 0);
|
|
439
467
|
__decorate([
|
|
440
468
|
ignoreFromSerialization
|
|
441
469
|
], BarcodeCountFeedback, "barcodeCountDefaults", null);
|
|
@@ -893,6 +921,9 @@ class BarcodeCountListenerController {
|
|
|
893
921
|
endScanningPhase() {
|
|
894
922
|
this._proxy.endScanningPhase();
|
|
895
923
|
}
|
|
924
|
+
updateFeedback(feedbackJson) {
|
|
925
|
+
this._proxy.updateFeedback(feedbackJson);
|
|
926
|
+
}
|
|
896
927
|
setBarcodeCountCaptureList(barcodeCountCaptureList) {
|
|
897
928
|
this._barcodeCountCaptureList = barcodeCountCaptureList;
|
|
898
929
|
this._proxy.setBarcodeCountCaptureList(JSON.stringify(barcodeCountCaptureList.targetBarcodes));
|
|
@@ -935,7 +966,8 @@ class BarcodeCount extends DefaultSerializeable {
|
|
|
935
966
|
}
|
|
936
967
|
set feedback(feedback) {
|
|
937
968
|
this._feedback = feedback;
|
|
938
|
-
this.
|
|
969
|
+
this._feedback.listenerController = this.listenerController;
|
|
970
|
+
this.listenerController.updateFeedback(JSON.stringify(feedback.toJSON()));
|
|
939
971
|
}
|
|
940
972
|
get _context() {
|
|
941
973
|
return this.privateContext;
|
|
@@ -961,6 +993,7 @@ class BarcodeCount extends DefaultSerializeable {
|
|
|
961
993
|
this.isInListenerCallback = false;
|
|
962
994
|
this.privateContext = null;
|
|
963
995
|
this.listenerController = BarcodeCountListenerController.forBarcodeCount(this);
|
|
996
|
+
this._feedback.listenerController = this.listenerController;
|
|
964
997
|
}
|
|
965
998
|
applySettings(settings) {
|
|
966
999
|
this.settings = settings;
|
|
@@ -1449,6 +1482,11 @@ function parseBarcodePickDefaults(jsonDefaults) {
|
|
|
1449
1482
|
.fromJSON(identifier, JSON.parse(jsonDefaults.SymbologySettings[identifier]));
|
|
1450
1483
|
return settings;
|
|
1451
1484
|
}, {}),
|
|
1485
|
+
BarcodePickStatusIconSettings: {
|
|
1486
|
+
maxSize: jsonDefaults.maxSize,
|
|
1487
|
+
minSize: jsonDefaults.minSize,
|
|
1488
|
+
ratioToHighlightSize: jsonDefaults.ratioToHighlightSize,
|
|
1489
|
+
}
|
|
1452
1490
|
};
|
|
1453
1491
|
return barcodePickDefaults;
|
|
1454
1492
|
}
|
|
@@ -2690,6 +2728,9 @@ class BarcodeSelectionSettings extends DefaultSerializeable {
|
|
|
2690
2728
|
this.settingsForSymbology(symbology).isEnabled = enabled;
|
|
2691
2729
|
}
|
|
2692
2730
|
}
|
|
2731
|
+
__decorate([
|
|
2732
|
+
nameForSerialization('singleBarcodeAutoDetectionEnabled')
|
|
2733
|
+
], BarcodeSelectionSettings.prototype, "singleBarcodeAutoDetection", void 0);
|
|
2693
2734
|
__decorate([
|
|
2694
2735
|
ignoreFromSerialization
|
|
2695
2736
|
], BarcodeSelectionSettings, "barcodeSelectionDefaults", null);
|
|
@@ -5206,6 +5247,9 @@ __decorate([
|
|
|
5206
5247
|
__decorate([
|
|
5207
5248
|
nameForSerialization('onFirstItemUnpickCompletedHintText')
|
|
5208
5249
|
], BarcodePickViewSettings.prototype, "_onFirstItemUnpickCompletedHintText", void 0);
|
|
5250
|
+
__decorate([
|
|
5251
|
+
ignoreFromSerialization
|
|
5252
|
+
], BarcodePickViewSettings, "barcodePickDefaults", null);
|
|
5209
5253
|
|
|
5210
5254
|
class BrushForStateObject extends DefaultSerializeable {
|
|
5211
5255
|
}
|
|
@@ -5216,6 +5260,58 @@ __decorate([
|
|
|
5216
5260
|
nameForSerialization('brush')
|
|
5217
5261
|
], BrushForStateObject.prototype, "brush", void 0);
|
|
5218
5262
|
|
|
5263
|
+
class BarcodePickStatusIconSettings extends DefaultSerializeable {
|
|
5264
|
+
constructor() {
|
|
5265
|
+
super(...arguments);
|
|
5266
|
+
this._ratioToHighlightSize = BarcodePickStatusIconSettings.barcodePickDefaults.BarcodePickStatusIconSettings.ratioToHighlightSize;
|
|
5267
|
+
this._minSize = BarcodePickStatusIconSettings.barcodePickDefaults.BarcodePickStatusIconSettings.minSize;
|
|
5268
|
+
this._maxSize = BarcodePickStatusIconSettings.barcodePickDefaults.BarcodePickStatusIconSettings.maxSize;
|
|
5269
|
+
}
|
|
5270
|
+
get ratioToHighlightSize() {
|
|
5271
|
+
return this._ratioToHighlightSize;
|
|
5272
|
+
}
|
|
5273
|
+
set ratioToHighlightSize(value) {
|
|
5274
|
+
this._ratioToHighlightSize = value;
|
|
5275
|
+
}
|
|
5276
|
+
get minSize() {
|
|
5277
|
+
return this._minSize;
|
|
5278
|
+
}
|
|
5279
|
+
set minSize(value) {
|
|
5280
|
+
this._minSize = value;
|
|
5281
|
+
}
|
|
5282
|
+
get maxSize() {
|
|
5283
|
+
return this._maxSize;
|
|
5284
|
+
}
|
|
5285
|
+
set maxSize(value) {
|
|
5286
|
+
this._maxSize = value;
|
|
5287
|
+
}
|
|
5288
|
+
static get barcodePickDefaults() {
|
|
5289
|
+
return getBarcodePickDefaults();
|
|
5290
|
+
}
|
|
5291
|
+
static fromJSON(json) {
|
|
5292
|
+
if (json == undefined) {
|
|
5293
|
+
return null;
|
|
5294
|
+
}
|
|
5295
|
+
const barcodePickStatusIconSettings = new BarcodePickStatusIconSettings();
|
|
5296
|
+
barcodePickStatusIconSettings._ratioToHighlightSize = json === null || json === void 0 ? void 0 : json.ratioToHighlightSize;
|
|
5297
|
+
barcodePickStatusIconSettings._minSize = json === null || json === void 0 ? void 0 : json.minSize;
|
|
5298
|
+
barcodePickStatusIconSettings._maxSize = json === null || json === void 0 ? void 0 : json.maxSize;
|
|
5299
|
+
return barcodePickStatusIconSettings;
|
|
5300
|
+
}
|
|
5301
|
+
}
|
|
5302
|
+
__decorate([
|
|
5303
|
+
nameForSerialization('ratioToHighlightSize')
|
|
5304
|
+
], BarcodePickStatusIconSettings.prototype, "_ratioToHighlightSize", void 0);
|
|
5305
|
+
__decorate([
|
|
5306
|
+
nameForSerialization('minSize')
|
|
5307
|
+
], BarcodePickStatusIconSettings.prototype, "_minSize", void 0);
|
|
5308
|
+
__decorate([
|
|
5309
|
+
nameForSerialization('maxSize')
|
|
5310
|
+
], BarcodePickStatusIconSettings.prototype, "_maxSize", void 0);
|
|
5311
|
+
__decorate([
|
|
5312
|
+
ignoreFromSerialization
|
|
5313
|
+
], BarcodePickStatusIconSettings, "barcodePickDefaults", null);
|
|
5314
|
+
|
|
5219
5315
|
class Dot extends DefaultSerializeable {
|
|
5220
5316
|
static get barcodePickDefaults() {
|
|
5221
5317
|
return getBarcodePickDefaults();
|
|
@@ -5271,7 +5367,7 @@ class DotWithIcons extends DefaultSerializeable {
|
|
|
5271
5367
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
5272
5368
|
constructor() {
|
|
5273
5369
|
super();
|
|
5274
|
-
this._type = '
|
|
5370
|
+
this._type = 'dotWithIcons';
|
|
5275
5371
|
this._brushesForState = DotWithIcons.barcodePickDefaults.BarcodePickViewHighlightStyle.DotWithIcons.brushesForState;
|
|
5276
5372
|
this._iconsForState = [];
|
|
5277
5373
|
this._iconStyle = DotWithIcons.barcodePickDefaults.BarcodePickViewHighlightStyle.DotWithIcons.iconStyle;
|
|
@@ -5322,6 +5418,8 @@ class Rectangular extends DefaultSerializeable {
|
|
|
5322
5418
|
super();
|
|
5323
5419
|
this._type = 'rectangular';
|
|
5324
5420
|
this._brushesForState = Rectangular.barcodePickDefaults.BarcodePickViewHighlightStyle.Rectangular.brushesForState;
|
|
5421
|
+
this._minimumHighlightWidth = Rectangular.barcodePickDefaults.BarcodePickViewHighlightStyle.RectangularWithIcons.minimumHighlightWidth;
|
|
5422
|
+
this._minimumHighlightHeight = Rectangular.barcodePickDefaults.BarcodePickViewHighlightStyle.RectangularWithIcons.minimumHighlightHeight;
|
|
5325
5423
|
}
|
|
5326
5424
|
getBrushForState(state) {
|
|
5327
5425
|
return (this._brushesForState.filter(item => item.barcodePickState === state)[0] || {}).brush;
|
|
@@ -5330,6 +5428,18 @@ class Rectangular extends DefaultSerializeable {
|
|
|
5330
5428
|
const indexToUpdate = this._brushesForState.findIndex(item => item.barcodePickState === state);
|
|
5331
5429
|
this._brushesForState[indexToUpdate].brush = brush;
|
|
5332
5430
|
}
|
|
5431
|
+
get minimumHighlightHeight() {
|
|
5432
|
+
return this._minimumHighlightHeight;
|
|
5433
|
+
}
|
|
5434
|
+
set minimumHighlightHeight(value) {
|
|
5435
|
+
this._minimumHighlightHeight = value;
|
|
5436
|
+
}
|
|
5437
|
+
get minimumHighlightWidth() {
|
|
5438
|
+
return this._minimumHighlightWidth;
|
|
5439
|
+
}
|
|
5440
|
+
set minimumHighlightWidth(value) {
|
|
5441
|
+
this._minimumHighlightWidth = value;
|
|
5442
|
+
}
|
|
5333
5443
|
}
|
|
5334
5444
|
__decorate([
|
|
5335
5445
|
nameForSerialization('type')
|
|
@@ -5337,6 +5447,12 @@ __decorate([
|
|
|
5337
5447
|
__decorate([
|
|
5338
5448
|
nameForSerialization('brushesForState')
|
|
5339
5449
|
], Rectangular.prototype, "_brushesForState", void 0);
|
|
5450
|
+
__decorate([
|
|
5451
|
+
nameForSerialization('minimumHighlightWidth')
|
|
5452
|
+
], Rectangular.prototype, "_minimumHighlightWidth", void 0);
|
|
5453
|
+
__decorate([
|
|
5454
|
+
nameForSerialization('minimumHighlightHeight')
|
|
5455
|
+
], Rectangular.prototype, "_minimumHighlightHeight", void 0);
|
|
5340
5456
|
__decorate([
|
|
5341
5457
|
ignoreFromSerialization
|
|
5342
5458
|
], Rectangular, "barcodePickDefaults", null);
|
|
@@ -5352,6 +5468,8 @@ class RectangularWithIcons extends DefaultSerializeable {
|
|
|
5352
5468
|
this._brushesForState = RectangularWithIcons.barcodePickDefaults.BarcodePickViewHighlightStyle.RectangularWithIcons.brushesForState;
|
|
5353
5469
|
this._iconsForState = [];
|
|
5354
5470
|
this._iconStyle = RectangularWithIcons.barcodePickDefaults.BarcodePickViewHighlightStyle.RectangularWithIcons.iconStyle;
|
|
5471
|
+
this._minimumHighlightWidth = RectangularWithIcons.barcodePickDefaults.BarcodePickViewHighlightStyle.RectangularWithIcons.minimumHighlightWidth;
|
|
5472
|
+
this._minimumHighlightHeight = RectangularWithIcons.barcodePickDefaults.BarcodePickViewHighlightStyle.RectangularWithIcons.minimumHighlightHeight;
|
|
5355
5473
|
}
|
|
5356
5474
|
getBrushForState(state) {
|
|
5357
5475
|
return (this._brushesForState.filter(item => item.barcodePickState === state)[0] || {}).brush;
|
|
@@ -5373,6 +5491,24 @@ class RectangularWithIcons extends DefaultSerializeable {
|
|
|
5373
5491
|
set iconStyle(style) {
|
|
5374
5492
|
this._iconStyle = style;
|
|
5375
5493
|
}
|
|
5494
|
+
get statusIconSettings() {
|
|
5495
|
+
return this._statusIconSettings;
|
|
5496
|
+
}
|
|
5497
|
+
set statusIconSettings(value) {
|
|
5498
|
+
this._statusIconSettings = value;
|
|
5499
|
+
}
|
|
5500
|
+
get minimumHighlightHeight() {
|
|
5501
|
+
return this._minimumHighlightHeight;
|
|
5502
|
+
}
|
|
5503
|
+
set minimumHighlightHeight(value) {
|
|
5504
|
+
this._minimumHighlightHeight = value;
|
|
5505
|
+
}
|
|
5506
|
+
get minimumHighlightWidth() {
|
|
5507
|
+
return this._minimumHighlightWidth;
|
|
5508
|
+
}
|
|
5509
|
+
set minimumHighlightWidth(value) {
|
|
5510
|
+
this._minimumHighlightWidth = value;
|
|
5511
|
+
}
|
|
5376
5512
|
}
|
|
5377
5513
|
__decorate([
|
|
5378
5514
|
nameForSerialization('type')
|
|
@@ -5386,6 +5522,15 @@ __decorate([
|
|
|
5386
5522
|
__decorate([
|
|
5387
5523
|
nameForSerialization('iconStyle')
|
|
5388
5524
|
], RectangularWithIcons.prototype, "_iconStyle", void 0);
|
|
5525
|
+
__decorate([
|
|
5526
|
+
nameForSerialization('statusIconSettings')
|
|
5527
|
+
], RectangularWithIcons.prototype, "_statusIconSettings", void 0);
|
|
5528
|
+
__decorate([
|
|
5529
|
+
nameForSerialization('minimumHighlightWidth')
|
|
5530
|
+
], RectangularWithIcons.prototype, "_minimumHighlightWidth", void 0);
|
|
5531
|
+
__decorate([
|
|
5532
|
+
nameForSerialization('minimumHighlightHeight')
|
|
5533
|
+
], RectangularWithIcons.prototype, "_minimumHighlightHeight", void 0);
|
|
5389
5534
|
__decorate([
|
|
5390
5535
|
ignoreFromSerialization
|
|
5391
5536
|
], RectangularWithIcons, "barcodePickDefaults", null);
|
|
@@ -5393,8 +5538,27 @@ __decorate([
|
|
|
5393
5538
|
class BarcodeFindFeedback extends DefaultSerializeable {
|
|
5394
5539
|
constructor() {
|
|
5395
5540
|
super(...arguments);
|
|
5396
|
-
this.
|
|
5397
|
-
this.
|
|
5541
|
+
this.controller = null;
|
|
5542
|
+
this._found = BarcodeFindFeedback.barcodeFindDefaults.Feedback.found;
|
|
5543
|
+
this._itemListUpdated = BarcodeFindFeedback.barcodeFindDefaults.Feedback.itemListUpdated;
|
|
5544
|
+
}
|
|
5545
|
+
get found() {
|
|
5546
|
+
return this._found;
|
|
5547
|
+
}
|
|
5548
|
+
set found(success) {
|
|
5549
|
+
this._found = success;
|
|
5550
|
+
this.updateFeedback();
|
|
5551
|
+
}
|
|
5552
|
+
get itemListUpdated() {
|
|
5553
|
+
return this._itemListUpdated;
|
|
5554
|
+
}
|
|
5555
|
+
set itemListUpdated(failure) {
|
|
5556
|
+
this._itemListUpdated = failure;
|
|
5557
|
+
this.updateFeedback();
|
|
5558
|
+
}
|
|
5559
|
+
updateFeedback() {
|
|
5560
|
+
var _a;
|
|
5561
|
+
(_a = this.controller) === null || _a === void 0 ? void 0 : _a.updateFeedback(JSON.stringify(this.toJSON()));
|
|
5398
5562
|
}
|
|
5399
5563
|
static get barcodeFindDefaults() {
|
|
5400
5564
|
return getBarcodeFindDefaults();
|
|
@@ -5403,6 +5567,15 @@ class BarcodeFindFeedback extends DefaultSerializeable {
|
|
|
5403
5567
|
return new BarcodeFindFeedback();
|
|
5404
5568
|
}
|
|
5405
5569
|
}
|
|
5570
|
+
__decorate([
|
|
5571
|
+
ignoreFromSerialization
|
|
5572
|
+
], BarcodeFindFeedback.prototype, "controller", void 0);
|
|
5573
|
+
__decorate([
|
|
5574
|
+
nameForSerialization('found')
|
|
5575
|
+
], BarcodeFindFeedback.prototype, "_found", void 0);
|
|
5576
|
+
__decorate([
|
|
5577
|
+
nameForSerialization('itemListUpdated')
|
|
5578
|
+
], BarcodeFindFeedback.prototype, "_itemListUpdated", void 0);
|
|
5406
5579
|
|
|
5407
5580
|
var BarcodeFindListenerEvents;
|
|
5408
5581
|
(function (BarcodeFindListenerEvents) {
|
|
@@ -5493,6 +5666,9 @@ class BarcodeFindController extends BaseController {
|
|
|
5493
5666
|
dispose() {
|
|
5494
5667
|
this.unsubscribeListeners();
|
|
5495
5668
|
}
|
|
5669
|
+
updateFeedback(feedbackJson) {
|
|
5670
|
+
return this._proxy.updateFeedback(feedbackJson);
|
|
5671
|
+
}
|
|
5496
5672
|
}
|
|
5497
5673
|
|
|
5498
5674
|
class BarcodeFind extends DefaultSerializeable {
|
|
@@ -5509,6 +5685,7 @@ class BarcodeFind extends DefaultSerializeable {
|
|
|
5509
5685
|
this._settings = settings;
|
|
5510
5686
|
this._controller = BarcodeFindController.forBarcodeFind(this);
|
|
5511
5687
|
this._dataCaptureContext = dataCaptureContext;
|
|
5688
|
+
this._feedback.controller = this._controller;
|
|
5512
5689
|
// No need to add the mode to the context
|
|
5513
5690
|
}
|
|
5514
5691
|
static forContext(dataCaptureContext, settings) {
|
|
@@ -5535,7 +5712,8 @@ class BarcodeFind extends DefaultSerializeable {
|
|
|
5535
5712
|
}
|
|
5536
5713
|
set feedback(value) {
|
|
5537
5714
|
this._feedback = value;
|
|
5538
|
-
this.
|
|
5715
|
+
this._feedback.controller = this._controller;
|
|
5716
|
+
this._controller.updateFeedback(JSON.stringify(value.toJSON()));
|
|
5539
5717
|
}
|
|
5540
5718
|
applySettings(settings) {
|
|
5541
5719
|
this._settings = settings;
|
|
@@ -5762,7 +5940,7 @@ __decorate([
|
|
|
5762
5940
|
|
|
5763
5941
|
var BarcodeFindViewEvents;
|
|
5764
5942
|
(function (BarcodeFindViewEvents) {
|
|
5765
|
-
BarcodeFindViewEvents["onFinishButtonTappedEventName"] = "
|
|
5943
|
+
BarcodeFindViewEvents["onFinishButtonTappedEventName"] = "BarcodeFindViewUiListener.onFinishButtonTapped";
|
|
5766
5944
|
})(BarcodeFindViewEvents || (BarcodeFindViewEvents = {}));
|
|
5767
5945
|
class BarcodeFindViewController extends BaseController {
|
|
5768
5946
|
constructor() {
|
|
@@ -6241,4 +6419,4 @@ var QrCodeErrorCorrectionLevel;
|
|
|
6241
6419
|
QrCodeErrorCorrectionLevel["High"] = "high";
|
|
6242
6420
|
})(QrCodeErrorCorrectionLevel || (QrCodeErrorCorrectionLevel = {}));
|
|
6243
6421
|
|
|
6244
|
-
export { ArucoDictionary, ArucoDictionaryPreset, ArucoMarker, Barcode, BarcodeCapture, BarcodeCaptureFeedback, BarcodeCaptureListenerController, BarcodeCaptureListenerEvents, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureSession, BarcodeCaptureSettings, BarcodeCount, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountFeedback, BarcodeCountListenerController, BarcodeCountListenerEvents, BarcodeCountSession, BarcodeCountSessionController, BarcodeCountSettings, BarcodeCountToolbarSettings, BarcodeCountViewEvents, BarcodeCountViewStyle, BarcodeFilterHighlightSettingsBrush, BarcodeFilterHighlightType, BarcodeFilterSettings, BarcodeFind, BarcodeFindController, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindListenerEvents, BarcodeFindSettings, BarcodeFindViewEvents, BarcodeFindViewSettings, BarcodeGenerator, BarcodeGeneratorBuilder, BarcodeGeneratorController, BarcodePick, BarcodePickActionCallback, BarcodePickAsyncMapperProductProvider, BarcodePickEvents, BarcodePickIconStyle, BarcodePickListenerController, BarcodePickListenerEvents, BarcodePickProduct, BarcodePickProductController, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickScanningSession, BarcodePickSettings, BarcodePickState, BarcodePickViewController, BarcodePickViewListenerEvents, BarcodePickViewSettings, BarcodePickViewUiListenerEvents, BarcodeSelection, BarcodeSelectionAimerSelection, BarcodeSelectionAutoSelectionStrategy, BarcodeSelectionBasicOverlay, BarcodeSelectionBasicOverlayStyle, BarcodeSelectionBrushProviderEvents, BarcodeSelectionController, BarcodeSelectionFeedback, BarcodeSelectionFreezeBehavior, BarcodeSelectionListenerController, BarcodeSelectionListenerEvents, BarcodeSelectionManualSelectionStrategy, BarcodeSelectionOverlayController, BarcodeSelectionSession, BarcodeSelectionSettings, BarcodeSelectionStrategyType, BarcodeSelectionTapBehavior, BarcodeSelectionTapSelection, BarcodeSelectionTypeName, BarcodeSpatialGrid, BarcodeTracking, BarcodeTrackingAdvancedOverlayController, BarcodeTrackingAdvancedOverlayListenerEvents, BarcodeTrackingBasicOverlay, BarcodeTrackingBasicOverlayController, BarcodeTrackingBasicOverlayListenerEvents, BarcodeTrackingBasicOverlayStyle, BarcodeTrackingListenerController, BarcodeTrackingListenerEvents, BarcodeTrackingScenario, BarcodeTrackingSession, BarcodeTrackingSettings, BaseBarcodeFindView, BaseBarcodePickView, BaseBarcodeTrackingAdvancedOverlay, BaseSparkScanView, BatterySavingMode, BrushForStateObject, Checksum, Code128BarcodeGeneratorBuilder, Code39BarcodeGeneratorBuilder, CompositeFlag, CompositeType, DataMatrixBarcodeGeneratorBuilder, Dot, DotWithIcons, Ean13BarcodeGeneratorBuilder, Ean13UpcaClassification, EncodingRange, InterleavedTwoOfFiveBarcodeGeneratorBuilder, LocalizedOnlyBarcode, PrivateBarcodeSelectionStrategy, PrivateBarcodeSelectionType, QrCodeBarcodeGeneratorBuilder, QrCodeErrorCorrectionLevel, Range, Rectangular, RectangularWithIcons, SparkScan, SparkScanBarcodeErrorFeedback, SparkScanBarcodeFeedback, SparkScanBarcodeSuccessFeedback, SparkScanFeedback, SparkScanFeedbackDelegateEvents, SparkScanListenerController, SparkScanListenerEvents, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanScanningPrecision, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewController, SparkScanViewErrorFeedback, SparkScanViewEvents, SparkScanViewFeedback, SparkScanViewHandMode, SparkScanViewSettings, SparkScanViewSuccessFeedback, StructuredAppendData, Symbology, SymbologyDescription, SymbologySettings, TargetBarcode, TrackedBarcode, UpcaBarcodeGeneratorBuilder, getBarcodeCaptureDefaults, getBarcodeCountDefaults, getBarcodeDefaults, getBarcodeFindDefaults, getBarcodePickDefaults, getBarcodeSelectionDefaults, getBarcodeTrackingDefaults, getSparkScanDefaults, loadBarcodeCaptureDefaults, loadBarcodeCountDefaults, loadBarcodeDefaults, loadBarcodeFindDefaults, loadBarcodePickDefaults, loadBarcodeSelectionDefaults, loadBarcodeTrackingDefaults, loadSparkScanDefaults };
|
|
6422
|
+
export { ArucoDictionary, ArucoDictionaryPreset, ArucoMarker, Barcode, BarcodeCapture, BarcodeCaptureFeedback, BarcodeCaptureListenerController, BarcodeCaptureListenerEvents, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureSession, BarcodeCaptureSettings, BarcodeCount, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountFeedback, BarcodeCountListenerController, BarcodeCountListenerEvents, BarcodeCountSession, BarcodeCountSessionController, BarcodeCountSettings, BarcodeCountToolbarSettings, BarcodeCountViewEvents, BarcodeCountViewStyle, BarcodeFilterHighlightSettingsBrush, BarcodeFilterHighlightType, BarcodeFilterSettings, BarcodeFind, BarcodeFindController, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindListenerEvents, BarcodeFindSettings, BarcodeFindViewEvents, BarcodeFindViewSettings, BarcodeGenerator, BarcodeGeneratorBuilder, BarcodeGeneratorController, BarcodePick, BarcodePickActionCallback, BarcodePickAsyncMapperProductProvider, BarcodePickEvents, BarcodePickIconStyle, BarcodePickListenerController, BarcodePickListenerEvents, BarcodePickProduct, BarcodePickProductController, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickScanningSession, BarcodePickSettings, BarcodePickState, 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, BarcodeTracking, BarcodeTrackingAdvancedOverlayController, BarcodeTrackingAdvancedOverlayListenerEvents, BarcodeTrackingBasicOverlay, BarcodeTrackingBasicOverlayController, BarcodeTrackingBasicOverlayListenerEvents, BarcodeTrackingBasicOverlayStyle, BarcodeTrackingListenerController, BarcodeTrackingListenerEvents, BarcodeTrackingScenario, BarcodeTrackingSession, BarcodeTrackingSettings, BaseBarcodeFindView, BaseBarcodePickView, BaseBarcodeTrackingAdvancedOverlay, BaseSparkScanView, BatterySavingMode, BrushForStateObject, Checksum, Code128BarcodeGeneratorBuilder, Code39BarcodeGeneratorBuilder, CompositeFlag, CompositeType, DataMatrixBarcodeGeneratorBuilder, Dot, DotWithIcons, Ean13BarcodeGeneratorBuilder, Ean13UpcaClassification, EncodingRange, InterleavedTwoOfFiveBarcodeGeneratorBuilder, LocalizedOnlyBarcode, PrivateBarcodeSelectionStrategy, PrivateBarcodeSelectionType, QrCodeBarcodeGeneratorBuilder, QrCodeErrorCorrectionLevel, Range, Rectangular, RectangularWithIcons, SparkScan, SparkScanBarcodeErrorFeedback, SparkScanBarcodeFeedback, SparkScanBarcodeSuccessFeedback, SparkScanFeedback, SparkScanFeedbackDelegateEvents, SparkScanListenerController, SparkScanListenerEvents, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanScanningPrecision, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewController, SparkScanViewErrorFeedback, SparkScanViewEvents, SparkScanViewFeedback, SparkScanViewHandMode, SparkScanViewSettings, SparkScanViewSuccessFeedback, StructuredAppendData, Symbology, SymbologyDescription, SymbologySettings, TargetBarcode, TrackedBarcode, UpcaBarcodeGeneratorBuilder, getBarcodeCaptureDefaults, getBarcodeCountDefaults, getBarcodeDefaults, getBarcodeFindDefaults, getBarcodePickDefaults, getBarcodeSelectionDefaults, getBarcodeTrackingDefaults, getSparkScanDefaults, loadBarcodeCaptureDefaults, loadBarcodeCountDefaults, loadBarcodeDefaults, loadBarcodeFindDefaults, loadBarcodePickDefaults, loadBarcodeSelectionDefaults, loadBarcodeTrackingDefaults, loadSparkScanDefaults };
|