@triniwiz/nativescript-masonkit 1.0.0-beta.6 → 1.0.0-beta.60
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/br/index.android.d.ts +10 -0
- package/br/index.android.js +31 -0
- package/br/index.android.js.map +1 -0
- package/br/index.ios.d.ts +11 -0
- package/br/index.ios.js +30 -0
- package/br/index.ios.js.map +1 -0
- package/button/index.android.d.ts +4 -2
- package/button/index.android.js +9 -4
- package/button/index.android.js.map +1 -1
- package/button/index.ios.d.ts +4 -5
- package/button/index.ios.js +9 -66
- package/button/index.ios.js.map +1 -1
- package/common.d.ts +135 -70
- package/common.js +775 -1337
- package/common.js.map +1 -1
- package/img/index.android.d.ts +5 -4
- package/img/index.android.js +18 -6
- package/img/index.android.js.map +1 -1
- package/img/index.ios.d.ts +3 -2
- package/img/index.ios.js +23 -19
- package/img/index.ios.js.map +1 -1
- package/index.android.d.ts +4 -1
- package/index.android.js +4 -1
- package/index.android.js.map +1 -1
- package/index.d.ts +21 -1
- package/index.ios.d.ts +4 -1
- package/index.ios.js +4 -1
- package/index.ios.js.map +1 -1
- package/input/common.d.ts +20 -0
- package/input/common.js +64 -0
- package/input/common.js.map +1 -0
- package/input/index.android.d.ts +20 -0
- package/input/index.android.js +118 -0
- package/input/index.android.js.map +1 -0
- package/input/index.ios.d.ts +23 -0
- package/input/index.ios.js +163 -0
- package/input/index.ios.js.map +1 -0
- package/package.json +3 -2
- 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 +281 -51
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +70 -42
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -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 +39728 -27944
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +876 -247
- 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 +876 -247
- 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 +7413 -4294
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +562 -102
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +70 -42
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -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 +34845 -23061
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +975 -346
- 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 +975 -346
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +34845 -23061
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +975 -346
- 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 +975 -346
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +29 -29
- 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 +7408 -4287
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +7103 -4165
- package/properties.d.ts +49 -0
- package/properties.js +1147 -0
- package/properties.js.map +1 -0
- package/scroll/index.android.d.ts +3 -2
- package/scroll/index.android.js +16 -4
- package/scroll/index.android.js.map +1 -1
- package/scroll/index.ios.d.ts +3 -2
- package/scroll/index.ios.js +18 -5
- package/scroll/index.ios.js.map +1 -1
- package/style.d.ts +9 -5
- package/style.js +622 -367
- package/style.js.map +1 -1
- package/symbols.d.ts +10 -0
- package/symbols.js +11 -0
- package/symbols.js.map +1 -0
- package/text/index.android.d.ts +11 -5
- package/text/index.android.js +72 -103
- package/text/index.android.js.map +1 -1
- package/text/index.ios.d.ts +12 -10
- package/text/index.ios.js +69 -168
- package/text/index.ios.js.map +1 -1
- package/text-node/index.android.d.ts +13 -0
- package/text-node/index.android.js +35 -0
- package/text-node/index.android.js.map +1 -0
- package/text-node/index.ios.d.ts +13 -0
- package/text-node/index.ios.js +35 -0
- package/text-node/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +10 -2
- package/tree/index.android.js +62 -1
- package/tree/index.android.js.map +1 -1
- package/tree/index.ios.d.ts +4 -1
- package/tree/index.ios.js +36 -1
- package/tree/index.ios.js.map +1 -1
- package/utils/index.android.d.ts +2 -1
- package/utils/index.android.js +1 -1
- package/utils/index.android.js.map +1 -1
- package/utils/index.ios.d.ts +2 -1
- package/utils/index.ios.js +1 -1
- package/utils/index.ios.js.map +1 -1
- package/view/index.android.d.ts +3 -2
- package/view/index.android.js +18 -4
- package/view/index.android.js.map +1 -1
- package/view/index.ios.d.ts +3 -2
- package/view/index.ios.js +18 -5
- package/view/index.ios.js.map +1 -1
- package/web.d.ts +6 -0
- package/web.js +22 -0
- package/web.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios15.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Mason
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
|
5
5
|
import CoreImage.CIFilterBuiltins
|
|
6
6
|
import CoreGraphics
|
|
7
7
|
import CoreImage
|
|
@@ -10,6 +10,7 @@ import Foundation
|
|
|
10
10
|
@_exported import Mason
|
|
11
11
|
import Swift
|
|
12
12
|
import UIKit
|
|
13
|
+
import UniformTypeIdentifiers
|
|
13
14
|
import _Concurrency
|
|
14
15
|
import _StringProcessing
|
|
15
16
|
import _SwiftConcurrencyShims
|
|
@@ -20,7 +21,9 @@ import _SwiftConcurrencyShims
|
|
|
20
21
|
case optional
|
|
21
22
|
case swap
|
|
22
23
|
public typealias RawValue = Swift.Int
|
|
24
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
23
25
|
public init?(rawValue: Swift.Int)
|
|
26
|
+
#endif
|
|
24
27
|
public var rawValue: Swift.Int {
|
|
25
28
|
get
|
|
26
29
|
}
|
|
@@ -39,7 +42,9 @@ import _SwiftConcurrencyShims
|
|
|
39
42
|
get
|
|
40
43
|
}
|
|
41
44
|
public typealias RawValue = Swift.Int
|
|
45
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
42
46
|
public init?(rawValue: Swift.Int)
|
|
47
|
+
#endif
|
|
43
48
|
public var rawValue: Swift.Int {
|
|
44
49
|
get
|
|
45
50
|
}
|
|
@@ -63,12 +68,14 @@ import _SwiftConcurrencyShims
|
|
|
63
68
|
case loaded
|
|
64
69
|
case error
|
|
65
70
|
public typealias RawValue = Swift.Int
|
|
71
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
66
72
|
public init?(rawValue: Swift.Int)
|
|
73
|
+
#endif
|
|
67
74
|
public var rawValue: Swift.Int {
|
|
68
75
|
get
|
|
69
76
|
}
|
|
70
77
|
}
|
|
71
|
-
@objcMembers @objc(NSCFontFace) public class NSCFontFace : ObjectiveC.NSObject {
|
|
78
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(NSCFontFace) public class NSCFontFace : ObjectiveC.NSObject {
|
|
72
79
|
@objc public var font: CoreGraphics.CGFont? {
|
|
73
80
|
get
|
|
74
81
|
}
|
|
@@ -76,14 +83,22 @@ import _SwiftConcurrencyShims
|
|
|
76
83
|
get
|
|
77
84
|
}
|
|
78
85
|
@objc public func updateDescriptor(value: Swift.String)
|
|
86
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
79
87
|
@objc public static func loadFromStyle(style: Swift.String) -> Mason.NSCFontFace?
|
|
88
|
+
#endif
|
|
89
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
80
90
|
@objc public static func importFromRemote(url: Swift.String, load: Swift.Bool, callback: @escaping ([Mason.NSCFontFace]?, Swift.String?) -> Swift.Void)
|
|
91
|
+
#endif
|
|
81
92
|
@objc public init(family: Swift.String)
|
|
82
93
|
@objc public init(family: Swift.String, owner style: Mason.MasonStyle)
|
|
83
94
|
@objc public init(family: Swift.String, source: Swift.String)
|
|
84
95
|
@objc public init(family: Swift.String, data source: Foundation.NSData)
|
|
96
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
85
97
|
@objc public init(_ family: Swift.String, _ source: Swift.String? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
98
|
+
#endif
|
|
99
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
86
100
|
@objc public init(_ family: Swift.String, data: Foundation.NSData? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
101
|
+
#endif
|
|
87
102
|
@objc public var status: Mason.NSCFontFaceStatus
|
|
88
103
|
@objc public var display: Mason.NSCFontDisplay
|
|
89
104
|
@objc public func setFontDisplay(value: Swift.String)
|
|
@@ -91,7 +106,9 @@ import _SwiftConcurrencyShims
|
|
|
91
106
|
@objc get
|
|
92
107
|
@objc set
|
|
93
108
|
}
|
|
109
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
94
110
|
@objc public func setFontStyle(value: Swift.String, angle: Swift.String?)
|
|
111
|
+
#endif
|
|
95
112
|
@objc public var weight: Mason.NSCFontWeight {
|
|
96
113
|
@objc get
|
|
97
114
|
@objc set
|
|
@@ -106,7 +123,9 @@ import _SwiftConcurrencyShims
|
|
|
106
123
|
@objc public var descentOverride: Swift.String {
|
|
107
124
|
@objc get
|
|
108
125
|
}
|
|
126
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
109
127
|
@objc public func load(_ callback: @escaping (Swift.String?) -> Swift.Void)
|
|
128
|
+
#endif
|
|
110
129
|
@objc deinit
|
|
111
130
|
}
|
|
112
131
|
@objcMembers @objc(MasonDocument) public class MasonDocument : ObjectiveC.NSObject {
|
|
@@ -138,13 +157,17 @@ public struct Line<T> {
|
|
|
138
157
|
@objc public static func FitContent(fit: Swift.Float) -> Mason.MinMax
|
|
139
158
|
@objc public static func FitContentPercent(fit: Swift.Float) -> Mason.MinMax
|
|
140
159
|
@objc public static let Auto: Mason.MinMax
|
|
160
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
141
161
|
@objc public static func fromTypeValue(_ minType: Swift.Int, _ minValue: Swift.Float, _ maxType: Swift.Int, _ maxValue: Swift.Float) -> Mason.MinMax?
|
|
162
|
+
#endif
|
|
142
163
|
@objc public var cssValue: Swift.String {
|
|
143
164
|
@objc get
|
|
144
165
|
}
|
|
166
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
145
167
|
@objc public var jsonValue: Swift.String? {
|
|
146
168
|
@objc get
|
|
147
169
|
}
|
|
170
|
+
#endif
|
|
148
171
|
required public init(from decoder: any Swift.Decoder) throws
|
|
149
172
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
150
173
|
@objc deinit
|
|
@@ -156,7 +179,9 @@ final public class CSSBorderRenderer {
|
|
|
156
179
|
@objc override dynamic public func layoutSublayers()
|
|
157
180
|
@objc override dynamic public init()
|
|
158
181
|
@objc override dynamic public init(layer: Any)
|
|
182
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
159
183
|
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
184
|
+
#endif
|
|
160
185
|
@objc deinit
|
|
161
186
|
}
|
|
162
187
|
public enum BorderStyle : Swift.Equatable {
|
|
@@ -170,14 +195,18 @@ final public class CSSBorderRenderer {
|
|
|
170
195
|
case ridge
|
|
171
196
|
case inset
|
|
172
197
|
case outset
|
|
198
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
173
199
|
public init?(rawValue: Swift.Int32)
|
|
200
|
+
#endif
|
|
174
201
|
public var rawValue: Swift.Int32 {
|
|
175
202
|
get
|
|
176
203
|
}
|
|
204
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
177
205
|
public init?(name: Swift.String)
|
|
206
|
+
#endif
|
|
178
207
|
public static func == (a: Mason.CSSBorderRenderer.BorderStyle, b: Mason.CSSBorderRenderer.BorderStyle) -> Swift.Bool
|
|
179
208
|
}
|
|
180
|
-
public
|
|
209
|
+
public class BorderSide : Swift.CustomStringConvertible {
|
|
181
210
|
public var description: Swift.String {
|
|
182
211
|
get
|
|
183
212
|
}
|
|
@@ -195,6 +224,7 @@ final public class CSSBorderRenderer {
|
|
|
195
224
|
set
|
|
196
225
|
}
|
|
197
226
|
public init(style: Mason.MasonStyle, side sideType: Mason.CSSBorderRenderer.Side)
|
|
227
|
+
@objc deinit
|
|
198
228
|
}
|
|
199
229
|
public struct CornerRadius : Swift.Equatable {
|
|
200
230
|
public var horizontal: Mason.MasonLengthPercentage
|
|
@@ -231,7 +261,7 @@ final public class CSSBorderRenderer {
|
|
|
231
261
|
}
|
|
232
262
|
@objc deinit
|
|
233
263
|
}
|
|
234
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonButton) @_Concurrency.MainActor @preconcurrency public class Button : UIKit.UIControl, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
264
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonButton) @_Concurrency.MainActor @preconcurrency public class Button : UIKit.UIControl, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
235
265
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
236
266
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
237
267
|
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
@@ -260,10 +290,18 @@ final public class CSSBorderRenderer {
|
|
|
260
290
|
@objc deinit
|
|
261
291
|
}
|
|
262
292
|
extension Mason.Button {
|
|
293
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
263
294
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
295
|
+
#endif
|
|
296
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
264
297
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
298
|
+
#endif
|
|
299
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
265
300
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
301
|
+
#endif
|
|
302
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
266
303
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesCancelled(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
304
|
+
#endif
|
|
267
305
|
}
|
|
268
306
|
@_inheritsConvenienceInitializers @objc(NSCMason) @objcMembers public class NSCMason : ObjectiveC.NSObject {
|
|
269
307
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
@@ -276,8 +314,18 @@ extension Mason.Button {
|
|
|
276
314
|
@objc public func nodeForView(_ view: UIKit.UIView, _ isLeaf: Swift.Bool = true) -> Mason.MasonNode
|
|
277
315
|
@objc public func configureStyleForView(_ view: UIKit.UIView, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
278
316
|
@objc public func styleForView(_ view: UIKit.UIView) -> Mason.MasonStyle
|
|
317
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
318
|
+
@objc public func styleForViewOrNode(_ viewOrNode: Any?) -> Mason.MasonStyle?
|
|
319
|
+
#endif
|
|
279
320
|
@objc @discardableResult
|
|
280
321
|
public func layoutForView(_ view: UIKit.UIView) -> Mason.MasonLayout
|
|
322
|
+
@objc @discardableResult
|
|
323
|
+
public func addEventListener(_ node: Mason.MasonNode, _ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
324
|
+
@objc @discardableResult
|
|
325
|
+
public func removeEventListener(_ node: Mason.MasonNode, _ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
326
|
+
@objc @discardableResult
|
|
327
|
+
public func removeEventListener(_ node: Mason.MasonNode, _ event: Swift.String) -> Swift.Bool
|
|
328
|
+
@objc public func dispatch(_ event: Mason.MasonEvent, _ node: Mason.MasonNode)
|
|
281
329
|
@objc public func clear()
|
|
282
330
|
@objc public func createDocument() -> Mason.MasonDocument
|
|
283
331
|
@objc public func createView() -> Mason.MasonUIView
|
|
@@ -290,200 +338,20 @@ extension Mason.Button {
|
|
|
290
338
|
@objc public func createNode() -> Mason.MasonNode
|
|
291
339
|
public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
292
340
|
@objc public func createBr() -> Mason.MasonBr
|
|
341
|
+
@objc public func createInput(_ type: Mason.MasonInputType = .Text) -> Mason.MasonInput
|
|
293
342
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
294
343
|
@objc public func createTextNode() -> Mason.MasonNode
|
|
295
344
|
@objc public func createImageNode() -> Mason.MasonNode
|
|
345
|
+
@objc public func createLineBreakNode() -> Mason.MasonNode
|
|
346
|
+
@objc public func createListView(isOrdered: Swift.Bool = false) -> Mason.MasonList
|
|
347
|
+
public func createListItemNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
348
|
+
@objc public func createListItemNode() -> Mason.MasonNode
|
|
349
|
+
@objc public func createListItem() -> Mason.MasonLi
|
|
296
350
|
}
|
|
297
351
|
@_inheritsConvenienceInitializers @objcMembers @objc(MeasureOutput) public class MeasureOutput : ObjectiveC.NSObject {
|
|
298
352
|
@objc override dynamic public init()
|
|
299
353
|
@objc deinit
|
|
300
354
|
}
|
|
301
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
302
|
-
case None
|
|
303
|
-
case P
|
|
304
|
-
case Span
|
|
305
|
-
case Code
|
|
306
|
-
case H1
|
|
307
|
-
case H2
|
|
308
|
-
case H3
|
|
309
|
-
case H4
|
|
310
|
-
case H5
|
|
311
|
-
case H6
|
|
312
|
-
case Li
|
|
313
|
-
case Blockquote
|
|
314
|
-
case B
|
|
315
|
-
case Pre
|
|
316
|
-
public typealias RawValue = Swift.Int32
|
|
317
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
318
|
-
get
|
|
319
|
-
}
|
|
320
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
321
|
-
public var description: Swift.String {
|
|
322
|
-
get
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
public enum InlineSegmentPayload {
|
|
326
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
327
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
328
|
-
}
|
|
329
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
330
|
-
@objc override dynamic public init()
|
|
331
|
-
@objc override dynamic public init(layer: Any)
|
|
332
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
333
|
-
@objc deinit
|
|
334
|
-
}
|
|
335
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
336
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
337
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
338
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
339
|
-
@objc get
|
|
340
|
-
@objc set
|
|
341
|
-
}
|
|
342
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
343
|
-
@objc get
|
|
344
|
-
}
|
|
345
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
346
|
-
@objc get
|
|
347
|
-
}
|
|
348
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
349
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
350
|
-
@objc get
|
|
351
|
-
}
|
|
352
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
353
|
-
@objc get
|
|
354
|
-
}
|
|
355
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
356
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
357
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
358
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
359
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
360
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
361
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
362
|
-
get
|
|
363
|
-
set
|
|
364
|
-
}
|
|
365
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
366
|
-
@objc get
|
|
367
|
-
@objc set
|
|
368
|
-
}
|
|
369
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
370
|
-
@objc get
|
|
371
|
-
@objc set
|
|
372
|
-
}
|
|
373
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
374
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
375
|
-
@objc get
|
|
376
|
-
@objc set
|
|
377
|
-
}
|
|
378
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
379
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
380
|
-
@objc get
|
|
381
|
-
@objc set
|
|
382
|
-
}
|
|
383
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
384
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
385
|
-
@objc get
|
|
386
|
-
@objc set
|
|
387
|
-
}
|
|
388
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
389
|
-
@objc get
|
|
390
|
-
@objc set
|
|
391
|
-
}
|
|
392
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
393
|
-
@objc get
|
|
394
|
-
@objc set
|
|
395
|
-
}
|
|
396
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
397
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
398
|
-
@objc get
|
|
399
|
-
@objc set
|
|
400
|
-
}
|
|
401
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
402
|
-
@objc get
|
|
403
|
-
@objc set
|
|
404
|
-
}
|
|
405
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
406
|
-
@objc get
|
|
407
|
-
@objc set
|
|
408
|
-
}
|
|
409
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
410
|
-
@objc get
|
|
411
|
-
@objc set
|
|
412
|
-
}
|
|
413
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
414
|
-
@objc get
|
|
415
|
-
@objc set
|
|
416
|
-
}
|
|
417
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
418
|
-
@objc get
|
|
419
|
-
@objc set
|
|
420
|
-
}
|
|
421
|
-
@objc deinit
|
|
422
|
-
}
|
|
423
|
-
extension Mason.MasonText {
|
|
424
|
-
@objc @discardableResult
|
|
425
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
426
|
-
}
|
|
427
|
-
extension Mason.MasonText {
|
|
428
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
429
|
-
}
|
|
430
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
431
|
-
@objc var engine: Mason.TextEngine { get }
|
|
432
|
-
@objc var node: Mason.MasonNode { get }
|
|
433
|
-
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
434
|
-
}
|
|
435
|
-
extension Mason.TextContainer {
|
|
436
|
-
public func onTextStyleChanged(change: Swift.Int64)
|
|
437
|
-
}
|
|
438
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
439
|
-
public var textContent: Swift.String {
|
|
440
|
-
get
|
|
441
|
-
set
|
|
442
|
-
}
|
|
443
|
-
@objc deinit
|
|
444
|
-
}
|
|
445
|
-
@objc public protocol MasonCharacterData {
|
|
446
|
-
@objc var data: Swift.String { get set }
|
|
447
|
-
@objc var length: Swift.Int { get }
|
|
448
|
-
@objc @discardableResult
|
|
449
|
-
func appendData(_ s: Swift.String) -> Self
|
|
450
|
-
@objc @discardableResult
|
|
451
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
452
|
-
@objc @discardableResult
|
|
453
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
454
|
-
@objc @discardableResult
|
|
455
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
456
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
457
|
-
@objc @discardableResult
|
|
458
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
459
|
-
@objc @discardableResult
|
|
460
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
461
|
-
}
|
|
462
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
463
|
-
@objc public var data: Swift.String
|
|
464
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
465
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
466
|
-
@objc public var length: Swift.Int {
|
|
467
|
-
@objc get
|
|
468
|
-
}
|
|
469
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
470
|
-
@discardableResult
|
|
471
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
472
|
-
@discardableResult
|
|
473
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
474
|
-
@discardableResult
|
|
475
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
476
|
-
@discardableResult
|
|
477
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
478
|
-
@discardableResult
|
|
479
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
480
|
-
@discardableResult
|
|
481
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
482
|
-
@objc deinit
|
|
483
|
-
}
|
|
484
|
-
extension Mason.MasonTextNode {
|
|
485
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
486
|
-
}
|
|
487
355
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MaxSizing) public class MaxSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
488
356
|
@objc public var value: Swift.Float {
|
|
489
357
|
get
|
|
@@ -499,9 +367,11 @@ extension Mason.MasonTextNode {
|
|
|
499
367
|
@objc public var cssValue: Swift.String {
|
|
500
368
|
@objc get
|
|
501
369
|
}
|
|
370
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
502
371
|
@objc public var jsonValue: Swift.String? {
|
|
503
372
|
@objc get
|
|
504
373
|
}
|
|
374
|
+
#endif
|
|
505
375
|
required public init(from decoder: any Swift.Decoder) throws
|
|
506
376
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
507
377
|
@objc deinit
|
|
@@ -554,7 +424,9 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
554
424
|
public var rawValue: Swift.Int32 {
|
|
555
425
|
get
|
|
556
426
|
}
|
|
427
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
557
428
|
public init?(rawValue: Swift.Int32)
|
|
429
|
+
#endif
|
|
558
430
|
}
|
|
559
431
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
560
432
|
@objc public var mason: Mason.NSCMason {
|
|
@@ -573,15 +445,21 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
573
445
|
}
|
|
574
446
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
575
447
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
448
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
576
449
|
@objc public var parent: Mason.MasonNode? {
|
|
577
450
|
@objc get
|
|
578
451
|
}
|
|
452
|
+
#endif
|
|
453
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
579
454
|
@objc public var parentNode: Mason.MasonNode? {
|
|
580
455
|
@objc get
|
|
581
456
|
}
|
|
457
|
+
#endif
|
|
458
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
582
459
|
public var parentElement: (any Mason.MasonElement)? {
|
|
583
460
|
get
|
|
584
461
|
}
|
|
462
|
+
#endif
|
|
585
463
|
@objc public var type: Mason.MasonNodeType {
|
|
586
464
|
get
|
|
587
465
|
}
|
|
@@ -597,7 +475,9 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
597
475
|
@objc get
|
|
598
476
|
}
|
|
599
477
|
@objc public func markDirty()
|
|
478
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
600
479
|
@objc public func getRoot() -> UIKit.UIView?
|
|
480
|
+
#endif
|
|
601
481
|
@objc public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
602
482
|
}
|
|
603
483
|
extension Mason.MasonNode {
|
|
@@ -649,6 +529,7 @@ public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
|
649
529
|
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
650
530
|
}
|
|
651
531
|
extension Mason.MasonElement {
|
|
532
|
+
public func dispatch(_ event: Mason.MasonEvent)
|
|
652
533
|
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
653
534
|
public func syncStyle(_ state: Swift.String, _ textState: Swift.String)
|
|
654
535
|
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
@@ -695,23 +576,286 @@ extension Mason.MasonElement {
|
|
|
695
576
|
public func prepend(elements: [any Mason.MasonElement])
|
|
696
577
|
public func prepend(nodes: [Mason.MasonNode])
|
|
697
578
|
}
|
|
698
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MinSizing) public class MinSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
699
|
-
@objc public var value: Swift.Float {
|
|
579
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MinSizing) public class MinSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
580
|
+
@objc public var value: Swift.Float {
|
|
581
|
+
get
|
|
582
|
+
}
|
|
583
|
+
@objc public static func Points(_ points: Swift.Float) -> Mason.MinSizing
|
|
584
|
+
@objc public static func Percent(_ percent: Swift.Float) -> Mason.MinSizing
|
|
585
|
+
@objc public static let Auto: Mason.MinSizing
|
|
586
|
+
@objc public static let MinContent: Mason.MinSizing
|
|
587
|
+
@objc public static let MaxContent: Mason.MinSizing
|
|
588
|
+
@objc public var cssValue: Swift.String {
|
|
589
|
+
@objc get
|
|
590
|
+
}
|
|
591
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
592
|
+
@objc public var jsonValue: Swift.String? {
|
|
593
|
+
@objc get
|
|
594
|
+
}
|
|
595
|
+
#endif
|
|
596
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
597
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
598
|
+
@objc deinit
|
|
599
|
+
}
|
|
600
|
+
public protocol MasonEventTarget {
|
|
601
|
+
var node: Mason.MasonNode { get }
|
|
602
|
+
@discardableResult
|
|
603
|
+
func addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
604
|
+
@discardableResult
|
|
605
|
+
func removeEventListener(_ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
606
|
+
@discardableResult
|
|
607
|
+
func removeEventListener(_ event: Swift.String) -> Swift.Bool
|
|
608
|
+
func dispatch(_ event: Mason.MasonEvent)
|
|
609
|
+
}
|
|
610
|
+
extension Mason.MasonEventTarget {
|
|
611
|
+
@discardableResult
|
|
612
|
+
public func addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
613
|
+
@discardableResult
|
|
614
|
+
public func removeEventListener(_ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
615
|
+
@discardableResult
|
|
616
|
+
public func removeEventListener(_ event: Swift.String) -> Swift.Bool
|
|
617
|
+
}
|
|
618
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonInput) @_Concurrency.MainActor @preconcurrency public class MasonInput : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement {
|
|
619
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
620
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
621
|
+
@objc @_Concurrency.MainActor @preconcurrency public var multiple: Swift.Bool {
|
|
622
|
+
@objc get
|
|
623
|
+
@objc set
|
|
624
|
+
}
|
|
625
|
+
@objc @_Concurrency.MainActor @preconcurrency public var accept: Swift.String
|
|
626
|
+
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
627
|
+
@objc get
|
|
628
|
+
}
|
|
629
|
+
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
630
|
+
@objc get
|
|
631
|
+
}
|
|
632
|
+
@objc @_Concurrency.MainActor @preconcurrency public var type: Mason.MasonInputType {
|
|
633
|
+
@objc get
|
|
634
|
+
@objc set
|
|
635
|
+
}
|
|
636
|
+
@objc @_Concurrency.MainActor @preconcurrency public var size: Swift.Int32 {
|
|
637
|
+
@objc get
|
|
638
|
+
@objc set
|
|
639
|
+
}
|
|
640
|
+
@objc @_Concurrency.MainActor @preconcurrency public var value: Swift.String {
|
|
641
|
+
@objc get
|
|
642
|
+
@objc set
|
|
643
|
+
}
|
|
644
|
+
@objc @_Concurrency.MainActor @preconcurrency public var valueAsNumber: Swift.Double {
|
|
645
|
+
@objc get
|
|
646
|
+
@objc set
|
|
647
|
+
}
|
|
648
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
649
|
+
@objc @_Concurrency.MainActor @preconcurrency public var valueAsDate: Foundation.Date? {
|
|
650
|
+
@objc get
|
|
651
|
+
@objc set
|
|
652
|
+
}
|
|
653
|
+
#endif
|
|
654
|
+
@objc @_Concurrency.MainActor @preconcurrency public var placeholder: Swift.String {
|
|
655
|
+
@objc get
|
|
656
|
+
@objc set
|
|
657
|
+
}
|
|
658
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
659
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
660
|
+
@objc deinit
|
|
661
|
+
}
|
|
662
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
663
|
+
case None
|
|
664
|
+
case P
|
|
665
|
+
case Span
|
|
666
|
+
case Code
|
|
667
|
+
case H1
|
|
668
|
+
case H2
|
|
669
|
+
case H3
|
|
670
|
+
case H4
|
|
671
|
+
case H5
|
|
672
|
+
case H6
|
|
673
|
+
case Li
|
|
674
|
+
case Blockquote
|
|
675
|
+
case B
|
|
676
|
+
case Pre
|
|
677
|
+
case Strong
|
|
678
|
+
case Em
|
|
679
|
+
case I
|
|
680
|
+
case A
|
|
681
|
+
public typealias RawValue = Swift.Int32
|
|
682
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
683
|
+
get
|
|
684
|
+
}
|
|
685
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
686
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
687
|
+
#endif
|
|
688
|
+
public var description: Swift.String {
|
|
689
|
+
get
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
public enum InlineSegmentPayload {
|
|
693
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
694
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
695
|
+
}
|
|
696
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
697
|
+
@objc override dynamic public init()
|
|
698
|
+
@objc override dynamic public init(layer: Any)
|
|
699
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
700
|
+
@objc deinit
|
|
701
|
+
}
|
|
702
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
703
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
704
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
705
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
706
|
+
@objc get
|
|
707
|
+
@objc set
|
|
708
|
+
}
|
|
709
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
710
|
+
@objc get
|
|
711
|
+
}
|
|
712
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
713
|
+
@objc get
|
|
714
|
+
}
|
|
715
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
716
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
717
|
+
@objc get
|
|
718
|
+
}
|
|
719
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
720
|
+
@objc get
|
|
721
|
+
}
|
|
722
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
723
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
724
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
725
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
726
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
727
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
728
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
729
|
+
get
|
|
730
|
+
set
|
|
731
|
+
}
|
|
732
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
733
|
+
@objc get
|
|
734
|
+
@objc set
|
|
735
|
+
}
|
|
736
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
737
|
+
@objc get
|
|
738
|
+
@objc set
|
|
739
|
+
}
|
|
740
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
741
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
742
|
+
@objc get
|
|
743
|
+
@objc set
|
|
744
|
+
}
|
|
745
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
746
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
747
|
+
@objc get
|
|
748
|
+
@objc set
|
|
749
|
+
}
|
|
750
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
751
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
752
|
+
@objc get
|
|
753
|
+
@objc set
|
|
754
|
+
}
|
|
755
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
756
|
+
@objc get
|
|
757
|
+
@objc set
|
|
758
|
+
}
|
|
759
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
760
|
+
@objc get
|
|
761
|
+
@objc set
|
|
762
|
+
}
|
|
763
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
764
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
765
|
+
@objc get
|
|
766
|
+
@objc set
|
|
767
|
+
}
|
|
768
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
769
|
+
@objc get
|
|
770
|
+
@objc set
|
|
771
|
+
}
|
|
772
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
773
|
+
@objc get
|
|
774
|
+
@objc set
|
|
775
|
+
}
|
|
776
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
777
|
+
@objc get
|
|
778
|
+
@objc set
|
|
779
|
+
}
|
|
780
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
781
|
+
@objc get
|
|
782
|
+
@objc set
|
|
783
|
+
}
|
|
784
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
785
|
+
@objc get
|
|
786
|
+
@objc set
|
|
787
|
+
}
|
|
788
|
+
@objc deinit
|
|
789
|
+
}
|
|
790
|
+
extension Mason.MasonText {
|
|
791
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
792
|
+
@objc @discardableResult
|
|
793
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
794
|
+
#endif
|
|
795
|
+
}
|
|
796
|
+
extension Mason.MasonText {
|
|
797
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
798
|
+
}
|
|
799
|
+
@objc public protocol MasonCharacterData {
|
|
800
|
+
@objc var data: Swift.String { get set }
|
|
801
|
+
@objc var length: Swift.Int { get }
|
|
802
|
+
@objc @discardableResult
|
|
803
|
+
func appendData(_ s: Swift.String) -> Self
|
|
804
|
+
@objc @discardableResult
|
|
805
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
806
|
+
@objc @discardableResult
|
|
807
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
808
|
+
@objc @discardableResult
|
|
809
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
810
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
811
|
+
@objc @discardableResult
|
|
812
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
813
|
+
@objc @discardableResult
|
|
814
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
815
|
+
}
|
|
816
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
817
|
+
@objc public var data: Swift.String {
|
|
818
|
+
@objc get
|
|
819
|
+
@objc set
|
|
820
|
+
}
|
|
821
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
822
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
823
|
+
#endif
|
|
824
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
825
|
+
@objc public var length: Swift.Int {
|
|
826
|
+
@objc get
|
|
827
|
+
}
|
|
828
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
829
|
+
@discardableResult
|
|
830
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
831
|
+
@discardableResult
|
|
832
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
833
|
+
@discardableResult
|
|
834
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
835
|
+
@discardableResult
|
|
836
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
837
|
+
@discardableResult
|
|
838
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
839
|
+
@discardableResult
|
|
840
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
841
|
+
@objc deinit
|
|
842
|
+
}
|
|
843
|
+
extension Mason.MasonTextNode {
|
|
844
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
845
|
+
}
|
|
846
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
847
|
+
@objc var engine: Mason.TextEngine { get }
|
|
848
|
+
@objc var node: Mason.MasonNode { get }
|
|
849
|
+
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
850
|
+
}
|
|
851
|
+
extension Mason.TextContainer {
|
|
852
|
+
public func onTextStyleChanged(change: Swift.Int64)
|
|
853
|
+
}
|
|
854
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
855
|
+
public var textContent: Swift.String {
|
|
700
856
|
get
|
|
857
|
+
set
|
|
701
858
|
}
|
|
702
|
-
@objc public static func Points(_ points: Swift.Float) -> Mason.MinSizing
|
|
703
|
-
@objc public static func Percent(_ percent: Swift.Float) -> Mason.MinSizing
|
|
704
|
-
@objc public static let Auto: Mason.MinSizing
|
|
705
|
-
@objc public static let MinContent: Mason.MinSizing
|
|
706
|
-
@objc public static let MaxContent: Mason.MinSizing
|
|
707
|
-
@objc public var cssValue: Swift.String {
|
|
708
|
-
@objc get
|
|
709
|
-
}
|
|
710
|
-
@objc public var jsonValue: Swift.String? {
|
|
711
|
-
@objc get
|
|
712
|
-
}
|
|
713
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
714
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
715
859
|
@objc deinit
|
|
716
860
|
}
|
|
717
861
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(MasonLayout) @objcMembers public class MasonLayout : ObjectiveC.NSObject, Swift.Codable {
|
|
@@ -740,6 +884,72 @@ extension Mason.MasonElement {
|
|
|
740
884
|
@objc public var hasChildren: Swift.Bool {
|
|
741
885
|
@objc get
|
|
742
886
|
}
|
|
887
|
+
@objc public var borderIsEmpty: Swift.Bool {
|
|
888
|
+
@objc get
|
|
889
|
+
}
|
|
890
|
+
@objc public var borderTop: Swift.Float {
|
|
891
|
+
@objc get
|
|
892
|
+
}
|
|
893
|
+
@objc public var borderRight: Swift.Float {
|
|
894
|
+
@objc get
|
|
895
|
+
}
|
|
896
|
+
@objc public var borderBottom: Swift.Float {
|
|
897
|
+
@objc get
|
|
898
|
+
}
|
|
899
|
+
@objc public var borderLeft: Swift.Float {
|
|
900
|
+
@objc get
|
|
901
|
+
}
|
|
902
|
+
@objc public var marginIsEmpty: Swift.Bool {
|
|
903
|
+
@objc get
|
|
904
|
+
}
|
|
905
|
+
@objc public var marginTop: Swift.Float {
|
|
906
|
+
@objc get
|
|
907
|
+
}
|
|
908
|
+
@objc public var marginRight: Swift.Float {
|
|
909
|
+
@objc get
|
|
910
|
+
}
|
|
911
|
+
@objc public var marginBottom: Swift.Float {
|
|
912
|
+
@objc get
|
|
913
|
+
}
|
|
914
|
+
@objc public var marginLeft: Swift.Float {
|
|
915
|
+
@objc get
|
|
916
|
+
}
|
|
917
|
+
@objc public var paddingIsEmpty: Swift.Bool {
|
|
918
|
+
@objc get
|
|
919
|
+
}
|
|
920
|
+
@objc public var paddingTop: Swift.Float {
|
|
921
|
+
@objc get
|
|
922
|
+
}
|
|
923
|
+
@objc public var paddingRight: Swift.Float {
|
|
924
|
+
@objc get
|
|
925
|
+
}
|
|
926
|
+
@objc public var paddingBottom: Swift.Float {
|
|
927
|
+
@objc get
|
|
928
|
+
}
|
|
929
|
+
@objc public var paddingLeft: Swift.Float {
|
|
930
|
+
@objc get
|
|
931
|
+
}
|
|
932
|
+
@objc public var sizeIsEmpty: Swift.Bool {
|
|
933
|
+
@objc get
|
|
934
|
+
}
|
|
935
|
+
@objc public var contentSizeIsEmpty: Swift.Bool {
|
|
936
|
+
@objc get
|
|
937
|
+
}
|
|
938
|
+
@objc public var contentSizeWidth: Swift.Float {
|
|
939
|
+
@objc get
|
|
940
|
+
}
|
|
941
|
+
@objc public var contentSizeHeight: Swift.Float {
|
|
942
|
+
@objc get
|
|
943
|
+
}
|
|
944
|
+
@objc public var scrollbarSizeIsEmpty: Swift.Bool {
|
|
945
|
+
@objc get
|
|
946
|
+
}
|
|
947
|
+
@objc public var scrollbarSizeWidth: Swift.Float {
|
|
948
|
+
@objc get
|
|
949
|
+
}
|
|
950
|
+
@objc public var scrollbarSizeHeight: Swift.Float {
|
|
951
|
+
@objc get
|
|
952
|
+
}
|
|
743
953
|
@objc override dynamic public var description: Swift.String {
|
|
744
954
|
@objc get
|
|
745
955
|
}
|
|
@@ -747,13 +957,71 @@ extension Mason.MasonElement {
|
|
|
747
957
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
748
958
|
required public init(from decoder: any Swift.Decoder) throws
|
|
749
959
|
}
|
|
960
|
+
@_hasMissingDesignatedInitializers @objc(MasonList) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonList : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate, UIKit.UICollectionViewDelegateFlowLayout {
|
|
961
|
+
@objc @_Concurrency.MainActor @preconcurrency public var delegate: (any Mason.MasonList.MasonListDelegate)?
|
|
962
|
+
@objc(MasonListDelegate) public protocol MasonListDelegate {
|
|
963
|
+
@objc func list(_ list: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
|
|
964
|
+
@objc func list(_ list: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
|
|
965
|
+
}
|
|
966
|
+
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class MasonListCell : UIKit.UICollectionViewCell {
|
|
967
|
+
@_Concurrency.MainActor @preconcurrency public var willMove: ((Mason.MasonList.MasonListCell) -> Swift.Void)?
|
|
968
|
+
@_Concurrency.MainActor @preconcurrency public var view: (any Mason.MasonElement)? {
|
|
969
|
+
get
|
|
970
|
+
}
|
|
971
|
+
@_Concurrency.MainActor @preconcurrency public static func initWithEmptyBackground() -> Mason.MasonList.MasonListCell
|
|
972
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
973
|
+
@_Concurrency.MainActor @preconcurrency public func setView(_ newView: (any Mason.MasonElement)?)
|
|
974
|
+
#endif
|
|
975
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
976
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toSuperview newSuperview: UIKit.UIView?)
|
|
977
|
+
#endif
|
|
978
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func prepareForReuse()
|
|
979
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func preferredLayoutAttributesFitting(_ layoutAttributes: UIKit.UICollectionViewLayoutAttributes) -> UIKit.UICollectionViewLayoutAttributes
|
|
980
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
981
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
982
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
983
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
984
|
+
#endif
|
|
985
|
+
@objc deinit
|
|
986
|
+
}
|
|
987
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
988
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
989
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
990
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
991
|
+
@objc get
|
|
992
|
+
}
|
|
993
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
994
|
+
@objc get
|
|
995
|
+
}
|
|
996
|
+
@objc @_Concurrency.MainActor @preconcurrency public var values: Foundation.NSMutableData {
|
|
997
|
+
@objc get
|
|
998
|
+
@objc set
|
|
999
|
+
}
|
|
1000
|
+
@objc @_Concurrency.MainActor @preconcurrency public var count: Swift.Int {
|
|
1001
|
+
@objc get
|
|
1002
|
+
@objc set
|
|
1003
|
+
}
|
|
1004
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
1005
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1006
|
+
@objc @_Concurrency.MainActor @preconcurrency public func register(cellClass: Swift.AnyClass?, forCellWithReuseIdentifier identifier: Swift.String)
|
|
1007
|
+
#endif
|
|
1008
|
+
@objc @_Concurrency.MainActor @preconcurrency public func reload()
|
|
1009
|
+
@objc @_Concurrency.MainActor @preconcurrency public var isOrdered: Swift.Bool
|
|
1010
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int
|
|
1011
|
+
@_Concurrency.MainActor @preconcurrency @objc public func numberOfSections(in collectionView: UIKit.UICollectionView) -> Swift.Int
|
|
1012
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
|
|
1013
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
|
|
1014
|
+
@objc deinit
|
|
1015
|
+
}
|
|
750
1016
|
@_hasMissingDesignatedInitializers @objc(TrackSizingFunction) @objcMembers public class TrackSizingFunction : ObjectiveC.NSObject {
|
|
751
1017
|
@objc public var isRepeating: Swift.Bool {
|
|
752
1018
|
get
|
|
753
1019
|
}
|
|
1020
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
754
1021
|
@objc public var value: Any? {
|
|
755
1022
|
@objc get
|
|
756
1023
|
}
|
|
1024
|
+
#endif
|
|
757
1025
|
@objc public static func Single(_ value: Mason.MinMax) -> Mason.TrackSizingFunction
|
|
758
1026
|
@objc public static func AutoRepeat(_ gridTrackRepetition: Mason.GridTrackRepetition, _ value: Swift.Array<Mason.MinMax>) -> Mason.TrackSizingFunction
|
|
759
1027
|
@objc public var cssValue: Swift.String {
|
|
@@ -773,9 +1041,11 @@ extension Mason.MasonElement {
|
|
|
773
1041
|
@objc public var cssValue: Swift.String {
|
|
774
1042
|
@objc get
|
|
775
1043
|
}
|
|
1044
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
776
1045
|
@objc public var jsonValue: Swift.String? {
|
|
777
1046
|
@objc get
|
|
778
1047
|
}
|
|
1048
|
+
#endif
|
|
779
1049
|
@objc public static let Auto: Mason.MasonDimensionCompat
|
|
780
1050
|
@objc public static let Zero: Mason.MasonDimensionCompat
|
|
781
1051
|
@objc deinit
|
|
@@ -794,9 +1064,11 @@ extension Mason.MasonElement {
|
|
|
794
1064
|
@objc public var cssValue: Swift.String {
|
|
795
1065
|
@objc get
|
|
796
1066
|
}
|
|
1067
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
797
1068
|
@objc public var jsonValue: Swift.String? {
|
|
798
1069
|
@objc get
|
|
799
1070
|
}
|
|
1071
|
+
#endif
|
|
800
1072
|
@objc public static let Auto: Mason.MasonLengthPercentageAutoCompat
|
|
801
1073
|
@objc public static let Zero: Mason.MasonLengthPercentageAutoCompat
|
|
802
1074
|
@objc deinit
|
|
@@ -815,9 +1087,11 @@ extension Mason.MasonElement {
|
|
|
815
1087
|
@objc public var cssValue: Swift.String {
|
|
816
1088
|
@objc get
|
|
817
1089
|
}
|
|
1090
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
818
1091
|
@objc public var jsonValue: Swift.String? {
|
|
819
1092
|
@objc get
|
|
820
1093
|
}
|
|
1094
|
+
#endif
|
|
821
1095
|
@objc public static let Zero: Mason.MasonLengthPercentageCompat
|
|
822
1096
|
@objc deinit
|
|
823
1097
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -835,9 +1109,11 @@ extension Mason.MasonElement {
|
|
|
835
1109
|
@objc public var cssValue: Swift.String {
|
|
836
1110
|
@objc get
|
|
837
1111
|
}
|
|
1112
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
838
1113
|
@objc public var jsonValue: Swift.String? {
|
|
839
1114
|
@objc get
|
|
840
1115
|
}
|
|
1116
|
+
#endif
|
|
841
1117
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
842
1118
|
@objc deinit
|
|
843
1119
|
}
|
|
@@ -845,7 +1121,9 @@ extension Mason.MasonElement {
|
|
|
845
1121
|
case loading
|
|
846
1122
|
case loaded
|
|
847
1123
|
public typealias RawValue = Swift.Int
|
|
1124
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
848
1125
|
public init?(rawValue: Swift.Int)
|
|
1126
|
+
#endif
|
|
849
1127
|
public var rawValue: Swift.Int {
|
|
850
1128
|
get
|
|
851
1129
|
}
|
|
@@ -856,17 +1134,145 @@ extension Mason.MasonElement {
|
|
|
856
1134
|
@objc public var onStatus: ((Mason.NSCFontFaceSetStatus) -> Swift.Void)?
|
|
857
1135
|
@objc public func iter() -> Foundation.NSEnumerator
|
|
858
1136
|
@objc public func array() -> [Any]
|
|
1137
|
+
@objc public func get(_ fontFamily: Swift.String) -> Mason.NSCFontFace
|
|
1138
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1139
|
+
@objc public func getOrNil(_ fontFamily: Swift.String) -> Mason.NSCFontFace?
|
|
1140
|
+
#endif
|
|
859
1141
|
@objc public func add(_ font: Mason.NSCFontFace)
|
|
860
1142
|
@objc public func clear()
|
|
861
1143
|
@objc public func delete(_ font: Mason.NSCFontFace)
|
|
1144
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
862
1145
|
@objc public func check(_ font: Swift.String, _ text: Swift.String?) -> Swift.Bool
|
|
1146
|
+
#endif
|
|
1147
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
863
1148
|
@objc public func load(_ font: Swift.String, _ text: Swift.String?, _ callback: @escaping ([Mason.NSCFontFace], Swift.String?) -> Swift.Void)
|
|
1149
|
+
#endif
|
|
864
1150
|
@objc public var size: Swift.Int {
|
|
865
1151
|
@objc get
|
|
866
1152
|
}
|
|
867
1153
|
@objc override dynamic public init()
|
|
868
1154
|
@objc deinit
|
|
869
1155
|
}
|
|
1156
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(MasonEventOptions) public class MasonEventOptions : ObjectiveC.NSObject {
|
|
1157
|
+
@objc public var isComposing: Swift.Bool
|
|
1158
|
+
@objc override dynamic public init()
|
|
1159
|
+
@objc public init(isComposing: Swift.Bool = false)
|
|
1160
|
+
@objc deinit
|
|
1161
|
+
}
|
|
1162
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(MasonMouseEventOptions) public class MasonMouseEventOptions : Mason.MasonEventOptions {
|
|
1163
|
+
@objc override dynamic public init()
|
|
1164
|
+
@objc override public init(isComposing: Swift.Bool = super)
|
|
1165
|
+
@objc deinit
|
|
1166
|
+
}
|
|
1167
|
+
@objcMembers @objc(MasonEvent) public class MasonEvent : ObjectiveC.NSObject {
|
|
1168
|
+
@objc final public let type: Swift.String
|
|
1169
|
+
@objc public var bubbles: Swift.Bool {
|
|
1170
|
+
get
|
|
1171
|
+
}
|
|
1172
|
+
@objc public var cancelable: Swift.Bool {
|
|
1173
|
+
get
|
|
1174
|
+
}
|
|
1175
|
+
@objc public var isComposing: Swift.Bool {
|
|
1176
|
+
get
|
|
1177
|
+
}
|
|
1178
|
+
@objc final public let timeStamp: Swift.Double
|
|
1179
|
+
@objc public var defaultPrevented: Swift.Bool {
|
|
1180
|
+
get
|
|
1181
|
+
}
|
|
1182
|
+
@objc public var propagationStopped: Swift.Bool {
|
|
1183
|
+
get
|
|
1184
|
+
}
|
|
1185
|
+
@objc public var immediatePropagationStopped: Swift.Bool {
|
|
1186
|
+
get
|
|
1187
|
+
}
|
|
1188
|
+
@objc public var target: Any? {
|
|
1189
|
+
get
|
|
1190
|
+
}
|
|
1191
|
+
@objc public var currentTarget: Any? {
|
|
1192
|
+
get
|
|
1193
|
+
}
|
|
1194
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1195
|
+
@objc public init(type eventType: Swift.String, bubbles eventBubbles: Swift.Bool = false, cancelable eventCancelable: Swift.Bool = false, options: Mason.MasonEventOptions? = nil)
|
|
1196
|
+
#endif
|
|
1197
|
+
@objc public func preventDefault()
|
|
1198
|
+
@objc public func stopPropagation()
|
|
1199
|
+
@objc public func stopImmediatePropagation()
|
|
1200
|
+
@objc deinit
|
|
1201
|
+
}
|
|
1202
|
+
@objcMembers @objc(MasonInputEvent) public class MasonInputEvent : Mason.MasonEvent {
|
|
1203
|
+
@objc final public let data: Swift.String?
|
|
1204
|
+
@objc final public let inputType: Swift.String?
|
|
1205
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1206
|
+
@objc public init(type: Swift.String, data inputData: Swift.String? = nil, inputType masonInputType: Swift.String? = nil, options: Mason.MasonEventOptions? = nil)
|
|
1207
|
+
#endif
|
|
1208
|
+
@objc deinit
|
|
1209
|
+
}
|
|
1210
|
+
@objcMembers @objc(MasonFileInputEvent) public class MasonFileInputEvent : Mason.MasonEvent {
|
|
1211
|
+
@objc final public let data: Swift.String?
|
|
1212
|
+
@objc final public let inputType: Swift.String?
|
|
1213
|
+
@objc final public let rawData: [Foundation.URL]
|
|
1214
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1215
|
+
@objc public init(type: Swift.String, data inputData: Swift.String? = nil, inputType masonInputType: Swift.String? = nil, options: Mason.MasonEventOptions? = nil, rawData inputRawData: [Foundation.URL])
|
|
1216
|
+
#endif
|
|
1217
|
+
@objc deinit
|
|
1218
|
+
}
|
|
1219
|
+
@objcMembers @objc(MasonMouseEvent) public class MasonMouseEvent : Mason.MasonEvent {
|
|
1220
|
+
@objc public var button: Swift.Int {
|
|
1221
|
+
get
|
|
1222
|
+
}
|
|
1223
|
+
@objc public var buttons: Swift.Int {
|
|
1224
|
+
get
|
|
1225
|
+
}
|
|
1226
|
+
@objc public var clientX: Swift.Float {
|
|
1227
|
+
get
|
|
1228
|
+
}
|
|
1229
|
+
@objc public var clientY: Swift.Float {
|
|
1230
|
+
get
|
|
1231
|
+
}
|
|
1232
|
+
@objc public var ctrlKey: Swift.Bool {
|
|
1233
|
+
get
|
|
1234
|
+
}
|
|
1235
|
+
@objc public var shiftKey: Swift.Bool {
|
|
1236
|
+
get
|
|
1237
|
+
}
|
|
1238
|
+
@objc public var altKey: Swift.Bool {
|
|
1239
|
+
get
|
|
1240
|
+
}
|
|
1241
|
+
@objc public var metaKey: Swift.Bool {
|
|
1242
|
+
get
|
|
1243
|
+
}
|
|
1244
|
+
@objc public var detail: Swift.Int {
|
|
1245
|
+
get
|
|
1246
|
+
}
|
|
1247
|
+
@objc public var screenX: Swift.Float {
|
|
1248
|
+
get
|
|
1249
|
+
}
|
|
1250
|
+
@objc public var screenY: Swift.Float {
|
|
1251
|
+
get
|
|
1252
|
+
}
|
|
1253
|
+
@objc public var relatedTarget: Any? {
|
|
1254
|
+
get
|
|
1255
|
+
}
|
|
1256
|
+
@objc public var region: Any? {
|
|
1257
|
+
get
|
|
1258
|
+
}
|
|
1259
|
+
@objc public var movementX: Swift.Int {
|
|
1260
|
+
get
|
|
1261
|
+
}
|
|
1262
|
+
@objc public var movementY: Swift.Int {
|
|
1263
|
+
get
|
|
1264
|
+
}
|
|
1265
|
+
@objc public var pageX: Swift.Float {
|
|
1266
|
+
get
|
|
1267
|
+
}
|
|
1268
|
+
@objc public var pageY: Swift.Float {
|
|
1269
|
+
get
|
|
1270
|
+
}
|
|
1271
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1272
|
+
@objc public init(type: Swift.String, options: Mason.MasonMouseEventOptions? = nil)
|
|
1273
|
+
#endif
|
|
1274
|
+
@objc deinit
|
|
1275
|
+
}
|
|
870
1276
|
@objcMembers @objc(MasonDimensionRectCompat) public class MasonDimensionRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
871
1277
|
@objc public var left: Mason.MasonDimensionCompat
|
|
872
1278
|
@objc public var right: Mason.MasonDimensionCompat
|
|
@@ -918,15 +1324,27 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
918
1324
|
@objc public var font: Mason.NSCFontFace! {
|
|
919
1325
|
get
|
|
920
1326
|
}
|
|
1327
|
+
@objc public func prepareMut()
|
|
921
1328
|
@objc public var values: Foundation.NSMutableData {
|
|
922
1329
|
@objc get
|
|
923
|
-
@objc set
|
|
924
1330
|
}
|
|
925
1331
|
@objc public var textValues: Foundation.NSMutableData {
|
|
926
1332
|
@objc get
|
|
927
1333
|
@objc set
|
|
928
1334
|
}
|
|
929
1335
|
@objc public init(node: Mason.MasonNode)
|
|
1336
|
+
@objc public var listStylePosition: Mason.ListStylePosition {
|
|
1337
|
+
@objc get
|
|
1338
|
+
@objc set
|
|
1339
|
+
}
|
|
1340
|
+
@objc public var listStyleType: Mason.ListStyleType {
|
|
1341
|
+
@objc get
|
|
1342
|
+
@objc set
|
|
1343
|
+
}
|
|
1344
|
+
@objc public var zIndex: Swift.Int32 {
|
|
1345
|
+
@objc get
|
|
1346
|
+
@objc set
|
|
1347
|
+
}
|
|
930
1348
|
@objc public var verticalAlign: Mason.MasonVerticalAlignValue {
|
|
931
1349
|
@objc get
|
|
932
1350
|
@objc set
|
|
@@ -1285,10 +1703,12 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1285
1703
|
@objc public func setGapColumn(_ value: Swift.Float, _ type: Swift.Int)
|
|
1286
1704
|
@objc public func setRowGap(_ value: Swift.Float, _ type: Swift.Int)
|
|
1287
1705
|
@objc public func setColumnGap(_ value: Swift.Float, _ type: Swift.Int)
|
|
1706
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1288
1707
|
public var aspectRatio: Swift.Float? {
|
|
1289
1708
|
get
|
|
1290
1709
|
set
|
|
1291
1710
|
}
|
|
1711
|
+
#endif
|
|
1292
1712
|
@objc public var gridArea: Swift.String {
|
|
1293
1713
|
@objc get
|
|
1294
1714
|
@objc set
|
|
@@ -1429,9 +1849,36 @@ extension UIKit.UIColor {
|
|
|
1429
1849
|
public func toUInt32() -> Swift.UInt32
|
|
1430
1850
|
}
|
|
1431
1851
|
extension UIKit.UIImage {
|
|
1852
|
+
public static func triangle(direction: UIKit.UIImage.Direction, color: UIKit.UIColor, size: CoreFoundation.CGSize = CGSize(width: 8, height: 5), scale: CoreFoundation.CGFloat = UIScreen.main.scale) -> UIKit.UIImage
|
|
1853
|
+
public enum Direction {
|
|
1854
|
+
case up, down
|
|
1855
|
+
public static func == (a: UIKit.UIImage.Direction, b: UIKit.UIImage.Direction) -> Swift.Bool
|
|
1856
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
1857
|
+
public var hashValue: Swift.Int {
|
|
1858
|
+
get
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
public enum ChevronDirection {
|
|
1862
|
+
case up, down, left, right
|
|
1863
|
+
public static func == (a: UIKit.UIImage.ChevronDirection, b: UIKit.UIImage.ChevronDirection) -> Swift.Bool
|
|
1864
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
1865
|
+
public var hashValue: Swift.Int {
|
|
1866
|
+
get
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
public static func chevron(direction: UIKit.UIImage.ChevronDirection, color: UIKit.UIColor, size: CoreFoundation.CGSize = CGSize(width: 16, height: 6), lineWidth: CoreFoundation.CGFloat = 1.5, scale: CoreFoundation.CGFloat = UIScreen.main.scale) -> UIKit.UIImage
|
|
1870
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1432
1871
|
public func mason_resize(to size: CoreFoundation.CGSize) -> UIKit.UIImage?
|
|
1872
|
+
#endif
|
|
1433
1873
|
}
|
|
1434
1874
|
@objc extension ObjectiveC.NSObject {
|
|
1875
|
+
@discardableResult
|
|
1876
|
+
@objc dynamic public func mason_addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
1877
|
+
@discardableResult
|
|
1878
|
+
@objc dynamic public func mason_removeEventListener(_ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
1879
|
+
@discardableResult
|
|
1880
|
+
@objc dynamic public func mason_removeEventListener(_ event: Swift.String) -> Swift.Bool
|
|
1881
|
+
@objc dynamic public func mason_dispatch(_ event: Mason.MasonEvent)
|
|
1435
1882
|
@objc dynamic public func mason_syncStyle(_ state: Swift.String, _ textState: Swift.String)
|
|
1436
1883
|
@objc dynamic public func mason_addView(_ view: UIKit.UIView)
|
|
1437
1884
|
@objc dynamic public func mason_addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
@@ -1477,7 +1924,9 @@ extension UIKit.UIImage {
|
|
|
1477
1924
|
@objc override dynamic public func layoutSublayers()
|
|
1478
1925
|
@objc override dynamic public init()
|
|
1479
1926
|
@objc override dynamic public init(layer: Any)
|
|
1927
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1480
1928
|
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1929
|
+
#endif
|
|
1481
1930
|
@objc deinit
|
|
1482
1931
|
}
|
|
1483
1932
|
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
@@ -1488,15 +1937,19 @@ extension UIKit.UIImage {
|
|
|
1488
1937
|
public var rawValue: Mason.LoadingState.RawValue {
|
|
1489
1938
|
get
|
|
1490
1939
|
}
|
|
1940
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1491
1941
|
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1942
|
+
#endif
|
|
1492
1943
|
}
|
|
1493
1944
|
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1494
1945
|
@objc override dynamic public init()
|
|
1946
|
+
public init(view: Mason.Img)
|
|
1495
1947
|
@objc override dynamic public init(layer: Any)
|
|
1496
1948
|
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1949
|
+
@objc override dynamic public func layoutSublayers()
|
|
1497
1950
|
@objc deinit
|
|
1498
1951
|
}
|
|
1499
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1952
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1500
1953
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1501
1954
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1502
1955
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
@@ -1519,57 +1972,69 @@ extension UIKit.UIImage {
|
|
|
1519
1972
|
@objc get
|
|
1520
1973
|
@objc set
|
|
1521
1974
|
}
|
|
1975
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1522
1976
|
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1977
|
+
#endif
|
|
1523
1978
|
@objc deinit
|
|
1524
1979
|
}
|
|
1525
1980
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1526
1981
|
case Auto
|
|
1527
1982
|
case Points
|
|
1528
1983
|
case Percent
|
|
1529
|
-
public typealias RawValue = Swift.
|
|
1984
|
+
public typealias RawValue = Swift.Int8
|
|
1530
1985
|
public var rawValue: Mason.MasonDimensionCompatType.RawValue {
|
|
1531
1986
|
get
|
|
1532
1987
|
}
|
|
1988
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1533
1989
|
public init?(rawValue: Mason.MasonDimensionCompatType.RawValue)
|
|
1990
|
+
#endif
|
|
1534
1991
|
}
|
|
1535
1992
|
@objc(MasonLengthPercentageAutoCompatType) public enum MasonLengthPercentageAutoCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1536
1993
|
case Auto
|
|
1537
1994
|
case Points
|
|
1538
1995
|
case Percent
|
|
1539
|
-
public typealias RawValue = Swift.
|
|
1996
|
+
public typealias RawValue = Swift.Int8
|
|
1540
1997
|
public var rawValue: Mason.MasonLengthPercentageAutoCompatType.RawValue {
|
|
1541
1998
|
get
|
|
1542
1999
|
}
|
|
2000
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1543
2001
|
public init?(rawValue: Mason.MasonLengthPercentageAutoCompatType.RawValue)
|
|
2002
|
+
#endif
|
|
1544
2003
|
}
|
|
1545
2004
|
@objc(MasonLengthPercentageCompatType) public enum MasonLengthPercentageCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1546
2005
|
case Points
|
|
1547
2006
|
case Percent
|
|
1548
|
-
public typealias RawValue = Swift.
|
|
2007
|
+
public typealias RawValue = Swift.Int8
|
|
1549
2008
|
public var rawValue: Mason.MasonLengthPercentageCompatType.RawValue {
|
|
1550
2009
|
get
|
|
1551
2010
|
}
|
|
2011
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1552
2012
|
public init?(rawValue: Mason.MasonLengthPercentageCompatType.RawValue)
|
|
2013
|
+
#endif
|
|
1553
2014
|
}
|
|
1554
2015
|
@objc(MasonBoxSizing) public enum BoxSizing : Swift.Int, Swift.RawRepresentable {
|
|
1555
2016
|
case BorderBox
|
|
1556
2017
|
case ContentBox
|
|
1557
|
-
public typealias RawValue = Swift.
|
|
2018
|
+
public typealias RawValue = Swift.Int8
|
|
1558
2019
|
public var rawValue: Mason.BoxSizing.RawValue {
|
|
1559
2020
|
get
|
|
1560
2021
|
}
|
|
2022
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1561
2023
|
public init?(rawValue: Mason.BoxSizing.RawValue)
|
|
2024
|
+
#endif
|
|
1562
2025
|
}
|
|
1563
2026
|
@objc(MasonAlign) public enum Align : Swift.Int, Swift.RawRepresentable {
|
|
1564
2027
|
case Auto
|
|
1565
2028
|
case Left
|
|
1566
2029
|
case Right
|
|
1567
2030
|
case Center
|
|
1568
|
-
public typealias RawValue = Swift.
|
|
2031
|
+
public typealias RawValue = Swift.Int8
|
|
1569
2032
|
public var rawValue: Mason.Align.RawValue {
|
|
1570
2033
|
get
|
|
1571
2034
|
}
|
|
2035
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1572
2036
|
public init?(rawValue: Mason.Align.RawValue)
|
|
2037
|
+
#endif
|
|
1573
2038
|
}
|
|
1574
2039
|
@objc(MasonTextAlign) public enum TextAlign : Swift.Int, Swift.RawRepresentable {
|
|
1575
2040
|
case Auto
|
|
@@ -1579,11 +2044,13 @@ extension UIKit.UIImage {
|
|
|
1579
2044
|
case Justify
|
|
1580
2045
|
case Start
|
|
1581
2046
|
case End
|
|
1582
|
-
public typealias RawValue = Swift.
|
|
2047
|
+
public typealias RawValue = Swift.Int8
|
|
1583
2048
|
public var rawValue: Mason.TextAlign.RawValue {
|
|
1584
2049
|
get
|
|
1585
2050
|
}
|
|
2051
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1586
2052
|
public init?(rawValue: Mason.TextAlign.RawValue)
|
|
2053
|
+
#endif
|
|
1587
2054
|
}
|
|
1588
2055
|
public func MasonDimensionFromPoints(value: Swift.Float) -> Mason.MasonDimension
|
|
1589
2056
|
public func MasonDimensionFromPercent(value: Swift.Float) -> Mason.MasonDimension
|
|
@@ -1595,9 +2062,11 @@ public enum MasonDimension : Swift.Codable, Swift.Equatable {
|
|
|
1595
2062
|
public var cssValue: Swift.String {
|
|
1596
2063
|
get
|
|
1597
2064
|
}
|
|
2065
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1598
2066
|
public var jsonValue: Swift.String? {
|
|
1599
2067
|
get
|
|
1600
2068
|
}
|
|
2069
|
+
#endif
|
|
1601
2070
|
public init(from decoder: any Swift.Decoder) throws
|
|
1602
2071
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1603
2072
|
public static func == (a: Mason.MasonDimension, b: Mason.MasonDimension) -> Swift.Bool
|
|
@@ -1612,9 +2081,11 @@ public enum MasonLengthPercentage : Swift.Codable, Swift.Equatable {
|
|
|
1612
2081
|
public var cssValue: Swift.String {
|
|
1613
2082
|
get
|
|
1614
2083
|
}
|
|
2084
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1615
2085
|
public var jsonValue: Swift.String? {
|
|
1616
2086
|
get
|
|
1617
2087
|
}
|
|
2088
|
+
#endif
|
|
1618
2089
|
public init(from decoder: any Swift.Decoder) throws
|
|
1619
2090
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1620
2091
|
public static func == (a: Mason.MasonLengthPercentage, b: Mason.MasonLengthPercentage) -> Swift.Bool
|
|
@@ -1630,9 +2101,11 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1630
2101
|
public var cssValue: Swift.String {
|
|
1631
2102
|
get
|
|
1632
2103
|
}
|
|
2104
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1633
2105
|
public var jsonValue: Swift.String? {
|
|
1634
2106
|
get
|
|
1635
2107
|
}
|
|
2108
|
+
#endif
|
|
1636
2109
|
public init(from decoder: any Swift.Decoder) throws
|
|
1637
2110
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1638
2111
|
}
|
|
@@ -1645,11 +2118,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1645
2118
|
case Stretch
|
|
1646
2119
|
case FlexStart
|
|
1647
2120
|
case FlexEnd
|
|
1648
|
-
public typealias RawValue = Swift.
|
|
2121
|
+
public typealias RawValue = Swift.Int8
|
|
1649
2122
|
public var rawValue: Mason.AlignItems.RawValue {
|
|
1650
2123
|
get
|
|
1651
2124
|
}
|
|
2125
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1652
2126
|
public init?(rawValue: Mason.AlignItems.RawValue)
|
|
2127
|
+
#endif
|
|
1653
2128
|
}
|
|
1654
2129
|
@objc(MasonAlignSelf) public enum AlignSelf : Swift.Int, Swift.RawRepresentable {
|
|
1655
2130
|
case Normal = -1
|
|
@@ -1660,11 +2135,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1660
2135
|
case Stretch
|
|
1661
2136
|
case FlexStart
|
|
1662
2137
|
case FlexEnd
|
|
1663
|
-
public typealias RawValue = Swift.
|
|
2138
|
+
public typealias RawValue = Swift.Int8
|
|
1664
2139
|
public var rawValue: Mason.AlignSelf.RawValue {
|
|
1665
2140
|
get
|
|
1666
2141
|
}
|
|
2142
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1667
2143
|
public init?(rawValue: Mason.AlignSelf.RawValue)
|
|
2144
|
+
#endif
|
|
1668
2145
|
}
|
|
1669
2146
|
@objc(MasonAlignContent) public enum AlignContent : Swift.Int, Swift.RawRepresentable {
|
|
1670
2147
|
case Normal = -1
|
|
@@ -1677,21 +2154,25 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1677
2154
|
case SpaceEvenly
|
|
1678
2155
|
case FlexStart
|
|
1679
2156
|
case FlexEnd
|
|
1680
|
-
public typealias RawValue = Swift.
|
|
2157
|
+
public typealias RawValue = Swift.Int8
|
|
1681
2158
|
public var rawValue: Mason.AlignContent.RawValue {
|
|
1682
2159
|
get
|
|
1683
2160
|
}
|
|
2161
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1684
2162
|
public init?(rawValue: Mason.AlignContent.RawValue)
|
|
2163
|
+
#endif
|
|
1685
2164
|
}
|
|
1686
2165
|
@objc(MasonDirection) public enum Direction : Swift.Int, Swift.RawRepresentable {
|
|
1687
2166
|
case Inherit
|
|
1688
2167
|
case LTR
|
|
1689
2168
|
case RTL
|
|
1690
|
-
public typealias RawValue = Swift.
|
|
2169
|
+
public typealias RawValue = Swift.Int8
|
|
1691
2170
|
public var rawValue: Mason.Direction.RawValue {
|
|
1692
2171
|
get
|
|
1693
2172
|
}
|
|
2173
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1694
2174
|
public init?(rawValue: Mason.Direction.RawValue)
|
|
2175
|
+
#endif
|
|
1695
2176
|
}
|
|
1696
2177
|
@objc(MasonDisplay) public enum Display : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1697
2178
|
case None
|
|
@@ -1702,11 +2183,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1702
2183
|
case InlineBlock
|
|
1703
2184
|
case InlineFlex
|
|
1704
2185
|
case InlineGrid
|
|
1705
|
-
public typealias RawValue = Swift.
|
|
2186
|
+
public typealias RawValue = Swift.Int8
|
|
1706
2187
|
public var rawValue: Mason.Display.RawValue {
|
|
1707
2188
|
get
|
|
1708
2189
|
}
|
|
2190
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1709
2191
|
public init?(rawValue: Mason.Display.RawValue)
|
|
2192
|
+
#endif
|
|
1710
2193
|
public var description: Swift.String {
|
|
1711
2194
|
get
|
|
1712
2195
|
}
|
|
@@ -1716,11 +2199,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1716
2199
|
case Column
|
|
1717
2200
|
case RowReverse
|
|
1718
2201
|
case ColumnReverse
|
|
1719
|
-
public typealias RawValue = Swift.
|
|
2202
|
+
public typealias RawValue = Swift.Int8
|
|
1720
2203
|
public var rawValue: Mason.FlexDirection.RawValue {
|
|
1721
2204
|
get
|
|
1722
2205
|
}
|
|
2206
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1723
2207
|
public init?(rawValue: Mason.FlexDirection.RawValue)
|
|
2208
|
+
#endif
|
|
1724
2209
|
public var description: Swift.String {
|
|
1725
2210
|
get
|
|
1726
2211
|
}
|
|
@@ -1734,11 +2219,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1734
2219
|
case Stretch
|
|
1735
2220
|
case FlexStart
|
|
1736
2221
|
case FlexEnd
|
|
1737
|
-
public typealias RawValue = Swift.
|
|
2222
|
+
public typealias RawValue = Swift.Int8
|
|
1738
2223
|
public var rawValue: Mason.JustifyItems.RawValue {
|
|
1739
2224
|
get
|
|
1740
2225
|
}
|
|
2226
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1741
2227
|
public init?(rawValue: Mason.JustifyItems.RawValue)
|
|
2228
|
+
#endif
|
|
1742
2229
|
}
|
|
1743
2230
|
@objc(MasonJustifySelf) public enum JustifySelf : Swift.Int, Swift.RawRepresentable {
|
|
1744
2231
|
case Normal = -1
|
|
@@ -1749,11 +2236,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1749
2236
|
case Stretch
|
|
1750
2237
|
case FlexStart
|
|
1751
2238
|
case FlexEnd
|
|
1752
|
-
public typealias RawValue = Swift.
|
|
2239
|
+
public typealias RawValue = Swift.Int8
|
|
1753
2240
|
public var rawValue: Mason.JustifySelf.RawValue {
|
|
1754
2241
|
get
|
|
1755
2242
|
}
|
|
2243
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1756
2244
|
public init?(rawValue: Mason.JustifySelf.RawValue)
|
|
2245
|
+
#endif
|
|
1757
2246
|
}
|
|
1758
2247
|
@objc(MasonJustifyContent) public enum JustifyContent : Swift.Int, Swift.RawRepresentable {
|
|
1759
2248
|
case Normal = -1
|
|
@@ -1766,11 +2255,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1766
2255
|
case SpaceEvenly
|
|
1767
2256
|
case FlexStart
|
|
1768
2257
|
case FlexEnd
|
|
1769
|
-
public typealias RawValue = Swift.
|
|
2258
|
+
public typealias RawValue = Swift.Int8
|
|
1770
2259
|
public var rawValue: Mason.JustifyContent.RawValue {
|
|
1771
2260
|
get
|
|
1772
2261
|
}
|
|
2262
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1773
2263
|
public init?(rawValue: Mason.JustifyContent.RawValue)
|
|
2264
|
+
#endif
|
|
1774
2265
|
}
|
|
1775
2266
|
@objc(MasonOverflow) public enum Overflow : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1776
2267
|
case Visible
|
|
@@ -1778,49 +2269,59 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1778
2269
|
case Scroll
|
|
1779
2270
|
case Clip
|
|
1780
2271
|
case Auto
|
|
1781
|
-
public typealias RawValue = Swift.
|
|
2272
|
+
public typealias RawValue = Swift.Int8
|
|
1782
2273
|
public var rawValue: Mason.Overflow.RawValue {
|
|
1783
2274
|
get
|
|
1784
2275
|
}
|
|
2276
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1785
2277
|
public init?(rawValue: Mason.Overflow.RawValue)
|
|
2278
|
+
#endif
|
|
1786
2279
|
}
|
|
1787
2280
|
@objc(MasonPosition) public enum Position : Swift.Int, Swift.RawRepresentable {
|
|
1788
2281
|
case Relative
|
|
1789
2282
|
case Absolute
|
|
1790
|
-
public typealias RawValue = Swift.
|
|
2283
|
+
public typealias RawValue = Swift.Int8
|
|
1791
2284
|
public var rawValue: Mason.Position.RawValue {
|
|
1792
2285
|
get
|
|
1793
2286
|
}
|
|
2287
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1794
2288
|
public init?(rawValue: Mason.Position.RawValue)
|
|
2289
|
+
#endif
|
|
1795
2290
|
}
|
|
1796
2291
|
@objc(MasonFlexWrap) public enum FlexWrap : Swift.Int, Swift.RawRepresentable {
|
|
1797
2292
|
case NoWrap
|
|
1798
2293
|
case Wrap
|
|
1799
2294
|
case WrapReverse
|
|
1800
|
-
public typealias RawValue = Swift.
|
|
2295
|
+
public typealias RawValue = Swift.Int8
|
|
1801
2296
|
public var rawValue: Mason.FlexWrap.RawValue {
|
|
1802
2297
|
get
|
|
1803
2298
|
}
|
|
2299
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1804
2300
|
public init?(rawValue: Mason.FlexWrap.RawValue)
|
|
2301
|
+
#endif
|
|
1805
2302
|
}
|
|
1806
2303
|
@objc(MasonGridAutoFlowWrap) public enum GridAutoFlow : Swift.Int, Swift.RawRepresentable {
|
|
1807
2304
|
case Row
|
|
1808
2305
|
case Column
|
|
1809
2306
|
case RowDense
|
|
1810
2307
|
case ColumnDense
|
|
1811
|
-
public typealias RawValue = Swift.
|
|
2308
|
+
public typealias RawValue = Swift.Int8
|
|
1812
2309
|
public var rawValue: Mason.GridAutoFlow.RawValue {
|
|
1813
2310
|
get
|
|
1814
2311
|
}
|
|
2312
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1815
2313
|
public init?(rawValue: Mason.GridAutoFlow.RawValue)
|
|
2314
|
+
#endif
|
|
1816
2315
|
}
|
|
1817
2316
|
public enum GridPlacement : Swift.Codable {
|
|
1818
2317
|
case Auto
|
|
1819
2318
|
case Line(Swift.Int16)
|
|
1820
2319
|
case Span(Swift.Int16)
|
|
2320
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1821
2321
|
public var jsonValue: Swift.String? {
|
|
1822
2322
|
get
|
|
1823
2323
|
}
|
|
2324
|
+
#endif
|
|
1824
2325
|
public init(from decoder: any Swift.Decoder) throws
|
|
1825
2326
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1826
2327
|
}
|
|
@@ -1828,11 +2329,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1828
2329
|
case Auto
|
|
1829
2330
|
case Line
|
|
1830
2331
|
case Span
|
|
1831
|
-
public typealias RawValue = Swift.
|
|
2332
|
+
public typealias RawValue = Swift.Int8
|
|
1832
2333
|
public var rawValue: Mason.GridPlacementCompatType.RawValue {
|
|
1833
2334
|
get
|
|
1834
2335
|
}
|
|
2336
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1835
2337
|
public init?(rawValue: Mason.GridPlacementCompatType.RawValue)
|
|
2338
|
+
#endif
|
|
1836
2339
|
}
|
|
1837
2340
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonGridTrackRepetition) public class GridTrackRepetition : ObjectiveC.NSObject {
|
|
1838
2341
|
@objc public var cssValue: Swift.String {
|
|
@@ -1854,11 +2357,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1854
2357
|
case Underline
|
|
1855
2358
|
case Overline
|
|
1856
2359
|
case LineThrough
|
|
1857
|
-
public typealias RawValue = Swift.
|
|
2360
|
+
public typealias RawValue = Swift.Int8
|
|
1858
2361
|
public var rawValue: Mason.DecorationLine.RawValue {
|
|
1859
2362
|
get
|
|
1860
2363
|
}
|
|
2364
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1861
2365
|
public init?(rawValue: Mason.DecorationLine.RawValue)
|
|
2366
|
+
#endif
|
|
1862
2367
|
}
|
|
1863
2368
|
@objc(MasonTextTransform) public enum TextTransform : Swift.Int, Swift.RawRepresentable {
|
|
1864
2369
|
case None
|
|
@@ -1868,21 +2373,25 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1868
2373
|
case FullWidth
|
|
1869
2374
|
case FullSizeKana
|
|
1870
2375
|
case MathAuto
|
|
1871
|
-
public typealias RawValue = Swift.
|
|
2376
|
+
public typealias RawValue = Swift.Int8
|
|
1872
2377
|
public var rawValue: Mason.TextTransform.RawValue {
|
|
1873
2378
|
get
|
|
1874
2379
|
}
|
|
2380
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1875
2381
|
public init?(rawValue: Mason.TextTransform.RawValue)
|
|
2382
|
+
#endif
|
|
1876
2383
|
}
|
|
1877
2384
|
@objc(MasonFontStyle) public enum FontStyle : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1878
2385
|
case Normal
|
|
1879
2386
|
case Italic
|
|
1880
2387
|
case Oblique
|
|
1881
|
-
public typealias RawValue = Swift.
|
|
2388
|
+
public typealias RawValue = Swift.Int8
|
|
1882
2389
|
public var rawValue: Mason.FontStyle.RawValue {
|
|
1883
2390
|
get
|
|
1884
2391
|
}
|
|
2392
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1885
2393
|
public init?(rawValue: Mason.FontStyle.RawValue)
|
|
2394
|
+
#endif
|
|
1886
2395
|
public var description: Swift.String {
|
|
1887
2396
|
get
|
|
1888
2397
|
}
|
|
@@ -1892,11 +2401,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1892
2401
|
case NoWrap
|
|
1893
2402
|
case Balance
|
|
1894
2403
|
case Pretty
|
|
1895
|
-
public typealias RawValue = Swift.
|
|
2404
|
+
public typealias RawValue = Swift.Int8
|
|
1896
2405
|
public var rawValue: Mason.TextWrap.RawValue {
|
|
1897
2406
|
get
|
|
1898
2407
|
}
|
|
2408
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1899
2409
|
public init?(rawValue: Mason.TextWrap.RawValue)
|
|
2410
|
+
#endif
|
|
1900
2411
|
public var description: Swift.String {
|
|
1901
2412
|
get
|
|
1902
2413
|
}
|
|
@@ -1908,11 +2419,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1908
2419
|
case PreLine
|
|
1909
2420
|
case NoWrap
|
|
1910
2421
|
case BreakSpaces
|
|
1911
|
-
public typealias RawValue = Swift.
|
|
2422
|
+
public typealias RawValue = Swift.Int8
|
|
1912
2423
|
public var rawValue: Mason.WhiteSpace.RawValue {
|
|
1913
2424
|
get
|
|
1914
2425
|
}
|
|
2426
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1915
2427
|
public init?(rawValue: Mason.WhiteSpace.RawValue)
|
|
2428
|
+
#endif
|
|
1916
2429
|
public var description: Swift.String {
|
|
1917
2430
|
get
|
|
1918
2431
|
}
|
|
@@ -1922,11 +2435,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1922
2435
|
case Pre
|
|
1923
2436
|
case PreWrap
|
|
1924
2437
|
case PreLine
|
|
1925
|
-
public typealias RawValue = Swift.
|
|
2438
|
+
public typealias RawValue = Swift.Int8
|
|
1926
2439
|
public var rawValue: Mason.LineHeight.RawValue {
|
|
1927
2440
|
get
|
|
1928
2441
|
}
|
|
2442
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1929
2443
|
public init?(rawValue: Mason.LineHeight.RawValue)
|
|
2444
|
+
#endif
|
|
1930
2445
|
public var description: Swift.String {
|
|
1931
2446
|
get
|
|
1932
2447
|
}
|
|
@@ -1935,14 +2450,16 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1935
2450
|
case Clip
|
|
1936
2451
|
case Ellipse(Swift.String?)
|
|
1937
2452
|
case Custom(Swift.String)
|
|
1938
|
-
public typealias RawValue = Swift.
|
|
2453
|
+
public typealias RawValue = Swift.Int8
|
|
1939
2454
|
public var description: Swift.String {
|
|
1940
2455
|
get
|
|
1941
2456
|
}
|
|
1942
2457
|
}
|
|
1943
2458
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonTextOverflowCompat) public class TextOverflowCompat : ObjectiveC.NSObject {
|
|
1944
2459
|
@objc public static let Clip: Mason.TextOverflowCompat
|
|
2460
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1945
2461
|
@objc public static func Ellipse(_ value: Swift.String? = nil) -> Mason.TextOverflowCompat
|
|
2462
|
+
#endif
|
|
1946
2463
|
@objc public static func Custom(_ value: Swift.String) -> Mason.TextOverflowCompat
|
|
1947
2464
|
@objc override dynamic public var description: Swift.String {
|
|
1948
2465
|
@objc get
|
|
@@ -1955,11 +2472,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1955
2472
|
case InterWord
|
|
1956
2473
|
case InterCharacter
|
|
1957
2474
|
case Distribute
|
|
1958
|
-
public typealias RawValue = Swift.
|
|
2475
|
+
public typealias RawValue = Swift.Int8
|
|
1959
2476
|
public var rawValue: Mason.TextJustify.RawValue {
|
|
1960
2477
|
get
|
|
1961
2478
|
}
|
|
2479
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1962
2480
|
public init?(rawValue: Mason.TextJustify.RawValue)
|
|
2481
|
+
#endif
|
|
1963
2482
|
public var description: Swift.String {
|
|
1964
2483
|
get
|
|
1965
2484
|
}
|
|
@@ -1970,11 +2489,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1970
2489
|
case Dotted
|
|
1971
2490
|
case Dashed
|
|
1972
2491
|
case Wavy
|
|
1973
|
-
public typealias RawValue = Swift.
|
|
2492
|
+
public typealias RawValue = Swift.Int8
|
|
1974
2493
|
public var rawValue: Mason.DecorationStyle.RawValue {
|
|
1975
2494
|
get
|
|
1976
2495
|
}
|
|
2496
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1977
2497
|
public init?(rawValue: Mason.DecorationStyle.RawValue)
|
|
2498
|
+
#endif
|
|
1978
2499
|
public var description: Swift.String {
|
|
1979
2500
|
get
|
|
1980
2501
|
}
|
|
@@ -1983,11 +2504,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1983
2504
|
case None
|
|
1984
2505
|
case Left
|
|
1985
2506
|
case Right
|
|
1986
|
-
public typealias RawValue = Swift.
|
|
2507
|
+
public typealias RawValue = Swift.Int8
|
|
1987
2508
|
public var rawValue: Mason.MasonFloat.RawValue {
|
|
1988
2509
|
get
|
|
1989
2510
|
}
|
|
2511
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1990
2512
|
public init?(rawValue: Mason.MasonFloat.RawValue)
|
|
2513
|
+
#endif
|
|
1991
2514
|
public var description: Swift.String {
|
|
1992
2515
|
get
|
|
1993
2516
|
}
|
|
@@ -1997,11 +2520,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1997
2520
|
case Left
|
|
1998
2521
|
case Right
|
|
1999
2522
|
case Both
|
|
2000
|
-
public typealias RawValue = Swift.
|
|
2523
|
+
public typealias RawValue = Swift.Int8
|
|
2001
2524
|
public var rawValue: Mason.Clear.RawValue {
|
|
2002
2525
|
get
|
|
2003
2526
|
}
|
|
2527
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2004
2528
|
public init?(rawValue: Mason.Clear.RawValue)
|
|
2529
|
+
#endif
|
|
2005
2530
|
public var description: Swift.String {
|
|
2006
2531
|
get
|
|
2007
2532
|
}
|
|
@@ -2012,11 +2537,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2012
2537
|
case Fill
|
|
2013
2538
|
case None
|
|
2014
2539
|
case ScaleDown
|
|
2015
|
-
public typealias RawValue = Swift.
|
|
2540
|
+
public typealias RawValue = Swift.Int8
|
|
2016
2541
|
public var rawValue: Mason.ObjectFit.RawValue {
|
|
2017
2542
|
get
|
|
2018
2543
|
}
|
|
2544
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2019
2545
|
public init?(rawValue: Mason.ObjectFit.RawValue)
|
|
2546
|
+
#endif
|
|
2020
2547
|
public var description: Swift.String {
|
|
2021
2548
|
get
|
|
2022
2549
|
}
|
|
@@ -2055,7 +2582,71 @@ public enum VerticalAlign {
|
|
|
2055
2582
|
public init(style: Mason.MasonStyle)
|
|
2056
2583
|
@objc deinit
|
|
2057
2584
|
}
|
|
2058
|
-
@
|
|
2585
|
+
@objc(MasonInputType) public enum MasonInputType : Swift.Int8, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2586
|
+
public typealias RawValue = Swift.Int8
|
|
2587
|
+
case Text
|
|
2588
|
+
case Button
|
|
2589
|
+
case Checkbox
|
|
2590
|
+
case Email
|
|
2591
|
+
case Password
|
|
2592
|
+
case Date
|
|
2593
|
+
case Radio
|
|
2594
|
+
case Number
|
|
2595
|
+
case Range
|
|
2596
|
+
case Tel
|
|
2597
|
+
case Url
|
|
2598
|
+
case Color
|
|
2599
|
+
case File
|
|
2600
|
+
case Submit
|
|
2601
|
+
public var description: Swift.String {
|
|
2602
|
+
get
|
|
2603
|
+
}
|
|
2604
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2605
|
+
public init?(rawValue: Swift.Int32)
|
|
2606
|
+
#endif
|
|
2607
|
+
public var rawValue: Swift.Int32 {
|
|
2608
|
+
get
|
|
2609
|
+
}
|
|
2610
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2611
|
+
public init?(rawValue: Swift.Int8)
|
|
2612
|
+
#endif
|
|
2613
|
+
public var rawValue: Swift.Int8 {
|
|
2614
|
+
get
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
@objc(MasonListStylePosition) public enum ListStylePosition : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2618
|
+
case Outside
|
|
2619
|
+
case Inside
|
|
2620
|
+
public typealias RawValue = Swift.Int8
|
|
2621
|
+
public var rawValue: Mason.ListStylePosition.RawValue {
|
|
2622
|
+
get
|
|
2623
|
+
}
|
|
2624
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2625
|
+
public init?(rawValue: Mason.ListStylePosition.RawValue)
|
|
2626
|
+
#endif
|
|
2627
|
+
public var description: Swift.String {
|
|
2628
|
+
get
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
@objc(MasonListStyleType) public enum ListStyleType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2632
|
+
case None
|
|
2633
|
+
case Custom
|
|
2634
|
+
case Disc
|
|
2635
|
+
case Circle
|
|
2636
|
+
case Square
|
|
2637
|
+
case Decimal
|
|
2638
|
+
public typealias RawValue = Swift.Int8
|
|
2639
|
+
public var rawValue: Mason.ListStyleType.RawValue {
|
|
2640
|
+
get
|
|
2641
|
+
}
|
|
2642
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2643
|
+
public init?(rawValue: Mason.ListStyleType.RawValue)
|
|
2644
|
+
#endif
|
|
2645
|
+
public var description: Swift.String {
|
|
2646
|
+
get
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2059
2650
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2060
2651
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2061
2652
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
@@ -2273,7 +2864,7 @@ public enum VerticalAlign {
|
|
|
2273
2864
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxSizeWidth() -> Mason.MasonDimensionCompat
|
|
2274
2865
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxSizeHeight() -> Mason.MasonDimensionCompat
|
|
2275
2866
|
@objc @_Concurrency.MainActor @preconcurrency public func setGap(_ width: Swift.Float, _ height: Swift.Float)
|
|
2276
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setGapWithWidthHeightType(_ width: Swift.Float, _ width_type: Swift.
|
|
2867
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setGapWithWidthHeightType(_ width: Swift.Float, _ width_type: Swift.Int8, _ height: Swift.Float, _ height_type: Swift.Int8)
|
|
2277
2868
|
@objc @_Concurrency.MainActor @preconcurrency public func getGap() -> Mason.MasonLengthPercentageSizeCompat
|
|
2278
2869
|
@objc @_Concurrency.MainActor @preconcurrency public func setRowGap(_ row: Swift.Float, _ type: Swift.Int)
|
|
2279
2870
|
@objc @_Concurrency.MainActor @preconcurrency public func setColumnGap(_ column: Swift.Float, _ type: Swift.Int)
|
|
@@ -2281,7 +2872,7 @@ public enum VerticalAlign {
|
|
|
2281
2872
|
@objc @_Concurrency.MainActor @preconcurrency public func getColumnGap() -> Mason.MasonLengthPercentageCompat
|
|
2282
2873
|
@objc deinit
|
|
2283
2874
|
}
|
|
2284
|
-
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, UIKit.UIScrollViewDelegate, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2875
|
+
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, UIKit.UIScrollViewDelegate, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2285
2876
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2286
2877
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2287
2878
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
@@ -2298,8 +2889,36 @@ public enum VerticalAlign {
|
|
|
2298
2889
|
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
2299
2890
|
@objc deinit
|
|
2300
2891
|
}
|
|
2301
|
-
@
|
|
2302
|
-
@objc
|
|
2892
|
+
@_hasMissingDesignatedInitializers @objc(MasonBr) @objcMembers public class MasonBr : ObjectiveC.NSObject, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2893
|
+
@objc final public let mason: Mason.NSCMason
|
|
2894
|
+
@objc public var node: Mason.MasonNode
|
|
2895
|
+
@objc public var uiView: UIKit.UIView {
|
|
2896
|
+
@objc get
|
|
2897
|
+
}
|
|
2898
|
+
@objc public var style: Mason.MasonStyle {
|
|
2899
|
+
@objc get
|
|
2900
|
+
}
|
|
2901
|
+
@objc deinit
|
|
2902
|
+
}
|
|
2903
|
+
@_hasMissingDesignatedInitializers @objc(MasonLi) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonLi : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2904
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2905
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2906
|
+
@_Concurrency.MainActor @preconcurrency @objc public var node: Mason.MasonNode {
|
|
2907
|
+
get
|
|
2908
|
+
}
|
|
2909
|
+
@objc @_Concurrency.MainActor @preconcurrency public var mason: Mason.NSCMason {
|
|
2910
|
+
get
|
|
2911
|
+
}
|
|
2912
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2913
|
+
@objc get
|
|
2914
|
+
}
|
|
2915
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2916
|
+
@objc get
|
|
2917
|
+
}
|
|
2918
|
+
@objc @_Concurrency.MainActor @preconcurrency public var isOrdered: Swift.Bool
|
|
2919
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2920
|
+
@objc @_Concurrency.MainActor @preconcurrency public func resetForRecycle()
|
|
2921
|
+
@objc @_Concurrency.MainActor @preconcurrency public func bind(position: Swift.Int, isOrdered: Swift.Bool)
|
|
2303
2922
|
@objc deinit
|
|
2304
2923
|
}
|
|
2305
2924
|
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
@@ -2310,12 +2929,16 @@ extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
|
2310
2929
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
2311
2930
|
extension Mason.CSSBorderRenderer.Side : Swift.Equatable {}
|
|
2312
2931
|
extension Mason.CSSBorderRenderer.Side : Swift.Hashable {}
|
|
2313
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2314
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2315
2932
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
2316
2933
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2934
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2935
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2317
2936
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2318
2937
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2938
|
+
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
2939
|
+
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
2940
|
+
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
2941
|
+
extension UIKit.UIImage.ChevronDirection : Swift.Hashable {}
|
|
2319
2942
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
2320
2943
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
2321
2944
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
@@ -2382,3 +3005,9 @@ extension Mason.ObjectFit : Swift.Equatable {}
|
|
|
2382
3005
|
extension Mason.ObjectFit : Swift.Hashable {}
|
|
2383
3006
|
extension Mason.VerticalAlign : Swift.Equatable {}
|
|
2384
3007
|
extension Mason.VerticalAlign : Swift.Hashable {}
|
|
3008
|
+
extension Mason.MasonInputType : Swift.Equatable {}
|
|
3009
|
+
extension Mason.MasonInputType : Swift.Hashable {}
|
|
3010
|
+
extension Mason.ListStylePosition : Swift.Equatable {}
|
|
3011
|
+
extension Mason.ListStylePosition : Swift.Hashable {}
|
|
3012
|
+
extension Mason.ListStyleType : Swift.Equatable {}
|
|
3013
|
+
extension Mason.ListStyleType : Swift.Hashable {}
|