@triniwiz/nativescript-masonkit 1.0.0-alpha.23 → 1.0.0-alpha.25
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 +133 -0
- package/common.js +1508 -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 +122 -11
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +0 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
- 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 +29619 -25969
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +314 -181
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +314 -181
- 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 +3066 -2864
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +244 -22
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +0 -5
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
- 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 +17763 -14134
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +314 -181
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +314 -181
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17763 -14134
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +314 -181
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +314 -181
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +28 -28
- 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 +3059 -2864
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2986 -2779
- package/scroll/index.android.d.ts +13 -0
- package/scroll/index.android.js +68 -0
- package/scroll/index.android.js.map +1 -0
- package/scroll/index.ios.d.ts +16 -0
- package/scroll/index.ios.js +150 -0
- package/scroll/index.ios.js.map +1 -0
- package/style.d.ts +201 -0
- package/style.js +2315 -0
- package/style.js.map +1 -0
- package/text/index.android.d.ts +30 -0
- package/text/index.android.js +149 -0
- package/text/index.android.js.map +1 -0
- package/text/index.ios.d.ts +39 -0
- package/text/index.ios.js +288 -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 +27 -0
- package/tree/index.ios.js +72 -0
- package/tree/index.ios.js.map +1 -0
- package/utils/index.android.d.ts +187 -0
- package/utils/index.android.js +594 -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 +73 -0
- package/view/index.android.js.map +1 -0
- package/view/index.ios.d.ts +17 -0
- package/view/index.ios.js +155 -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,173 @@ import UIKit
|
|
|
10
10
|
import _Concurrency
|
|
11
11
|
import _StringProcessing
|
|
12
12
|
import _SwiftConcurrencyShims
|
|
13
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
14
|
+
case None
|
|
15
|
+
case P
|
|
16
|
+
case Span
|
|
17
|
+
case Code
|
|
18
|
+
case H1
|
|
19
|
+
case H2
|
|
20
|
+
case H3
|
|
21
|
+
case H4
|
|
22
|
+
case H5
|
|
23
|
+
case H6
|
|
24
|
+
case Li
|
|
25
|
+
case Blockquote
|
|
26
|
+
case B
|
|
27
|
+
case Pre
|
|
28
|
+
public typealias RawValue = Swift.Int32
|
|
29
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
30
|
+
get
|
|
31
|
+
}
|
|
32
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
33
|
+
public var description: Swift.String {
|
|
34
|
+
get
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
public enum InlineSegmentPayload {
|
|
38
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
39
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
40
|
+
}
|
|
41
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
42
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
43
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
44
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
45
|
+
get
|
|
46
|
+
}
|
|
47
|
+
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
48
|
+
get
|
|
49
|
+
}
|
|
50
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
51
|
+
@objc get
|
|
52
|
+
}
|
|
53
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
54
|
+
@objc get
|
|
55
|
+
}
|
|
56
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
57
|
+
get
|
|
58
|
+
set
|
|
59
|
+
}
|
|
60
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
61
|
+
@objc get
|
|
62
|
+
@objc set
|
|
63
|
+
}
|
|
64
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
65
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
66
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
67
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
68
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String, textState: Swift.String)
|
|
69
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
70
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
71
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
72
|
+
@objc get
|
|
73
|
+
@objc set
|
|
74
|
+
}
|
|
75
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
76
|
+
@objc get
|
|
77
|
+
@objc set
|
|
78
|
+
}
|
|
79
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
80
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
81
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
82
|
+
@objc get
|
|
83
|
+
@objc set
|
|
84
|
+
}
|
|
85
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
86
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
87
|
+
@objc get
|
|
88
|
+
@objc set
|
|
89
|
+
}
|
|
90
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: CoreFoundation.CGFloat {
|
|
91
|
+
@objc get
|
|
92
|
+
@objc set
|
|
93
|
+
}
|
|
94
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
95
|
+
@objc get
|
|
96
|
+
@objc set
|
|
97
|
+
}
|
|
98
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
99
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
100
|
+
@objc get
|
|
101
|
+
@objc set
|
|
102
|
+
}
|
|
103
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
104
|
+
@objc get
|
|
105
|
+
@objc set
|
|
106
|
+
}
|
|
107
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
108
|
+
@objc get
|
|
109
|
+
@objc set
|
|
110
|
+
}
|
|
111
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
112
|
+
@objc get
|
|
113
|
+
@objc set
|
|
114
|
+
}
|
|
115
|
+
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
116
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
117
|
+
@objc deinit
|
|
118
|
+
}
|
|
119
|
+
extension Mason.MasonText {
|
|
120
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
121
|
+
}
|
|
122
|
+
extension Mason.MasonText {
|
|
123
|
+
@objc @discardableResult
|
|
124
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
125
|
+
}
|
|
126
|
+
extension Mason.MasonText {
|
|
127
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
128
|
+
}
|
|
129
|
+
extension Mason.MasonText {
|
|
130
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public var text: Swift.String {
|
|
131
|
+
@objc get
|
|
132
|
+
@objc set
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
@objc public protocol MasonCharacterData {
|
|
136
|
+
@objc var data: Swift.String { get set }
|
|
137
|
+
@objc var length: Swift.Int { get }
|
|
138
|
+
@objc @discardableResult
|
|
139
|
+
func appendData(_ s: Swift.String) -> Self
|
|
140
|
+
@objc @discardableResult
|
|
141
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
142
|
+
@objc @discardableResult
|
|
143
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
144
|
+
@objc @discardableResult
|
|
145
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
146
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
147
|
+
@objc @discardableResult
|
|
148
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
149
|
+
@objc @discardableResult
|
|
150
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
151
|
+
}
|
|
152
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
153
|
+
@objc public var data: Swift.String
|
|
154
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
155
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
156
|
+
@objc public var length: Swift.Int {
|
|
157
|
+
@objc get
|
|
158
|
+
}
|
|
159
|
+
@objc override public var parent: Mason.MasonNode? {
|
|
160
|
+
@objc get
|
|
161
|
+
}
|
|
162
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
163
|
+
@discardableResult
|
|
164
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
165
|
+
@discardableResult
|
|
166
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
167
|
+
@discardableResult
|
|
168
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
169
|
+
@discardableResult
|
|
170
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
171
|
+
@discardableResult
|
|
172
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
173
|
+
@discardableResult
|
|
174
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
175
|
+
@objc deinit
|
|
176
|
+
}
|
|
177
|
+
extension Mason.MasonTextNode {
|
|
178
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
179
|
+
}
|
|
13
180
|
@objc(NSCFontDisplay) public enum NSCFontDisplay : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
14
181
|
case auto
|
|
15
182
|
case block
|
|
@@ -22,7 +189,7 @@ import _SwiftConcurrencyShims
|
|
|
22
189
|
get
|
|
23
190
|
}
|
|
24
191
|
}
|
|
25
|
-
@objc(NSCFontWeight) public enum NSCFontWeight : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
192
|
+
@objc(NSCFontWeight) public enum NSCFontWeight : Swift.Int, Swift.RawRepresentable, Swift.Codable, Swift.CustomStringConvertible {
|
|
26
193
|
case thin
|
|
27
194
|
case extraLight
|
|
28
195
|
case light
|
|
@@ -32,6 +199,9 @@ import _SwiftConcurrencyShims
|
|
|
32
199
|
case bold
|
|
33
200
|
case extraBold
|
|
34
201
|
case black
|
|
202
|
+
public var description: Swift.String {
|
|
203
|
+
get
|
|
204
|
+
}
|
|
35
205
|
public typealias RawValue = Swift.Int
|
|
36
206
|
public init?(rawValue: Swift.Int)
|
|
37
207
|
public var rawValue: Swift.Int {
|
|
@@ -40,6 +210,7 @@ import _SwiftConcurrencyShims
|
|
|
40
210
|
public var uiFontWeight: UIKit.UIFont.Weight {
|
|
41
211
|
get
|
|
42
212
|
}
|
|
213
|
+
public static func from(uiFontWeight: UIKit.UIFont.Weight) -> Mason.NSCFontWeight
|
|
43
214
|
}
|
|
44
215
|
@objcMembers @objc(NSCFontDescriptors) public class NSCFontDescriptors : ObjectiveC.NSObject, Swift.Codable {
|
|
45
216
|
@objc public init(family: Swift.String)
|
|
@@ -232,23 +403,29 @@ public let MasonLengthPercentageSizeMaxPercentWH: Mason.MasonSize<Mason.MasonLen
|
|
|
232
403
|
public let MasonDimensionSizeZero: Mason.MasonSize<Mason.MasonDimension>
|
|
233
404
|
public let MasonLengthPercentageAutoSizeZero: Mason.MasonSize<Mason.MasonLengthPercentageAuto>
|
|
234
405
|
public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPercentage>
|
|
235
|
-
public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
406
|
+
@objc(MasonNodeType) public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
236
407
|
case element
|
|
237
408
|
case text
|
|
238
409
|
case document
|
|
239
|
-
public init?(rawValue: Swift.Int32)
|
|
240
410
|
public typealias RawValue = Swift.Int32
|
|
241
411
|
public var rawValue: Swift.Int32 {
|
|
242
412
|
get
|
|
243
413
|
}
|
|
414
|
+
public init?(rawValue: Swift.Int32)
|
|
244
415
|
}
|
|
245
416
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
417
|
+
@objc public var mason: Mason.NSCMason {
|
|
418
|
+
get
|
|
419
|
+
}
|
|
246
420
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
247
421
|
get
|
|
248
422
|
}
|
|
249
423
|
@objc public var computedLayout: Mason.MasonLayout {
|
|
250
424
|
get
|
|
251
425
|
}
|
|
426
|
+
@objc public var document: Mason.MasonDocument? {
|
|
427
|
+
get
|
|
428
|
+
}
|
|
252
429
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
253
430
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
254
431
|
@objc public var parent: Mason.MasonNode? {
|
|
@@ -260,11 +437,15 @@ public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
|
260
437
|
public var parentElement: (any Mason.MasonElement)? {
|
|
261
438
|
get
|
|
262
439
|
}
|
|
263
|
-
public var type: Mason.MasonNodeType {
|
|
440
|
+
@objc public var type: Mason.MasonNodeType {
|
|
264
441
|
get
|
|
265
442
|
}
|
|
266
443
|
@objc public func getChildren() -> [Mason.MasonNode]
|
|
267
444
|
@objc public func getLayoutChildren() -> [Mason.MasonNode]
|
|
445
|
+
@objc public var inBatch: Swift.Bool {
|
|
446
|
+
@objc get
|
|
447
|
+
@objc set
|
|
448
|
+
}
|
|
268
449
|
@objc public init(mason doc: Mason.NSCMason, children nodes: [Mason.MasonNode])
|
|
269
450
|
@objc deinit
|
|
270
451
|
@objc public var isDirty: Swift.Bool {
|
|
@@ -277,13 +458,18 @@ extension Mason.MasonNode {
|
|
|
277
458
|
@objc dynamic public func setChildren(value: [Mason.MasonNode])
|
|
278
459
|
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
279
460
|
}
|
|
280
|
-
public protocol
|
|
461
|
+
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
462
|
+
@objc var style: Mason.MasonStyle { get }
|
|
463
|
+
@objc var node: Mason.MasonNode { get }
|
|
464
|
+
@objc var uiView: UIKit.UIView { get }
|
|
465
|
+
}
|
|
466
|
+
public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
281
467
|
var style: Mason.MasonStyle { get }
|
|
282
468
|
var node: Mason.MasonNode { get }
|
|
469
|
+
var uiView: UIKit.UIView { get }
|
|
283
470
|
func markNodeDirty()
|
|
284
471
|
func isNodeDirty() -> Swift.Bool
|
|
285
472
|
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
286
|
-
var uiView: UIKit.UIView { get }
|
|
287
473
|
@discardableResult
|
|
288
474
|
func layout() -> Mason.MasonLayout
|
|
289
475
|
func compute()
|
|
@@ -312,11 +498,17 @@ public protocol MasonElement {
|
|
|
312
498
|
func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
313
499
|
func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
314
500
|
func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
501
|
+
func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
502
|
+
func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
503
|
+
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
315
504
|
}
|
|
316
505
|
extension Mason.MasonElement {
|
|
317
506
|
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
318
507
|
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
319
508
|
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
509
|
+
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
510
|
+
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
511
|
+
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
320
512
|
public var style: Mason.MasonStyle {
|
|
321
513
|
get
|
|
322
514
|
}
|
|
@@ -373,167 +565,6 @@ extension Mason.MasonElement {
|
|
|
373
565
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
374
566
|
@objc deinit
|
|
375
567
|
}
|
|
376
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
377
|
-
case None
|
|
378
|
-
case P
|
|
379
|
-
case Span
|
|
380
|
-
case Code
|
|
381
|
-
case H1
|
|
382
|
-
case H2
|
|
383
|
-
case H3
|
|
384
|
-
case H4
|
|
385
|
-
case H5
|
|
386
|
-
case H6
|
|
387
|
-
case Li
|
|
388
|
-
case Blockquote
|
|
389
|
-
case B
|
|
390
|
-
case Pre
|
|
391
|
-
public typealias RawValue = Swift.Int32
|
|
392
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
393
|
-
get
|
|
394
|
-
}
|
|
395
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
396
|
-
public var description: Swift.String {
|
|
397
|
-
get
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
public enum InlineSegmentPayload {
|
|
401
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
402
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
403
|
-
}
|
|
404
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement {
|
|
405
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
406
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
407
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
408
|
-
get
|
|
409
|
-
}
|
|
410
|
-
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
411
|
-
get
|
|
412
|
-
}
|
|
413
|
-
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
414
|
-
@objc get
|
|
415
|
-
}
|
|
416
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
417
|
-
get
|
|
418
|
-
set
|
|
419
|
-
}
|
|
420
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
421
|
-
@objc get
|
|
422
|
-
@objc set
|
|
423
|
-
}
|
|
424
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
425
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
426
|
-
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String, textState: Swift.String)
|
|
427
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
428
|
-
@objc get
|
|
429
|
-
@objc set
|
|
430
|
-
}
|
|
431
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
432
|
-
@objc get
|
|
433
|
-
@objc set
|
|
434
|
-
}
|
|
435
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
436
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
437
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
438
|
-
@objc get
|
|
439
|
-
@objc set
|
|
440
|
-
}
|
|
441
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
442
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
443
|
-
@objc get
|
|
444
|
-
@objc set
|
|
445
|
-
}
|
|
446
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: CoreFoundation.CGFloat {
|
|
447
|
-
@objc get
|
|
448
|
-
@objc set
|
|
449
|
-
}
|
|
450
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
451
|
-
@objc get
|
|
452
|
-
@objc set
|
|
453
|
-
}
|
|
454
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
455
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
456
|
-
@objc get
|
|
457
|
-
@objc set
|
|
458
|
-
}
|
|
459
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
460
|
-
@objc get
|
|
461
|
-
@objc set
|
|
462
|
-
}
|
|
463
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
464
|
-
@objc get
|
|
465
|
-
@objc set
|
|
466
|
-
}
|
|
467
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
468
|
-
@objc get
|
|
469
|
-
@objc set
|
|
470
|
-
}
|
|
471
|
-
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
472
|
-
@objc @_Concurrency.MainActor @preconcurrency public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
473
|
-
@objc deinit
|
|
474
|
-
}
|
|
475
|
-
extension Mason.MasonText {
|
|
476
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
477
|
-
}
|
|
478
|
-
extension Mason.MasonText {
|
|
479
|
-
@objc @discardableResult
|
|
480
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
481
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func insertChild(_ child: Mason.MasonNode, at index: Swift.Int)
|
|
482
|
-
}
|
|
483
|
-
extension Mason.MasonText {
|
|
484
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
485
|
-
}
|
|
486
|
-
extension Mason.MasonText {
|
|
487
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public var text: Swift.String {
|
|
488
|
-
@objc get
|
|
489
|
-
@objc set
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
@objc public protocol MasonCharacterData {
|
|
493
|
-
@objc var data: Swift.String { get set }
|
|
494
|
-
@objc var length: Swift.Int { get }
|
|
495
|
-
@objc @discardableResult
|
|
496
|
-
func appendData(_ s: Swift.String) -> Self
|
|
497
|
-
@objc @discardableResult
|
|
498
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
499
|
-
@objc @discardableResult
|
|
500
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
501
|
-
@objc @discardableResult
|
|
502
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
503
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
504
|
-
@objc @discardableResult
|
|
505
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
506
|
-
@objc @discardableResult
|
|
507
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
508
|
-
}
|
|
509
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
510
|
-
@objc public var data: Swift.String
|
|
511
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
512
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
513
|
-
@objc public var length: Swift.Int {
|
|
514
|
-
@objc get
|
|
515
|
-
}
|
|
516
|
-
@objc override public var parent: Mason.MasonNode? {
|
|
517
|
-
@objc get
|
|
518
|
-
}
|
|
519
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
520
|
-
@discardableResult
|
|
521
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
522
|
-
@discardableResult
|
|
523
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
524
|
-
@discardableResult
|
|
525
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
526
|
-
@discardableResult
|
|
527
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
528
|
-
@discardableResult
|
|
529
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
530
|
-
@discardableResult
|
|
531
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
532
|
-
@objc deinit
|
|
533
|
-
}
|
|
534
|
-
extension Mason.MasonTextNode {
|
|
535
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
536
|
-
}
|
|
537
568
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(MasonLayout) @objcMembers public class MasonLayout : ObjectiveC.NSObject, Swift.Codable {
|
|
538
569
|
@objc final public let order: Swift.Int
|
|
539
570
|
@objc final public let x: Swift.Float
|
|
@@ -557,6 +588,9 @@ extension Mason.MasonTextNode {
|
|
|
557
588
|
}
|
|
558
589
|
@objc final public let children: [Mason.MasonLayout]
|
|
559
590
|
@objc public static let zero: Mason.MasonLayout
|
|
591
|
+
@objc public var hasChildren: Swift.Bool {
|
|
592
|
+
@objc get
|
|
593
|
+
}
|
|
560
594
|
@objc override dynamic public var description: Swift.String {
|
|
561
595
|
@objc get
|
|
562
596
|
}
|
|
@@ -1091,18 +1125,106 @@ public struct MasonPoint<T> : Swift.Codable where T : Swift.Decodable, T : Swift
|
|
|
1091
1125
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1092
1126
|
public init(from decoder: any Swift.Decoder) throws
|
|
1093
1127
|
}
|
|
1128
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(MasonSwiftHelpers) public class SwiftHelpers : ObjectiveC.NSObject {
|
|
1129
|
+
@objc public static func markNodeDirty(_ element: any Mason.MasonElementObjc)
|
|
1130
|
+
@objc public static func isNodeDirty(_ element: any Mason.MasonElementObjc) -> Swift.Bool
|
|
1131
|
+
@objc public static func configure(_ element: any Mason.MasonElementObjc, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
1132
|
+
@objc @discardableResult
|
|
1133
|
+
public static func layout(_ element: any Mason.MasonElementObjc) -> Mason.MasonLayout
|
|
1134
|
+
@objc public static func compute(_ element: any Mason.MasonElementObjc)
|
|
1135
|
+
@objc public static func compute(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
1136
|
+
@objc public static func computeMaxContent(_ element: any Mason.MasonElementObjc)
|
|
1137
|
+
@objc public static func computeMinContent(_ element: any Mason.MasonElementObjc)
|
|
1138
|
+
@objc public static func computeWithSize(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
1139
|
+
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc)
|
|
1140
|
+
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc, layout: Swift.Bool)
|
|
1141
|
+
@objc public static func computeWithMaxContent(_ element: any Mason.MasonElementObjc)
|
|
1142
|
+
@objc public static func computeWithMinContent(_ element: any Mason.MasonElementObjc)
|
|
1143
|
+
@objc public static func attachAndApply(_ element: any Mason.MasonElementObjc)
|
|
1144
|
+
@objc public static func requestLayout(_ element: any Mason.MasonElementObjc)
|
|
1145
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
1146
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, text: Swift.String)
|
|
1147
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
1148
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, texts: [Swift.String])
|
|
1149
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
1150
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
1151
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
1152
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, string: Swift.String)
|
|
1153
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
1154
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, strings: [Swift.String])
|
|
1155
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
1156
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
1157
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, text: Swift.String, _ index: Swift.Int)
|
|
1158
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1159
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode, _ index: Swift.Int)
|
|
1160
|
+
@objc override dynamic public init()
|
|
1161
|
+
@objc deinit
|
|
1162
|
+
}
|
|
1094
1163
|
extension UIKit.UIColor {
|
|
1095
1164
|
public static func colorFromARGB(_ argb: Swift.UInt32) -> UIKit.UIColor
|
|
1096
1165
|
public static func colorFromRGBA(_ rgba: Swift.UInt32) -> UIKit.UIColor
|
|
1097
1166
|
public func toUInt32() -> Swift.UInt32
|
|
1098
1167
|
}
|
|
1099
|
-
@
|
|
1100
|
-
@objc
|
|
1101
|
-
|
|
1168
|
+
@objc extension ObjectiveC.NSObject {
|
|
1169
|
+
@objc dynamic public func mason_addView(_ view: UIKit.UIView)
|
|
1170
|
+
@objc dynamic public func mason_addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1171
|
+
@objc dynamic public func mason_markNodeDirty()
|
|
1172
|
+
@objc dynamic public func mason_isNodeDirty() -> Swift.Bool
|
|
1173
|
+
@objc dynamic public func mason_configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
1174
|
+
@discardableResult
|
|
1175
|
+
@objc dynamic public func mason_layout() -> Mason.MasonLayout
|
|
1176
|
+
@objc dynamic public func mason_compute()
|
|
1177
|
+
@objc dynamic public func mason_compute(width: Swift.Float, height: Swift.Float)
|
|
1178
|
+
@objc dynamic public func mason_computeMaxContent()
|
|
1179
|
+
@objc dynamic public func mason_computeMinContent()
|
|
1180
|
+
@objc dynamic public func mason_computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
1181
|
+
@objc dynamic public func mason_computeWithViewSize()
|
|
1182
|
+
@objc dynamic public func mason_computeWithViewSize(layout: Swift.Bool)
|
|
1183
|
+
@objc dynamic public func mason_computeWithMaxContent()
|
|
1184
|
+
@objc dynamic public func mason_computeWithMinContent()
|
|
1185
|
+
@objc dynamic public func mason_attachAndApply()
|
|
1186
|
+
@objc dynamic public func mason_requestLayout()
|
|
1187
|
+
@objc dynamic public func mason_invalidateLayout()
|
|
1188
|
+
@objc dynamic public func mason_append(_ element: any Mason.MasonElementObjc)
|
|
1189
|
+
@objc dynamic public func mason_append(text: Swift.String)
|
|
1190
|
+
@objc dynamic public func mason_append(node: Mason.MasonNode)
|
|
1191
|
+
@objc dynamic public func mason_append(texts: [Swift.String])
|
|
1192
|
+
@objc dynamic public func mason_append(elements: [any Mason.MasonElementObjc])
|
|
1193
|
+
@objc dynamic public func mason_append(nodes: [Mason.MasonNode])
|
|
1194
|
+
@objc dynamic public func mason_prepend(_ element: any Mason.MasonElementObjc)
|
|
1195
|
+
@objc dynamic public func mason_prepend(text: Swift.String)
|
|
1196
|
+
@objc dynamic public func mason_prepend(node: Mason.MasonNode)
|
|
1197
|
+
@objc dynamic public func mason_prepend(texts: [Swift.String])
|
|
1198
|
+
@objc dynamic public func mason_prepend(elements: [any Mason.MasonElementObjc])
|
|
1199
|
+
@objc dynamic public func mason_prepend(nodes: [Mason.MasonNode])
|
|
1200
|
+
@objc dynamic public func mason_addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1201
|
+
@objc dynamic public func mason_addChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1202
|
+
@objc dynamic public func mason_addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
1203
|
+
@objc dynamic public func mason_replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1204
|
+
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1205
|
+
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
1206
|
+
}
|
|
1207
|
+
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1208
|
+
case Loading
|
|
1209
|
+
case Loaded
|
|
1210
|
+
case Error
|
|
1211
|
+
public typealias RawValue = Swift.Int32
|
|
1212
|
+
public var rawValue: Mason.LoadingState.RawValue {
|
|
1213
|
+
get
|
|
1102
1214
|
}
|
|
1103
|
-
|
|
1215
|
+
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1216
|
+
}
|
|
1217
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIImageView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1218
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1104
1219
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1220
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1221
|
+
@objc get
|
|
1222
|
+
}
|
|
1223
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1224
|
+
@objc get
|
|
1225
|
+
}
|
|
1105
1226
|
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1227
|
+
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
1106
1228
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var image: UIKit.UIImage? {
|
|
1107
1229
|
@objc get
|
|
1108
1230
|
@objc set
|
|
@@ -1112,6 +1234,7 @@ extension UIKit.UIColor {
|
|
|
1112
1234
|
@objc set
|
|
1113
1235
|
}
|
|
1114
1236
|
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1237
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1115
1238
|
@objc deinit
|
|
1116
1239
|
}
|
|
1117
1240
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
@@ -1528,14 +1651,18 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1528
1651
|
}
|
|
1529
1652
|
@objc deinit
|
|
1530
1653
|
}
|
|
1531
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonElement {
|
|
1532
|
-
@
|
|
1654
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1655
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1656
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1657
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1658
|
+
@objc get
|
|
1659
|
+
}
|
|
1660
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1533
1661
|
@objc get
|
|
1534
1662
|
}
|
|
1535
1663
|
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
1536
1664
|
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
1537
|
-
@objc @_Concurrency.MainActor @preconcurrency
|
|
1538
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1665
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1539
1666
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1540
1667
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1541
1668
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
@@ -1762,12 +1889,16 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1762
1889
|
@objc @_Concurrency.MainActor @preconcurrency public func getColumnGap() -> Mason.MasonLengthPercentageCompat
|
|
1763
1890
|
@objc deinit
|
|
1764
1891
|
}
|
|
1765
|
-
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, Mason.MasonElement,
|
|
1766
|
-
@
|
|
1892
|
+
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, UIKit.UIScrollViewDelegate, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1893
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1894
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1895
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1767
1896
|
@objc get
|
|
1768
1897
|
}
|
|
1769
|
-
@
|
|
1770
|
-
|
|
1898
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1899
|
+
@objc get
|
|
1900
|
+
}
|
|
1901
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1771
1902
|
@_Concurrency.MainActor @preconcurrency @objc public func scrollViewWillBeginDragging(_ scrollView: UIKit.UIScrollView)
|
|
1772
1903
|
@_Concurrency.MainActor @preconcurrency @objc public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView)
|
|
1773
1904
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
@@ -1775,6 +1906,8 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1775
1906
|
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
1776
1907
|
@objc deinit
|
|
1777
1908
|
}
|
|
1909
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1910
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1778
1911
|
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
1779
1912
|
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
1780
1913
|
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
@@ -1783,10 +1916,10 @@ extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
|
1783
1916
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
1784
1917
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
1785
1918
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
1786
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1787
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1788
1919
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
1789
1920
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
1921
|
+
extension Mason.LoadingState : Swift.Equatable {}
|
|
1922
|
+
extension Mason.LoadingState : Swift.Hashable {}
|
|
1790
1923
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
1791
1924
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
1792
1925
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|