react-native-attachment-kit 1.0.0 → 1.0.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 (34) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +11 -1
  3. package/android/src/main/libs/rnattachmentkit-release.aar +0 -0
  4. package/android/src/newarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +3 -0
  5. package/android/src/oldarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +3 -0
  6. package/ios/RNAttachmentKit.swift +16 -0
  7. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Assets.car +0 -0
  8. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Headers/RNAttachmentKit-Swift.h +38 -1
  9. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Info.plist +0 -0
  10. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.abi.json +7143 -1781
  11. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.private.swiftinterface +115 -0
  12. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  13. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftinterface +115 -0
  14. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  15. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
  16. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeResources +15 -15
  17. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeSignature +0 -0
  18. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Assets.car +0 -0
  19. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Headers/RNAttachmentKit-Swift.h +76 -2
  20. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Info.plist +0 -0
  21. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.abi.json +7143 -1781
  22. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +115 -0
  23. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  24. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +115 -0
  25. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +7143 -1781
  26. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +115 -0
  27. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  28. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +115 -0
  29. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  30. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
  31. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeResources +25 -25
  32. package/package.json +1 -1
  33. package/src/index.ts +45 -3
  34. package/src/types.ts +23 -0
@@ -4,15 +4,18 @@
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
5
5
  import AVFoundation
6
6
  import CoreImage
7
+ import CoreLocation
7
8
  import CoreText
8
9
  import CryptoKit
9
10
  import DeveloperToolsSupport
10
11
  import Foundation
11
12
  import ImageIO
13
+ import MapKit
12
14
  import Photos
13
15
  import Swift
14
16
  import SwiftUI
15
17
  import UIKit
18
+ import UniformTypeIdentifiers
16
19
  import _Concurrency
17
20
  import _StringProcessing
18
21
  import _SwiftConcurrencyShims
@@ -27,6 +30,21 @@ import _SwiftConcurrencyShims
27
30
  @_Concurrency.MainActor @preconcurrency public var profileCropTransitionDelegate: (any UIKit.UIViewControllerTransitioningDelegate)?
28
31
  @_Concurrency.MainActor @preconcurrency public var maxSelection: Swift.Int
29
32
  @_Concurrency.MainActor @preconcurrency public var forceMultiMode: Swift.Bool
33
+ @_Concurrency.MainActor @preconcurrency public var showsAttachMenu: Swift.Bool
34
+ @_Concurrency.MainActor @preconcurrency public var attachMenuTabs: [RNAttachmentKit.AttachMenuTab]
35
+ @_Concurrency.MainActor @preconcurrency public var onAttachMenuTabChanged: ((RNAttachmentKit.AttachMenuTab) -> Swift.Void)?
36
+ @_Concurrency.MainActor @preconcurrency public var selectedAttachTab: RNAttachmentKit.AttachMenuTab {
37
+ get
38
+ }
39
+ @_Concurrency.MainActor @preconcurrency public var attachMenuBar: RNAttachmentKit.AttachMenuBar {
40
+ get
41
+ }
42
+ @_Concurrency.MainActor @preconcurrency public var attachMenuBackdrop: RNAttachmentKit.AttachMenuBackdrop {
43
+ get
44
+ }
45
+ @_Concurrency.MainActor @preconcurrency public var onLocationSelected: ((RNAttachmentKit.AttachLocationResult) -> Swift.Void)?
46
+ @_Concurrency.MainActor @preconcurrency public var onFilesSelected: (([RNAttachmentKit.AttachFileResult]) -> Swift.Void)?
47
+ @_Concurrency.MainActor @preconcurrency public var allowsMultipleFiles: Swift.Bool
30
48
  @_Concurrency.MainActor @preconcurrency @objc dynamic public init()
31
49
  @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
32
50
  @_Concurrency.MainActor @preconcurrency public var maxWidth: Swift.Int
@@ -85,6 +103,100 @@ import _SwiftConcurrencyShims
85
103
  @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
86
104
  @objc deinit
87
105
  }
