scandit-datacapture-frameworks-core 8.4.0 → 8.5.0-beta.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.
Files changed (90) hide show
  1. package/__mocks__/Defaults.ts +61 -61
  2. package/__mocks__/ScanditDataCaptureCore.ts +7 -5
  3. package/dist/dts/LicenseInfo.d.ts +2 -2
  4. package/dist/dts/camera/Camera.d.ts +7 -7
  5. package/dist/dts/camera/CameraSettings.d.ts +5 -5
  6. package/dist/dts/camera/FocusGesture.d.ts +2 -2
  7. package/dist/dts/camera/FocusGestureListener.d.ts +2 -2
  8. package/dist/dts/camera/PinchToZoom.d.ts +4 -4
  9. package/dist/dts/camera/PrivateFocusGestureDeserializer.d.ts +1 -1
  10. package/dist/dts/camera/PrivateZoomGestureDeserializer.d.ts +1 -1
  11. package/dist/dts/camera/SwipeToZoom.d.ts +4 -4
  12. package/dist/dts/camera/TapToFocus.d.ts +5 -5
  13. package/dist/dts/camera/TorchSwitchControl.d.ts +2 -2
  14. package/dist/dts/camera/ZoomGesture.d.ts +1 -1
  15. package/dist/dts/camera/ZoomGestureListener.d.ts +1 -1
  16. package/dist/dts/camera/ZoomSwitchControl.d.ts +3 -3
  17. package/dist/dts/camera/controller/CameraController.d.ts +4 -4
  18. package/dist/dts/camera/index.d.ts +24 -24
  19. package/dist/dts/camerahelpers/CameraOwnershipHelper.d.ts +3 -3
  20. package/dist/dts/camerahelpers/CameraOwnershipManager.d.ts +2 -2
  21. package/dist/dts/camerahelpers/index.d.ts +8 -8
  22. package/dist/dts/common/Brush.d.ts +2 -2
  23. package/dist/dts/common/MarginsWithUnit.d.ts +2 -2
  24. package/dist/dts/common/NumberWithUnit.d.ts +2 -2
  25. package/dist/dts/common/Observable.d.ts +1 -1
  26. package/dist/dts/common/Payload.d.ts +3 -3
  27. package/dist/dts/common/Point.d.ts +1 -1
  28. package/dist/dts/common/PointWithUnit.d.ts +2 -2
  29. package/dist/dts/common/Quadrilateral.d.ts +2 -2
  30. package/dist/dts/common/Rect.d.ts +3 -3
  31. package/dist/dts/common/RectWithUnit.d.ts +3 -3
  32. package/dist/dts/common/ScanIntention.d.ts +3 -0
  33. package/dist/dts/common/ScanditIcon.d.ts +4 -4
  34. package/dist/dts/common/ScanditIconBuilder.d.ts +4 -4
  35. package/dist/dts/common/ScanditIconType.d.ts +5 -1
  36. package/dist/dts/common/SelectionMode.d.ts +5 -0
  37. package/dist/dts/common/Size.d.ts +1 -1
  38. package/dist/dts/common/SizeWithAspect.d.ts +2 -2
  39. package/dist/dts/common/SizeWithUnit.d.ts +2 -2
  40. package/dist/dts/common/SizeWithUnitAndAspect.d.ts +5 -5
  41. package/dist/dts/common/index.d.ts +57 -55
  42. package/dist/dts/context/DataCaptureComponent.d.ts +1 -1
  43. package/dist/dts/context/DataCaptureContextListener.d.ts +2 -2
  44. package/dist/dts/context/DataCaptureContextSettings.d.ts +3 -3
  45. package/dist/dts/context/DataCaptureMode.d.ts +2 -2
  46. package/dist/dts/context/index.d.ts +12 -12
  47. package/dist/dts/controllers/index.d.ts +1 -1
  48. package/dist/dts/defaults/CoreDefaults.d.ts +12 -3
  49. package/dist/dts/defaults/index.d.ts +3 -3
  50. package/dist/dts/defaults/loadCoreDefaults.d.ts +1 -1
  51. package/dist/dts/feedback/Sound.d.ts +1 -1
  52. package/dist/dts/feedback/Vibration.d.ts +3 -2
  53. package/dist/dts/feedback/VibrationType.d.ts +1 -0
  54. package/dist/dts/feedback/index.d.ts +7 -7
  55. package/dist/dts/frame/FrameData.d.ts +1 -1
  56. package/dist/dts/frame/FrameDataSettingsBuilder.d.ts +1 -1
  57. package/dist/dts/frame/FrameSource.d.ts +4 -4
  58. package/dist/dts/frame/FrameSourceListener.d.ts +2 -2
  59. package/dist/dts/frame/ImageFrameSource.d.ts +8 -7
  60. package/dist/dts/frame/MacroModeListener.d.ts +1 -1
  61. package/dist/dts/frame/TorchListener.d.ts +1 -1
  62. package/dist/dts/frame/index.d.ts +13 -13
  63. package/dist/dts/helpers/index.d.ts +1 -1
  64. package/dist/dts/locationselection/RadiusLocationSelection.d.ts +3 -3
  65. package/dist/dts/locationselection/RectangularLocationSelection.d.ts +3 -3
  66. package/dist/dts/locationselection/index.d.ts +6 -6
  67. package/dist/dts/proxies/NativeProxy.d.ts +2 -2
  68. package/dist/dts/proxies/index.d.ts +5 -5
  69. package/dist/dts/proxy-types.d.ts +1 -1
  70. package/dist/dts/serializable/DefaultSerializable.d.ts +1 -1
  71. package/dist/dts/serializable/index.d.ts +7 -7
  72. package/dist/dts/view/Control.d.ts +2 -2
  73. package/dist/dts/view/ControlImage.d.ts +1 -1
  74. package/dist/dts/view/DataCaptureOverlay.d.ts +2 -2
  75. package/dist/dts/view/DataCaptureViewController.d.ts +7 -7
  76. package/dist/dts/view/DataCaptureViewListener.d.ts +2 -2
  77. package/dist/dts/view/index.d.ts +7 -7
  78. package/dist/dts/viewfinder/AimerViewfinder.d.ts +3 -3
  79. package/dist/dts/viewfinder/LaserlineViewfinder.d.ts +3 -3
  80. package/dist/dts/viewfinder/RectangularViewfinderAnimation.d.ts +1 -1
  81. package/dist/dts/viewfinder/index.d.ts +9 -9
  82. package/dist/index.js +1696 -1651
  83. package/dist/index.js.map +1 -1
  84. package/jest.config.js +5 -15
  85. package/package.json +1 -1
  86. package/test/Camera.test.ts +18 -8
  87. package/test/CameraSettings.test.ts +340 -341
  88. package/test/ProxyRegistration.test.ts +6 -7
  89. package/test/ZoomSwitchControl.test.ts +100 -100
  90. package/test/generated/CoreProxyAdapter.test.ts +4 -7
