scandit-capacitor-datacapture-barcode 8.3.0-beta.1 → 8.3.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.
|
@@ -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", '= 8.3.
|
|
20
|
+
s.dependency "scandit-datacapture-frameworks-barcode", '= 8.3.1'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
package/dist/barcode.js
CHANGED
|
@@ -4972,10 +4972,11 @@ class BarcodeAr extends DefaultSerializeable {
|
|
|
4972
4972
|
this.listeners.push(listener);
|
|
4973
4973
|
}
|
|
4974
4974
|
removeListener(listener) {
|
|
4975
|
-
|
|
4975
|
+
const index = this.listeners.indexOf(listener);
|
|
4976
|
+
if (index === -1) {
|
|
4976
4977
|
return;
|
|
4977
4978
|
}
|
|
4978
|
-
this.listeners.splice(
|
|
4979
|
+
this.listeners.splice(index, 1);
|
|
4979
4980
|
this.checkAndUnsubscribeListeners();
|
|
4980
4981
|
}
|
|
4981
4982
|
toJSON() {
|
|
@@ -8112,10 +8113,11 @@ class BarcodeCount extends DefaultSerializeable {
|
|
|
8112
8113
|
this._hasListeners = this.listeners.length > 0;
|
|
8113
8114
|
}
|
|
8114
8115
|
removeListener(listener) {
|
|
8115
|
-
|
|
8116
|
+
const index = this.listeners.indexOf(listener);
|
|
8117
|
+
if (index === -1) {
|
|
8116
8118
|
return;
|
|
8117
8119
|
}
|
|
8118
|
-
this.listeners.splice(
|
|
8120
|
+
this.listeners.splice(index, 1);
|
|
8119
8121
|
this.checkAndUnsubscribeListeners();
|
|
8120
8122
|
this._hasListeners = this.listeners.length > 0;
|
|
8121
8123
|
}
|
|
@@ -11744,10 +11746,11 @@ class SparkScan extends DefaultSerializeable {
|
|
|
11744
11746
|
this.hasListeners = this.listeners.length > 0 || this.hasItemDefinitions();
|
|
11745
11747
|
}
|
|
11746
11748
|
removeListener(listener) {
|
|
11747
|
-
|
|
11749
|
+
const index = this.listeners.indexOf(listener);
|
|
11750
|
+
if (index === -1) {
|
|
11748
11751
|
return;
|
|
11749
11752
|
}
|
|
11750
|
-
this.listeners.splice(
|
|
11753
|
+
this.listeners.splice(index, 1);
|
|
11751
11754
|
this.hasListeners = this.listeners.length > 0 || this.hasItemDefinitions();
|
|
11752
11755
|
}
|
|
11753
11756
|
didChange() {
|
|
@@ -13611,10 +13614,11 @@ class BarcodePick extends DefaultSerializeable {
|
|
|
13611
13614
|
}
|
|
13612
13615
|
removeScanningListener(listener) {
|
|
13613
13616
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13614
|
-
|
|
13617
|
+
const index = this.listeners.indexOf(listener);
|
|
13618
|
+
if (index === -1) {
|
|
13615
13619
|
return;
|
|
13616
13620
|
}
|
|
13617
|
-
this.listeners.splice(
|
|
13621
|
+
this.listeners.splice(index, 1);
|
|
13618
13622
|
yield this.checkAndUnsubscribeScanningListeners();
|
|
13619
13623
|
this._hasScanningListeners = this.listeners.length > 0;
|
|
13620
13624
|
});
|
|
@@ -13631,10 +13635,11 @@ class BarcodePick extends DefaultSerializeable {
|
|
|
13631
13635
|
}
|
|
13632
13636
|
removeListener(listener) {
|
|
13633
13637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13634
|
-
|
|
13638
|
+
const index = this.modeListeners.indexOf(listener);
|
|
13639
|
+
if (index === -1) {
|
|
13635
13640
|
return;
|
|
13636
13641
|
}
|
|
13637
|
-
this.modeListeners.splice(
|
|
13642
|
+
this.modeListeners.splice(index, 1);
|
|
13638
13643
|
yield this.checkAndUnsubscribeListeners();
|
|
13639
13644
|
this._hasListeners = this.modeListeners.length > 0;
|
|
13640
13645
|
});
|
|
@@ -15819,10 +15824,11 @@ class BarcodeFind extends DefaultSerializeable {
|
|
|
15819
15824
|
this._hasListeners = this.listeners.length > 0;
|
|
15820
15825
|
}
|
|
15821
15826
|
removeListener(listener) {
|
|
15822
|
-
|
|
15827
|
+
const index = this.listeners.indexOf(listener);
|
|
15828
|
+
if (index === -1) {
|
|
15823
15829
|
return;
|
|
15824
15830
|
}
|
|
15825
|
-
this.listeners.splice(
|
|
15831
|
+
this.listeners.splice(index, 1);
|
|
15826
15832
|
this.checkAndUnsubscribeListeners();
|
|
15827
15833
|
this._hasListeners = this.listeners.length > 0;
|
|
15828
15834
|
}
|