106
+ extension RNAttachmentKit.GalleryViewController : UIKit.UIGestureRecognizerDelegate {
107
+ @_Concurrency.MainActor @preconcurrency @objc final public func gestureRecognizer(_ gestureRecognizer: UIKit.UIGestureRecognizer, shouldReceive touch: UIKit.UITouch) -> Swift.Bool
108
+ }
109
+ extension RNAttachmentKit.GalleryBaseViewController : UIKit.UIDocumentPickerDelegate {
110
+ @_Concurrency.MainActor @preconcurrency @objc dynamic public func documentPicker(_ controller: UIKit.UIDocumentPickerViewController, didPickDocumentsAt urls: [Foundation.URL])
111
+ @_Concurrency.MainActor @preconcurrency @objc dynamic public func documentPickerWasCancelled(_ controller: UIKit.UIDocumentPickerViewController)
112
+ }
113
+ public enum AttachMenuTab : Swift.String, Swift.CaseIterable {
114
+ case gallery
115
+ case location
116
+ case file
117
+ public init?(rawValue: Swift.String)
118
+ public typealias AllCases = [RNAttachmentKit.AttachMenuTab]
119
+ public typealias RawValue = Swift.String
120
+ nonisolated public static var allCases: [RNAttachmentKit.AttachMenuTab] {
121
+ get
122
+ }
123
+ public var rawValue: Swift.String {
124
+ get
125
+ }
126
+ }
127
+ @objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class AttachMenuBar : UIKit.UIView {
128
+ @_Concurrency.MainActor @preconcurrency public static let barHeight: CoreFoundation.CGFloat
129
+ @_Concurrency.MainActor @preconcurrency public static let sinkIntoSafeArea: CoreFoundation.CGFloat
130
+ @_Concurrency.MainActor @preconcurrency public static let minBottomGap: CoreFoundation.CGFloat
131
+ @_Concurrency.MainActor @preconcurrency public static let sideMargin: CoreFoundation.CGFloat
132
+ @_Concurrency.MainActor @preconcurrency public static var usesNativeTabBar: Swift.Bool {
133
+ get
134
+ }
135
+ @_Concurrency.MainActor @preconcurrency public static var nativeContentHeight: CoreFoundation.CGFloat
136
+ @_Concurrency.MainActor @preconcurrency public static var nativeIconSize: CoreFoundation.CGFloat
137
+ @_Concurrency.MainActor @preconcurrency public static var nativeTitleSize: CoreFoundation.CGFloat
138
+ @_Concurrency.MainActor @preconcurrency public static var nativeTitleSpacing: CoreFoundation.CGFloat
139
+ @_Concurrency.MainActor @preconcurrency public static var nativeUsesClearGlass: Swift.Bool
140
+ @_Concurrency.MainActor @preconcurrency public static var nativeGlassTint: UIKit.UIColor?
141
+ @_Concurrency.MainActor @preconcurrency public static var nativeBackingPadding: CoreFoundation.CGFloat
142
+ @_Concurrency.MainActor @preconcurrency public static var reservedHeight: CoreFoundation.CGFloat {
143
+ get
144
+ }
145
+ @_Concurrency.MainActor @preconcurrency final public var onSelect: ((RNAttachmentKit.AttachMenuTab) -> Swift.Void)?
146
+ @_Concurrency.MainActor @preconcurrency final public var selectedTab: RNAttachmentKit.AttachMenuTab {
147
+ get
148
+ }
149
+ @_Concurrency.MainActor @preconcurrency final public let tabs: [RNAttachmentKit.AttachMenuTab]
150
+ @_Concurrency.MainActor @preconcurrency final public var blurIntensity: CoreFoundation.CGFloat {
151
+ get
152
+ set
153
+ }
154
+ @_Concurrency.MainActor @preconcurrency final public var tintAlpha: CoreFoundation.CGFloat {
155
+ get
156
+ set
157
+ }
158
+ @_Concurrency.MainActor @preconcurrency public init(tabs: [RNAttachmentKit.AttachMenuTab] = AttachMenuTab.allCases, selected: RNAttachmentKit.AttachMenuTab = .gallery, languageCode: Swift.String, accentColor: UIKit.UIColor)
159
+ @objc deinit
160
+ @_Concurrency.MainActor @preconcurrency @objc override final public func didMoveToWindow()
161
+ @_Concurrency.MainActor @preconcurrency final public func prepareNativeAppearance()
162
+ @_Concurrency.MainActor @preconcurrency @objc override final public func layoutSubviews()
163
+ @_Concurrency.MainActor @preconcurrency @objc override final public func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?)
164
+ @_Concurrency.MainActor @preconcurrency final public func select(_ tab: RNAttachmentKit.AttachMenuTab, animated: Swift.Bool, notify: Swift.Bool = false)
165
+ }
166
+ @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class AttachMenuBackdrop : UIKit.UIView {
167
+ @_Concurrency.MainActor @preconcurrency public static var blurIntensity: CoreFoundation.CGFloat
168
+ @_Concurrency.MainActor @preconcurrency public static var materialStyle: UIKit.UIBlurEffect.Style?
169
+ @_Concurrency.MainActor @preconcurrency public static var dimAlpha: CoreFoundation.CGFloat
170
+ @_Concurrency.MainActor @preconcurrency public static var fadeHeight: CoreFoundation.CGFloat
171
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
172
+ @objc deinit
173
+ @_Concurrency.MainActor @preconcurrency @objc override final public func layoutSubviews()
174
+ @_Concurrency.MainActor @preconcurrency @objc override final public func didMoveToWindow()
175
+ @_Concurrency.MainActor @preconcurrency @objc override final public func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?)
176
+ }
177
+ extension RNAttachmentKit.AttachMenuBar : UIKit.UITabBarDelegate {
178
+ @_Concurrency.MainActor @preconcurrency @objc final public func tabBar(_ tabBar: UIKit.UITabBar, didSelect item: UIKit.UITabBarItem)
179
+ }
180
+ public struct AttachLocationResult {
181
+ public let latitude: Swift.Double
182
+ public let longitude: Swift.Double
183
+ public let accuracy: Swift.Double?
184
+ public let title: Swift.String?
185
+ public let address: Swift.String?
186
+ public let isCurrentLocation: Swift.Bool
187
+ public var dictionary: [Swift.String : Any] {
188
+ get
189
+ }
190
+ }
191
+ public struct AttachFileResult {
192
+ public let url: Foundation.URL
193
+ public let name: Swift.String
194
+ public let size: Swift.Int64
195
+ public let mimeType: Swift.String
196
+ public var dictionary: [Swift.String : Any] {
197
+ get
198
+ }
199
+ }
88
200
  public struct FilterState {
89
201
  public var filterId: Swift.String
90
202
  public var intensity: CoreFoundation.CGFloat
@@ -513,5 +625,8 @@ extension RNAttachmentKit.MediaGalleryViewController : UIKit.UICollectionViewDat
513
625
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public init()
514
626
  @objc deinit
515
627
  }