@@ -1,8 +1,8 @@
1
- import { Serializeable } from "../serializable";
2
- import { SizeWithUnit } from "./SizeWithUnit";
3
- import { SizeWithAspect } from "./SizeWithAspect";
4
- import { SizingMode } from "./SizingMode";
5
- import { NumberWithUnitJSON } from "./NumberWithUnit";
1
+ import { Serializeable } from '../serializable';
2
+ import { SizeWithUnit } from './SizeWithUnit';
3
+ import { SizeWithAspect } from './SizeWithAspect';
4
+ import { SizingMode } from './SizingMode';
5
+ import { NumberWithUnitJSON } from './NumberWithUnit';
6
6
  export interface SizeWithUnitAndAspectJSON {
7
7
  width?: NumberWithUnitJSON;
8
8
  height?: NumberWithUnitJSON;
@@ -1,55 +1,57 @@
1
- export { FontFamily } from "./FontFamily";
2
- export { TextAlignment } from "./TextAlignment";
3
- export { Point } from "./Point";
4
- export { Quadrilateral } from "./Quadrilateral";
5
- export { NumberWithUnit } from "./NumberWithUnit";
6
- export { PointWithUnit } from "./PointWithUnit";
7
- export { Rect } from "./Rect";
8
- export { RectWithUnit } from "./RectWithUnit";
9
- export { ScanditIcon } from "./ScanditIcon";
10
- export { ScanditIconBuilder } from "./ScanditIconBuilder";
11
- export { ScanditIconShape } from "./ScanditIconShape";
12
- export { ScanditIconType } from "./ScanditIconType";
13
- export { Size } from "./Size";
14
- export { SizeWithAspect } from "./SizeWithAspect";
15
- export { SizeWithUnit } from "./SizeWithUnit";
16
- export { SizeWithUnitAndAspect } from "./SizeWithUnitAndAspect";
17
- export { MarginsWithUnit } from "./MarginsWithUnit";
18
- export { Color } from "./Color";
19
- export { Brush } from "./Brush";
20
- export { Anchor } from "./Anchor";
21
- export { MeasureUnit } from "./MeasureUnit";
22
- export { SizingMode } from "./SizingMode";
23
- export { Orientation } from "./Orientation";
24
- export { Direction } from "./Direction";
25
- export { ScanIntention } from "./ScanIntention";
26
- export * from "./Payload";
27
- export { Observable, PropertyChangeListener } from "./Observable";
28
- export * from "./FontFamily";
29
- export * from "./TextAlignment";
30
- export * from "./Point";
31
- export * from "./Quadrilateral";
32
- export * from "./NumberWithUnit";
33
- export * from "./PointWithUnit";
34
- export * from "./Rect";
35
- export * from "./RectWithUnit";
36
- export * from "./ScanditIcon";
37
- export * from "./Size";
38
- export * from "./SizeWithAspect";
39
- export * from "./SizeWithUnit";
40
- export * from "./SizeWithUnitAndAspect";
41
- export * from "./MarginsWithUnit";
42
- export * from "./Color";
43
- export * from "./Brush";
44
- export * from "./Anchor";
45
- export * from "./MeasureUnit";
46
- export * from "./SizingMode";
47
- export * from "./Orientation";
48
- export * from "./Direction";
49
- export * from "./Anchor";
50
- export * from "./MeasureUnit";
51
- export * from "./SizingMode";
52
- export * from "./Orientation";
53
- export * from "./Direction";
54
- export * from "./ScanIntention";
55
- export * from "./HtmlElementState";
1
+ export { FontFamily } from './FontFamily';
2
+ export { TextAlignment } from './TextAlignment';
3
+ export { Point } from './Point';
4
+ export { Quadrilateral } from './Quadrilateral';
5
+ export { NumberWithUnit } from './NumberWithUnit';
6
+ export { PointWithUnit } from './PointWithUnit';
7
+ export { Rect } from './Rect';
8
+ export { RectWithUnit } from './RectWithUnit';
9
+ export { ScanditIcon } from './ScanditIcon';
10
+ export { ScanditIconBuilder } from './ScanditIconBuilder';
11
+ export { ScanditIconShape } from './ScanditIconShape';
12
+ export { ScanditIconType } from './ScanditIconType';
13
+ export { Size } from './Size';
14
+ export { SizeWithAspect } from './SizeWithAspect';
15
+ export { SizeWithUnit } from './SizeWithUnit';
16
+ export { SizeWithUnitAndAspect } from './SizeWithUnitAndAspect';
17
+ export { MarginsWithUnit } from './MarginsWithUnit';
18
+ export { Color } from './Color';
19
+ export { Brush } from './Brush';
20
+ export { Anchor } from './Anchor';
21
+ export { MeasureUnit } from './MeasureUnit';
22
+ export { SizingMode } from './SizingMode';
23
+ export { Orientation } from './Orientation';
24
+ export { Direction } from './Direction';
25
+ export { ScanIntention } from './ScanIntention';
26
+ export { SelectionMode } from './SelectionMode';
27
+ export * from './Payload';
28
+ export { Observable, PropertyChangeListener } from './Observable';
29
+ export * from './FontFamily';
30
+ export * from './TextAlignment';
31
+ export * from './Point';
32
+ export * from './Quadrilateral';
33
+ export * from './NumberWithUnit';
34
+ export * from './PointWithUnit';
35
+ export * from './Rect';
36
+ export * from './RectWithUnit';
37
+ export * from './ScanditIcon';
38
+ export * from './Size';
39
+ export * from './SizeWithAspect';
40
+ export * from './SizeWithUnit';
41
+ export * from './SizeWithUnitAndAspect';
42
+ export * from './MarginsWithUnit';
43
+ export * from './Color';
44
+ export * from './Brush';
45
+ export * from './Anchor';
46
+ export * from './MeasureUnit';
47
+ export * from './SizingMode';
48
+ export * from './Orientation';
49
+ export * from './Direction';
50
+ export * from './Anchor';
51
+ export * from './MeasureUnit';
52
+ export * from './SizingMode';
53
+ export * from './Orientation';
54
+ export * from './Direction';
55
+ export * from './ScanIntention';
56
+ export * from './SelectionMode';
57
+ export * from './HtmlElementState';
@@ -1,4 +1,4 @@
1
- import { DataCaptureContext } from "./DataCaptureContext";
1
+ import { DataCaptureContext } from './DataCaptureContext';
2
2
  export interface DataCaptureComponent {
3
3
  readonly id: string;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { ContextStatus } from "./ContextStatus";
2
- import { DataCaptureContext } from "./DataCaptureContext";
1
+ import { ContextStatus } from './ContextStatus';
2
+ import { DataCaptureContext } from './DataCaptureContext';
3
3
  export interface DataCaptureContextListener {
4
4
  didChangeStatus?(context: DataCaptureContext, contextStatus: ContextStatus): void;
5
5
  didStartObservingContext?(context: DataCaptureContext): void;
@@ -1,6 +1,6 @@
1
- import { DefaultSerializeable } from "../serializable";
2
- import { FrameDataSettings } from "../frame/FrameDataSettings";
3
- import { FrameDataSettingsBuilder } from "../frame/FrameDataSettingsBuilder";
1
+ import { DefaultSerializeable } from '../serializable';
2
+ import { FrameDataSettings } from '../frame/FrameDataSettings';
3
+ import { FrameDataSettingsBuilder } from '../frame/FrameDataSettingsBuilder';
4
4
  export declare class DataCaptureContextSettings extends DefaultSerializeable {
5
5
  private _frameSettings;
6
6
  constructor();
@@ -1,5 +1,5 @@
1
- import { Serializeable } from "../serializable";
2
- import { DataCaptureContext } from "./DataCaptureContext";
1
+ import { Serializeable } from '../serializable';
2
+ import { DataCaptureContext } from './DataCaptureContext';
3
3
  export interface DataCaptureMode extends Serializeable {
4
4
  isEnabled: boolean;
5
5
  readonly context: DataCaptureContext | null;
@@ -1,12 +1,12 @@
1
- export { ContextStatus } from "./ContextStatus";
2
- export { DataCaptureComponent, PrivateDataCaptureComponent } from "./DataCaptureComponent";
3
- export { DataCaptureContextCreationOptions } from "./DataCaptureContextCreationOptions";
4
- export { DataCaptureContextSettings } from "./DataCaptureContextSettings";
5
- export { DataCaptureContext } from "./DataCaptureContext";
6
- export { DataCaptureContextProxy, DataCaptureContextEvents } from "./controller/DataCaptureContextController";
7
- export { DataCaptureMode } from "./DataCaptureMode";
8
- export { DataCaptureContextListener } from "./DataCaptureContextListener";
9
- export { PrivateContextStatus } from "./ContextStatus";
10
- export { PrivateDataCaptureContext } from "./DataCaptureContext";
11
- export { PrivateDataCaptureMode } from "./DataCaptureMode";
12
- export { OpenSourceSoftwareLicenseInfo } from "./OpenSourceSoftwareLicenseInfo";
1
+ export { ContextStatus } from './ContextStatus';
2
+ export { DataCaptureComponent, PrivateDataCaptureComponent } from './DataCaptureComponent';
3
+ export { DataCaptureContextCreationOptions } from './DataCaptureContextCreationOptions';
4
+ export { DataCaptureContextSettings } from './DataCaptureContextSettings';
5
+ export { DataCaptureContext } from './DataCaptureContext';
6
+ export { DataCaptureContextProxy, DataCaptureContextEvents } from './controller/DataCaptureContextController';
7
+ export { DataCaptureMode } from './DataCaptureMode';
8
+ export { DataCaptureContextListener } from './DataCaptureContextListener';
9
+ export { PrivateContextStatus } from './ContextStatus';
10
+ export { PrivateDataCaptureContext } from './DataCaptureContext';
11
+ export { PrivateDataCaptureMode } from './DataCaptureMode';
12
+ export { OpenSourceSoftwareLicenseInfo } from './OpenSourceSoftwareLicenseInfo';
@@ -1 +1 @@
1
- export * from "./BaseController";
1
+ export * from './BaseController';
@@ -1,7 +1,16 @@
1
- import { FocusGesture, FocusGestureStrategy, FocusRange, LogoStyle, MacroMode, VideoResolution, ZoomGesture, ZoomSwitchOrientation } from '../camera';
2
- import { CameraPosition } from '../camerahelpers';
1
+ import { FocusGesture } from '../camera/FocusGesture';
2
+ import { FocusGestureStrategy } from '../camera/FocusGestureStrategy';
3
+ import { FocusRange } from '../camera/FocusRange';
4
+ import { LogoStyle } from '../camera/LogoStyle';
5
+ import { MacroMode } from '../camera/MacroMode';
6
+ import { VideoResolution } from '../camera/VideoResolution';
7
+ import { ZoomGesture } from '../camera/ZoomGesture';
8
+ import { ZoomSwitchOrientation } from '../camera/ZoomSwitchOrientation';
9
+ import { CameraPosition } from '../camerahelpers/CameraPosition';
3
10
  import { Anchor, Brush, Color, MarginsWithUnit, NumberWithUnit, PointWithUnit, SizeWithUnitAndAspect } from '../common';
4
- import { RectangularViewfinderAnimation, RectangularViewfinderLineStyle, RectangularViewfinderStyle } from '../viewfinder';
11
+ import { RectangularViewfinderAnimation } from '../viewfinder/RectangularViewfinderAnimation';
12
+ import { RectangularViewfinderLineStyle } from '../viewfinder/RectangularViewfinderLineStyle';
13
+ import { RectangularViewfinderStyle } from '../viewfinder/RectangularViewfinderStyle';
5
14
  export interface CameraSettingsDefaults {
6
15
  preferredResolution: VideoResolution;
7
16
  zoomFactor: number;
@@ -1,3 +1,3 @@
1
- export { CoreDefaults } from "./CoreDefaults";
2
- export { getCoreDefaults } from "./getCoreDefaults";
3
- export { setCoreDefaultsLoader, ensureCoreDefaults } from "./loadCoreDefaults";
1
+ export { CoreDefaults } from './CoreDefaults';
2
+ export { getCoreDefaults } from './getCoreDefaults';
3
+ export { setCoreDefaultsLoader, ensureCoreDefaults } from './loadCoreDefaults';
@@ -1,4 +1,4 @@
1
- import { CoreDefaults } from "./CoreDefaults";
1
+ import { CoreDefaults } from './CoreDefaults';
2
2
  export declare function setCoreDefaultsLoader(loader: () => void): void;
3
3
  export declare function ensureCoreDefaults(): CoreDefaults;
4
4
  export declare function loadCoreDefaults(jsonDefaults: unknown): void;
@@ -1,4 +1,4 @@
1
- import { DefaultSerializeable } from "../serializable";
1
+ import { DefaultSerializeable } from '../serializable';
2
2
  export interface SoundJSON {
3
3
  resource: string | null;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { DefaultSerializeable } from "../serializable";
2
- import { VibrationType } from "./VibrationType";
1
+ import { DefaultSerializeable } from '../serializable';
2
+ import { VibrationType } from './VibrationType';
3
3
  export interface VibrationJSON {
4
4
  type: string;
5
5
  timings: number[] | null;
@@ -13,6 +13,7 @@ export declare class Vibration extends DefaultSerializeable {
13
13
  static get defaultVibration(): Vibration;
14
14
  static get selectionHapticFeedback(): Vibration;
15
15
  static get successHapticFeedback(): Vibration;
16
+ static get failureHapticFeedback(): Vibration;
16
17
  static get impactHapticFeedback(): Vibration;
17
18
  private static fromJSON;
18
19
  protected constructor(type: VibrationType);
@@ -2,6 +2,7 @@ export declare enum VibrationType {
2
2
  default = "default",
3
3
  selectionHaptic = "selectionHaptic",
4
4
  successHaptic = "successHaptic",
5
+ failureHaptic = "failureHaptic",
5
6
  waveForm = "waveForm",
6
7
  impactHaptic = "impactHaptic"
7
8
  }
@@ -1,7 +1,7 @@
1
- export { Vibration, WaveFormVibration } from "./Vibration";
2
- export { VibrationType } from "./VibrationType";
3
- export { Sound } from "./Sound";
4
- export { Feedback } from "./Feedback";
5
- export { VibrationJSON, PrivateVibration } from "./Vibration";
6
- export { SoundJSON, PrivateSound } from "./Sound";
7
- export { FeedbackJSON, PrivateFeedback } from "./Feedback";
1
+ export { Vibration, WaveFormVibration } from './Vibration';
2
+ export { VibrationType } from './VibrationType';
3
+ export { Sound } from './Sound';
4
+ export { Feedback } from './Feedback';
5
+ export { VibrationJSON, PrivateVibration } from './Vibration';
6
+ export { SoundJSON, PrivateSound } from './Sound';
7
+ export { FeedbackJSON, PrivateFeedback } from './Feedback';
@@ -1,4 +1,4 @@
1
- import { ImageBuffer, ImageBufferJSON } from "./ImageBuffer";
1
+ import { ImageBuffer, ImageBufferJSON } from './ImageBuffer';
2
2
  export interface FrameData {
3
3
  readonly imageBuffers: ImageBuffer[];
4
4
  readonly imageBuffer: ImageBuffer;
@@ -1,4 +1,4 @@
1
- import { FrameDataSettings } from "./FrameDataSettings";
1
+ import { FrameDataSettings } from './FrameDataSettings';
2
2
  export declare class FrameDataSettingsBuilder {
3
3
  private settings;
4
4
  constructor(settings: FrameDataSettings);
@@ -1,7 +1,7 @@
1
- import { Serializeable } from "../serializable";
2
- import { FrameSourceState } from "./FrameSourceState";
3
- import { FrameSourceListener } from "./FrameSourceListener";
4
- import { DataCaptureContext } from "../context/DataCaptureContext";
1
+ import { Serializeable } from '../serializable';
2
+ import { FrameSourceState } from './FrameSourceState';
3
+ import { FrameSourceListener } from './FrameSourceListener';
4
+ import { DataCaptureContext } from '../context/DataCaptureContext';
5
5
  export interface PrivateFrameSource {
6
6
  context: DataCaptureContext | null;
7
7
  setNativeFrameSourceIsBeingCreated(): void;
@@ -1,5 +1,5 @@
1
- import { FrameSourceState } from "./FrameSourceState";
2
- import { FrameSource } from "./FrameSource";
1
+ import { FrameSourceState } from './FrameSourceState';
2
+ import { FrameSource } from './FrameSource';
3
3
  export interface FrameSourceListener {
4
4
  didChangeState?(frameSource: FrameSource, newState: FrameSourceState): void;
5
5
  }
@@ -1,10 +1,10 @@
1
- import { DefaultSerializeable } from "../serializable";
2
- import { DataCaptureContext } from "../context";
3
- import { FrameSourceListener } from "./FrameSourceListener";
4
- import { FrameSourceState } from "./FrameSourceState";
5
- import { FrameSource } from "./FrameSource";
6
- import { ImageFrameSourceController } from "./ImageFrameSourceController";
7
- import { CameraPosition } from "../camerahelpers/CameraPosition";
1
+ import { DefaultSerializeable } from '../serializable';
2
+ import { DataCaptureContext } from '../context';
3
+ import { FrameSourceListener } from './FrameSourceListener';
4
+ import { FrameSourceState } from './FrameSourceState';
5
+ import { FrameSource } from './FrameSource';
6
+ import { ImageFrameSourceController } from './ImageFrameSourceController';
7
+ import { CameraPosition } from '../camerahelpers/CameraPosition';
8
8
  export interface ImageFrameSourceJSON {
9
9
  image: string;
10
10
  }
@@ -38,4 +38,5 @@ export declare class ImageFrameSource extends DefaultSerializeable implements Fr
38
38
  removeListener(listener: FrameSourceListener | null): void;
39
39
  getCurrentState(): Promise<FrameSourceState>;
40
40
  private didChange;
41
+ private setNativeFrameSourceIsBeingCreated;
41
42
  }
@@ -1,4 +1,4 @@
1
- import { MacroMode } from "../camera/MacroMode";
1
+ import { MacroMode } from '../camera/MacroMode';
2
2
  export interface MacroModeListener {
3
3
  didChangeMacroMode?(macroMode: MacroMode): void;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { TorchState } from "../camera/TorchState";
1
+ import { TorchState } from '../camera/TorchState';
2
2
  export interface TorchListener {
3
3
  didChangeTorchToState?(state: TorchState): void;
4
4
  }
@@ -1,13 +1,13 @@
1
- export { FrameSource } from "./FrameSource";
2
- export { FrameSourceListener } from "./FrameSourceListener";
3
- export { TorchListener } from "./TorchListener";
4
- export { MacroModeListener } from "./MacroModeListener";
5
- export { ZoomListener } from "./ZoomListener";
6
- export { FrameSourceState } from "./FrameSourceState";
7
- export { FrameData } from "./FrameData";
8
- export { ImageBuffer } from "./ImageBuffer";
9
- export { FrameDataSettings } from "./FrameDataSettings";
10
- export { FrameDataSettingsBuilder } from "./FrameDataSettingsBuilder";
11
- export { ImageFrameSource } from "./ImageFrameSource";
12
- export { PrivateImageBuffer, ImageBufferJSON } from "./ImageBuffer";
13
- export { PrivateFrameData, FrameDataJSON } from "./FrameData";
1
+ export { FrameSource } from './FrameSource';
2
+ export { FrameSourceListener } from './FrameSourceListener';
3
+ export { TorchListener } from './TorchListener';
4
+ export { MacroModeListener } from './MacroModeListener';
5
+ export { ZoomListener } from './ZoomListener';
6
+ export { FrameSourceState } from './FrameSourceState';
7
+ export { FrameData } from './FrameData';
8
+ export { ImageBuffer } from './ImageBuffer';
9
+ export { FrameDataSettings } from './FrameDataSettings';
10
+ export { FrameDataSettingsBuilder } from './FrameDataSettingsBuilder';
11
+ export { ImageFrameSource } from './ImageFrameSource';
12
+ export { PrivateImageBuffer, ImageBufferJSON } from './ImageBuffer';
13
+ export { PrivateFrameData, FrameDataJSON } from './FrameData';
@@ -1 +1 @@
1
- export * from "./Helpers";
1
+ export * from './Helpers';
@@ -1,6 +1,6 @@
1
- import { DefaultSerializeable } from "../serializable";
2
- import { LocationSelection } from "./LocationSelection";
3
- import { NumberWithUnit, NumberWithUnitJSON } from "../common";
1
+ import { DefaultSerializeable } from '../serializable';
2
+ import { LocationSelection } from './LocationSelection';
3
+ import { NumberWithUnit, NumberWithUnitJSON } from '../common';
4
4
  export interface RadiusLocationSelectionJSON {
5
5
  radius: NumberWithUnitJSON;
6
6
  }
@@ -1,6 +1,6 @@
1
- import { DefaultSerializeable } from "../serializable";
2
- import { LocationSelection } from "./LocationSelection";
3
- import { NumberWithUnit, SizeWithUnit, SizeWithUnitAndAspect, SizeWithUnitAndAspectJSON } from "../common";
1
+ import { DefaultSerializeable } from '../serializable';
2
+ import { LocationSelection } from './LocationSelection';
3
+ import { NumberWithUnit, SizeWithUnit, SizeWithUnitAndAspect, SizeWithUnitAndAspectJSON } from '../common';
4
4
  export interface RectangularLocationSelectionJSON {
5
5
  aspect: SizeWithUnitAndAspectJSON;
6
6
  }
@@ -1,6 +1,6 @@
1
- export { LocationSelection } from "./LocationSelection";
2
- export { NoneLocationSelection } from "./NoneLocationSelection";
3
- export { RadiusLocationSelection } from "./RadiusLocationSelection";
4
- export { RectangularLocationSelection } from "./RectangularLocationSelection";
5
- export { PrivateRadiusLocationSelection, RadiusLocationSelectionJSON } from "./RadiusLocationSelection";
6
- export { PrivateRectangularLocationSelection, RectangularLocationSelectionJSON } from "./RectangularLocationSelection";
1
+ export { LocationSelection } from './LocationSelection';
2
+ export { NoneLocationSelection } from './NoneLocationSelection';
3
+ export { RadiusLocationSelection } from './RadiusLocationSelection';
4
+ export { RectangularLocationSelection } from './RectangularLocationSelection';
5
+ export { PrivateRadiusLocationSelection, RadiusLocationSelectionJSON } from './RadiusLocationSelection';
6
+ export { PrivateRectangularLocationSelection, RectangularLocationSelectionJSON } from './RectangularLocationSelection';
@@ -1,5 +1,5 @@
1
- import EventEmitter from "eventemitter3";
2
- import { NativeCaller } from "./NativeCaller";
1
+ import EventEmitter from 'eventemitter3';
2
+ import { NativeCaller } from './NativeCaller';
3
3
  export declare class NativeProxy {
4
4
  eventEmitter: EventEmitter;
5
5
  protected nativeCaller: NativeCaller;
@@ -1,5 +1,5 @@
1
- export { ProxyEvent } from "./ProxyEvent";
2
- export { NativeCaller } from "./NativeCaller";
3
- export { NativeProxy, createNativeProxy } from "./NativeProxy";
4
- export { BaseProxy } from "./BaseProxy";
5
- export { NativeCallerProvider, registerProxies } from "./ProxyRegistration";
1
+ export { ProxyEvent } from './ProxyEvent';
2
+ export { NativeCaller } from './NativeCaller';
3
+ export { NativeProxy, createNativeProxy } from './NativeProxy';
4
+ export { BaseProxy } from './BaseProxy';
5
+ export { NativeCallerProvider, registerProxies } from './ProxyRegistration';
@@ -1,5 +1,5 @@
1
1
  import { NativeCallerProvider } from './proxies/ProxyRegistration';
2
2
  export declare const CORE_PROXY_TYPE_NAMES: readonly ["CoreProxy", "DataCaptureViewProxy", "DataCaptureContextProxy"];
3
- export type CoreProxyType = typeof CORE_PROXY_TYPE_NAMES[number];
3
+ export type CoreProxyType = (typeof CORE_PROXY_TYPE_NAMES)[number];
4
4
  export interface CoreNativeCallerProvider extends NativeCallerProvider<CoreProxyType> {
5
5
  }
@@ -1,4 +1,4 @@
1
- import { Serializeable } from "./Serializable";
1
+ import { Serializeable } from './Serializable';
2
2
  export declare class DefaultSerializeable implements Serializeable {
3
3
  toJSON(): object;
4
4
  }
@@ -1,7 +1,7 @@
1
- export { Serializeable } from "./Serializable";
2
- export { StringSerializeable } from "./StringSerializable";
3
- export { ignoreFromSerialization } from "./ignoreFromSerialization";
4
- export { nameForSerialization } from "./nameForSerialization";
5
- export { ignoreFromSerializationIfNull } from "./ignoreFromSerializationIfNull";
6
- export { serializationDefault } from "./serializationDefault";
7
- export { DefaultSerializeable } from "./DefaultSerializable";
1
+ export { Serializeable } from './Serializable';
2
+ export { StringSerializeable } from './StringSerializable';
3
+ export { ignoreFromSerialization } from './ignoreFromSerialization';
4
+ export { nameForSerialization } from './nameForSerialization';
5
+ export { ignoreFromSerializationIfNull } from './ignoreFromSerializationIfNull';
6
+ export { serializationDefault } from './serializationDefault';
7
+ export { DefaultSerializeable } from './DefaultSerializable';
@@ -1,5 +1,5 @@
1
- import { BaseDataCaptureView } from "./DataCaptureView";
2
- import { Anchor, PointWithUnit } from "../common";
1
+ import { BaseDataCaptureView } from './DataCaptureView';
2
+ import { Anchor, PointWithUnit } from '../common';
3
3
  export interface Control {
4
4
  }
5
5
  export interface PrivateControl {
@@ -1,4 +1,4 @@
1
- import { DefaultSerializeable } from "../serializable";
1
+ import { DefaultSerializeable } from '../serializable';
2
2
  export declare class ControlImage extends DefaultSerializeable {
3
3
  private type;
4
4
  private _data;
@@ -1,5 +1,5 @@
1
- import { Serializeable } from "../serializable";
2
- import { BaseDataCaptureView } from "./DataCaptureView";
1
+ import { Serializeable } from '../serializable';
2
+ import { BaseDataCaptureView } from './DataCaptureView';
3
3
  export interface DataCaptureOverlay extends Serializeable {
4
4
  }
5
5
  export interface PrivateDataCaptureOverlay {
@@ -1,9 +1,9 @@
1
- import { Point, Quadrilateral, PointWithUnit } from "../common";
2
- import { BaseDataCaptureView } from "./DataCaptureView";
3
- import { BaseController } from "../controllers/BaseController";
4
- import { CoreProxy } from "../generated";
5
- import { FocusGesture } from "../camera";
6
- import { ZoomGesture } from "../camera";
1
+ import { Point, Quadrilateral, PointWithUnit } from '../common';
2
+ import { BaseDataCaptureView } from './DataCaptureView';
3
+ import { BaseController } from '../controllers/BaseController';
4
+ import { CoreProxy } from '../generated';
5
+ import { FocusGesture } from '../camera';
6
+ import { ZoomGesture } from '../camera';
7
7
  export interface DataCaptureViewProxy extends CoreProxy {
8
8
  $showDataCaptureView({ viewId }: {
9
9
  viewId: number;
@@ -17,7 +17,7 @@ export interface DataCaptureViewProxy extends CoreProxy {
17
17
  $removeDataCaptureView({ viewId }: {
18
18
  viewId: number;
19
19
  }): Promise<void>;
20
- $setDataCaptureViewPositionAndSize({ top, left, width, height, shouldBeUnderWebView }: {
20
+ $setDataCaptureViewPositionAndSize({ top, left, width, height, shouldBeUnderWebView, }: {
21
21
  top: number;
22
22
  left: number;
23
23
  width: number;
@@ -1,5 +1,5 @@
1
- import { Orientation, Size } from "../common";
2
- import { DataCaptureView } from "./DataCaptureView";
1
+ import { Orientation, Size } from '../common';
2
+ import { DataCaptureView } from './DataCaptureView';
3
3
  export interface DataCaptureViewListener {
4
4
  didChangeSize?(view: DataCaptureView, size: Size, orientation: Orientation): void;
5
5
  }
@@ -1,7 +1,7 @@
1
- export * from "./Control";
2
- export * from "./ControlImage";
3
- export * from "./DataCaptureOverlay";
4
- export * from "./DataCaptureViewListener";
5
- export * from "./DataCaptureView";
6
- export * from "./DataCaptureViewController";
7
- export * from "../camerahelpers/CameraOwner";
1
+ export * from './Control';
2
+ export * from './ControlImage';
3
+ export * from './DataCaptureOverlay';
4
+ export * from './DataCaptureViewListener';
5
+ export * from './DataCaptureView';
6
+ export * from './DataCaptureViewController';
7
+ export * from '../camerahelpers/CameraOwner';
@@ -1,6 +1,6 @@
1
- import { Color } from "../common";
2
- import { DefaultSerializeable } from "../serializable";
3
- import { Viewfinder } from "./Viewfinder";
1
+ import { Color } from '../common';
2
+ import { DefaultSerializeable } from '../serializable';
3
+ import { Viewfinder } from './Viewfinder';
4
4
  export declare class AimerViewfinder extends DefaultSerializeable implements Viewfinder {
5
5
  frameColor: Color;
6
6
  dotColor: Color;
@@ -1,6 +1,6 @@
1
- import { NumberWithUnit, Color } from "../common";
2
- import { DefaultSerializeable } from "../serializable";
3
- import { Viewfinder } from "./Viewfinder";
1
+ import { NumberWithUnit, Color } from '../common';
2
+ import { DefaultSerializeable } from '../serializable';
3
+ import { Viewfinder } from './Viewfinder';
4
4
  export declare class LaserlineViewfinder extends DefaultSerializeable implements Viewfinder {
5
5
  width: NumberWithUnit;
6
6
  enabledColor: Color;
@@ -1,4 +1,4 @@
1
- import { DefaultSerializeable } from "../serializable";
1
+ import { DefaultSerializeable } from '../serializable';
2
2
  export interface RectangularViewfinderAnimationJSON {
3
3
  readonly looping: boolean;
4
4
  }