@triniwiz/nativescript-masonkit 1.0.0-alpha.22 → 1.0.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.d.ts +132 -0
- package/common.js +1476 -0
- package/common.js.map +1 -0
- package/img/index.android.d.ts +11 -0
- package/img/index.android.js +41 -0
- package/img/index.android.js.map +1 -0
- package/img/index.ios.d.ts +13 -0
- package/img/index.ios.js +92 -0
- package/img/index.ios.js.map +1 -0
- package/index.android.d.ts +5 -0
- package/index.android.js +6 -0
- package/index.android.js.map +1 -0
- package/index.d.ts +76 -108
- package/index.ios.d.ts +5 -0
- package/index.ios.js +6 -0
- package/index.ios.js.map +1 -0
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +363 -268
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +67 -18
- 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 +17191 -10189
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +366 -126
- 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 +366 -126
- 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 +2864 -2416
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +726 -536
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +67 -18
- 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 +17191 -10189
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +366 -126
- 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 +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17191 -10189
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +366 -126
- 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 +366 -126
- 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 +2864 -2416
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2779 -2352
- package/scroll/index.android.d.ts +14 -0
- package/scroll/index.android.js +55 -0
- package/scroll/index.android.js.map +1 -0
- package/scroll/index.ios.d.ts +17 -0
- package/scroll/index.ios.js +125 -0
- package/scroll/index.ios.js.map +1 -0
- package/style.d.ts +195 -0
- package/style.js +2204 -0
- package/style.js.map +1 -0
- package/text/index.android.d.ts +29 -0
- package/text/index.android.js +145 -0
- package/text/index.android.js.map +1 -0
- package/text/index.ios.d.ts +39 -0
- package/text/index.ios.js +272 -0
- package/text/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +27 -0
- package/tree/index.android.js +72 -0
- package/tree/index.android.js.map +1 -0
- package/tree/index.ios.d.ts +27 -0
- package/tree/index.ios.js +72 -0
- package/tree/index.ios.js.map +1 -0
- package/utils/index.android.d.ts +187 -0
- package/utils/index.android.js +594 -0
- package/utils/index.android.js.map +1 -0
- package/utils/index.ios.d.ts +198 -0
- package/utils/index.ios.js +710 -0
- package/utils/index.ios.js.map +1 -0
- package/view/index.android.d.ts +14 -0
- package/view/index.android.js +60 -0
- package/view/index.android.js.map +1 -0
- package/view/index.ios.d.ts +18 -0
- package/view/index.ios.js +131 -0
- package/view/index.ios.js.map +1 -0
- package/web.d.ts +55 -0
- package/web.js +189 -0
- package/web.js.map +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios15.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name Mason
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
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.1.2
|
|
5
5
|
import CoreText
|
|
6
6
|
import Foundation
|
|
7
7
|
@_exported import Mason
|
|
@@ -101,6 +101,15 @@ import _SwiftConcurrencyShims
|
|
|
101
101
|
@objc public func load(_ callback: @escaping (Swift.String?) -> Swift.Void)
|
|
102
102
|
@objc deinit
|
|
103
103
|
}
|
|
104
|
+
@objcMembers @objc(MasonDocument) public class MasonDocument : ObjectiveC.NSObject {
|
|
105
|
+
@objc final public let node: Mason.MasonNode
|
|
106
|
+
@objc final public let mason: Mason.NSCMason
|
|
107
|
+
public var documentElement: (any Mason.MasonElement)? {
|
|
108
|
+
get
|
|
109
|
+
}
|
|
110
|
+
@objc public init(mason instance: Mason.NSCMason)
|
|
111
|
+
@objc deinit
|
|
112
|
+
}
|
|
104
113
|
public struct Line<T> {
|
|
105
114
|
public init(_ start: T, _ end: T)
|
|
106
115
|
}
|
|
@@ -140,11 +149,18 @@ public struct Line<T> {
|
|
|
140
149
|
@objc override dynamic public init()
|
|
141
150
|
@objc deinit
|
|
142
151
|
@objc public func nodeForView(_ view: UIKit.UIView, _ isLeaf: Swift.Bool = true) -> Mason.MasonNode
|
|
152
|
+
@objc public func configureStyleForView(_ view: UIKit.UIView, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
153
|
+
@objc public func styleForView(_ view: UIKit.UIView) -> Mason.MasonStyle
|
|
154
|
+
@objc @discardableResult
|
|
155
|
+
public func layoutForView(_ view: UIKit.UIView) -> Mason.MasonLayout
|
|
143
156
|
@objc public func clear()
|
|
157
|
+
@objc public func createDocument() -> Mason.MasonDocument
|
|
144
158
|
@objc public func createView() -> Mason.MasonUIView
|
|
145
159
|
@objc public func createTextView() -> Mason.MasonText
|
|
160
|
+
@objc public func createTextNode(_ data: Swift.String) -> Mason.MasonTextNode
|
|
146
161
|
@objc public func createTextView(type: Mason.MasonTextType) -> Mason.MasonText
|
|
147
|
-
@objc public func createImageView() -> Mason.
|
|
162
|
+
@objc public func createImageView() -> Mason.Img
|
|
163
|
+
@objc public func createScrollView() -> Mason.Scroll
|
|
148
164
|
@objc public func createNode() -> Mason.MasonNode
|
|
149
165
|
public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
150
166
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
@@ -201,6 +217,8 @@ public struct Line<T> {
|
|
|
201
217
|
required public init(from decoder: any Swift.Decoder) throws
|
|
202
218
|
}
|
|
203
219
|
public struct MasonSize<T> : Swift.Codable where T : Swift.Decodable, T : Swift.Encodable {
|
|
220
|
+
public var width: T
|
|
221
|
+
public var height: T
|
|
204
222
|
public init(_ width: T, _ height: T)
|
|
205
223
|
public init(uniform: T)
|
|
206
224
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -214,53 +232,127 @@ public let MasonLengthPercentageSizeMaxPercentWH: Mason.MasonSize<Mason.MasonLen
|
|
|
214
232
|
public let MasonDimensionSizeZero: Mason.MasonSize<Mason.MasonDimension>
|
|
215
233
|
public let MasonLengthPercentageAutoSizeZero: Mason.MasonSize<Mason.MasonLengthPercentageAuto>
|
|
216
234
|
public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPercentage>
|
|
217
|
-
|
|
218
|
-
|
|
235
|
+
public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
236
|
+
case element
|
|
237
|
+
case text
|
|
238
|
+
case document
|
|
239
|
+
public init?(rawValue: Swift.Int32)
|
|
240
|
+
public typealias RawValue = Swift.Int32
|
|
241
|
+
public var rawValue: Swift.Int32 {
|
|
219
242
|
get
|
|
220
243
|
}
|
|
221
|
-
|
|
244
|
+
}
|
|
245
|
+
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
246
|
+
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
222
247
|
get
|
|
223
248
|
}
|
|
224
|
-
public var
|
|
249
|
+
@objc public var computedLayout: Mason.MasonLayout {
|
|
225
250
|
get
|
|
226
251
|
}
|
|
227
|
-
public
|
|
252
|
+
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
253
|
+
@objc public func getRootNode() -> Mason.MasonNode
|
|
254
|
+
@objc public var parent: Mason.MasonNode? {
|
|
228
255
|
get
|
|
229
256
|
}
|
|
230
|
-
public
|
|
231
|
-
@objc public var data: Any?
|
|
232
|
-
@objc public var style: Mason.MasonStyle {
|
|
257
|
+
@objc public var parentNode: Mason.MasonNode? {
|
|
233
258
|
@objc get
|
|
234
|
-
@objc set
|
|
235
259
|
}
|
|
236
|
-
|
|
260
|
+
public var parentElement: (any Mason.MasonElement)? {
|
|
237
261
|
get
|
|
238
262
|
}
|
|
239
|
-
|
|
263
|
+
public var type: Mason.MasonNodeType {
|
|
240
264
|
get
|
|
241
265
|
}
|
|
266
|
+
@objc public func getChildren() -> [Mason.MasonNode]
|
|
267
|
+
@objc public func getLayoutChildren() -> [Mason.MasonNode]
|
|
242
268
|
@objc public init(mason doc: Mason.NSCMason, children nodes: [Mason.MasonNode])
|
|
243
269
|
@objc deinit
|
|
244
|
-
@objc @discardableResult
|
|
245
|
-
public func layout() -> Mason.MasonLayout
|
|
246
270
|
@objc public var isDirty: Swift.Bool {
|
|
247
271
|
@objc get
|
|
248
272
|
}
|
|
249
273
|
@objc public func markDirty()
|
|
250
|
-
@objc public func getRoot() ->
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
@objc public func
|
|
254
|
-
@objc public func
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
@
|
|
274
|
+
@objc public func getRoot() -> UIKit.UIView?
|
|
275
|
+
}
|
|
276
|
+
extension Mason.MasonNode {
|
|
277
|
+
@objc dynamic public func setChildren(value: [Mason.MasonNode])
|
|
278
|
+
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
279
|
+
}
|
|
280
|
+
public protocol MasonElement {
|
|
281
|
+
var style: Mason.MasonStyle { get }
|
|
282
|
+
var node: Mason.MasonNode { get }
|
|
283
|
+
func markNodeDirty()
|
|
284
|
+
func isNodeDirty() -> Swift.Bool
|
|
285
|
+
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
286
|
+
var uiView: UIKit.UIView { get }
|
|
287
|
+
@discardableResult
|
|
288
|
+
func layout() -> Mason.MasonLayout
|
|
289
|
+
func compute()
|
|
290
|
+
func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
291
|
+
func computeMaxContent()
|
|
292
|
+
func computeMinContent()
|
|
293
|
+
func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
294
|
+
func computeWithViewSize()
|
|
295
|
+
func computeWithViewSize(layout: Swift.Bool)
|
|
296
|
+
func computeWithMaxContent()
|
|
297
|
+
func computeWithMinContent()
|
|
298
|
+
func attachAndApply()
|
|
299
|
+
func requestLayout()
|
|
300
|
+
func append(_ element: any Mason.MasonElement)
|
|
301
|
+
func append(text: Swift.String)
|
|
302
|
+
func append(node: Mason.MasonNode)
|
|
303
|
+
func append(texts: [Swift.String])
|
|
304
|
+
func append(elements: [any Mason.MasonElement])
|
|
305
|
+
func append(nodes: [Mason.MasonNode])
|
|
306
|
+
func prepend(_ element: any Mason.MasonElement)
|
|
307
|
+
func prepend(string: Swift.String)
|
|
308
|
+
func prepend(node: Mason.MasonNode)
|
|
309
|
+
func prepend(strings: [Swift.String])
|
|
310
|
+
func prepend(elements: [any Mason.MasonElement])
|
|
311
|
+
func prepend(nodes: [Mason.MasonNode])
|
|
312
|
+
func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
313
|
+
func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
314
|
+
func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
315
|
+
}
|
|
316
|
+
extension Mason.MasonElement {
|
|
317
|
+
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
318
|
+
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
319
|
+
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
320
|
+
public var style: Mason.MasonStyle {
|
|
321
|
+
get
|
|
322
|
+
}
|
|
323
|
+
public func syncStyle(_ state: Swift.String)
|
|
324
|
+
public func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
325
|
+
public func requestLayout()
|
|
326
|
+
public func addView(_ view: UIKit.UIView)
|
|
327
|
+
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
328
|
+
public func append(_ element: any Mason.MasonElement)
|
|
329
|
+
public func append(text: Swift.String)
|
|
330
|
+
public func append(node childNode: Mason.MasonNode)
|
|
331
|
+
public func append(texts: [Swift.String])
|
|
332
|
+
public func append(nodes: [Mason.MasonNode])
|
|
333
|
+
public func append(elements: [any Mason.MasonElement])
|
|
334
|
+
public func markNodeDirty()
|
|
335
|
+
public func isNodeDirty() -> Swift.Bool
|
|
336
|
+
@discardableResult
|
|
337
|
+
public func layout() -> Mason.MasonLayout
|
|
338
|
+
public func compute()
|
|
339
|
+
public func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
340
|
+
public func computeMaxContent()
|
|
341
|
+
public func computeMinContent()
|
|
342
|
+
public func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
343
|
+
public func computeWithViewSize()
|
|
344
|
+
public func computeWithViewSize(layout: Swift.Bool)
|
|
345
|
+
public func computeWithMaxContent()
|
|
346
|
+
public func computeWithMinContent()
|
|
347
|
+
public func attachAndApply()
|
|
348
|
+
}
|
|
349
|
+
extension Mason.MasonElement {
|
|
350
|
+
public func prepend(_ element: any Mason.MasonElement)
|
|
351
|
+
public func prepend(string: Swift.String)
|
|
352
|
+
public func prepend(node childNode: Mason.MasonNode)
|
|
353
|
+
public func prepend(strings: [Swift.String])
|
|
354
|
+
public func prepend(elements: [any Mason.MasonElement])
|
|
355
|
+
public func prepend(nodes: [Mason.MasonNode])
|
|
264
356
|
}
|
|
265
357
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MinSizing) public class MinSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
266
358
|
@objc public var value: Swift.Float {
|
|
@@ -281,11 +373,6 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
281
373
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
282
374
|
@objc deinit
|
|
283
375
|
}
|
|
284
|
-
extension UIKit.UIColor {
|
|
285
|
-
public static func colorFromARGB(_ argb: Swift.UInt32) -> UIKit.UIColor
|
|
286
|
-
public static func colorFromRGBA(_ rgba: Swift.UInt32) -> UIKit.UIColor
|
|
287
|
-
public func toUInt32() -> Swift.UInt32
|
|
288
|
-
}
|
|
289
376
|
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
290
377
|
case None
|
|
291
378
|
case P
|
|
@@ -300,6 +387,7 @@ extension UIKit.UIColor {
|
|
|
300
387
|
case Li
|
|
301
388
|
case Blockquote
|
|
302
389
|
case B
|
|
390
|
+
case Pre
|
|
303
391
|
public typealias RawValue = Swift.Int32
|
|
304
392
|
public var rawValue: Mason.MasonTextType.RawValue {
|
|
305
393
|
get
|
|
@@ -309,70 +397,66 @@ extension UIKit.UIColor {
|
|
|
309
397
|
get
|
|
310
398
|
}
|
|
311
399
|
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
400
|
+
public enum InlineSegmentPayload {
|
|
401
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
402
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
403
|
+
}
|
|
404
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement {
|
|
316
405
|
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
317
|
-
@objc @_Concurrency.MainActor @preconcurrency public
|
|
406
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
407
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
318
408
|
get
|
|
319
409
|
}
|
|
320
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
321
410
|
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
322
411
|
get
|
|
323
412
|
}
|
|
324
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
325
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
326
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(node masonNode: Mason.MasonNode)
|
|
327
413
|
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
328
414
|
@objc get
|
|
329
415
|
}
|
|
330
|
-
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
331
|
-
@objc get
|
|
332
|
-
}
|
|
333
|
-
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
334
|
-
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
335
|
-
@objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
|
|
336
|
-
@objc @_Concurrency.MainActor @preconcurrency public func updateText(_ value: Swift.String?)
|
|
337
|
-
@objc @_Concurrency.MainActor @preconcurrency public var txtToRender: Foundation.NSMutableAttributedString
|
|
338
|
-
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
339
416
|
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
340
417
|
get
|
|
341
418
|
set
|
|
342
419
|
}
|
|
343
|
-
@objc @_Concurrency.MainActor @preconcurrency public var
|
|
420
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
344
421
|
@objc get
|
|
345
422
|
@objc set
|
|
346
423
|
}
|
|
347
|
-
@objc @_Concurrency.MainActor @preconcurrency public
|
|
424
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
425
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
426
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String, textState: Swift.String)
|
|
427
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
348
428
|
@objc get
|
|
349
429
|
@objc set
|
|
350
430
|
}
|
|
351
|
-
@objc @_Concurrency.MainActor @preconcurrency public var
|
|
431
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
352
432
|
@objc get
|
|
353
433
|
@objc set
|
|
354
434
|
}
|
|
355
|
-
@objc @_Concurrency.MainActor @preconcurrency public func
|
|
356
|
-
@objc @_Concurrency.MainActor @preconcurrency public
|
|
435
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
436
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
437
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
357
438
|
@objc get
|
|
358
439
|
@objc set
|
|
359
440
|
}
|
|
360
|
-
@objc @_Concurrency.MainActor @preconcurrency public
|
|
441
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
442
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
361
443
|
@objc get
|
|
362
444
|
@objc set
|
|
363
445
|
}
|
|
364
|
-
@objc @_Concurrency.MainActor @preconcurrency public var
|
|
446
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: CoreFoundation.CGFloat {
|
|
365
447
|
@objc get
|
|
366
448
|
@objc set
|
|
367
449
|
}
|
|
368
|
-
@objc @_Concurrency.MainActor @preconcurrency public
|
|
369
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
370
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
371
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
450
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
372
451
|
@objc get
|
|
373
452
|
@objc set
|
|
374
453
|
}
|
|
375
|
-
@objc @_Concurrency.MainActor @preconcurrency public
|
|
454
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
455
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
456
|
+
@objc get
|
|
457
|
+
@objc set
|
|
458
|
+
}
|
|
459
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
376
460
|
@objc get
|
|
377
461
|
@objc set
|
|
378
462
|
}
|
|
@@ -384,16 +468,72 @@ extension UIKit.UIColor {
|
|
|
384
468
|
@objc get
|
|
385
469
|
@objc set
|
|
386
470
|
}
|
|
471
|
+
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
472
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
473
|
+
@objc deinit
|
|
474
|
+
}
|
|
475
|
+
extension Mason.MasonText {
|
|
387
476
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
@objc @
|
|
477
|
+
}
|
|
478
|
+
extension Mason.MasonText {
|
|
479
|
+
@objc @discardableResult
|
|
480
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
481
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func insertChild(_ child: Mason.MasonNode, at index: Swift.Int)
|
|
482
|
+
}
|
|
483
|
+
extension Mason.MasonText {
|
|
484
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
485
|
+
}
|
|
486
|
+
extension Mason.MasonText {
|
|
487
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public var text: Swift.String {
|
|
391
488
|
@objc get
|
|
392
489
|
@objc set
|
|
393
490
|
}
|
|
394
|
-
|
|
491
|
+
}
|
|
492
|
+
@objc public protocol MasonCharacterData {
|
|
493
|
+
@objc var data: Swift.String { get set }
|
|
494
|
+
@objc var length: Swift.Int { get }
|
|
495
|
+
@objc @discardableResult
|
|
496
|
+
func appendData(_ s: Swift.String) -> Self
|
|
497
|
+
@objc @discardableResult
|
|
498
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
499
|
+
@objc @discardableResult
|
|
500
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
501
|
+
@objc @discardableResult
|
|
502
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
503
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
504
|
+
@objc @discardableResult
|
|
505
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
506
|
+
@objc @discardableResult
|
|
507
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
508
|
+
}
|
|
509
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
510
|
+
@objc public var data: Swift.String
|
|
511
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
512
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
513
|
+
@objc public var length: Swift.Int {
|
|
514
|
+
@objc get
|
|
515
|
+
}
|
|
516
|
+
@objc override public var parent: Mason.MasonNode? {
|
|
517
|
+
@objc get
|
|
518
|
+
}
|
|
519
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
520
|
+
@discardableResult
|
|
521
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
522
|
+
@discardableResult
|
|
523
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
524
|
+
@discardableResult
|
|
525
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
526
|
+
@discardableResult
|
|
527
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
528
|
+
@discardableResult
|
|
529
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
530
|
+
@discardableResult
|
|
531
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
395
532
|
@objc deinit
|
|
396
533
|
}
|
|
534
|
+
extension Mason.MasonTextNode {
|
|
535
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
536
|
+
}
|
|
397
537
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(MasonLayout) @objcMembers public class MasonLayout : ObjectiveC.NSObject, Swift.Codable {
|
|
398
538
|
@objc final public let order: Swift.Int
|
|
399
539
|
@objc final public let x: Swift.Float
|
|
@@ -416,6 +556,7 @@ extension UIKit.UIColor {
|
|
|
416
556
|
get
|
|
417
557
|
}
|
|
418
558
|
@objc final public let children: [Mason.MasonLayout]
|
|
559
|
+
@objc public static let zero: Mason.MasonLayout
|
|
419
560
|
@objc override dynamic public var description: Swift.String {
|
|
420
561
|
@objc get
|
|
421
562
|
}
|
|
@@ -433,6 +574,9 @@ extension UIKit.UIColor {
|
|
|
433
574
|
@objc public static func Single(_ value: Mason.MinMax) -> Mason.TrackSizingFunction
|
|
434
575
|
@objc deinit
|
|
435
576
|
@objc public static func AutoRepeat(_ gridTrackRepetition: Mason.GridTrackRepetition, _ value: Swift.Array<Mason.MinMax>) -> Mason.TrackSizingFunction
|
|
577
|
+
@objc public var cssValue: Swift.String {
|
|
578
|
+
@objc get
|
|
579
|
+
}
|
|
436
580
|
}
|
|
437
581
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonDimensionCompat) public class MasonDimensionCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
438
582
|
@objc public init(points: Swift.Float)
|
|
@@ -617,6 +761,14 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
617
761
|
@objc get
|
|
618
762
|
@objc set
|
|
619
763
|
}
|
|
764
|
+
@objc public var overflowCompat: Mason.MasonOverflowPointCompat {
|
|
765
|
+
@objc get
|
|
766
|
+
@objc set
|
|
767
|
+
}
|
|
768
|
+
public var overflow: Mason.MasonPoint<Mason.Overflow> {
|
|
769
|
+
get
|
|
770
|
+
set
|
|
771
|
+
}
|
|
620
772
|
@objc public var overflowX: Mason.Overflow {
|
|
621
773
|
@objc get
|
|
622
774
|
@objc set
|
|
@@ -682,6 +834,22 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
682
834
|
get
|
|
683
835
|
set
|
|
684
836
|
}
|
|
837
|
+
public var marginLeft: Mason.MasonLengthPercentageAuto {
|
|
838
|
+
get
|
|
839
|
+
set
|
|
840
|
+
}
|
|
841
|
+
public var marginTop: Mason.MasonLengthPercentageAuto {
|
|
842
|
+
get
|
|
843
|
+
set
|
|
844
|
+
}
|
|
845
|
+
public var marginRight: Mason.MasonLengthPercentageAuto {
|
|
846
|
+
get
|
|
847
|
+
set
|
|
848
|
+
}
|
|
849
|
+
public var marginBottom: Mason.MasonLengthPercentageAuto {
|
|
850
|
+
get
|
|
851
|
+
set
|
|
852
|
+
}
|
|
685
853
|
@objc public var marginCompat: Mason.MasonLengthPercentageAutoRectCompat {
|
|
686
854
|
@objc get
|
|
687
855
|
@objc set
|
|
@@ -735,11 +903,11 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
735
903
|
set
|
|
736
904
|
}
|
|
737
905
|
@objc public func setScrollBarWidth(_ value: Swift.Float)
|
|
738
|
-
@objc public var textAlign: Mason.
|
|
906
|
+
@objc public var textAlign: Mason.TextAlign {
|
|
739
907
|
@objc get
|
|
740
908
|
@objc set
|
|
741
909
|
}
|
|
742
|
-
@objc public var boxSizing: Mason.
|
|
910
|
+
@objc public var boxSizing: Mason.BoxSizing {
|
|
743
911
|
@objc get
|
|
744
912
|
@objc set
|
|
745
913
|
}
|
|
@@ -862,10 +1030,16 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
862
1030
|
@objc get
|
|
863
1031
|
@objc set
|
|
864
1032
|
}
|
|
1033
|
+
@objc public var gridTemplateRowsCSS: Swift.String {
|
|
1034
|
+
@objc get
|
|
1035
|
+
}
|
|
865
1036
|
@objc public var gridTemplateRows: [Mason.TrackSizingFunction] {
|
|
866
1037
|
@objc get
|
|
867
1038
|
@objc set
|
|
868
1039
|
}
|
|
1040
|
+
@objc public var gridTemplateColumnsCSS: Swift.String {
|
|
1041
|
+
@objc get
|
|
1042
|
+
}
|
|
869
1043
|
@objc public var gridTemplateColumns: [Mason.TrackSizingFunction] {
|
|
870
1044
|
@objc get
|
|
871
1045
|
@objc set
|
|
@@ -876,23 +1050,68 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
876
1050
|
}
|
|
877
1051
|
@objc deinit
|
|
878
1052
|
}
|
|
879
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(
|
|
880
|
-
@objc
|
|
1053
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonOverflowPointCompat) public class MasonOverflowPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1054
|
+
@objc public var x: Mason.Overflow
|
|
1055
|
+
@objc public var y: Mason.Overflow
|
|
1056
|
+
public init(_ points: Mason.MasonPoint<Mason.Overflow>)
|
|
1057
|
+
@objc public var cssValue: Swift.String {
|
|
881
1058
|
@objc get
|
|
882
1059
|
}
|
|
883
|
-
@objc
|
|
884
|
-
|
|
885
|
-
|
|
1060
|
+
@objc deinit
|
|
1061
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1062
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1063
|
+
}
|
|
1064
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonDimensionPointCompat) public class MasonDimensionPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1065
|
+
@objc public var x: Mason.MasonDimensionCompat
|
|
1066
|
+
@objc public var y: Mason.MasonDimensionCompat
|
|
1067
|
+
public init(_ points: Mason.MasonPoint<Mason.MasonDimension>)
|
|
1068
|
+
@objc deinit
|
|
1069
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1070
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1071
|
+
}
|
|
1072
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonLengthPercentageAutoPointCompat) public class MasonLengthPercentageAutoPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1073
|
+
@objc public var x: Mason.MasonLengthPercentageAutoCompat
|
|
1074
|
+
@objc public var y: Mason.MasonLengthPercentageAutoCompat
|
|
1075
|
+
public init(_ points: Mason.MasonPoint<Mason.MasonLengthPercentageAuto>)
|
|
1076
|
+
@objc deinit
|
|
1077
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1078
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1079
|
+
}
|
|
1080
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonLengthPercentagePointCompat) public class MasonLengthPercentagePointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1081
|
+
@objc public var x: Mason.MasonLengthPercentageCompat
|
|
1082
|
+
@objc public var y: Mason.MasonLengthPercentageCompat
|
|
1083
|
+
public init(_ points: Mason.MasonPoint<Mason.MasonLengthPercentage>)
|
|
1084
|
+
@objc deinit
|
|
1085
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1086
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1087
|
+
}
|
|
1088
|
+
public struct MasonPoint<T> : Swift.Codable where T : Swift.Decodable, T : Swift.Encodable {
|
|
1089
|
+
public init(_ x: T, _ y: T)
|
|
1090
|
+
public init(uniform: T)
|
|
1091
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1092
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
1093
|
+
}
|
|
1094
|
+
extension UIKit.UIColor {
|
|
1095
|
+
public static func colorFromARGB(_ argb: Swift.UInt32) -> UIKit.UIColor
|
|
1096
|
+
public static func colorFromRGBA(_ rgba: Swift.UInt32) -> UIKit.UIColor
|
|
1097
|
+
public func toUInt32() -> Swift.UInt32
|
|
1098
|
+
}
|
|
1099
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIImageView, Mason.MasonElement {
|
|
886
1100
|
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
887
1101
|
@objc get
|
|
888
1102
|
}
|
|
889
1103
|
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
890
1104
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1105
|
+
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1106
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var image: UIKit.UIImage? {
|
|
1107
|
+
@objc get
|
|
1108
|
+
@objc set
|
|
1109
|
+
}
|
|
891
1110
|
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
892
1111
|
@objc get
|
|
893
1112
|
@objc set
|
|
894
1113
|
}
|
|
895
|
-
@objc @_Concurrency.MainActor @preconcurrency public func
|
|
1114
|
+
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
896
1115
|
@objc deinit
|
|
897
1116
|
}
|
|
898
1117
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
@@ -924,16 +1143,16 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
924
1143
|
}
|
|
925
1144
|
public init?(rawValue: Mason.MasonLengthPercentageCompatType.RawValue)
|
|
926
1145
|
}
|
|
927
|
-
@objc(MasonBoxSizing) public enum
|
|
1146
|
+
@objc(MasonBoxSizing) public enum BoxSizing : Swift.Int, Swift.RawRepresentable {
|
|
928
1147
|
case BorderBox
|
|
929
1148
|
case ContentBox
|
|
930
1149
|
public typealias RawValue = Swift.Int32
|
|
931
|
-
public var rawValue: Mason.
|
|
1150
|
+
public var rawValue: Mason.BoxSizing.RawValue {
|
|
932
1151
|
get
|
|
933
1152
|
}
|
|
934
|
-
public init?(rawValue: Mason.
|
|
1153
|
+
public init?(rawValue: Mason.BoxSizing.RawValue)
|
|
935
1154
|
}
|
|
936
|
-
@objc(MasonTextAlign) public enum
|
|
1155
|
+
@objc(MasonTextAlign) public enum TextAlign : Swift.Int, Swift.RawRepresentable {
|
|
937
1156
|
case Auto
|
|
938
1157
|
case Left
|
|
939
1158
|
case Right
|
|
@@ -942,15 +1161,15 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
942
1161
|
case Start
|
|
943
1162
|
case End
|
|
944
1163
|
public typealias RawValue = Swift.Int32
|
|
945
|
-
public var rawValue: Mason.
|
|
1164
|
+
public var rawValue: Mason.TextAlign.RawValue {
|
|
946
1165
|
get
|
|
947
1166
|
}
|
|
948
|
-
public init?(rawValue: Mason.
|
|
1167
|
+
public init?(rawValue: Mason.TextAlign.RawValue)
|
|
949
1168
|
}
|
|
950
1169
|
public func MasonDimensionFromPoints(value: Swift.Float) -> Mason.MasonDimension
|
|
951
1170
|
public func MasonDimensionFromPercent(value: Swift.Float) -> Mason.MasonDimension
|
|
952
1171
|
public let MasonDimensionAuto: Mason.MasonDimension
|
|
953
|
-
public enum MasonDimension : Swift.Codable {
|
|
1172
|
+
public enum MasonDimension : Swift.Codable, Swift.Equatable {
|
|
954
1173
|
case Auto
|
|
955
1174
|
case Points(Swift.Float)
|
|
956
1175
|
case Percent(Swift.Float)
|
|
@@ -962,6 +1181,7 @@ public enum MasonDimension : Swift.Codable {
|
|
|
962
1181
|
}
|
|
963
1182
|
public init(from decoder: any Swift.Decoder) throws
|
|
964
1183
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1184
|
+
public static func == (a: Mason.MasonDimension, b: Mason.MasonDimension) -> Swift.Bool
|
|
965
1185
|
}
|
|
966
1186
|
public func MasonLengthPercentageFromPoints(value: Swift.Float) -> Mason.MasonLengthPercentage
|
|
967
1187
|
public func MasonLengthPercentageFromPercent(value: Swift.Float) -> Mason.MasonLengthPercentage
|
|
@@ -995,7 +1215,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
995
1215
|
public init(from decoder: any Swift.Decoder) throws
|
|
996
1216
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
997
1217
|
}
|
|
998
|
-
@objc(
|
|
1218
|
+
@objc(MasonAlignItems) public enum AlignItems : Swift.Int, Swift.RawRepresentable {
|
|
999
1219
|
case Normal = -1
|
|
1000
1220
|
case Start
|
|
1001
1221
|
case End
|
|
@@ -1010,7 +1230,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1010
1230
|
}
|
|
1011
1231
|
public init?(rawValue: Mason.AlignItems.RawValue)
|
|
1012
1232
|
}
|
|
1013
|
-
@objc(
|
|
1233
|
+
@objc(MasonAlignSelf) public enum AlignSelf : Swift.Int, Swift.RawRepresentable {
|
|
1014
1234
|
case Normal = -1
|
|
1015
1235
|
case Start
|
|
1016
1236
|
case End
|
|
@@ -1025,7 +1245,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1025
1245
|
}
|
|
1026
1246
|
public init?(rawValue: Mason.AlignSelf.RawValue)
|
|
1027
1247
|
}
|
|
1028
|
-
@objc(
|
|
1248
|
+
@objc(MasonAlignContent) public enum AlignContent : Swift.Int, Swift.RawRepresentable {
|
|
1029
1249
|
case Normal = -1
|
|
1030
1250
|
case Start
|
|
1031
1251
|
case End
|
|
@@ -1042,7 +1262,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1042
1262
|
}
|
|
1043
1263
|
public init?(rawValue: Mason.AlignContent.RawValue)
|
|
1044
1264
|
}
|
|
1045
|
-
@objc(
|
|
1265
|
+
@objc(MasonDirection) public enum Direction : Swift.Int, Swift.RawRepresentable {
|
|
1046
1266
|
case Inherit
|
|
1047
1267
|
case LTR
|
|
1048
1268
|
case RTL
|
|
@@ -1052,11 +1272,15 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1052
1272
|
}
|
|
1053
1273
|
public init?(rawValue: Mason.Direction.RawValue)
|
|
1054
1274
|
}
|
|
1055
|
-
@objc(
|
|
1275
|
+
@objc(MasonDisplay) public enum Display : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1056
1276
|
case None
|
|
1057
1277
|
case Flex
|
|
1058
1278
|
case Grid
|
|
1059
1279
|
case Block
|
|
1280
|
+
case Inline
|
|
1281
|
+
case InlineBlock
|
|
1282
|
+
case InlineFlex
|
|
1283
|
+
case InlineGrid
|
|
1060
1284
|
public typealias RawValue = Swift.Int32
|
|
1061
1285
|
public var rawValue: Mason.Display.RawValue {
|
|
1062
1286
|
get
|
|
@@ -1066,7 +1290,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1066
1290
|
get
|
|
1067
1291
|
}
|
|
1068
1292
|
}
|
|
1069
|
-
@objc(
|
|
1293
|
+
@objc(MasonFlexDirection) public enum FlexDirection : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1070
1294
|
case Row
|
|
1071
1295
|
case Column
|
|
1072
1296
|
case RowReverse
|
|
@@ -1080,7 +1304,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1080
1304
|
get
|
|
1081
1305
|
}
|
|
1082
1306
|
}
|
|
1083
|
-
@objc(
|
|
1307
|
+
@objc(MasonJustifyItems) public enum JustifyItems : Swift.Int, Swift.RawRepresentable {
|
|
1084
1308
|
case Normal = -1
|
|
1085
1309
|
case Start
|
|
1086
1310
|
case End
|
|
@@ -1095,7 +1319,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1095
1319
|
}
|
|
1096
1320
|
public init?(rawValue: Mason.JustifyItems.RawValue)
|
|
1097
1321
|
}
|
|
1098
|
-
@objc(
|
|
1322
|
+
@objc(MasonJustifySelf) public enum JustifySelf : Swift.Int, Swift.RawRepresentable {
|
|
1099
1323
|
case Normal = -1
|
|
1100
1324
|
case Start
|
|
1101
1325
|
case End
|
|
@@ -1110,7 +1334,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1110
1334
|
}
|
|
1111
1335
|
public init?(rawValue: Mason.JustifySelf.RawValue)
|
|
1112
1336
|
}
|
|
1113
|
-
@objc(
|
|
1337
|
+
@objc(MasonJustifyContent) public enum JustifyContent : Swift.Int, Swift.RawRepresentable {
|
|
1114
1338
|
case Normal = -1
|
|
1115
1339
|
case Start
|
|
1116
1340
|
case End
|
|
@@ -1127,18 +1351,19 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1127
1351
|
}
|
|
1128
1352
|
public init?(rawValue: Mason.JustifyContent.RawValue)
|
|
1129
1353
|
}
|
|
1130
|
-
@objc(
|
|
1131
|
-
case Unset
|
|
1354
|
+
@objc(MasonOverflow) public enum Overflow : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1132
1355
|
case Visible
|
|
1133
1356
|
case Hidden
|
|
1134
1357
|
case Scroll
|
|
1358
|
+
case Clip
|
|
1359
|
+
case Auto
|
|
1135
1360
|
public typealias RawValue = Swift.Int32
|
|
1136
1361
|
public var rawValue: Mason.Overflow.RawValue {
|
|
1137
1362
|
get
|
|
1138
1363
|
}
|
|
1139
1364
|
public init?(rawValue: Mason.Overflow.RawValue)
|
|
1140
1365
|
}
|
|
1141
|
-
@objc(
|
|
1366
|
+
@objc(MasonPosition) public enum Position : Swift.Int, Swift.RawRepresentable {
|
|
1142
1367
|
case Relative
|
|
1143
1368
|
case Absolute
|
|
1144
1369
|
public typealias RawValue = Swift.Int32
|
|
@@ -1147,7 +1372,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1147
1372
|
}
|
|
1148
1373
|
public init?(rawValue: Mason.Position.RawValue)
|
|
1149
1374
|
}
|
|
1150
|
-
@objc(
|
|
1375
|
+
@objc(MasonFlexWrap) public enum FlexWrap : Swift.Int, Swift.RawRepresentable {
|
|
1151
1376
|
case NoWrap
|
|
1152
1377
|
case Wrap
|
|
1153
1378
|
case WrapReverse
|
|
@@ -1157,7 +1382,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1157
1382
|
}
|
|
1158
1383
|
public init?(rawValue: Mason.FlexWrap.RawValue)
|
|
1159
1384
|
}
|
|
1160
|
-
@objc(
|
|
1385
|
+
@objc(MasonGridAutoFlowWrap) public enum GridAutoFlow : Swift.Int, Swift.RawRepresentable {
|
|
1161
1386
|
case Row
|
|
1162
1387
|
case Column
|
|
1163
1388
|
case RowDense
|
|
@@ -1178,7 +1403,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1178
1403
|
public init(from decoder: any Swift.Decoder) throws
|
|
1179
1404
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1180
1405
|
}
|
|
1181
|
-
@objc(
|
|
1406
|
+
@objc(MasonGridPlacementCompatType) public enum GridPlacementCompatType : Swift.Int, Swift.RawRepresentable {
|
|
1182
1407
|
case Auto
|
|
1183
1408
|
case Line
|
|
1184
1409
|
case Span
|
|
@@ -1188,7 +1413,10 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1188
1413
|
}
|
|
1189
1414
|
public init?(rawValue: Mason.GridPlacementCompatType.RawValue)
|
|
1190
1415
|
}
|
|
1191
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(
|
|
1416
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonGridTrackRepetition) public class GridTrackRepetition : ObjectiveC.NSObject {
|
|
1417
|
+
@objc public var cssValue: Swift.String {
|
|
1418
|
+
@objc get
|
|
1419
|
+
}
|
|
1192
1420
|
@objc public var type: Swift.Int32 {
|
|
1193
1421
|
@objc get
|
|
1194
1422
|
}
|
|
@@ -1200,7 +1428,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1200
1428
|
@objc public static func Count(_ value: Swift.UInt16) -> Mason.GridTrackRepetition
|
|
1201
1429
|
@objc deinit
|
|
1202
1430
|
}
|
|
1203
|
-
@objc(
|
|
1431
|
+
@objc(MasonDecorationLine) public enum DecorationLine : Swift.Int, Swift.RawRepresentable {
|
|
1204
1432
|
case None
|
|
1205
1433
|
case Underline
|
|
1206
1434
|
case Overline
|
|
@@ -1211,7 +1439,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1211
1439
|
}
|
|
1212
1440
|
public init?(rawValue: Mason.DecorationLine.RawValue)
|
|
1213
1441
|
}
|
|
1214
|
-
@objc(
|
|
1442
|
+
@objc(MasonTextTransform) public enum TextTransform : Swift.Int, Swift.RawRepresentable {
|
|
1215
1443
|
case None
|
|
1216
1444
|
case Capitalize
|
|
1217
1445
|
case Uppercase
|
|
@@ -1225,7 +1453,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1225
1453
|
}
|
|
1226
1454
|
public init?(rawValue: Mason.TextTransform.RawValue)
|
|
1227
1455
|
}
|
|
1228
|
-
@objc(
|
|
1456
|
+
@objc(MasonFontStyle) public enum FontStyle : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1229
1457
|
case Normal
|
|
1230
1458
|
case Italic
|
|
1231
1459
|
case Oblique
|
|
@@ -1238,10 +1466,11 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1238
1466
|
get
|
|
1239
1467
|
}
|
|
1240
1468
|
}
|
|
1241
|
-
@objc(
|
|
1469
|
+
@objc(MasonTextWrap) public enum TextWrap : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1242
1470
|
case Wrap
|
|
1243
1471
|
case NoWrap
|
|
1244
1472
|
case Balance
|
|
1473
|
+
case Pretty
|
|
1245
1474
|
public typealias RawValue = Swift.Int32
|
|
1246
1475
|
public var rawValue: Mason.TextWrap.RawValue {
|
|
1247
1476
|
get
|
|
@@ -1251,12 +1480,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1251
1480
|
get
|
|
1252
1481
|
}
|
|
1253
1482
|
}
|
|
1254
|
-
@objc(
|
|
1483
|
+
@objc(MasonWhiteSpace) public enum WhiteSpace : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1255
1484
|
case Normal
|
|
1256
1485
|
case Pre
|
|
1257
1486
|
case PreWrap
|
|
1258
1487
|
case PreLine
|
|
1259
|
-
case
|
|
1488
|
+
case NoWrap
|
|
1489
|
+
case BreakSpaces
|
|
1260
1490
|
public typealias RawValue = Swift.Int32
|
|
1261
1491
|
public var rawValue: Mason.WhiteSpace.RawValue {
|
|
1262
1492
|
get
|
|
@@ -1284,19 +1514,21 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1284
1514
|
case Clip
|
|
1285
1515
|
case Ellipse(Swift.String?)
|
|
1286
1516
|
case Custom(Swift.String)
|
|
1517
|
+
public typealias RawValue = Swift.Int32
|
|
1287
1518
|
public var description: Swift.String {
|
|
1288
1519
|
get
|
|
1289
1520
|
}
|
|
1290
1521
|
}
|
|
1291
|
-
public
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
func
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1522
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonTextOverflowCompat) public class TextOverflowCompat : ObjectiveC.NSObject {
|
|
1523
|
+
@objc public static let Clip: Mason.TextOverflowCompat
|
|
1524
|
+
@objc public static func Ellipse(_ value: Swift.String? = nil) -> Mason.TextOverflowCompat
|
|
1525
|
+
@objc public static func Custom(_ value: Swift.String) -> Mason.TextOverflowCompat
|
|
1526
|
+
@objc override dynamic public var description: Swift.String {
|
|
1527
|
+
@objc get
|
|
1528
|
+
}
|
|
1529
|
+
@objc deinit
|
|
1298
1530
|
}
|
|
1299
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.
|
|
1531
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonElement {
|
|
1300
1532
|
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
1301
1533
|
@objc get
|
|
1302
1534
|
}
|
|
@@ -1307,17 +1539,10 @@ public protocol MasonView {
|
|
|
1307
1539
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1308
1540
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1309
1541
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1310
|
-
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
1311
|
-
@objc get
|
|
1312
|
-
@objc set
|
|
1313
|
-
}
|
|
1314
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1315
1542
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1316
1543
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1317
|
-
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1318
1544
|
@objc @_Concurrency.MainActor @preconcurrency public func addSubviews(_ views: [UIKit.UIView])
|
|
1319
1545
|
@objc @_Concurrency.MainActor @preconcurrency public func addSubviews(_ views: [UIKit.UIView], at index: Swift.Int)
|
|
1320
|
-
@objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
|
|
1321
1546
|
@objc @_Concurrency.MainActor @preconcurrency public var inBatch: Swift.Bool {
|
|
1322
1547
|
@objc get
|
|
1323
1548
|
@objc set(value)
|
|
@@ -1537,12 +1762,27 @@ public protocol MasonView {
|
|
|
1537
1762
|
@objc @_Concurrency.MainActor @preconcurrency public func getColumnGap() -> Mason.MasonLengthPercentageCompat
|
|
1538
1763
|
@objc deinit
|
|
1539
1764
|
}
|
|
1765
|
+
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, Mason.MasonElement, UIKit.UIScrollViewDelegate {
|
|
1766
|
+
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
1767
|
+
@objc get
|
|
1768
|
+
}
|
|
1769
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
1770
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1771
|
+
@_Concurrency.MainActor @preconcurrency @objc public func scrollViewWillBeginDragging(_ scrollView: UIKit.UIScrollView)
|
|
1772
|
+
@_Concurrency.MainActor @preconcurrency @objc public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView)
|
|
1773
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1774
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1775
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
1776
|
+
@objc deinit
|
|
1777
|
+
}
|
|
1540
1778
|
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
1541
1779
|
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
1542
1780
|
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
1543
1781
|
extension Mason.NSCFontWeight : Swift.Hashable {}
|
|
1544
1782
|
extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
1545
1783
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
1784
|
+
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
1785
|
+
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
1546
1786
|
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1547
1787
|
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1548
1788
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
@@ -1553,10 +1793,10 @@ extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|
|
|
1553
1793
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Hashable {}
|
|
1554
1794
|
extension Mason.MasonLengthPercentageCompatType : Swift.Equatable {}
|
|
1555
1795
|
extension Mason.MasonLengthPercentageCompatType : Swift.Hashable {}
|
|
1556
|
-
extension Mason.
|
|
1557
|
-
extension Mason.
|
|
1558
|
-
extension Mason.
|
|
1559
|
-
extension Mason.
|
|
1796
|
+
extension Mason.BoxSizing : Swift.Equatable {}
|
|
1797
|
+
extension Mason.BoxSizing : Swift.Hashable {}
|
|
1798
|
+
extension Mason.TextAlign : Swift.Equatable {}
|
|
1799
|
+
extension Mason.TextAlign : Swift.Hashable {}
|
|
1560
1800
|
extension Mason.AlignItems : Swift.Equatable {}
|
|
1561
1801
|
extension Mason.AlignItems : Swift.Hashable {}
|
|
1562
1802
|
extension Mason.AlignSelf : Swift.Equatable {}
|