628
+ extension RNAttachmentKit.AttachMenuTab : Swift.Equatable {}
629
+ extension RNAttachmentKit.AttachMenuTab : Swift.Hashable {}
630
+ extension RNAttachmentKit.AttachMenuTab : Swift.RawRepresentable {}
516
631
  extension RNAttachmentKit.ImageEditorTransitionDelegate : Swift.Sendable {}
517
632
  extension RNAttachmentKit.ZoomTransitionAnimator : Swift.Sendable {}
@@ -4,15 +4,18 @@
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
5
5
  import AVFoundation
6
6
  import CoreImage
7
+ import CoreLocation
7
8
  import CoreText
8
9
  import CryptoKit
9
10
  import DeveloperToolsSupport
10
11
  import Foundation
11
12
  import ImageIO
13
+ import MapKit
12
14
  import Photos
13
15
  import Swift
14
16
  import SwiftUI
15
17
  import UIKit
18
+ import UniformTypeIdentifiers
16
19
  import _Concurrency
17
20
  import _StringProcessing
18
21
  import _SwiftConcurrencyShims
@@ -27,6 +30,21 @@ import _SwiftConcurrencyShims
27
30
  @_Concurrency.MainActor @preconcurrency public var profileCropTransitionDelegate: (any UIKit.UIViewControllerTransitioningDelegate)?
28
31
  @_Concurrency.MainActor @preconcurrency public var maxSelection: Swift.Int
29
32
  @_Concurrency.MainActor @preconcurrency public var forceMultiMode: Swift.Bool
