@triniwiz/nativescript-masonkit 1.0.0-alpha.27 → 1.0.0-alpha.29
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 +138 -0
- package/common.js +1658 -0
- package/common.js.map +1 -0
- package/img/index.android.d.ts +10 -0
- package/img/index.android.js +40 -0
- package/img/index.android.js.map +1 -0
- package/img/index.ios.d.ts +13 -0
- package/img/index.ios.js +102 -0
- package/img/index.ios.js.map +1 -0
- package/index.android.d.ts +5 -0
- package/index.android.js +6 -0
- package/index.android.js.map +1 -0
- package/index.ios.d.ts +5 -0
- package/index.ios.js +6 -0
- package/index.ios.js.map +1 -0
- 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 +2 -1
- 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 +5085 -4828
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +141 -141
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +141 -141
- 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 +3081 -3066
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +10 -8
- 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 +21366 -21088
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +170 -170
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +170 -170
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +21366 -21088
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +170 -170
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +170 -170
- 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 +3075 -3059
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +3002 -2986
- package/scroll/index.android.d.ts +13 -0
- package/scroll/index.android.js +80 -0
- package/scroll/index.android.js.map +1 -0
- package/scroll/index.ios.d.ts +16 -0
- package/scroll/index.ios.js +154 -0
- package/scroll/index.ios.js.map +1 -0
- package/style.d.ts +201 -0
- package/style.js +2339 -0
- package/style.js.map +1 -0
- package/text/index.android.d.ts +30 -0
- package/text/index.android.js +142 -0
- package/text/index.android.js.map +1 -0
- package/text/index.ios.d.ts +40 -0
- package/text/index.ios.js +294 -0
- package/text/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +27 -0
- package/tree/index.android.js +72 -0
- package/tree/index.android.js.map +1 -0
- package/tree/index.ios.d.ts +28 -0
- package/tree/index.ios.js +73 -0
- package/tree/index.ios.js.map +1 -0
- package/utils/index.android.d.ts +187 -0
- package/utils/index.android.js +595 -0
- package/utils/index.android.js.map +1 -0
- package/utils/index.ios.d.ts +198 -0
- package/utils/index.ios.js +710 -0
- package/utils/index.ios.js.map +1 -0
- package/view/index.android.d.ts +13 -0
- package/view/index.android.js +81 -0
- package/view/index.android.js.map +1 -0
- package/view/index.ios.d.ts +17 -0
- package/view/index.ios.js +154 -0
- package/view/index.ios.js.map +1 -0
- package/web.d.ts +55 -0
- package/web.js +189 -0
- package/web.js.map +1 -0
|
@@ -10,6 +10,170 @@ import UIKit
|
|
|
10
10
|
import _Concurrency
|
|
11
11
|
import _StringProcessing
|
|
12
12
|
import _SwiftConcurrencyShims
|
|
13
|
+
@objc public protocol MasonCharacterData {
|
|
14
|
+
@objc var data: Swift.String { get set }
|
|
15
|
+
@objc var length: Swift.Int { get }
|
|
16
|
+
@objc @discardableResult
|
|
17
|
+
func appendData(_ s: Swift.String) -> Self
|
|
18
|
+
@objc @discardableResult
|
|
19
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
20
|
+
@objc @discardableResult
|
|
21
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
22
|
+
@objc @discardableResult
|
|
23
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
24
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
25
|
+
@objc @discardableResult
|
|
26
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
27
|
+
@objc @discardableResult
|
|
28
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
29
|
+
}
|
|
30
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
31
|
+
@objc public var data: Swift.String
|
|
32
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
33
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
34
|
+
@objc public var length: Swift.Int {
|
|
35
|
+
@objc get
|
|
36
|
+
}
|
|
37
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
38
|
+
@discardableResult
|
|
39
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
40
|
+
@discardableResult
|
|
41
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
42
|
+
@discardableResult
|
|
43
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
44
|
+
@discardableResult
|
|
45
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
46
|
+
@discardableResult
|
|
47
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
48
|
+
@discardableResult
|
|
49
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
50
|
+
@objc deinit
|
|
51
|
+
}
|
|
52
|
+
extension Mason.MasonTextNode {
|
|
53
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
54
|
+
}
|
|
55
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
56
|
+
case None
|
|
57
|
+
case P
|
|
58
|
+
case Span
|
|
59
|
+
case Code
|
|
60
|
+
case H1
|
|
61
|
+
case H2
|
|
62
|
+
case H3
|
|
63
|
+
case H4
|
|
64
|
+
case H5
|
|
65
|
+
case H6
|
|
66
|
+
case Li
|
|
67
|
+
case Blockquote
|
|
68
|
+
case B
|
|
69
|
+
case Pre
|
|
70
|
+
public typealias RawValue = Swift.Int32
|
|
71
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
72
|
+
get
|
|
73
|
+
}
|
|
74
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
75
|
+
public var description: Swift.String {
|
|
76
|
+
get
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
public enum InlineSegmentPayload {
|
|
80
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
81
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
82
|
+
}
|
|
83
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
84
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
85
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
86
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
87
|
+
get
|
|
88
|
+
}
|
|
89
|
+
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
90
|
+
get
|
|
91
|
+
}
|
|
92
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
93
|
+
@objc get
|
|
94
|
+
}
|
|
95
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
96
|
+
@objc get
|
|
97
|
+
}
|
|
98
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
99
|
+
get
|
|
100
|
+
set
|
|
101
|
+
}
|
|
102
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
103
|
+
@objc get
|
|
104
|
+
@objc set
|
|
105
|
+
}
|
|
106
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
107
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
108
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
109
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
110
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String, textState: Swift.String)
|
|
111
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
112
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
113
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
114
|
+
@objc get
|
|
115
|
+
@objc set
|
|
116
|
+
}
|
|
117
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
118
|
+
@objc get
|
|
119
|
+
@objc set
|
|
120
|
+
}
|
|
121
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
122
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
123
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
124
|
+
@objc get
|
|
125
|
+
@objc set
|
|
126
|
+
}
|
|
127
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
128
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
129
|
+
@objc get
|
|
130
|
+
@objc set
|
|
131
|
+
}
|
|
132
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: CoreFoundation.CGFloat {
|
|
133
|
+
@objc get
|
|
134
|
+
@objc set
|
|
135
|
+
}
|
|
136
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
137
|
+
@objc get
|
|
138
|
+
@objc set
|
|
139
|
+
}
|
|
140
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
141
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
142
|
+
@objc get
|
|
143
|
+
@objc set
|
|
144
|
+
}
|
|
145
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
146
|
+
@objc get
|
|
147
|
+
@objc set
|
|
148
|
+
}
|
|
149
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
150
|
+
@objc get
|
|
151
|
+
@objc set
|
|
152
|
+
}
|
|
153
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
154
|
+
@objc get
|
|
155
|
+
@objc set
|
|
156
|
+
}
|
|
157
|
+
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
158
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
159
|
+
@objc deinit
|
|
160
|
+
}
|
|
161
|
+
extension Mason.MasonText {
|
|
162
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
163
|
+
}
|
|
164
|
+
extension Mason.MasonText {
|
|
165
|
+
@objc @discardableResult
|
|
166
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
167
|
+
}
|
|
168
|
+
extension Mason.MasonText {
|
|
169
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
170
|
+
}
|
|
171
|
+
extension Mason.MasonText {
|
|
172
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public var text: Swift.String {
|
|
173
|
+
@objc get
|
|
174
|
+
@objc set
|
|
175
|
+
}
|
|
176
|
+
}
|
|
13
177
|
@objc(NSCFontDisplay) public enum NSCFontDisplay : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
14
178
|
case auto
|
|
15
179
|
case block
|
|
@@ -250,6 +414,8 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
250
414
|
@objc public var mason: Mason.NSCMason {
|
|
251
415
|
get
|
|
252
416
|
}
|
|
417
|
+
@objc public var onNodeAttached: (() -> Swift.Void)?
|
|
418
|
+
@objc public var onNodeDetached: (() -> Swift.Void)?
|
|
253
419
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
254
420
|
get
|
|
255
421
|
}
|
|
@@ -262,7 +428,7 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
262
428
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
263
429
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
264
430
|
@objc public var parent: Mason.MasonNode? {
|
|
265
|
-
get
|
|
431
|
+
@objc get
|
|
266
432
|
}
|
|
267
433
|
@objc public var parentNode: Mason.MasonNode? {
|
|
268
434
|
@objc get
|
|
@@ -348,6 +514,7 @@ extension Mason.MasonElement {
|
|
|
348
514
|
public func syncStyle(_ state: Swift.String)
|
|
349
515
|
public func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
350
516
|
public func requestLayout()
|
|
517
|
+
public func invalidateLayout()
|
|
351
518
|
public func addView(_ view: UIKit.UIView)
|
|
352
519
|
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
353
520
|
public func append(_ element: any Mason.MasonElement)
|
|
@@ -1070,173 +1237,6 @@ extension UIKit.UIColor {
|
|
|
1070
1237
|
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1071
1238
|
@objc deinit
|
|
1072
1239
|
}
|
|
1073
|
-
@objc public protocol MasonCharacterData {
|
|
1074
|
-
@objc var data: Swift.String { get set }
|
|
1075
|
-
@objc var length: Swift.Int { get }
|
|
1076
|
-
@objc @discardableResult
|
|
1077
|
-
func appendData(_ s: Swift.String) -> Self
|
|
1078
|
-
@objc @discardableResult
|
|
1079
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1080
|
-
@objc @discardableResult
|
|
1081
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1082
|
-
@objc @discardableResult
|
|
1083
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1084
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1085
|
-
@objc @discardableResult
|
|
1086
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
1087
|
-
@objc @discardableResult
|
|
1088
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1089
|
-
}
|
|
1090
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1091
|
-
@objc public var data: Swift.String
|
|
1092
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1093
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1094
|
-
@objc public var length: Swift.Int {
|
|
1095
|
-
@objc get
|
|
1096
|
-
}
|
|
1097
|
-
@objc override public var parent: Mason.MasonNode? {
|
|
1098
|
-
@objc get
|
|
1099
|
-
}
|
|
1100
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1101
|
-
@discardableResult
|
|
1102
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1103
|
-
@discardableResult
|
|
1104
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1105
|
-
@discardableResult
|
|
1106
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1107
|
-
@discardableResult
|
|
1108
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1109
|
-
@discardableResult
|
|
1110
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1111
|
-
@discardableResult
|
|
1112
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1113
|
-
@objc deinit
|
|
1114
|
-
}
|
|
1115
|
-
extension Mason.MasonTextNode {
|
|
1116
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1117
|
-
}
|
|
1118
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1119
|
-
case None
|
|
1120
|
-
case P
|
|
1121
|
-
case Span
|
|
1122
|
-
case Code
|
|
1123
|
-
case H1
|
|
1124
|
-
case H2
|
|
1125
|
-
case H3
|
|
1126
|
-
case H4
|
|
1127
|
-
case H5
|
|
1128
|
-
case H6
|
|
1129
|
-
case Li
|
|
1130
|
-
case Blockquote
|
|
1131
|
-
case B
|
|
1132
|
-
case Pre
|
|
1133
|
-
public typealias RawValue = Swift.Int32
|
|
1134
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1135
|
-
get
|
|
1136
|
-
}
|
|
1137
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
1138
|
-
public var description: Swift.String {
|
|
1139
|
-
get
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
public enum InlineSegmentPayload {
|
|
1143
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
1144
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
1145
|
-
}
|
|
1146
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1147
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1148
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1149
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1150
|
-
get
|
|
1151
|
-
}
|
|
1152
|
-
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
1153
|
-
get
|
|
1154
|
-
}
|
|
1155
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1156
|
-
@objc get
|
|
1157
|
-
}
|
|
1158
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1159
|
-
@objc get
|
|
1160
|
-
}
|
|
1161
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1162
|
-
get
|
|
1163
|
-
set
|
|
1164
|
-
}
|
|
1165
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
1166
|
-
@objc get
|
|
1167
|
-
@objc set
|
|
1168
|
-
}
|
|
1169
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
1170
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1171
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1172
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1173
|
-
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String, textState: Swift.String)
|
|
1174
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1175
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1176
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
1177
|
-
@objc get
|
|
1178
|
-
@objc set
|
|
1179
|
-
}
|
|
1180
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
1181
|
-
@objc get
|
|
1182
|
-
@objc set
|
|
1183
|
-
}
|
|
1184
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
1185
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
1186
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
1187
|
-
@objc get
|
|
1188
|
-
@objc set
|
|
1189
|
-
}
|
|
1190
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1191
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
1192
|
-
@objc get
|
|
1193
|
-
@objc set
|
|
1194
|
-
}
|
|
1195
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: CoreFoundation.CGFloat {
|
|
1196
|
-
@objc get
|
|
1197
|
-
@objc set
|
|
1198
|
-
}
|
|
1199
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
1200
|
-
@objc get
|
|
1201
|
-
@objc set
|
|
1202
|
-
}
|
|
1203
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
1204
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
1205
|
-
@objc get
|
|
1206
|
-
@objc set
|
|
1207
|
-
}
|
|
1208
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
1209
|
-
@objc get
|
|
1210
|
-
@objc set
|
|
1211
|
-
}
|
|
1212
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
1213
|
-
@objc get
|
|
1214
|
-
@objc set
|
|
1215
|
-
}
|
|
1216
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
1217
|
-
@objc get
|
|
1218
|
-
@objc set
|
|
1219
|
-
}
|
|
1220
|
-
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
1221
|
-
@objc @_Concurrency.MainActor @preconcurrency public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
1222
|
-
@objc deinit
|
|
1223
|
-
}
|
|
1224
|
-
extension Mason.MasonText {
|
|
1225
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
1226
|
-
}
|
|
1227
|
-
extension Mason.MasonText {
|
|
1228
|
-
@objc @discardableResult
|
|
1229
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
1230
|
-
}
|
|
1231
|
-
extension Mason.MasonText {
|
|
1232
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1233
|
-
}
|
|
1234
|
-
extension Mason.MasonText {
|
|
1235
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public var text: Swift.String {
|
|
1236
|
-
@objc get
|
|
1237
|
-
@objc set
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
1240
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1241
1241
|
case Auto
|
|
1242
1242
|
case Points
|
|
@@ -1906,6 +1906,8 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1906
1906
|
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
1907
1907
|
@objc deinit
|
|
1908
1908
|
}
|
|
1909
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1910
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1909
1911
|
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
1910
1912
|
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
1911
1913
|
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
@@ -1918,8 +1920,6 @@ extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
|
1918
1920
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
1919
1921
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
1920
1922
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
1921
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1922
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1923
1923
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
1924
1924
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
1925
1925
|
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
|
+
7gfngR5fXT1HFy/7KmpnAnKb7fc=
|
|
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
|
+
5eLXbfOsn/t4DmhevfmaLh16ggY=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
tq4QOc6BYanhigpxP9ltxCwVruY=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
nQSQ7UsqSG4tErJwQ0kkiLWKqxE=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
VzKGRQgBfxWmIzyf7rm7B+6SlJg=
|
|
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
|
+
VzKGRQgBfxWmIzyf7rm7B+6SlJg=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
E556MyHWRliciec1HSqEyNlMB/0=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
nQSQ7UsqSG4tErJwQ0kkiLWKqxE=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
iNGlsDTcyu/KLPNe7BwEMfC9pUo=
|
|
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
|
+
iNGlsDTcyu/KLPNe7BwEMfC9pUo=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
Pv2ISPcXGXg6Oqm+dj+l9Qnkst8=
|
|
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
|
+
dYnZBuvdv2MseLrsOdrYAQ63dhs1JG6aNpwIL3ZjJRo=
|
|
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
|
+
R/ZjzsnzZWVYq3ZETbh52WmgU2RjIuSSzTOVxIbfzHs=
|
|
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
|
+
p4aWBxIJTGDhRJSDckD4soy2hfW/qN6bgSQZ5YZCxts=
|
|
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
|
+
2CEpfYGWOxoHl5pojFTm/eBdQJCytL9iQD9+d6nBFGY=
|
|
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
|
+
tYM+GUQeP2OB7U2jUeywkAJLzJ1BbCpoQHUqq/8IQQk=
|
|
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
|
+
tYM+GUQeP2OB7U2jUeywkAJLzJ1BbCpoQHUqq/8IQQk=
|
|
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
|
+
3uulRiRZBfT9QmJmfPzAWpH6XTA6GPJHQctNtuduQ8Q=
|
|
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
|
+
2CEpfYGWOxoHl5pojFTm/eBdQJCytL9iQD9+d6nBFGY=
|
|
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
|
+
n9E7Bj59xegwdXyTWsohjzd3EejauuzCAOuR0E/t1Lk=
|
|
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
|
+
n9E7Bj59xegwdXyTWsohjzd3EejauuzCAOuR0E/t1Lk=
|
|
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
|
+
EcODPVJ9CCQFgDzMtZgA/42gLcX0i2TJUXCIHl9+ISw=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|