scandit-capacitor-datacapture-barcode 7.6.1 → 7.6.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 +2 -3
- package/dist/barcode.js +55 -15
- package/dist/barcode.js.map +1 -1
- package/dist/dts/ts/SparkScanView.d.ts +4 -4
- package/dist/index.js +21 -7
- package/dist/index.js.map +1 -1
- package/ios/Plugin/ScanditBarcodeCapture.swift +1 -2
- package/package.json +4 -4
|
@@ -101,10 +101,10 @@ export declare class SparkScanView {
|
|
|
101
101
|
set triggerButtonVisible(newValue: boolean);
|
|
102
102
|
get triggerButtonImage(): string | null;
|
|
103
103
|
set triggerButtonImage(newValue: string | null);
|
|
104
|
-
prepareScanning(): void
|
|
105
|
-
startScanning(): void
|
|
106
|
-
pauseScanning(): void
|
|
107
|
-
stopScanning(): void
|
|
104
|
+
prepareScanning(): Promise<void>;
|
|
105
|
+
startScanning(): Promise<void>;
|
|
106
|
+
pauseScanning(): Promise<void>;
|
|
107
|
+
stopScanning(): Promise<void>;
|
|
108
108
|
dispose(): void;
|
|
109
109
|
show(): Promise<void>;
|
|
110
110
|
hide(): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -1100,25 +1100,37 @@ class SparkScanView {
|
|
|
1100
1100
|
this.baseSparkScanView.triggerButtonImage = newValue;
|
|
1101
1101
|
}
|
|
1102
1102
|
prepareScanning() {
|
|
1103
|
-
this
|
|
1103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1104
|
+
yield this.baseSparkScanView.prepareScanning();
|
|
1105
|
+
});
|
|
1104
1106
|
}
|
|
1105
1107
|
startScanning() {
|
|
1106
|
-
this
|
|
1108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1109
|
+
yield this.baseSparkScanView.startScanning();
|
|
1110
|
+
});
|
|
1107
1111
|
}
|
|
1108
1112
|
pauseScanning() {
|
|
1109
|
-
this
|
|
1113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1114
|
+
yield this.baseSparkScanView.pauseScanning();
|
|
1115
|
+
});
|
|
1110
1116
|
}
|
|
1111
1117
|
stopScanning() {
|
|
1112
|
-
this
|
|
1118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1119
|
+
yield this.baseSparkScanView.stopScanning();
|
|
1120
|
+
});
|
|
1113
1121
|
}
|
|
1114
1122
|
dispose() {
|
|
1115
1123
|
this.baseSparkScanView.dispose();
|
|
1116
1124
|
}
|
|
1117
1125
|
show() {
|
|
1118
|
-
return this
|
|
1126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1127
|
+
yield this.baseSparkScanView.show();
|
|
1128
|
+
});
|
|
1119
1129
|
}
|
|
1120
1130
|
hide() {
|
|
1121
|
-
return this
|
|
1131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1132
|
+
yield this.baseSparkScanView.hide();
|
|
1133
|
+
});
|
|
1122
1134
|
}
|
|
1123
1135
|
get feedbackDelegate() {
|
|
1124
1136
|
return this.baseSparkScanView.feedbackDelegate;
|
|
@@ -1127,7 +1139,9 @@ class SparkScanView {
|
|
|
1127
1139
|
this.baseSparkScanView.feedbackDelegate = delegate;
|
|
1128
1140
|
}
|
|
1129
1141
|
showToast(text) {
|
|
1130
|
-
return this
|
|
1142
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1143
|
+
yield this.baseSparkScanView.showToast(text);
|
|
1144
|
+
});
|
|
1131
1145
|
}
|
|
1132
1146
|
toJSON() {
|
|
1133
1147
|
return this.baseSparkScanView.toJSON();
|