33
+ @_Concurrency.MainActor @preconcurrency public var showsAttachMenu: Swift.Bool
34
+ @_Concurrency.MainActor @preconcurrency public var attachMenuTabs: [RNAttachmentKit.AttachMenuTab]
35
+ @_Concurrency.MainActor @preconcurrency public var onAttachMenuTabChanged: ((RNAttachmentKit.AttachMenuTab) -> Swift.Void)?
36
+ @_Concurrency.MainActor @preconcurrency public var selectedAttachTab: RNAttachmentKit.AttachMenuTab {
37
+ get
38
+ }
39
+ @_Concurrency.MainActor @preconcurrency public var attachMenuBar: RNAttachmentKit.AttachMenuBar {
40
+ get
41
+ }
42
+ @_Concurrency.MainActor @preconcurrency public var attachMenuBackdrop: RNAttachmentKit.AttachMenuBackdrop {
43
+ get
44
+ }
45
+ @_Concurrency.MainActor @preconcurrency public var onLocationSelected: ((RNAttachmentKit.AttachLocationResult) -> Swift.Void)?
46
+ @_Concurrency.MainActor @preconcurrency public var onFilesSelected: (([RNAttachmentKit.AttachFileResult]) -> Swift.Void)?
47
+ @_Concurrency.MainActor @preconcurrency public var allowsMultipleFiles: Swift.Bool
30
48
  @_Concurrency.MainActor @preconcurrency @objc dynamic public init()
31
49
  @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
32
50
  @_Concurrency.MainActor @preconcurrency public var maxWidth: Swift.Int
@@ -85,6 +103,100 @@ import _SwiftConcurrencyShims
85
103
  @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
86
104
  @objc deinit
87
105
  }
