@triniwiz/nativescript-masonkit 1.0.0-alpha.15 → 1.0.0-alpha.16
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/common.d.ts +19 -14
- package/common.js +84 -6
- package/common.js.map +1 -1
- package/helpers.js +0 -1
- package/helpers.js.map +1 -1
- package/index.android.d.ts +17 -1
- package/index.android.js +49 -4
- package/index.android.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.ios.d.ts +17 -1
- package/index.ios.js +48 -4
- package/index.ios.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +5 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +97 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +4574 -791
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +129 -12
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +129 -12
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2260 -1979
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +194 -10
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +4574 -791
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +129 -12
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +129 -12
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +4574 -791
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +129 -12
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +129 -12
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +22 -22
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2260 -1979
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2198 -1929
- package/web.d.ts +55 -0
- package/web.js +189 -0
- package/web.js.map +1 -0
|
@@ -10,6 +10,97 @@ import UIKit
|
|
|
10
10
|
import _Concurrency
|
|
11
11
|
import _StringProcessing
|
|
12
12
|
import _SwiftConcurrencyShims
|
|
13
|
+
@objc(NSCFontDisplay) public enum NSCFontDisplay : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
14
|
+
case auto
|
|
15
|
+
case block
|
|
16
|
+
case fallback
|
|
17
|
+
case optional
|
|
18
|
+
case swap
|
|
19
|
+
public typealias RawValue = Swift.Int
|
|
20
|
+
public init?(rawValue: Swift.Int)
|
|
21
|
+
public var rawValue: Swift.Int {
|
|
22
|
+
get
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@objc(NSCFontWeight) public enum NSCFontWeight : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
26
|
+
case thin
|
|
27
|
+
case extraLight
|
|
28
|
+
case light
|
|
29
|
+
case normal
|
|
30
|
+
case medium
|
|
31
|
+
case semiBold
|
|
32
|
+
case bold
|
|
33
|
+
case extraBold
|
|
34
|
+
case black
|
|
35
|
+
public typealias RawValue = Swift.Int
|
|
36
|
+
public init?(rawValue: Swift.Int)
|
|
37
|
+
public var rawValue: Swift.Int {
|
|
38
|
+
get
|
|
39
|
+
}
|
|
40
|
+
public var uiFontWeight: UIKit.UIFont.Weight {
|
|
41
|
+
get
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@objcMembers @objc(NSCFontDescriptors) public class NSCFontDescriptors : ObjectiveC.NSObject, Swift.Codable {
|
|
45
|
+
@objc public init(family: Swift.String)
|
|
46
|
+
@objc public func update(_ value: Swift.String)
|
|
47
|
+
@objc public func setFontWeight(_ value: Swift.String)
|
|
48
|
+
@objc public func setFontStyle(_ value: Swift.String)
|
|
49
|
+
@objc deinit
|
|
50
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
51
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
52
|
+
}
|
|
53
|
+
@objc(NSCFontFaceStatus) public enum NSCFontFaceStatus : Swift.Int, Swift.RawRepresentable {
|
|
54
|
+
case unloaded
|
|
55
|
+
case loading
|
|
56
|
+
case loaded
|
|
57
|
+
case error
|
|
58
|
+
public typealias RawValue = Swift.Int
|
|
59
|
+
public init?(rawValue: Swift.Int)
|
|
60
|
+
public var rawValue: Swift.Int {
|
|
61
|
+
get
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
@objcMembers @objc(NSCFontFace) public class NSCFontFace : ObjectiveC.NSObject {
|
|
65
|
+
@objc public var font: CoreGraphics.CGFont? {
|
|
66
|
+
get
|
|
67
|
+
}
|
|
68
|
+
@objc public var fontData: Foundation.NSData? {
|
|
69
|
+
get
|
|
70
|
+
}
|
|
71
|
+
@objc public func updateDescriptor(value: Swift.String)
|
|
72
|
+
@objc public static func loadFromStyle(style: Swift.String) -> Mason.NSCFontFace?
|
|
73
|
+
@objc public static func importFromRemote(url: Swift.String, load: Swift.Bool, callback: @escaping ([Mason.NSCFontFace]?, Swift.String?) -> Swift.Void)
|
|
74
|
+
@objc public init(family: Swift.String)
|
|
75
|
+
@objc public init(family: Swift.String, source: Swift.String)
|
|
76
|
+
@objc public init(family: Swift.String, data source: Foundation.NSData)
|
|
77
|
+
@objc public init(_ family: Swift.String, _ source: Swift.String? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
78
|
+
@objc public init(_ family: Swift.String, data: Foundation.NSData? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
79
|
+
@objc public var status: Mason.NSCFontFaceStatus
|
|
80
|
+
@objc public var display: Mason.NSCFontDisplay
|
|
81
|
+
@objc public func setFontDisplay(value: Swift.String)
|
|
82
|
+
@objc public var style: Swift.String {
|
|
83
|
+
@objc get
|
|
84
|
+
@objc set
|
|
85
|
+
}
|
|
86
|
+
@objc public func setFontStyle(value: Swift.String, angle: Swift.String?)
|
|
87
|
+
@objc public var weight: Mason.NSCFontWeight {
|
|
88
|
+
@objc get
|
|
89
|
+
@objc set
|
|
90
|
+
}
|
|
91
|
+
@objc public func setFontWeight(value: Swift.String)
|
|
92
|
+
@objc public var family: Swift.String {
|
|
93
|
+
@objc get
|
|
94
|
+
}
|
|
95
|
+
@objc public var ascentOverride: Swift.String {
|
|
96
|
+
@objc get
|
|
97
|
+
}
|
|
98
|
+
@objc public var descentOverride: Swift.String {
|
|
99
|
+
@objc get
|
|
100
|
+
}
|
|
101
|
+
@objc public func load(_ callback: @escaping (Swift.String?) -> Swift.Void)
|
|
102
|
+
@objc deinit
|
|
103
|
+
}
|
|
13
104
|
public struct Line<T> {
|
|
14
105
|
public init(_ start: T, _ end: T)
|
|
15
106
|
}
|
|
@@ -226,6 +317,9 @@ extension UIKit.UIColor {
|
|
|
226
317
|
get
|
|
227
318
|
}
|
|
228
319
|
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
320
|
+
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
321
|
+
get
|
|
322
|
+
}
|
|
229
323
|
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
230
324
|
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
231
325
|
@objc @_Concurrency.MainActor @preconcurrency public init(node masonNode: Mason.MasonNode)
|
|
@@ -240,9 +334,6 @@ extension UIKit.UIColor {
|
|
|
240
334
|
@objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
|
|
241
335
|
@objc @_Concurrency.MainActor @preconcurrency public func updateText(_ value: Swift.String?)
|
|
242
336
|
@objc @_Concurrency.MainActor @preconcurrency public var txtToRender: Foundation.NSMutableAttributedString
|
|
243
|
-
@objc @_Concurrency.MainActor @preconcurrency public var font: UIKit.UIFont {
|
|
244
|
-
get
|
|
245
|
-
}
|
|
246
337
|
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
247
338
|
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
248
339
|
@objc get
|
|
@@ -418,6 +509,32 @@ extension UIKit.UIColor {
|
|
|
418
509
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
419
510
|
@objc deinit
|
|
420
511
|
}
|
|
512
|
+
@objc(NSCFontFaceSetStatus) public enum NSCFontFaceSetStatus : Swift.Int, Swift.RawRepresentable {
|
|
513
|
+
case loading
|
|
514
|
+
case loaded
|
|
515
|
+
public typealias RawValue = Swift.Int
|
|
516
|
+
public init?(rawValue: Swift.Int)
|
|
517
|
+
public var rawValue: Swift.Int {
|
|
518
|
+
get
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(NSCFontFaceSet) public class NSCFontFaceSet : ObjectiveC.NSObject {
|
|
522
|
+
@objc public static let instance: Mason.NSCFontFaceSet
|
|
523
|
+
@objc public var status: Mason.NSCFontFaceSetStatus
|
|
524
|
+
@objc public var onStatus: ((Mason.NSCFontFaceSetStatus) -> Swift.Void)?
|
|
525
|
+
@objc public func iter() -> Foundation.NSEnumerator
|
|
526
|
+
@objc public func array() -> [Any]
|
|
527
|
+
@objc public func add(_ font: Mason.NSCFontFace)
|
|
528
|
+
@objc public func clear()
|
|
529
|
+
@objc public func delete(_ font: Mason.NSCFontFace)
|
|
530
|
+
@objc public func check(_ font: Swift.String, _ text: Swift.String?) -> Swift.Bool
|
|
531
|
+
@objc public func load(_ font: Swift.String, _ text: Swift.String?, _ callback: @escaping ([Mason.NSCFontFace], Swift.String?) -> Swift.Void)
|
|
532
|
+
@objc public var size: Swift.Int {
|
|
533
|
+
@objc get
|
|
534
|
+
}
|
|
535
|
+
@objc override dynamic public init()
|
|
536
|
+
@objc deinit
|
|
537
|
+
}
|
|
421
538
|
@objcMembers @objc(MasonDimensionRectCompat) public class MasonDimensionRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
422
539
|
@objc public var left: Mason.MasonDimensionCompat
|
|
423
540
|
@objc public var right: Mason.MasonDimensionCompat
|
|
@@ -1157,19 +1274,11 @@ public protocol MasonView {
|
|
|
1157
1274
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1158
1275
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1159
1276
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1160
|
-
@objc @_Concurrency.MainActor @preconcurrency public var masonPtr: Swift.Int64 {
|
|
1161
|
-
@objc get
|
|
1162
|
-
}
|
|
1163
|
-
@objc @_Concurrency.MainActor @preconcurrency public var masonNodePtr: Swift.Int64 {
|
|
1164
|
-
@objc get
|
|
1165
|
-
}
|
|
1166
|
-
@objc @_Concurrency.MainActor @preconcurrency public var masonPtrs: Swift.String {
|
|
1167
|
-
@objc get
|
|
1168
|
-
}
|
|
1169
1277
|
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
1170
1278
|
@objc get
|
|
1171
1279
|
@objc set
|
|
1172
1280
|
}
|
|
1281
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1173
1282
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1174
1283
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1175
1284
|
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
@@ -1395,8 +1504,16 @@ public protocol MasonView {
|
|
|
1395
1504
|
@objc @_Concurrency.MainActor @preconcurrency public func getColumnGap() -> Mason.MasonLengthPercentageCompat
|
|
1396
1505
|
@objc deinit
|
|
1397
1506
|
}
|
|
1507
|
+
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
1508
|
+
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
1509
|
+
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
1510
|
+
extension Mason.NSCFontWeight : Swift.Hashable {}
|
|
1511
|
+
extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
1512
|
+
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
1398
1513
|
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1399
1514
|
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1515
|
+
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
1516
|
+
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
1400
1517
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
1401
1518
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
1402
1519
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|
|
@@ -10,6 +10,97 @@ import UIKit
|
|
|
10
10
|
import _Concurrency
|
|
11
11
|
import _StringProcessing
|
|
12
12
|
import _SwiftConcurrencyShims
|
|
13
|
+
@objc(NSCFontDisplay) public enum NSCFontDisplay : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
14
|
+
case auto
|
|
15
|
+
case block
|
|
16
|
+
case fallback
|
|
17
|
+
case optional
|
|
18
|
+
case swap
|
|
19
|
+
public typealias RawValue = Swift.Int
|
|
20
|
+
public init?(rawValue: Swift.Int)
|
|
21
|
+
public var rawValue: Swift.Int {
|
|
22
|
+
get
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@objc(NSCFontWeight) public enum NSCFontWeight : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
26
|
+
case thin
|
|
27
|
+
case extraLight
|
|
28
|
+
case light
|
|
29
|
+
case normal
|
|
30
|
+
case medium
|
|
31
|
+
case semiBold
|
|
32
|
+
case bold
|
|
33
|
+
case extraBold
|
|
34
|
+
case black
|
|
35
|
+
public typealias RawValue = Swift.Int
|
|
36
|
+
public init?(rawValue: Swift.Int)
|
|
37
|
+
public var rawValue: Swift.Int {
|
|
38
|
+
get
|
|
39
|
+
}
|
|
40
|
+
public var uiFontWeight: UIKit.UIFont.Weight {
|
|
41
|
+
get
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@objcMembers @objc(NSCFontDescriptors) public class NSCFontDescriptors : ObjectiveC.NSObject, Swift.Codable {
|
|
45
|
+
@objc public init(family: Swift.String)
|
|
46
|
+
@objc public func update(_ value: Swift.String)
|
|
47
|
+
@objc public func setFontWeight(_ value: Swift.String)
|
|
48
|
+
@objc public func setFontStyle(_ value: Swift.String)
|
|
49
|
+
@objc deinit
|
|
50
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
51
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
52
|
+
}
|
|
53
|
+
@objc(NSCFontFaceStatus) public enum NSCFontFaceStatus : Swift.Int, Swift.RawRepresentable {
|
|
54
|
+
case unloaded
|
|
55
|
+
case loading
|
|
56
|
+
case loaded
|
|
57
|
+
case error
|
|
58
|
+
public typealias RawValue = Swift.Int
|
|
59
|
+
public init?(rawValue: Swift.Int)
|
|
60
|
+
public var rawValue: Swift.Int {
|
|
61
|
+
get
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
@objcMembers @objc(NSCFontFace) public class NSCFontFace : ObjectiveC.NSObject {
|
|
65
|
+
@objc public var font: CoreGraphics.CGFont? {
|
|
66
|
+
get
|
|
67
|
+
}
|
|
68
|
+
@objc public var fontData: Foundation.NSData? {
|
|
69
|
+
get
|
|
70
|
+
}
|
|
71
|
+
@objc public func updateDescriptor(value: Swift.String)
|
|
72
|
+
@objc public static func loadFromStyle(style: Swift.String) -> Mason.NSCFontFace?
|
|
73
|
+
@objc public static func importFromRemote(url: Swift.String, load: Swift.Bool, callback: @escaping ([Mason.NSCFontFace]?, Swift.String?) -> Swift.Void)
|
|
74
|
+
@objc public init(family: Swift.String)
|
|
75
|
+
@objc public init(family: Swift.String, source: Swift.String)
|
|
76
|
+
@objc public init(family: Swift.String, data source: Foundation.NSData)
|
|
77
|
+
@objc public init(_ family: Swift.String, _ source: Swift.String? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
78
|
+
@objc public init(_ family: Swift.String, data: Foundation.NSData? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
79
|
+
@objc public var status: Mason.NSCFontFaceStatus
|
|
80
|
+
@objc public var display: Mason.NSCFontDisplay
|
|
81
|
+
@objc public func setFontDisplay(value: Swift.String)
|
|
82
|
+
@objc public var style: Swift.String {
|
|
83
|
+
@objc get
|
|
84
|
+
@objc set
|
|
85
|
+
}
|
|
86
|
+
@objc public func setFontStyle(value: Swift.String, angle: Swift.String?)
|
|
87
|
+
@objc public var weight: Mason.NSCFontWeight {
|
|
88
|
+
@objc get
|
|
89
|
+
@objc set
|
|
90
|
+
}
|
|
91
|
+
@objc public func setFontWeight(value: Swift.String)
|
|
92
|
+
@objc public var family: Swift.String {
|
|
93
|
+
@objc get
|
|
94
|
+
}
|
|
95
|
+
@objc public var ascentOverride: Swift.String {
|
|
96
|
+
@objc get
|
|
97
|
+
}
|
|
98
|
+
@objc public var descentOverride: Swift.String {
|
|
99
|
+
@objc get
|
|
100
|
+
}
|
|
101
|
+
@objc public func load(_ callback: @escaping (Swift.String?) -> Swift.Void)
|
|
102
|
+
@objc deinit
|
|
103
|
+
}
|
|
13
104
|
public struct Line<T> {
|
|
14
105
|
public init(_ start: T, _ end: T)
|
|
15
106
|
}
|
|
@@ -226,6 +317,9 @@ extension UIKit.UIColor {
|
|
|
226
317
|
get
|
|
227
318
|
}
|
|
228
319
|
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
320
|
+
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
321
|
+
get
|
|
322
|
+
}
|
|
229
323
|
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
230
324
|
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
231
325
|
@objc @_Concurrency.MainActor @preconcurrency public init(node masonNode: Mason.MasonNode)
|
|
@@ -240,9 +334,6 @@ extension UIKit.UIColor {
|
|
|
240
334
|
@objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
|
|
241
335
|
@objc @_Concurrency.MainActor @preconcurrency public func updateText(_ value: Swift.String?)
|
|
242
336
|
@objc @_Concurrency.MainActor @preconcurrency public var txtToRender: Foundation.NSMutableAttributedString
|
|
243
|
-
@objc @_Concurrency.MainActor @preconcurrency public var font: UIKit.UIFont {
|
|
244
|
-
get
|
|
245
|
-
}
|
|
246
337
|
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
247
338
|
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
248
339
|
@objc get
|
|
@@ -418,6 +509,32 @@ extension UIKit.UIColor {
|
|
|
418
509
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
419
510
|
@objc deinit
|
|
420
511
|
}
|
|
512
|
+
@objc(NSCFontFaceSetStatus) public enum NSCFontFaceSetStatus : Swift.Int, Swift.RawRepresentable {
|
|
513
|
+
case loading
|
|
514
|
+
case loaded
|
|
515
|
+
public typealias RawValue = Swift.Int
|
|
516
|
+
public init?(rawValue: Swift.Int)
|
|
517
|
+
public var rawValue: Swift.Int {
|
|
518
|
+
get
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(NSCFontFaceSet) public class NSCFontFaceSet : ObjectiveC.NSObject {
|
|
522
|
+
@objc public static let instance: Mason.NSCFontFaceSet
|
|
523
|
+
@objc public var status: Mason.NSCFontFaceSetStatus
|
|
524
|
+
@objc public var onStatus: ((Mason.NSCFontFaceSetStatus) -> Swift.Void)?
|
|
525
|
+
@objc public func iter() -> Foundation.NSEnumerator
|
|
526
|
+
@objc public func array() -> [Any]
|
|
527
|
+
@objc public func add(_ font: Mason.NSCFontFace)
|
|
528
|
+
@objc public func clear()
|
|
529
|
+
@objc public func delete(_ font: Mason.NSCFontFace)
|
|
530
|
+
@objc public func check(_ font: Swift.String, _ text: Swift.String?) -> Swift.Bool
|
|
531
|
+
@objc public func load(_ font: Swift.String, _ text: Swift.String?, _ callback: @escaping ([Mason.NSCFontFace], Swift.String?) -> Swift.Void)
|
|
532
|
+
@objc public var size: Swift.Int {
|
|
533
|
+
@objc get
|
|
534
|
+
}
|
|
535
|
+
@objc override dynamic public init()
|
|
536
|
+
@objc deinit
|
|
537
|
+
}
|
|
421
538
|
@objcMembers @objc(MasonDimensionRectCompat) public class MasonDimensionRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
422
539
|
@objc public var left: Mason.MasonDimensionCompat
|
|
423
540
|
@objc public var right: Mason.MasonDimensionCompat
|
|
@@ -1157,19 +1274,11 @@ public protocol MasonView {
|
|
|
1157
1274
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1158
1275
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1159
1276
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1160
|
-
@objc @_Concurrency.MainActor @preconcurrency public var masonPtr: Swift.Int64 {
|
|
1161
|
-
@objc get
|
|
1162
|
-
}
|
|
1163
|
-
@objc @_Concurrency.MainActor @preconcurrency public var masonNodePtr: Swift.Int64 {
|
|
1164
|
-
@objc get
|
|
1165
|
-
}
|
|
1166
|
-
@objc @_Concurrency.MainActor @preconcurrency public var masonPtrs: Swift.String {
|
|
1167
|
-
@objc get
|
|
1168
|
-
}
|
|
1169
1277
|
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
1170
1278
|
@objc get
|
|
1171
1279
|
@objc set
|
|
1172
1280
|
}
|
|
1281
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1173
1282
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1174
1283
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1175
1284
|
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
@@ -1395,8 +1504,16 @@ public protocol MasonView {
|
|
|
1395
1504
|
@objc @_Concurrency.MainActor @preconcurrency public func getColumnGap() -> Mason.MasonLengthPercentageCompat
|
|
1396
1505
|
@objc deinit
|
|
1397
1506
|
}
|
|
1507
|
+
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
1508
|
+
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
1509
|
+
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
1510
|
+
extension Mason.NSCFontWeight : Swift.Hashable {}
|
|
1511
|
+
extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
1512
|
+
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
1398
1513
|
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1399
1514
|
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1515
|
+
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
1516
|
+
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
1400
1517
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
1401
1518
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
1402
1519
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/Mason-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
qm9sRzJLe9YLWoorM1uhOiGN0XU=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Mason.h</key>
|
|
12
12
|
<data>
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
FyAGToQtKdHW0UseitFIqAxu91Y=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
9ldNzZPM4V6rr/5MD3aEGxmbQZg=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
xcngGLK7vSGFlEpDl8WVG/bBRns=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
s4OOpvJdwPjq1+bOtWbhO2eEtz0=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
40
40
|
<data>
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
s4OOpvJdwPjq1+bOtWbhO2eEtz0=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
z71yZpKaqAffuTij8BqamsYQ9Dk=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
xcngGLK7vSGFlEpDl8WVG/bBRns=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
H8oB3cSTV5pkwa6PT3Olx6M5hvY=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
60
60
|
<data>
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
</data>
|
|
63
63
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
H8oB3cSTV5pkwa6PT3Olx6M5hvY=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
XSkMQuUASIDTXYsbCYClcsApi4A=
|
|
70
70
|
</data>
|
|
71
71
|
<key>Modules/module.modulemap</key>
|
|
72
72
|
<data>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<dict>
|
|
80
80
|
<key>hash2</key>
|
|
81
81
|
<data>
|
|
82
|
-
|
|
82
|
+
reuof+icMMNkv7jgfj4O+sNDWGQSxx4Uhuv4nVIZbCg=
|
|
83
83
|
</data>
|
|
84
84
|
</dict>
|
|
85
85
|
<key>Headers/Mason.h</key>
|
|
@@ -100,28 +100,28 @@
|
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
Yvi4EOrcl3IvSCFZEgIFSO65+6MzUG0PKlFAsOJqKAM=
|
|
104
104
|
</data>
|
|
105
105
|
</dict>
|
|
106
106
|
<key>Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
107
107
|
<dict>
|
|
108
108
|
<key>hash2</key>
|
|
109
109
|
<data>
|
|
110
|
-
|
|
110
|
+
A16lqJwcMl5/hWjfHaxMc6TFDx+WrGY+jnuBgWdAUB0=
|
|
111
111
|
</data>
|
|
112
112
|
</dict>
|
|
113
113
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
114
114
|
<dict>
|
|
115
115
|
<key>hash2</key>
|
|
116
116
|
<data>
|
|
117
|
-
|
|
117
|
+
EQLTTyWKjJtS/xBbx5ojCtOOA7C6qwJuGVhOfRwyQqo=
|
|
118
118
|
</data>
|
|
119
119
|
</dict>
|
|
120
120
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
121
121
|
<dict>
|
|
122
122
|
<key>hash2</key>
|
|
123
123
|
<data>
|
|
124
|
-
|
|
124
|
+
JDnBaCllWzJF84NuwN7sCsoWFxDtggRYARs+NFM+urI=
|
|
125
125
|
</data>
|
|
126
126
|
</dict>
|
|
127
127
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -135,28 +135,28 @@
|
|
|
135
135
|
<dict>
|
|
136
136
|
<key>hash2</key>
|
|
137
137
|
<data>
|
|
138
|
-
|
|
138
|
+
JDnBaCllWzJF84NuwN7sCsoWFxDtggRYARs+NFM+urI=
|
|
139
139
|
</data>
|
|
140
140
|
</dict>
|
|
141
141
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
142
142
|
<dict>
|
|
143
143
|
<key>hash2</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
KbeSkfBnONFatwFVsoj8JRHEbI+QnefGQhOpjSUuOgc=
|
|
146
146
|
</data>
|
|
147
147
|
</dict>
|
|
148
148
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
149
149
|
<dict>
|
|
150
150
|
<key>hash2</key>
|
|
151
151
|
<data>
|
|
152
|
-
|
|
152
|
+
EQLTTyWKjJtS/xBbx5ojCtOOA7C6qwJuGVhOfRwyQqo=
|
|
153
153
|
</data>
|
|
154
154
|
</dict>
|
|
155
155
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
156
156
|
<dict>
|
|
157
157
|
<key>hash2</key>
|
|
158
158
|
<data>
|
|
159
|
-
|
|
159
|
+
8OozubqrEcWIggYpXE7gjEQ8J8zwN9Ecrf8dUFZZ/8M=
|
|
160
160
|
</data>
|
|
161
161
|
</dict>
|
|
162
162
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -170,14 +170,14 @@
|
|
|
170
170
|
<dict>
|
|
171
171
|
<key>hash2</key>
|
|
172
172
|
<data>
|
|
173
|
-
|
|
173
|
+
8OozubqrEcWIggYpXE7gjEQ8J8zwN9Ecrf8dUFZZ/8M=
|
|
174
174
|
</data>
|
|
175
175
|
</dict>
|
|
176
176
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
177
177
|
<dict>
|
|
178
178
|
<key>hash2</key>
|
|
179
179
|
<data>
|
|
180
|
-
|
|
180
|
+
WP9gVDc+ddMfHj9eLkwhxnxEQPG1g/tSKqcJzyD/Nnw=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|