scandit-capacitor-datacapture-barcode 6.13.0-beta.1 → 6.13.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/android/build.gradle
CHANGED
|
@@ -1,43 +1,22 @@
|
|
|
1
1
|
import ScanditBarcodeCapture
|
|
2
2
|
import ScanditCapacitorDatacaptureCore
|
|
3
3
|
|
|
4
|
+
// MARK: - Barcode Capture overlays with styles explicitly set.
|
|
4
5
|
fileprivate extension BarcodeCaptureOverlay {
|
|
5
6
|
static var defaultStyle: BarcodeCaptureOverlayStyle {
|
|
6
|
-
return
|
|
7
|
-
BarcodeCapture(context: nil, settings: BarcodeCaptureSettings())).style
|
|
7
|
+
return BarcodeCaptureOverlayStyle.legacy
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
fileprivate extension BarcodeTrackingBasicOverlay {
|
|
12
12
|
static var defaultStyle: BarcodeTrackingBasicOverlayStyle {
|
|
13
|
-
return
|
|
14
|
-
BarcodeTracking(context: nil, settings: BarcodeTrackingSettings())).style
|
|
13
|
+
return BarcodeTrackingBasicOverlayStyle.legacy
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
fileprivate extension BarcodeSelectionBasicOverlay {
|
|
19
18
|
static var defaultStyle: BarcodeSelectionBasicOverlayStyle {
|
|
20
|
-
return
|
|
21
|
-
BarcodeSelection(context: nil,
|
|
22
|
-
settings: BarcodeSelectionSettings())).style
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
static var dotStyle: BarcodeSelectionBasicOverlay {
|
|
26
|
-
return BarcodeSelectionBasicOverlay(
|
|
27
|
-
barcodeSelection: BarcodeSelection(
|
|
28
|
-
context: nil,
|
|
29
|
-
settings: BarcodeSelectionSettings()),
|
|
30
|
-
style: BarcodeSelectionBasicOverlayStyle.dot
|
|
31
|
-
)
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
static var frameStyle: BarcodeSelectionBasicOverlay {
|
|
35
|
-
return BarcodeSelectionBasicOverlay(
|
|
36
|
-
barcodeSelection: BarcodeSelection(
|
|
37
|
-
context: nil,
|
|
38
|
-
settings: BarcodeSelectionSettings()),
|
|
39
|
-
style: BarcodeSelectionBasicOverlayStyle.frame
|
|
40
|
-
)
|
|
19
|
+
return BarcodeSelectionBasicOverlayStyle.frame
|
|
41
20
|
}
|
|
42
21
|
}
|
|
43
22
|
|
|
@@ -236,30 +215,30 @@ extension ScanditBarcodeCaptureDefaults.BarcodeSelectionBasicOverlayDefaults {
|
|
|
236
215
|
styles: [
|
|
237
216
|
BarcodeSelectionBasicOverlayStyle.dot.jsonString: [
|
|
238
217
|
"DefaultTrackedBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
239
|
-
BarcodeSelectionBasicOverlay.
|
|
218
|
+
BarcodeSelectionBasicOverlay.defaultTrackedBrush(forStyle: .dot)
|
|
240
219
|
),
|
|
241
220
|
"DefaultAimedBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
242
|
-
BarcodeSelectionBasicOverlay.
|
|
221
|
+
BarcodeSelectionBasicOverlay.defaultAimedBrush(forStyle: .dot)
|
|
243
222
|
),
|
|
244
223
|
"DefaultSelectedBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
245
|
-
BarcodeSelectionBasicOverlay.
|
|
224
|
+
BarcodeSelectionBasicOverlay.defaultSelectedBrush(forStyle: .dot)
|
|
246
225
|
),
|
|
247
226
|
"DefaultSelectingBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
248
|
-
BarcodeSelectionBasicOverlay.
|
|
227
|
+
BarcodeSelectionBasicOverlay.defaultSelectingBrush(forStyle: .dot)
|
|
249
228
|
),
|
|
250
229
|
],
|
|
251
230
|
BarcodeSelectionBasicOverlayStyle.frame.jsonString: [
|
|
252
231
|
"DefaultTrackedBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
253
|
-
BarcodeSelectionBasicOverlay.
|
|
232
|
+
BarcodeSelectionBasicOverlay.defaultTrackedBrush(forStyle: .frame)
|
|
254
233
|
),
|
|
255
234
|
"DefaultAimedBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
256
|
-
BarcodeSelectionBasicOverlay.
|
|
235
|
+
BarcodeSelectionBasicOverlay.defaultAimedBrush(forStyle: .frame)
|
|
257
236
|
),
|
|
258
237
|
"DefaultSelectedBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
259
|
-
BarcodeSelectionBasicOverlay.
|
|
238
|
+
BarcodeSelectionBasicOverlay.defaultSelectedBrush(forStyle: .frame)
|
|
260
239
|
),
|
|
261
240
|
"DefaultSelectingBrush": ScanditCaptureCoreDefaults.BrushDefaults.from(
|
|
262
|
-
BarcodeSelectionBasicOverlay.
|
|
241
|
+
BarcodeSelectionBasicOverlay.defaultSelectingBrush(forStyle: .frame)
|
|
263
242
|
),
|
|
264
243
|
]
|
|
265
244
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scandit-capacitor-datacapture-barcode",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.1",
|
|
4
4
|
"description": "Scandit Data Capture SDK for Capacitor",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"private": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"watch": "tsc --watch"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"scandit-capacitor-datacapture-core": "6.13.
|
|
25
|
+
"scandit-capacitor-datacapture-core": "6.13.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@capacitor/android": ">=2.0.0",
|