106
+ extension RNAttachmentKit.GalleryViewController : UIKit.UIGestureRecognizerDelegate {
107
+ @_Concurrency.MainActor @preconcurrency @objc final public func gestureRecognizer(_ gestureRecognizer: UIKit.UIGestureRecognizer, shouldReceive touch: UIKit.UITouch) -> Swift.Bool
108
+ }
109
+ extension RNAttachmentKit.GalleryBaseViewController : UIKit.UIDocumentPickerDelegate {
110
+ @_Concurrency.MainActor @preconcurrency @objc dynamic public func documentPicker(_ controller: UIKit.UIDocumentPickerViewController, didPickDocumentsAt urls: [Foundation.URL])
111
+ @_Concurrency.MainActor @preconcurrency @objc dynamic public func documentPickerWasCancelled(_ controller: UIKit.UIDocumentPickerViewController)
112
+ }
113
+ public enum AttachMenuTab : Swift.String, Swift.CaseIterable {
114
+ case gallery
115
+ case location
116
+ case file
117
+ public init?(rawValue: Swift.String)
118
+ public typealias AllCases = [RNAttachmentKit.AttachMenuTab]
119
+ public typealias RawValue = Swift.String
120
+ nonisolated public static var allCases: [RNAttachmentKit.AttachMenuTab] {
121
+ get
122
+ }
123
+ public var rawValue: Swift.String {
124
+ get
125
+ }
126
+ }
127
+ @objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class AttachMenuBar : UIKit.UIView {
128
+ @_Concurrency.MainActor @preconcurrency public static let barHeight: CoreFoundation.CGFloat
129
+ @_Concurrency.MainActor @preconcurrency public static let sinkIntoSafeArea: CoreFoundation.CGFloat
130
+ @_Concurrency.MainActor @preconcurrency public static let minBottomGap: CoreFoundation.CGFloat
131
+ @_Concurrency.MainActor @preconcurrency public static let sideMargin: CoreFoundation.CGFloat
132
+ @_Concurrency.MainActor @preconcurrency public static var usesNativeTabBar: Swift.Bool {
133
+ get
134
+ }
135
+ @_Concurrency.MainActor @preconcurrency public static var nativeContentHeight: CoreFoundation.CGFloat
136
+ @_Concurrency.MainActor @preconcurrency public static var nativeIconSize: CoreFoundation.CGFloat
137
+ @_Concurrency.MainActor @preconcurrency public static var nativeTitleSize: CoreFoundation.CGFloat
138
+ @_Concurrency.MainActor @preconcurrency public static var nativeTitleSpacing: CoreFoundation.CGFloat
139
+ @_Concurrency.MainActor @preconcurrency public static var nativeUsesClearGlass: Swift.Bool
140
+ @_Concurrency.MainActor @preconcurrency public static var nativeGlassTint: UIKit.UIColor?
141
+ @_Concurrency.MainActor @preconcurrency public static var nativeBackingPadding: CoreFoundation.CGFloat
142
+ @_Concurrency.MainActor @preconcurrency public static var reservedHeight: CoreFoundation.CGFloat {
143
+ get
144
+ }
145
+ @_Concurrency.MainActor @preconcurrency final public var onSelect: ((RNAttachmentKit.AttachMenuTab) -> Swift.Void)?
146
+ @_Concurrency.MainActor @preconcurrency final public var selectedTab: RNAttachmentKit.AttachMenuTab {
147
+ get
148
+ }
149
+ @_Concurrency.MainActor @preconcurrency final public let tabs: [RNAttachmentKit.AttachMenuTab]
150
+ @_Concurrency.MainActor @preconcurrency final public var blurIntensity: CoreFoundation.CGFloat {
151
+ get
152
+ set
153
+ }
154
+ @_Concurrency.MainActor @preconcurrency final public var tintAlpha: CoreFoundation.CGFloat {
155
+ get
156
+ set
157
+ }
158
+ @_Concurrency.MainActor @preconcurrency public init(tabs: [RNAttachmentKit.AttachMenuTab] = AttachMenuTab.allCases, selected: RNAttachmentKit.AttachMenuTab = .gallery, languageCode: Swift.String, accentColor: UIKit.UIColor)
159
+ @objc deinit
160
+ @_Concurrency.MainActor @preconcurrency @objc override final public func didMoveToWindow()
161
+ @_Concurrency.MainActor @preconcurrency final public func prepareNativeAppearance()
162
+ @_Concurrency.MainActor @preconcurrency @objc override final public func layoutSubviews()
163
+ @_Concurrency.MainActor @preconcurrency @objc override final public func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?)
164
+ @_Concurrency.MainActor @preconcurrency final public func select(_ tab: RNAttachmentKit.AttachMenuTab, animated: Swift.Bool, notify: Swift.Bool = false)
165
+ }
166
+ @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class AttachMenuBackdrop : UIKit.UIView {
167
+ @_Concurrency.MainActor @preconcurrency public static var blurIntensity: CoreFoundation.CGFloat
168
+ @_Concurrency.MainActor @preconcurrency public static var materialStyle: UIKit.UIBlurEffect.Style?
169
+ @_Concurrency.MainActor @preconcurrency public static var dimAlpha: CoreFoundation.CGFloat
170
+ @_Concurrency.MainActor @preconcurrency public static var fadeHeight: CoreFoundation.CGFloat
171
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
172
+ @objc deinit
173
+ @_Concurrency.MainActor @preconcurrency @objc override final public func layoutSubviews()
174
+ @_Concurrency.MainActor @preconcurrency @objc override final public func didMoveToWindow()
175
+ @_Concurrency.MainActor @preconcurrency @objc override final public func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?)
176
+ }
177
+ extension RNAttachmentKit.AttachMenuBar : UIKit.UITabBarDelegate {
178
+ @_Concurrency.MainActor @preconcurrency @objc final public func tabBar(_ tabBar: UIKit.UITabBar, didSelect item: UIKit.UITabBarItem)
179
+ }
180
+ public struct AttachLocationResult {
181
+ public let latitude: Swift.Double
182
+ public let longitude: Swift.Double
183
+ public let accuracy: Swift.Double?
184
+ public let title: Swift.String?
185
+ public let address: Swift.String?
186
+ public let isCurrentLocation: Swift.Bool
187
+ public var dictionary: [Swift.String : Any] {
188
+ get
189
+ }
190
+ }
191
+ public struct AttachFileResult {
192
+ public let url: Foundation.URL
193
+ public let name: Swift.String
194
+ public let size: Swift.Int64
195
+ public let mimeType: Swift.String
196
+ public var dictionary: [Swift.String : Any] {
197
+ get
198
+ }
199
+ }
88
200
  public struct FilterState {
89
201
  public var filterId: Swift.String
90
202
  public var intensity: CoreFoundation.CGFloat
@@ -513,5 +625,8 @@ extension RNAttachmentKit.MediaGalleryViewController : UIKit.UICollectionViewDat
513
625
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public init()
514
626
  @objc deinit
515
627
  }
628
+ extension RNAttachmentKit.AttachMenuTab : Swift.Equatable {}
629
+ extension RNAttachmentKit.AttachMenuTab : Swift.Hashable {}
630
+ extension RNAttachmentKit.AttachMenuTab : Swift.RawRepresentable {}
516
631
  extension RNAttachmentKit.ImageEditorTransitionDelegate : Swift.Sendable {}
