@thegrizzlylabs/react-native-genius-scan 6.0.0-beta05 → 6.0.0-beta07

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 (63) hide show
  1. package/android/build.gradle +1 -1
  2. package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -5
  3. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
  4. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +3 -3
  5. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
  6. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +1730 -180
  7. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +34 -0
  8. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +34 -0
  10. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
  11. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
  12. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
  13. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
  14. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
  15. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
  16. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
  17. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
  18. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
  19. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
  20. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
  21. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
  22. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
  23. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
  24. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
  25. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
  26. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
  27. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
  28. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
  29. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
  30. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
  31. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
  32. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +6 -6
  33. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
  34. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1730 -180
  35. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +34 -0
  36. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  37. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +34 -0
  38. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1730 -180
  39. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +34 -0
  40. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  41. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +34 -0
  42. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
  43. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
  44. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
  45. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
  46. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
  47. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
  48. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
  49. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
  50. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
  51. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
  52. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
  53. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
  54. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
  55. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
  56. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
  57. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
  58. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
  59. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
  60. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
  61. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
  62. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
  63. package/package.json +1 -1
@@ -121,6 +121,24 @@ extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
121
121
  get
122
122
  }
123
123
  }
124
+ extension GSSDK.GSKCameraViewController {
125
+ public enum CameraEvent {
126
+ case didFail(any Swift.Error)
127
+ case didEncounterNonCriticalError(any Swift.Error)
128
+ case didStart
129
+ case didStop
130
+ case wasInterrupted(GSSDK.GSKCameraViewController.InterruptionReason)
131
+ case interruptionDidEnd
132
+ case isSearchingForDocument
133
+ case didFindDocument(GSSDK.GSKQuadrangle)
134
+ case failedToFindDocument
135
+ case photoStabilizationDidStart
136
+ case willSnapPhoto(GSSDK.GSKQuadrangle)
137
+ case didSnapPhoto
138
+ case didGenerateScan(GSSDK.GSKScan)
139
+ case didFindBarcodes([GSSDK.GSKBarcode])
140
+ }
141
+ }
124
142
  extension GSSDK.GSKCameraViewController {
125
143
  public struct Configuration {
126
144
  public struct DocumentDetection {
@@ -199,6 +217,7 @@ extension GSSDK.GSKCameraViewController {
199
217
  get
200
218
  }
201
219
  @_Concurrency.MainActor @preconcurrency weak public var delegate: (any GSSDK.GSKCameraViewControllerDelegate)?
220
+ @_Concurrency.MainActor public var onEvent: ((GSSDK.GSKCameraViewController.CameraEvent) -> Swift.Void)?
202
221
  @_Concurrency.MainActor @preconcurrency public var supportsFlash: Swift.Bool {
203
222
  get
204
223
  }
@@ -686,13 +705,24 @@ public enum GSSDKStrings {
686
705
  public static let capture: Swift.String
687
706
  public static let changeFilter: Swift.String
688
707
  public static let crop: Swift.String
708
+ public static let delete: Swift.String
689
709
  public static let discard: Swift.String
690
710
  public static let distortionCorrection: Swift.String
691
711
  public static let done: Swift.String
692
712
  public static let next: Swift.String
693
713
  public static let photoLibrary: Swift.String
714
+ public static let recrop: Swift.String
694
715
  public static let retry: Swift.String
695
716
  public static let rotateLeft: Swift.String
717
+ public enum ChangeFilter {
718
+ public static let short: Swift.String
719
+ }
720
+ public enum DistortionCorrection {
721
+ public static let short: Swift.String
722
+ }
723
+ public enum RotateLeft {
724
+ public static let short: Swift.String
725
+ }
696
726
  }
697
727
  public enum Crop {
698
728
  public static let detect: Swift.String
@@ -731,6 +761,9 @@ public enum GSSDKStrings {
731
761
  public static let cancel: Swift.String
732
762
  public static func confirmCancellation(_ p1: Swift.Int) -> Swift.String
733
763
  public static func done(_ p1: Swift.Int) -> Swift.String
764
+ public static let keep: Swift.String
765
+ public static func pageOrder(_ p1: Swift.Int, _ p2: Swift.Int) -> Swift.String
766
+ public static let retake: Swift.String
734
767
  public enum ConfirmCancellation {
735
768
  public static let keepScanning: Swift.String
736
769
  }
@@ -746,6 +779,7 @@ public enum GSSDKStrings {
746
779
  }
747
780
  public enum UserGuidance {
748
781
  public static let documentFound: Swift.String
782
+ public static let dragPages: Swift.String
749
783
  public static let readability: Swift.String
750
784
  public static let searching: Swift.String
751
785
  }
@@ -121,6 +121,24 @@ extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
121
121
  get
122
122
  }
123
123
  }
124
+ extension GSSDK.GSKCameraViewController {
125
+ public enum CameraEvent {
126
+ case didFail(any Swift.Error)
127
+ case didEncounterNonCriticalError(any Swift.Error)
128
+ case didStart
129
+ case didStop
130
+ case wasInterrupted(GSSDK.GSKCameraViewController.InterruptionReason)
131
+ case interruptionDidEnd
132
+ case isSearchingForDocument
133
+ case didFindDocument(GSSDK.GSKQuadrangle)
134
+ case failedToFindDocument
135
+ case photoStabilizationDidStart
136
+ case willSnapPhoto(GSSDK.GSKQuadrangle)
137
+ case didSnapPhoto
138
+ case didGenerateScan(GSSDK.GSKScan)
139
+ case didFindBarcodes([GSSDK.GSKBarcode])
140
+ }
141
+ }
124
142
  extension GSSDK.GSKCameraViewController {
125
143
  public struct Configuration {
126
144
  public struct DocumentDetection {
@@ -199,6 +217,7 @@ extension GSSDK.GSKCameraViewController {
199
217
  get
200
218
  }
201
219
  @_Concurrency.MainActor @preconcurrency weak public var delegate: (any GSSDK.GSKCameraViewControllerDelegate)?
220
+ @_Concurrency.MainActor public var onEvent: ((GSSDK.GSKCameraViewController.CameraEvent) -> Swift.Void)?
202
221
  @_Concurrency.MainActor @preconcurrency public var supportsFlash: Swift.Bool {
203
222
  get
204
223
  }
@@ -686,13 +705,24 @@ public enum GSSDKStrings {
686
705
  public static let capture: Swift.String
687
706
  public static let changeFilter: Swift.String
688
707
  public static let crop: Swift.String
708
+ public static let delete: Swift.String
689
709
  public static let discard: Swift.String
690
710
  public static let distortionCorrection: Swift.String
691
711
  public static let done: Swift.String
692
712
  public static let next: Swift.String
693
713
  public static let photoLibrary: Swift.String
714
+ public static let recrop: Swift.String
694
715
  public static let retry: Swift.String
695
716
  public static let rotateLeft: Swift.String
717
+ public enum ChangeFilter {
718
+ public static let short: Swift.String
719
+ }
720
+ public enum DistortionCorrection {
721
+ public static let short: Swift.String
722
+ }
723
+ public enum RotateLeft {
724
+ public static let short: Swift.String
725
+ }
696
726
  }
697
727
  public enum Crop {
698
728
  public static let detect: Swift.String
@@ -731,6 +761,9 @@ public enum GSSDKStrings {
731
761
  public static let cancel: Swift.String
732
762
  public static func confirmCancellation(_ p1: Swift.Int) -> Swift.String
733
763
  public static func done(_ p1: Swift.Int) -> Swift.String
764
+ public static let keep: Swift.String
765
+ public static func pageOrder(_ p1: Swift.Int, _ p2: Swift.Int) -> Swift.String
766
+ public static let retake: Swift.String
734
767
  public enum ConfirmCancellation {
735
768
  public static let keepScanning: Swift.String
736
769
  }
@@ -746,6 +779,7 @@ public enum GSSDKStrings {
746
779
  }
747
780
  public enum UserGuidance {
748
781
  public static let documentFound: Swift.String
782
+ public static let dragPages: Swift.String
749
783
  public static let readability: Swift.String
750
784
  public static let searching: Swift.String
751
785
  }
@@ -867,7 +867,7 @@ SWIFT_PROTOCOL("_TtP5GSSDK25GSKDocumentImageProcessor_")
867
867
  /// A view controller that displays a scanned image with an interactive quadrangle overlay
868
868
  /// for manual cropping and perspective adjustment.
869
869
  /// <code>GSKEditFrameViewController</code> presents an image and allows the user to refine the detected
870
- /// document boundaries by dragging the quadrangle’s corner handles. As the user edits the
870
+ /// document boundaries by dragging the quadrangle’s corner and side handles. As the user edits the
871
871
  /// quadrangle, changes are reflected in the <code>quadrangle</code> property, which is Key-Value
872
872
  /// Observing (KVO) compliant.
873
873
  /// The overlay’s appearance—including colors, handle size, transparency, and magnifier
@@ -891,11 +891,11 @@ SWIFT_CLASS("_TtC5GSSDK26GSKEditFrameViewController")
891
891
  @property (nonatomic, strong) UIColor * _Nonnull outsideShadeColor;
892
892
  /// Customize the color of the line used to draw the quadrangle.
893
893
  @property (nonatomic, strong) UIColor * _Nonnull lineColor;
894
- /// Customize the width of the corner handles.
894
+ /// Customize the width of the frame handles.
895
895
  @property (nonatomic) CGFloat handleWidth;
896
896
  /// Customize the transparency of the entire overlay
897
897
  @property (nonatomic) CGFloat overlayAlpha;
898
- /// Customize the magnifier center style shown while dragging corners.
898
+ /// Customize the magnifier center style shown while dragging frame handles.
899
899
  @property (nonatomic) GSKMagnifierViewCenterStyle magnifierViewCenterStyle;
900
900
  /// \param image The image on which to draw the quadrangle. This is typically the original photo from the camera.
901
901
  ///
@@ -2592,7 +2592,7 @@ SWIFT_PROTOCOL("_TtP5GSSDK25GSKDocumentImageProcessor_")
2592
2592
  /// A view controller that displays a scanned image with an interactive quadrangle overlay
2593
2593
  /// for manual cropping and perspective adjustment.
2594
2594
  /// <code>GSKEditFrameViewController</code> presents an image and allows the user to refine the detected
2595
- /// document boundaries by dragging the quadrangle’s corner handles. As the user edits the
2595
+ /// document boundaries by dragging the quadrangle’s corner and side handles. As the user edits the
2596
2596
  /// quadrangle, changes are reflected in the <code>quadrangle</code> property, which is Key-Value
2597
2597
  /// Observing (KVO) compliant.
2598
2598
  /// The overlay’s appearance—including colors, handle size, transparency, and magnifier
@@ -2616,11 +2616,11 @@ SWIFT_CLASS("_TtC5GSSDK26GSKEditFrameViewController")
2616
2616
  @property (nonatomic, strong) UIColor * _Nonnull outsideShadeColor;
2617
2617
  /// Customize the color of the line used to draw the quadrangle.
2618
2618
  @property (nonatomic, strong) UIColor * _Nonnull lineColor;
2619
- /// Customize the width of the corner handles.
2619
+ /// Customize the width of the frame handles.
2620
2620
  @property (nonatomic) CGFloat handleWidth;
2621
2621
  /// Customize the transparency of the entire overlay
2622
2622
  @property (nonatomic) CGFloat overlayAlpha;
2623
- /// Customize the magnifier center style shown while dragging corners.
2623
+ /// Customize the magnifier center style shown while dragging frame handles.
2624
2624
  @property (nonatomic) GSKMagnifierViewCenterStyle magnifierViewCenterStyle;
2625
2625
  /// \param image The image on which to draw the quadrangle. This is typically the original photo from the camera.
2626
2626
  ///