scandit-capacitor-datacapture-core 8.4.0-beta.1 → 8.4.0
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/ScanditCapacitorDatacaptureCore.podspec +1 -1
- package/android/build.gradle +1 -1
- package/dist/core.js +4 -6
- package/dist/core.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/android/build.gradle
CHANGED
package/dist/core.js
CHANGED
|
@@ -4938,16 +4938,14 @@ function parseDefaults(jsonDefaults) {
|
|
|
4938
4938
|
focusGesture: PrivateFocusGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.focusGesture)),
|
|
4939
4939
|
zoomGesture: PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)),
|
|
4940
4940
|
zoomGestures: jsonDefaults.DataCaptureView.zoomGestures
|
|
4941
|
-
? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures))
|
|
4942
|
-
:
|
|
4941
|
+
? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures).map(parseOrUse))
|
|
4942
|
+
: PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)) != null
|
|
4943
4943
|
? [PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture))]
|
|
4944
|
-
: []
|
|
4944
|
+
: [],
|
|
4945
4945
|
logoStyle: jsonDefaults.DataCaptureView.logoStyle,
|
|
4946
4946
|
shouldShowZoomNotification: jsonDefaults.DataCaptureView.shouldShowZoomNotification,
|
|
4947
4947
|
},
|
|
4948
|
-
RectangularViewfinder: Object
|
|
4949
|
-
.keys(jsonDefaults.RectangularViewfinder.styles)
|
|
4950
|
-
.reduce((acc, key) => {
|
|
4948
|
+
RectangularViewfinder: Object.keys(jsonDefaults.RectangularViewfinder.styles).reduce((acc, key) => {
|
|
4951
4949
|
const viewfinder = jsonDefaults.RectangularViewfinder.styles[key];
|
|
4952
4950
|
acc.styles[key] = {
|
|
4953
4951
|
size: SizeWithUnitAndAspect['fromJSON'](parseOrUse(viewfinder.size)),
|