517
632
  extension RNAttachmentKit.ZoomTransitionAnimator : Swift.Sendable {}
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- 03VRzGjp6W0VqxFvJN8AY4xjRVw=
9
+ Q4WslrRyFGZTzQsyECtW25oGXkw=
10
10
  </data>
11
11
  <key>Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
12
12
  <data>
@@ -22,31 +22,31 @@
22
22
  </data>
23
23
  <key>Headers/RNAttachmentKit-Swift.h</key>
24
24
  <data>
25
- Ys9lLqlfJAtIsFQq26nfQENxyeo=
25
+ 9eXYEX8SEHbJbIAO5oi9E+ixfSE=
26
26
  </data>
27
27
  <key>Info.plist</key>
28
28
  <data>
29
- SD1iiBGnOP+ezicinOy7RIipzl4=
29
+ j3hBOu8tw88RaNdCsncnO061Ieo=
30
30
  </data>
31
31
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.abi.json</key>
32
32
  <data>
33
- k50kV/DkT8T5xIP/1xzHIXeZdog=
33
+ uwkHCPtan0seIRQLswQUe4/uCkw=
34
34
  </data>
35
35
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
36
36
  <data>
37
- Ujk+Igywe9COJTCi81xVkTwcECA=
37
+ 4Ybp3MM3g60QP1iMcymg0U7h+HY=
38
38
  </data>
39
39
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftdoc</key>
40
40
  <data>
41
- BoBYaR3IApHGqz2ytdbt7FSoMKg=
41
+ kpidfdF6Ix5tuAsZUpgnrtXbjE8=
42
42
  </data>
43
43
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftinterface</key>
44
44
  <data>
45
- Ujk+Igywe9COJTCi81xVkTwcECA=
45
+ 4Ybp3MM3g60QP1iMcymg0U7h+HY=
46
46
  </data>
47
47
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftmodule</key>
48
48
  <data>
49
- lfMptBMjkGulaQeX5V1qNyL9TvQ=
49
+ JwA1/B5GzXyMXptliZxS5sU6yfs=
50
50
  </data>
51
51
  <key>Modules/module.modulemap</key>
52
52
  <data>
@@ -159,7 +159,7 @@
159
159
  <dict>
160
160
  <key>hash2</key>
161
161
  <data>
162
- K6PX3sVHEd2JeOb4jj/ugkC2t0a59p3+09NK+dozSlk=
162
+ geng7yTEBfEgTf50zabLdmetI/prd9vrBgF8kV7XtOQ=
163
163
  </data>
164
164
  </dict>
165
165
  <key>Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
@@ -187,42 +187,42 @@
187
187
  <dict>
188
188
  <key>hash2</key>
189
189
  <data>
190
- bM0iiWPf6o9M05ArRiKahUTATZ1mWI9l1ANOby/8zgA=
190
+ F7r8P8o20cnjZ0RH4uFyX5XG8G2SQS5yI60bTFDuhSs=
191
191
  </data>
192
192
  </dict>
193
193
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.abi.json</key>
194
194
  <dict>
195
195
  <key>hash2</key>
196
196
  <data>
197
- swY7U8UzMQ/ZEeo0Guv6KIlNHjatWsYkJSHloI+Ez7Q=
197
+ Ypciu0FX/bBykNCBBhlREgixbP+yP9KTWc2xgMgDxiQ=
198
198
  </data>
199
199
  </dict>
200
200
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
201
201
  <dict>
202
202
  <key>hash2</key>
203
203
  <data>
204
- XhL9SSY52JKK8XvXWGNKJJl3Bj/CVIX9X/2rgeXVyRA=
204
+ kx3y9JLU6Rl4k8m0ZWGJiSn2vqEqM5AkdY8SCyOWEpk=
205
205
  </data>
206
206
  </dict>
207
207
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftdoc</key>
208
208
  <dict>
209
209
  <key>hash2</key>
210
210
  <data>
211
- ar7BVsm6eeVUfPkb4yz+MJtOs+Kg+ded+jd3g6qY/4A=
211
+ QVpeKdqP1B11pCZP1cESZSWOYR+A6HBG2jMfydq6tEY=
212
212
  </data>
213
213
  </dict>
214
214
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftinterface</key>
215
215
  <dict>
216
216
  <key>hash2</key>
217
217
  <data>
218
- XhL9SSY52JKK8XvXWGNKJJl3Bj/CVIX9X/2rgeXVyRA=
218
+ kx3y9JLU6Rl4k8m0ZWGJiSn2vqEqM5AkdY8SCyOWEpk=
219
219
  </data>
220
220
  </dict>
221
221
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftmodule</key>
222
222
  <dict>
223
223
  <key>hash2</key>
224
224
  <data>
225
- puAg5DUWjtUua5aJ7x6Yf0B/wJcqwC+Rx2KkUZcVzEQ=
225
+ uld7jS5g7KGwcl56fetnbBKsd1IfDjXG9IF/fMTgroM=
226
226
  </data>
227
227
  </dict>
228
228
  <key>Modules/module.modulemap</key>
@@ -374,6 +374,31 @@ extern "C" {
374
374
 
375
375
  @class NSCoder;
376
376
  @class UITraitCollection;
377
+ /// 바 뒤 화면 하단을 아래로 갈수록 진하게 흐리게(+아주 옅게 어둡게) 덮는 배경. 터치는 통과.
378
+ SWIFT_CLASS("_TtC15RNAttachmentKit18AttachMenuBackdrop")
379
+ @interface AttachMenuBackdrop : UIView
380
+ - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
381
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
382
+ - (void)layoutSubviews;
383
+ - (void)didMoveToWindow;
384
+ - (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection;
385
+ @end
386
+
387
+ SWIFT_CLASS("_TtC15RNAttachmentKit13AttachMenuBar")
388
+ @interface AttachMenuBar : UIView
389
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
390
+ - (void)didMoveToWindow;
391
+ - (void)layoutSubviews;
392
+ - (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection;
393
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
394
+ @end
395
+
396
+ @class UITabBar;
397
+ @class UITabBarItem;
398
+ @interface AttachMenuBar (SWIFT_EXTENSION(RNAttachmentKit)) <UITabBarDelegate>
399
+ - (void)tabBar:(UITabBar * _Nonnull)tabBar didSelectItem:(UITabBarItem * _Nonnull)item;
400
+ @end
401
+
377
402
  @class NSString;
378
403
  @class NSBundle;
379
404
  SWIFT_CLASS("_TtC15RNAttachmentKit25GalleryBaseViewController")
@@ -414,6 +439,13 @@ SWIFT_AVAILABILITY(ios,introduced=15.0)
414
439
  - (void)collectionView:(UICollectionView * _Nonnull)collectionView cancelPrefetchingForItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths;
415
440
  @end
416
441
 
442
+ @class UIDocumentPickerViewController;
443
+ @class NSURL;
444
+ @interface GalleryBaseViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIDocumentPickerDelegate>
445
+ - (void)documentPicker:(UIDocumentPickerViewController * _Nonnull)controller didPickDocumentsAtURLs:(NSArray<NSURL *> * _Nonnull)urls;
446
+ - (void)documentPickerWasCancelled:(UIDocumentPickerViewController * _Nonnull)controller;
447
+ @end
448
+
417
449
  @class UIImagePickerController;
418
450
  @interface GalleryBaseViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIImagePickerControllerDelegate, UINavigationControllerDelegate>
419
451
  - (void)imagePickerController:(UIImagePickerController * _Nonnull)picker didFinishPickingMediaWithInfo:(NSDictionary<UIImagePickerControllerInfoKey, id> * _Nonnull)info;
@@ -445,6 +477,12 @@ SWIFT_CLASS("_TtC15RNAttachmentKit21GalleryViewController")
445
477
  - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
446
478
  @end
447
479
 
480
+ @class UIGestureRecognizer;
481
+ @class UITouch;
482
+ @interface GalleryViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIGestureRecognizerDelegate>
483
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
484
+ @end
485
+
448
486
  @protocol UIViewControllerAnimatedTransitioning;
449
487
  SWIFT_CLASS("_TtC15RNAttachmentKit29ImageEditorTransitionDelegate")
450
488
  @interface ImageEditorTransitionDelegate : NSObject <UIViewControllerTransitioningDelegate>
@@ -475,7 +513,6 @@ SWIFT_CLASS("_TtC15RNAttachmentKit25ImageEditorViewController")
475
513
  - (void)collectionView:(UICollectionView * _Nonnull)cv cancelPrefetchingForItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths;
476
514
  @end
477
515
 
478
- @class UIGestureRecognizer;
479
516
  @interface ImageEditorViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIGestureRecognizerDelegate>
480
517
  - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer * _Nonnull)gestureRecognizer SWIFT_WARN_UNUSED_RESULT;
481
518
  - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer * _Nonnull)otherGestureRecognizer SWIFT_WARN_UNUSED_RESULT;
@@ -951,6 +988,31 @@ extern "C" {
951
988
 
952
989
  @class NSCoder;
953
990
  @class UITraitCollection;
991
+ /// 바 뒤 화면 하단을 아래로 갈수록 진하게 흐리게(+아주 옅게 어둡게) 덮는 배경. 터치는 통과.
992
+ SWIFT_CLASS("_TtC15RNAttachmentKit18AttachMenuBackdrop")
993
+ @interface AttachMenuBackdrop : UIView
994
+ - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
995
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
996
+ - (void)layoutSubviews;
997
+ - (void)didMoveToWindow;
998
+ - (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection;
999
+ @end
1000
+
1001
+ SWIFT_CLASS("_TtC15RNAttachmentKit13AttachMenuBar")
1002
+ @interface AttachMenuBar : UIView
1003
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1004
+ - (void)didMoveToWindow;
1005
+ - (void)layoutSubviews;
1006
+ - (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection;
1007
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
1008
+ @end
1009
+
1010
+ @class UITabBar;
1011
+ @class UITabBarItem;
1012
+ @interface AttachMenuBar (SWIFT_EXTENSION(RNAttachmentKit)) <UITabBarDelegate>
1013
+ - (void)tabBar:(UITabBar * _Nonnull)tabBar didSelectItem:(UITabBarItem * _Nonnull)item;
1014
+ @end
1015
+
954
1016
  @class NSString;
955
1017
  @class NSBundle;
956
1018
  SWIFT_CLASS("_TtC15RNAttachmentKit25GalleryBaseViewController")
@@ -991,6 +1053,13 @@ SWIFT_AVAILABILITY(ios,introduced=15.0)
991
1053
  - (void)collectionView:(UICollectionView * _Nonnull)collectionView cancelPrefetchingForItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths;
992
1054
  @end
993
1055
 
1056
+ @class UIDocumentPickerViewController;
1057
+ @class NSURL;
1058
+ @interface GalleryBaseViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIDocumentPickerDelegate>
1059
+ - (void)documentPicker:(UIDocumentPickerViewController * _Nonnull)controller didPickDocumentsAtURLs:(NSArray<NSURL *> * _Nonnull)urls;
1060
+ - (void)documentPickerWasCancelled:(UIDocumentPickerViewController * _Nonnull)controller;
1061
+ @end
1062
+
994
1063
  @class UIImagePickerController;
995
1064
  @interface GalleryBaseViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIImagePickerControllerDelegate, UINavigationControllerDelegate>
996
1065
  - (void)imagePickerController:(UIImagePickerController * _Nonnull)picker didFinishPickingMediaWithInfo:(NSDictionary<UIImagePickerControllerInfoKey, id> * _Nonnull)info;
@@ -1022,6 +1091,12 @@ SWIFT_CLASS("_TtC15RNAttachmentKit21GalleryViewController")
1022
1091
  - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
1023
1092
  @end
1024
1093
 
1094
+ @class UIGestureRecognizer;
1095
+ @class UITouch;
1096
+ @interface GalleryViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIGestureRecognizerDelegate>
1097
+ - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
1098
+ @end
1099
+
1025
1100
  @protocol UIViewControllerAnimatedTransitioning;
1026
1101
  SWIFT_CLASS("_TtC15RNAttachmentKit29ImageEditorTransitionDelegate")
1027
1102
  @interface ImageEditorTransitionDelegate : NSObject <UIViewControllerTransitioningDelegate>
@@ -1052,7 +1127,6 @@ SWIFT_CLASS("_TtC15RNAttachmentKit25ImageEditorViewController")
1052
1127
  - (void)collectionView:(UICollectionView * _Nonnull)cv cancelPrefetchingForItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths;
1053
1128
  @end
1054
1129
 
1055
- @class UIGestureRecognizer;
1056
1130
  @interface ImageEditorViewController (SWIFT_EXTENSION(RNAttachmentKit)) <UIGestureRecognizerDelegate>
1057
1131
  - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer * _Nonnull)gestureRecognizer SWIFT_WARN_UNUSED_RESULT;
1058
1132
  - (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer * _Nonnull)otherGestureRecognizer SWIFT_WARN_UNUSED_RESULT;