@triniwiz/nativescript-masonkit 1.0.0-beta.66 → 1.0.0-beta.67
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/DOCS.md +46 -0
- package/button/index.android.js +7 -2
- package/button/index.android.js.map +1 -1
- package/button/index.ios.js +6 -3
- package/button/index.ios.js.map +1 -1
- package/common.d.ts +4 -1
- package/common.js +99 -22
- package/common.js.map +1 -1
- package/li/index.ios.js +7 -4
- package/li/index.ios.js.map +1 -1
- package/package.json +6 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +5 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +63 -1
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +12 -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 +28746 -16510
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +475 -334
- 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 +475 -334
- 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 +8427 -8232
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +126 -2
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +12 -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 +28746 -16510
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +475 -334
- 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 +475 -334
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +28746 -16510
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +475 -334
- 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 +475 -334
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +28 -28
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8422 -8227
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +8084 -7891
- package/properties.d.ts +13 -1
- package/properties.js +66 -1
- package/properties.js.map +1 -1
- package/scroll/index.ios.d.ts +5 -3
- package/scroll/index.ios.js +53 -19
- package/scroll/index.ios.js.map +1 -1
- package/style.d.ts +21 -0
- package/style.js +460 -312
- package/style.js.map +1 -1
- package/text/index.android.js +3 -2
- package/text/index.android.js.map +1 -1
- package/text/index.ios.d.ts +2 -1
- package/text/index.ios.js +36 -14
- package/text/index.ios.js.map +1 -1
- package/view/index.ios.d.ts +1 -0
- package/view/index.ios.js +45 -6
- package/view/index.ios.js.map +1 -1
|
@@ -10,6 +10,7 @@ import Foundation
|
|
|
10
10
|
@_exported import Mason
|
|
11
11
|
import MetalKit
|
|
12
12
|
import MetalPerformanceShaders
|
|
13
|
+
import QuartzCore
|
|
13
14
|
import Swift
|
|
14
15
|
import UIKit
|
|
15
16
|
import UniformTypeIdentifiers
|
|
@@ -241,7 +242,7 @@ final public class CSSBorderRenderer {
|
|
|
241
242
|
}
|
|
242
243
|
public static func == (a: Mason.CSSBorderRenderer.CornerRadius, b: Mason.CSSBorderRenderer.CornerRadius) -> Swift.Bool
|
|
243
244
|
}
|
|
244
|
-
public struct BorderRadius {
|
|
245
|
+
public struct BorderRadius : Swift.Equatable {
|
|
245
246
|
public var topLeft: Mason.CSSBorderRenderer.CornerRadius
|
|
246
247
|
public var topRight: Mason.CSSBorderRenderer.CornerRadius
|
|
247
248
|
public var bottomRight: Mason.CSSBorderRenderer.CornerRadius
|
|
@@ -249,6 +250,7 @@ final public class CSSBorderRenderer {
|
|
|
249
250
|
public static var zero: Mason.CSSBorderRenderer.BorderRadius {
|
|
250
251
|
get
|
|
251
252
|
}
|
|
253
|
+
public static func == (a: Mason.CSSBorderRenderer.BorderRadius, b: Mason.CSSBorderRenderer.BorderRadius) -> Swift.Bool
|
|
252
254
|
}
|
|
253
255
|
final public var top: Mason.CSSBorderRenderer.BorderSide
|
|
254
256
|
final public var right: Mason.CSSBorderRenderer.BorderSide
|
|
@@ -290,6 +292,9 @@ final public class CSSBorderRenderer {
|
|
|
290
292
|
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
291
293
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
292
294
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
295
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
296
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
297
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
293
298
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
294
299
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
295
300
|
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
@@ -313,6 +318,210 @@ extension Mason.Button {
|
|
|
313
318
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
314
319
|
#endif
|
|
315
320
|
}
|
|
321
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
322
|
+
case None
|
|
323
|
+
case P
|
|
324
|
+
case Span
|
|
325
|
+
case Code
|
|
326
|
+
case H1
|
|
327
|
+
case H2
|
|
328
|
+
case H3
|
|
329
|
+
case H4
|
|
330
|
+
case H5
|
|
331
|
+
case H6
|
|
332
|
+
case Li
|
|
333
|
+
case Blockquote
|
|
334
|
+
case B
|
|
335
|
+
case Pre
|
|
336
|
+
case Strong
|
|
337
|
+
case Em
|
|
338
|
+
case I
|
|
339
|
+
case A
|
|
340
|
+
public typealias RawValue = Swift.Int32
|
|
341
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
342
|
+
get
|
|
343
|
+
}
|
|
344
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
345
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
346
|
+
#endif
|
|
347
|
+
public var description: Swift.String {
|
|
348
|
+
get
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
public enum InlineSegmentPayload {
|
|
352
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
353
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
354
|
+
}
|
|
355
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
356
|
+
@objc override dynamic public init()
|
|
357
|
+
@objc override dynamic public init(layer: Any)
|
|
358
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
359
|
+
@objc deinit
|
|
360
|
+
}
|
|
361
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
362
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
363
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
364
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
365
|
+
@objc get
|
|
366
|
+
@objc set
|
|
367
|
+
}
|
|
368
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
369
|
+
@objc get
|
|
370
|
+
}
|
|
371
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
372
|
+
@objc get
|
|
373
|
+
}
|
|
374
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
375
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
376
|
+
@objc get
|
|
377
|
+
}
|
|
378
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
379
|
+
@objc get
|
|
380
|
+
}
|
|
381
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
382
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
383
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
384
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
385
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
386
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
387
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
388
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
389
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
390
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
391
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
392
|
+
get
|
|
393
|
+
set
|
|
394
|
+
}
|
|
395
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
396
|
+
@objc get
|
|
397
|
+
@objc set
|
|
398
|
+
}
|
|
399
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
400
|
+
@objc get
|
|
401
|
+
@objc set
|
|
402
|
+
}
|
|
403
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
404
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
405
|
+
@objc get
|
|
406
|
+
@objc set
|
|
407
|
+
}
|
|
408
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
409
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
410
|
+
@objc get
|
|
411
|
+
@objc set
|
|
412
|
+
}
|
|
413
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
414
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
415
|
+
@objc get
|
|
416
|
+
@objc set
|
|
417
|
+
}
|
|
418
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
419
|
+
@objc get
|
|
420
|
+
@objc set
|
|
421
|
+
}
|
|
422
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
423
|
+
@objc get
|
|
424
|
+
@objc set
|
|
425
|
+
}
|
|
426
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
427
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
428
|
+
@objc get
|
|
429
|
+
@objc set
|
|
430
|
+
}
|
|
431
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
432
|
+
@objc get
|
|
433
|
+
@objc set
|
|
434
|
+
}
|
|
435
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
436
|
+
@objc get
|
|
437
|
+
@objc set
|
|
438
|
+
}
|
|
439
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
440
|
+
@objc get
|
|
441
|
+
@objc set
|
|
442
|
+
}
|
|
443
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
444
|
+
@objc get
|
|
445
|
+
@objc set
|
|
446
|
+
}
|
|
447
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
448
|
+
@objc get
|
|
449
|
+
@objc set
|
|
450
|
+
}
|
|
451
|
+
@objc deinit
|
|
452
|
+
}
|
|
453
|
+
extension Mason.MasonText {
|
|
454
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
455
|
+
@objc @discardableResult
|
|
456
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
457
|
+
#endif
|
|
458
|
+
}
|
|
459
|
+
extension Mason.MasonText {
|
|
460
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
461
|
+
}
|
|
462
|
+
@objc public protocol MasonCharacterData {
|
|
463
|
+
@objc var data: Swift.String { get set }
|
|
464
|
+
@objc var length: Swift.Int { get }
|
|
465
|
+
@objc @discardableResult
|
|
466
|
+
func appendData(_ s: Swift.String) -> Self
|
|
467
|
+
@objc @discardableResult
|
|
468
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
469
|
+
@objc @discardableResult
|
|
470
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
471
|
+
@objc @discardableResult
|
|
472
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
473
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
474
|
+
@objc @discardableResult
|
|
475
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
476
|
+
@objc @discardableResult
|
|
477
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
478
|
+
}
|
|
479
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
480
|
+
@objc public var data: Swift.String {
|
|
481
|
+
@objc get
|
|
482
|
+
@objc set
|
|
483
|
+
}
|
|
484
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
485
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
486
|
+
#endif
|
|
487
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
488
|
+
@objc public var length: Swift.Int {
|
|
489
|
+
@objc get
|
|
490
|
+
}
|
|
491
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
492
|
+
@discardableResult
|
|
493
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
494
|
+
@discardableResult
|
|
495
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
496
|
+
@discardableResult
|
|
497
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
498
|
+
@discardableResult
|
|
499
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
500
|
+
@discardableResult
|
|
501
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
502
|
+
@discardableResult
|
|
503
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
504
|
+
@objc deinit
|
|
505
|
+
}
|
|
506
|
+
extension Mason.MasonTextNode {
|
|
507
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
508
|
+
}
|
|
509
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
510
|
+
@objc var engine: Mason.TextEngine { get }
|
|
511
|
+
@objc var node: Mason.MasonNode { get }
|
|
512
|
+
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
513
|
+
}
|
|
514
|
+
extension Mason.TextContainer {
|
|
515
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
516
|
+
}
|
|
517
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
518
|
+
public var textContent: Swift.String {
|
|
519
|
+
get
|
|
520
|
+
set
|
|
521
|
+
}
|
|
522
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
523
|
+
@objc deinit
|
|
524
|
+
}
|
|
316
525
|
@_inheritsConvenienceInitializers @objc(NSCMason) @objcMembers public class NSCMason : ObjectiveC.NSObject {
|
|
317
526
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
318
527
|
get
|
|
@@ -356,11 +565,13 @@ extension Mason.Button {
|
|
|
356
565
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
357
566
|
@objc public func createTextNode() -> Mason.MasonNode
|
|
358
567
|
@objc public func createImageNode() -> Mason.MasonNode
|
|
568
|
+
@objc public func createButtonNode() -> Mason.MasonNode
|
|
359
569
|
@objc public func createLineBreakNode() -> Mason.MasonNode
|
|
360
570
|
@objc public func createListView(isOrdered: Swift.Bool = false) -> Mason.MasonList
|
|
361
571
|
public func createListItemNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
362
572
|
@objc public func createListItemNode() -> Mason.MasonNode
|
|
363
573
|
@objc public func createListItem() -> Mason.MasonLi
|
|
574
|
+
@objc public static let scale: Swift.Float
|
|
364
575
|
}
|
|
365
576
|
@_inheritsConvenienceInitializers @objcMembers @objc(MeasureOutput) public class MeasureOutput : ObjectiveC.NSObject {
|
|
366
577
|
@objc override dynamic public init()
|
|
@@ -454,6 +665,7 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
454
665
|
@objc public var computedLayout: Mason.MasonLayout {
|
|
455
666
|
get
|
|
456
667
|
}
|
|
668
|
+
@objc public var isLayoutValid: Swift.Bool
|
|
457
669
|
@objc public var document: Mason.MasonDocument? {
|
|
458
670
|
get
|
|
459
671
|
}
|
|
@@ -521,317 +733,117 @@ extension Mason.MasonNode {
|
|
|
521
733
|
get
|
|
522
734
|
}
|
|
523
735
|
}
|
|
524
|
-
extension Mason.MasonNode {
|
|
525
|
-
@objc dynamic public var pseudoMask: Swift.UInt16 {
|
|
526
|
-
@objc get
|
|
527
|
-
}
|
|
528
|
-
@objc dynamic public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
529
|
-
@objc dynamic public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
530
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
531
|
-
public func getPseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeBufferPointer<Swift.UInt8>?
|
|
532
|
-
#endif
|
|
533
|
-
public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeMutableBufferPointer<Swift.UInt8>
|
|
534
|
-
public static func markPseudoSet(_ buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, _ key: Mason.StateKeys)
|
|
535
|
-
}
|
|
536
|
-
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
537
|
-
@objc var style: Mason.MasonStyle { get }
|
|
538
|
-
@objc var node: Mason.MasonNode { get }
|
|
539
|
-
@objc var uiView: UIKit.UIView { get }
|
|
540
|
-
}
|
|
541
|
-
public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
542
|
-
var style: Mason.MasonStyle { get }
|
|
543
|
-
var node: Mason.MasonNode { get }
|
|
544
|
-
var uiView: UIKit.UIView { get }
|
|
545
|
-
var innerHTML: Swift.String { get set }
|
|
546
|
-
func markNodeDirty()
|
|
547
|
-
func isNodeDirty() -> Swift.Bool
|
|
548
|
-
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
549
|
-
@discardableResult
|
|
550
|
-
func layout() -> Mason.MasonLayout
|
|
551
|
-
func compute()
|
|
552
|
-
func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
553
|
-
func computeMaxContent()
|
|
554
|
-
func computeMinContent()
|
|
555
|
-
func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
556
|
-
func computeWithViewSize()
|
|
557
|
-
func computeWithViewSize(layout: Swift.Bool)
|
|
558
|
-
func computeWithMaxContent()
|
|
559
|
-
func computeWithMinContent()
|
|
560
|
-
func attachAndApply()
|
|
561
|
-
func requestLayout()
|
|
562
|
-
func append(_ element: any Mason.MasonElement)
|
|
563
|
-
func append(text: Swift.String)
|
|
564
|
-
func append(node: Mason.MasonNode)
|
|
565
|
-
func append(texts: [Swift.String])
|
|
566
|
-
func append(elements: [any Mason.MasonElement])
|
|
567
|
-
func append(nodes: [Mason.MasonNode])
|
|
568
|
-
func prepend(_ element: any Mason.MasonElement)
|
|
569
|
-
func prepend(string: Swift.String)
|
|
570
|
-
func prepend(node: Mason.MasonNode)
|
|
571
|
-
func prepend(strings: [Swift.String])
|
|
572
|
-
func prepend(elements: [any Mason.MasonElement])
|
|
573
|
-
func prepend(nodes: [Mason.MasonNode])
|
|
574
|
-
func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
575
|
-
func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
576
|
-
func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
577
|
-
func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
578
|
-
func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
579
|
-
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
580
|
-
}
|
|
581
|
-
extension Mason.MasonElement {
|
|
582
|
-
public var innerHTML: Swift.String {
|
|
583
|
-
get
|
|
584
|
-
set
|
|
585
|
-
}
|
|
586
|
-
public func dispatch(_ event: Mason.MasonEvent)
|
|
587
|
-
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
588
|
-
public func syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
589
|
-
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
590
|
-
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
591
|
-
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
592
|
-
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
593
|
-
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
594
|
-
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
595
|
-
public func removeAllChildren()
|
|
596
|
-
public var style: Mason.MasonStyle {
|
|
597
|
-
get
|
|
598
|
-
}
|
|
599
|
-
public func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
600
|
-
public func requestLayout()
|
|
601
|
-
public func invalidate(markDirty: Swift.Bool = false)
|
|
602
|
-
public func invalidateLayout()
|
|
603
|
-
public func addView(_ view: UIKit.UIView)
|
|
604
|
-
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
605
|
-
public func autoComputeIfRoot()
|
|
606
|
-
public func append(_ element: any Mason.MasonElement)
|
|
607
|
-
public func append(text: Swift.String)
|
|
608
|
-
public func append(node childNode: Mason.MasonNode)
|
|
609
|
-
public func append(texts: [Swift.String])
|
|
610
|
-
public func append(nodes: [Mason.MasonNode])
|
|
611
|
-
public func append(elements: [any Mason.MasonElement])
|
|
612
|
-
public func markNodeDirty()
|
|
613
|
-
public func isNodeDirty() -> Swift.Bool
|
|
614
|
-
@discardableResult
|
|
615
|
-
public func layout() -> Mason.MasonLayout
|
|
616
|
-
public func compute()
|
|
617
|
-
public func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
618
|
-
public func computeMaxContent()
|
|
619
|
-
public func computeMinContent()
|
|
620
|
-
public func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
621
|
-
public func computeWithViewSize()
|
|
622
|
-
public func computeWithViewSize(layout: Swift.Bool)
|
|
623
|
-
public func computeWithMaxContent()
|
|
624
|
-
public func computeWithMinContent()
|
|
625
|
-
public func attachAndApply()
|
|
626
|
-
}
|
|
627
|
-
extension Mason.MasonElement {
|
|
628
|
-
public func prepend(_ element: any Mason.MasonElement)
|
|
629
|
-
public func prepend(string: Swift.String)
|
|
630
|
-
public func prepend(node childNode: Mason.MasonNode)
|
|
631
|
-
public func prepend(strings: [Swift.String])
|
|
632
|
-
public func prepend(elements: [any Mason.MasonElement])
|
|
633
|
-
public func prepend(nodes: [Mason.MasonNode])
|
|
634
|
-
}
|
|
635
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
636
|
-
case None
|
|
637
|
-
case P
|
|
638
|
-
case Span
|
|
639
|
-
case Code
|
|
640
|
-
case H1
|
|
641
|
-
case H2
|
|
642
|
-
case H3
|
|
643
|
-
case H4
|
|
644
|
-
case H5
|
|
645
|
-
case H6
|
|
646
|
-
case Li
|
|
647
|
-
case Blockquote
|
|
648
|
-
case B
|
|
649
|
-
case Pre
|
|
650
|
-
case Strong
|
|
651
|
-
case Em
|
|
652
|
-
case I
|
|
653
|
-
case A
|
|
654
|
-
public typealias RawValue = Swift.Int32
|
|
655
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
656
|
-
get
|
|
657
|
-
}
|
|
658
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
659
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
660
|
-
#endif
|
|
661
|
-
public var description: Swift.String {
|
|
662
|
-
get
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
public enum InlineSegmentPayload {
|
|
666
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
667
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
668
|
-
}
|
|
669
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
670
|
-
@objc override dynamic public init()
|
|
671
|
-
@objc override dynamic public init(layer: Any)
|
|
672
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
673
|
-
@objc deinit
|
|
674
|
-
}
|
|
675
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
676
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
677
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
678
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
679
|
-
@objc get
|
|
680
|
-
@objc set
|
|
681
|
-
}
|
|
682
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
683
|
-
@objc get
|
|
684
|
-
}
|
|
685
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
686
|
-
@objc get
|
|
687
|
-
}
|
|
688
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
689
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
690
|
-
@objc get
|
|
691
|
-
}
|
|
692
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
693
|
-
@objc get
|
|
694
|
-
}
|
|
695
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
696
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
697
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
698
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
699
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
700
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
701
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
702
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
703
|
-
get
|
|
704
|
-
set
|
|
705
|
-
}
|
|
706
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
707
|
-
@objc get
|
|
708
|
-
@objc set
|
|
709
|
-
}
|
|
710
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
711
|
-
@objc get
|
|
712
|
-
@objc set
|
|
713
|
-
}
|
|
714
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
715
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
716
|
-
@objc get
|
|
717
|
-
@objc set
|
|
718
|
-
}
|
|
719
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
720
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
721
|
-
@objc get
|
|
722
|
-
@objc set
|
|
723
|
-
}
|
|
724
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
725
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
726
|
-
@objc get
|
|
727
|
-
@objc set
|
|
728
|
-
}
|
|
729
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
730
|
-
@objc get
|
|
731
|
-
@objc set
|
|
732
|
-
}
|
|
733
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
734
|
-
@objc get
|
|
735
|
-
@objc set
|
|
736
|
-
}
|
|
737
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
738
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
739
|
-
@objc get
|
|
740
|
-
@objc set
|
|
741
|
-
}
|
|
742
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
743
|
-
@objc get
|
|
744
|
-
@objc set
|
|
745
|
-
}
|
|
746
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
747
|
-
@objc get
|
|
748
|
-
@objc set
|
|
749
|
-
}
|
|
750
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
751
|
-
@objc get
|
|
752
|
-
@objc set
|
|
753
|
-
}
|
|
754
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
755
|
-
@objc get
|
|
756
|
-
@objc set
|
|
757
|
-
}
|
|
758
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
759
|
-
@objc get
|
|
760
|
-
@objc set
|
|
761
|
-
}
|
|
762
|
-
@objc deinit
|
|
763
|
-
}
|
|
764
|
-
extension Mason.MasonText {
|
|
765
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
766
|
-
@objc @discardableResult
|
|
767
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
768
|
-
#endif
|
|
769
|
-
}
|
|
770
|
-
extension Mason.MasonText {
|
|
771
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
772
|
-
}
|
|
773
|
-
@objc public protocol MasonCharacterData {
|
|
774
|
-
@objc var data: Swift.String { get set }
|
|
775
|
-
@objc var length: Swift.Int { get }
|
|
776
|
-
@objc @discardableResult
|
|
777
|
-
func appendData(_ s: Swift.String) -> Self
|
|
778
|
-
@objc @discardableResult
|
|
779
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
780
|
-
@objc @discardableResult
|
|
781
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
782
|
-
@objc @discardableResult
|
|
783
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
784
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
785
|
-
@objc @discardableResult
|
|
786
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
787
|
-
@objc @discardableResult
|
|
788
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
789
|
-
}
|
|
790
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
791
|
-
@objc public var data: Swift.String {
|
|
792
|
-
@objc get
|
|
793
|
-
@objc set
|
|
794
|
-
}
|
|
795
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
796
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
797
|
-
#endif
|
|
798
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
799
|
-
@objc public var length: Swift.Int {
|
|
736
|
+
extension Mason.MasonNode {
|
|
737
|
+
@objc dynamic public var pseudoMask: Swift.UInt16 {
|
|
800
738
|
@objc get
|
|
801
739
|
}
|
|
802
|
-
@objc public func
|
|
803
|
-
@
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
811
|
-
@discardableResult
|
|
812
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
813
|
-
@discardableResult
|
|
814
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
815
|
-
@objc deinit
|
|
816
|
-
}
|
|
817
|
-
extension Mason.MasonTextNode {
|
|
818
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
740
|
+
@objc dynamic public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
741
|
+
@objc dynamic public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
742
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
743
|
+
public func getPseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeBufferPointer<Swift.UInt8>?
|
|
744
|
+
#endif
|
|
745
|
+
public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeMutableBufferPointer<Swift.UInt8>
|
|
746
|
+
public func hasPseudoSetFor(_ key: Mason.StateKeys) -> Swift.Bool
|
|
747
|
+
public static func markPseudoSet(_ buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, _ key: Mason.StateKeys)
|
|
819
748
|
}
|
|
820
|
-
@objc
|
|
821
|
-
@objc var
|
|
749
|
+
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
750
|
+
@objc var style: Mason.MasonStyle { get }
|
|
822
751
|
@objc var node: Mason.MasonNode { get }
|
|
823
|
-
@objc
|
|
752
|
+
@objc var uiView: UIKit.UIView { get }
|
|
824
753
|
}
|
|
825
|
-
|
|
826
|
-
|
|
754
|
+
public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
755
|
+
var style: Mason.MasonStyle { get }
|
|
756
|
+
var node: Mason.MasonNode { get }
|
|
757
|
+
var uiView: UIKit.UIView { get }
|
|
758
|
+
var innerHTML: Swift.String { get set }
|
|
759
|
+
func markNodeDirty()
|
|
760
|
+
func isNodeDirty() -> Swift.Bool
|
|
761
|
+
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
762
|
+
@discardableResult
|
|
763
|
+
func layout() -> Mason.MasonLayout
|
|
764
|
+
func compute()
|
|
765
|
+
func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
766
|
+
func computeMaxContent()
|
|
767
|
+
func computeMinContent()
|
|
768
|
+
func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
769
|
+
func computeWithViewSize()
|
|
770
|
+
func computeWithViewSize(layout: Swift.Bool)
|
|
771
|
+
func computeWithMaxContent()
|
|
772
|
+
func computeWithMinContent()
|
|
773
|
+
func attachAndApply()
|
|
774
|
+
func requestLayout()
|
|
775
|
+
func append(_ element: any Mason.MasonElement)
|
|
776
|
+
func append(text: Swift.String)
|
|
777
|
+
func append(node: Mason.MasonNode)
|
|
778
|
+
func append(texts: [Swift.String])
|
|
779
|
+
func append(elements: [any Mason.MasonElement])
|
|
780
|
+
func append(nodes: [Mason.MasonNode])
|
|
781
|
+
func prepend(_ element: any Mason.MasonElement)
|
|
782
|
+
func prepend(string: Swift.String)
|
|
783
|
+
func prepend(node: Mason.MasonNode)
|
|
784
|
+
func prepend(strings: [Swift.String])
|
|
785
|
+
func prepend(elements: [any Mason.MasonElement])
|
|
786
|
+
func prepend(nodes: [Mason.MasonNode])
|
|
787
|
+
func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
788
|
+
func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
789
|
+
func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
790
|
+
func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
791
|
+
func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
792
|
+
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
827
793
|
}
|
|
828
|
-
|
|
829
|
-
public var
|
|
794
|
+
extension Mason.MasonElement {
|
|
795
|
+
public var innerHTML: Swift.String {
|
|
830
796
|
get
|
|
831
797
|
set
|
|
832
798
|
}
|
|
833
|
-
public func
|
|
834
|
-
|
|
799
|
+
public func dispatch(_ event: Mason.MasonEvent)
|
|
800
|
+
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
801
|
+
public func syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
802
|
+
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
803
|
+
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
804
|
+
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
805
|
+
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
806
|
+
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
807
|
+
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
808
|
+
public func removeAllChildren()
|
|
809
|
+
public var style: Mason.MasonStyle {
|
|
810
|
+
get
|
|
811
|
+
}
|
|
812
|
+
public func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
813
|
+
public func requestLayout()
|
|
814
|
+
public func invalidate(markDirty: Swift.Bool = false)
|
|
815
|
+
public func invalidateLayout()
|
|
816
|
+
public func addView(_ view: UIKit.UIView)
|
|
817
|
+
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
818
|
+
public func autoComputeIfRoot()
|
|
819
|
+
public func append(_ element: any Mason.MasonElement)
|
|
820
|
+
public func append(text: Swift.String)
|
|
821
|
+
public func append(node childNode: Mason.MasonNode)
|
|
822
|
+
public func append(texts: [Swift.String])
|
|
823
|
+
public func append(nodes: [Mason.MasonNode])
|
|
824
|
+
public func append(elements: [any Mason.MasonElement])
|
|
825
|
+
public func markNodeDirty()
|
|
826
|
+
public func isNodeDirty() -> Swift.Bool
|
|
827
|
+
@discardableResult
|
|
828
|
+
public func layout() -> Mason.MasonLayout
|
|
829
|
+
public func compute()
|
|
830
|
+
public func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
831
|
+
public func computeMaxContent()
|
|
832
|
+
public func computeMinContent()
|
|
833
|
+
public func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
834
|
+
public func computeWithViewSize()
|
|
835
|
+
public func computeWithViewSize(layout: Swift.Bool)
|
|
836
|
+
public func computeWithMaxContent()
|
|
837
|
+
public func computeWithMinContent()
|
|
838
|
+
public func attachAndApply()
|
|
839
|
+
}
|
|
840
|
+
extension Mason.MasonElement {
|
|
841
|
+
public func prepend(_ element: any Mason.MasonElement)
|
|
842
|
+
public func prepend(string: Swift.String)
|
|
843
|
+
public func prepend(node childNode: Mason.MasonNode)
|
|
844
|
+
public func prepend(strings: [Swift.String])
|
|
845
|
+
public func prepend(elements: [any Mason.MasonElement])
|
|
846
|
+
public func prepend(nodes: [Mason.MasonNode])
|
|
835
847
|
}
|
|
836
848
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MinSizing) public class MinSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
837
849
|
@objc public var value: Swift.Float {
|
|
@@ -1303,6 +1315,9 @@ public struct MasonNodeView {
|
|
|
1303
1315
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
1304
1316
|
@objc deinit
|
|
1305
1317
|
}
|
|
1318
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class MasonTextArea : Mason.MasonTextInput {
|
|
1319
|
+
@objc deinit
|
|
1320
|
+
}
|
|
1306
1321
|
@objc(NSCFontFaceSetStatus) public enum NSCFontFaceSetStatus : Swift.Int, Swift.RawRepresentable {
|
|
1307
1322
|
case loading
|
|
1308
1323
|
case loaded
|
|
@@ -1521,66 +1536,66 @@ public struct StyleKeys {
|
|
|
1521
1536
|
public static let JUSTIFY_SELF: Swift.Int
|
|
1522
1537
|
public static let JUSTIFY_CONTENT: Swift.Int
|
|
1523
1538
|
public static let INSET_LEFT_TYPE: Swift.Int
|
|
1524
|
-
public static let INSET_LEFT_VALUE: Swift.Int
|
|
1525
1539
|
public static let INSET_RIGHT_TYPE: Swift.Int
|
|
1526
|
-
public static let INSET_RIGHT_VALUE: Swift.Int
|
|
1527
1540
|
public static let INSET_TOP_TYPE: Swift.Int
|
|
1528
|
-
public static let INSET_TOP_VALUE: Swift.Int
|
|
1529
1541
|
public static let INSET_BOTTOM_TYPE: Swift.Int
|
|
1542
|
+
public static let INSET_LEFT_VALUE: Swift.Int
|
|
1543
|
+
public static let INSET_RIGHT_VALUE: Swift.Int
|
|
1544
|
+
public static let INSET_TOP_VALUE: Swift.Int
|
|
1530
1545
|
public static let INSET_BOTTOM_VALUE: Swift.Int
|
|
1531
1546
|
public static let MARGIN_LEFT_TYPE: Swift.Int
|
|
1532
|
-
public static let MARGIN_LEFT_VALUE: Swift.Int
|
|
1533
1547
|
public static let MARGIN_RIGHT_TYPE: Swift.Int
|
|
1534
|
-
public static let MARGIN_RIGHT_VALUE: Swift.Int
|
|
1535
1548
|
public static let MARGIN_TOP_TYPE: Swift.Int
|
|
1536
|
-
public static let MARGIN_TOP_VALUE: Swift.Int
|
|
1537
1549
|
public static let MARGIN_BOTTOM_TYPE: Swift.Int
|
|
1550
|
+
public static let MARGIN_LEFT_VALUE: Swift.Int
|
|
1551
|
+
public static let MARGIN_RIGHT_VALUE: Swift.Int
|
|
1552
|
+
public static let MARGIN_TOP_VALUE: Swift.Int
|
|
1538
1553
|
public static let MARGIN_BOTTOM_VALUE: Swift.Int
|
|
1539
1554
|
public static let PADDING_LEFT_TYPE: Swift.Int
|
|
1540
|
-
public static let PADDING_LEFT_VALUE: Swift.Int
|
|
1541
1555
|
public static let PADDING_RIGHT_TYPE: Swift.Int
|
|
1542
|
-
public static let PADDING_RIGHT_VALUE: Swift.Int
|
|
1543
1556
|
public static let PADDING_TOP_TYPE: Swift.Int
|
|
1544
|
-
public static let PADDING_TOP_VALUE: Swift.Int
|
|
1545
1557
|
public static let PADDING_BOTTOM_TYPE: Swift.Int
|
|
1558
|
+
public static let PADDING_LEFT_VALUE: Swift.Int
|
|
1559
|
+
public static let PADDING_RIGHT_VALUE: Swift.Int
|
|
1560
|
+
public static let PADDING_TOP_VALUE: Swift.Int
|
|
1546
1561
|
public static let PADDING_BOTTOM_VALUE: Swift.Int
|
|
1547
1562
|
public static let BORDER_LEFT_TYPE: Swift.Int
|
|
1548
|
-
public static let BORDER_LEFT_VALUE: Swift.Int
|
|
1549
1563
|
public static let BORDER_RIGHT_TYPE: Swift.Int
|
|
1550
|
-
public static let BORDER_RIGHT_VALUE: Swift.Int
|
|
1551
1564
|
public static let BORDER_TOP_TYPE: Swift.Int
|
|
1552
|
-
public static let BORDER_TOP_VALUE: Swift.Int
|
|
1553
1565
|
public static let BORDER_BOTTOM_TYPE: Swift.Int
|
|
1566
|
+
public static let BORDER_LEFT_VALUE: Swift.Int
|
|
1567
|
+
public static let BORDER_RIGHT_VALUE: Swift.Int
|
|
1568
|
+
public static let BORDER_TOP_VALUE: Swift.Int
|
|
1554
1569
|
public static let BORDER_BOTTOM_VALUE: Swift.Int
|
|
1555
1570
|
public static let FLEX_GROW: Swift.Int
|
|
1556
1571
|
public static let FLEX_SHRINK: Swift.Int
|
|
1557
1572
|
public static let FLEX_BASIS_TYPE: Swift.Int
|
|
1558
1573
|
public static let FLEX_BASIS_VALUE: Swift.Int
|
|
1559
1574
|
public static let WIDTH_TYPE: Swift.Int
|
|
1560
|
-
public static let WIDTH_VALUE: Swift.Int
|
|
1561
1575
|
public static let HEIGHT_TYPE: Swift.Int
|
|
1576
|
+
public static let WIDTH_VALUE: Swift.Int
|
|
1562
1577
|
public static let HEIGHT_VALUE: Swift.Int
|
|
1563
1578
|
public static let MIN_WIDTH_TYPE: Swift.Int
|
|
1564
|
-
public static let MIN_WIDTH_VALUE: Swift.Int
|
|
1565
1579
|
public static let MIN_HEIGHT_TYPE: Swift.Int
|
|
1580
|
+
public static let MIN_WIDTH_VALUE: Swift.Int
|
|
1566
1581
|
public static let MIN_HEIGHT_VALUE: Swift.Int
|
|
1567
1582
|
public static let MAX_WIDTH_TYPE: Swift.Int
|
|
1568
|
-
public static let MAX_WIDTH_VALUE: Swift.Int
|
|
1569
1583
|
public static let MAX_HEIGHT_TYPE: Swift.Int
|
|
1584
|
+
public static let MAX_WIDTH_VALUE: Swift.Int
|
|
1570
1585
|
public static let MAX_HEIGHT_VALUE: Swift.Int
|
|
1571
1586
|
public static let GAP_ROW_TYPE: Swift.Int
|
|
1572
|
-
public static let GAP_ROW_VALUE: Swift.Int
|
|
1573
1587
|
public static let GAP_COLUMN_TYPE: Swift.Int
|
|
1588
|
+
public static let GAP_ROW_VALUE: Swift.Int
|
|
1574
1589
|
public static let GAP_COLUMN_VALUE: Swift.Int
|
|
1575
1590
|
public static let ASPECT_RATIO: Swift.Int
|
|
1576
1591
|
public static let GRID_AUTO_FLOW: Swift.Int
|
|
1577
1592
|
public static let GRID_COLUMN_START_TYPE: Swift.Int
|
|
1578
|
-
public static let GRID_COLUMN_START_VALUE: Swift.Int
|
|
1579
1593
|
public static let GRID_COLUMN_END_TYPE: Swift.Int
|
|
1580
|
-
public static let GRID_COLUMN_END_VALUE: Swift.Int
|
|
1581
1594
|
public static let GRID_ROW_START_TYPE: Swift.Int
|
|
1582
|
-
public static let GRID_ROW_START_VALUE: Swift.Int
|
|
1583
1595
|
public static let GRID_ROW_END_TYPE: Swift.Int
|
|
1596
|
+
public static let GRID_COLUMN_START_VALUE: Swift.Int
|
|
1597
|
+
public static let GRID_COLUMN_END_VALUE: Swift.Int
|
|
1598
|
+
public static let GRID_ROW_START_VALUE: Swift.Int
|
|
1584
1599
|
public static let GRID_ROW_END_VALUE: Swift.Int
|
|
1585
1600
|
public static let SCROLLBAR_WIDTH: Swift.Int
|
|
1586
1601
|
public static let ALIGN: Swift.Int
|
|
@@ -1603,24 +1618,24 @@ public struct StyleKeys {
|
|
|
1603
1618
|
public static let BORDER_TOP_COLOR: Swift.Int
|
|
1604
1619
|
public static let BORDER_BOTTOM_COLOR: Swift.Int
|
|
1605
1620
|
public static let BORDER_RADIUS_TOP_LEFT_X_TYPE: Swift.Int
|
|
1606
|
-
public static let BORDER_RADIUS_TOP_LEFT_X_VALUE: Swift.Int
|
|
1607
1621
|
public static let BORDER_RADIUS_TOP_LEFT_Y_TYPE: Swift.Int
|
|
1608
|
-
public static let BORDER_RADIUS_TOP_LEFT_Y_VALUE: Swift.Int
|
|
1609
|
-
public static let BORDER_RADIUS_TOP_LEFT_EXPONENT: Swift.Int
|
|
1610
1622
|
public static let BORDER_RADIUS_TOP_RIGHT_X_TYPE: Swift.Int
|
|
1611
|
-
public static let BORDER_RADIUS_TOP_RIGHT_X_VALUE: Swift.Int
|
|
1612
1623
|
public static let BORDER_RADIUS_TOP_RIGHT_Y_TYPE: Swift.Int
|
|
1613
|
-
public static let BORDER_RADIUS_TOP_RIGHT_Y_VALUE: Swift.Int
|
|
1614
|
-
public static let BORDER_RADIUS_TOP_RIGHT_EXPONENT: Swift.Int
|
|
1615
1624
|
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_TYPE: Swift.Int
|
|
1616
|
-
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_VALUE: Swift.Int
|
|
1617
1625
|
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_TYPE: Swift.Int
|
|
1618
|
-
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_VALUE: Swift.Int
|
|
1619
|
-
public static let BORDER_RADIUS_BOTTOM_RIGHT_EXPONENT: Swift.Int
|
|
1620
1626
|
public static let BORDER_RADIUS_BOTTOM_LEFT_X_TYPE: Swift.Int
|
|
1621
|
-
public static let BORDER_RADIUS_BOTTOM_LEFT_X_VALUE: Swift.Int
|
|
1622
1627
|
public static let BORDER_RADIUS_BOTTOM_LEFT_Y_TYPE: Swift.Int
|
|
1628
|
+
public static let BORDER_RADIUS_TOP_LEFT_X_VALUE: Swift.Int
|
|
1629
|
+
public static let BORDER_RADIUS_TOP_LEFT_Y_VALUE: Swift.Int
|
|
1630
|
+
public static let BORDER_RADIUS_TOP_RIGHT_X_VALUE: Swift.Int
|
|
1631
|
+
public static let BORDER_RADIUS_TOP_RIGHT_Y_VALUE: Swift.Int
|
|
1632
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_VALUE: Swift.Int
|
|
1633
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_VALUE: Swift.Int
|
|
1634
|
+
public static let BORDER_RADIUS_BOTTOM_LEFT_X_VALUE: Swift.Int
|
|
1623
1635
|
public static let BORDER_RADIUS_BOTTOM_LEFT_Y_VALUE: Swift.Int
|
|
1636
|
+
public static let BORDER_RADIUS_TOP_LEFT_EXPONENT: Swift.Int
|
|
1637
|
+
public static let BORDER_RADIUS_TOP_RIGHT_EXPONENT: Swift.Int
|
|
1638
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_EXPONENT: Swift.Int
|
|
1624
1639
|
public static let BORDER_RADIUS_BOTTOM_LEFT_EXPONENT: Swift.Int
|
|
1625
1640
|
public static let FLOAT: Swift.Int
|
|
1626
1641
|
public static let CLEAR: Swift.Int
|
|
@@ -1692,6 +1707,38 @@ public struct StyleKeys {
|
|
|
1692
1707
|
public static let FILTER_BRIGHTNESS_STATE: Swift.Int
|
|
1693
1708
|
public static let FONT_VARIANT_NUMERIC: Swift.Int
|
|
1694
1709
|
public static let FONT_VARIANT_NUMERIC_STATE: Swift.Int
|
|
1710
|
+
public static let TRANSFORM_COUNT: Swift.Int
|
|
1711
|
+
public static let TRANSFORM_FLAGS: Swift.Int
|
|
1712
|
+
public static let TRANSFORM_OP_0: Swift.Int
|
|
1713
|
+
public static let TRANSFORM_OP_1: Swift.Int
|
|
1714
|
+
public static let TRANSFORM_OP_2: Swift.Int
|
|
1715
|
+
public static let TRANSFORM_OP_3: Swift.Int
|
|
1716
|
+
public static let TRANSFORM_OP_4: Swift.Int
|
|
1717
|
+
public static let TRANSFORM_OP_5: Swift.Int
|
|
1718
|
+
public static let TRANSFORM_MATRIX: Swift.Int
|
|
1719
|
+
public static let TRANSFORM_OP_SIZE: Swift.Int
|
|
1720
|
+
public static let MAX_INLINE_TRANSFORM_OPS: Swift.Int
|
|
1721
|
+
public static let TRANSFORM_FLAG_HAS_MATRIX: Swift.UInt8
|
|
1722
|
+
public static let TRANSFORM_FLAG_IS_3D: Swift.UInt8
|
|
1723
|
+
}
|
|
1724
|
+
@objc public enum TransformOpType : Swift.UInt8 {
|
|
1725
|
+
case none = 0
|
|
1726
|
+
case translate = 1
|
|
1727
|
+
case translateX = 2
|
|
1728
|
+
case translateY = 3
|
|
1729
|
+
case scale = 4
|
|
1730
|
+
case scaleX = 5
|
|
1731
|
+
case scaleY = 6
|
|
1732
|
+
case rotate = 7
|
|
1733
|
+
case skewX = 8
|
|
1734
|
+
case skewY = 9
|
|
1735
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1736
|
+
public init?(rawValue: Swift.UInt8)
|
|
1737
|
+
#endif
|
|
1738
|
+
public typealias RawValue = Swift.UInt8
|
|
1739
|
+
public var rawValue: Swift.UInt8 {
|
|
1740
|
+
get
|
|
1741
|
+
}
|
|
1695
1742
|
}
|
|
1696
1743
|
public struct StateKeys : Swift.Equatable {
|
|
1697
1744
|
public let low: Swift.UInt64
|
|
@@ -2106,6 +2153,34 @@ public struct StateKeys : Swift.Equatable {
|
|
|
2106
2153
|
@objc get
|
|
2107
2154
|
@objc set
|
|
2108
2155
|
}
|
|
2156
|
+
@objc public var paddingCss: Swift.String {
|
|
2157
|
+
@objc get
|
|
2158
|
+
@objc set
|
|
2159
|
+
}
|
|
2160
|
+
@objc public var marginCss: Swift.String {
|
|
2161
|
+
@objc get
|
|
2162
|
+
@objc set
|
|
2163
|
+
}
|
|
2164
|
+
@objc public var insetCss: Swift.String {
|
|
2165
|
+
@objc get
|
|
2166
|
+
@objc set
|
|
2167
|
+
}
|
|
2168
|
+
@objc public var borderLeft: Swift.String {
|
|
2169
|
+
@objc get
|
|
2170
|
+
@objc set
|
|
2171
|
+
}
|
|
2172
|
+
@objc public var borderTop: Swift.String {
|
|
2173
|
+
@objc get
|
|
2174
|
+
@objc set
|
|
2175
|
+
}
|
|
2176
|
+
@objc public var borderRight: Swift.String {
|
|
2177
|
+
@objc get
|
|
2178
|
+
@objc set
|
|
2179
|
+
}
|
|
2180
|
+
@objc public var borderBottom: Swift.String {
|
|
2181
|
+
@objc get
|
|
2182
|
+
@objc set
|
|
2183
|
+
}
|
|
2109
2184
|
public var borderWidth: Mason.MasonRect<Mason.MasonLengthPercentage> {
|
|
2110
2185
|
get
|
|
2111
2186
|
set
|
|
@@ -2189,6 +2264,7 @@ public struct StateKeys : Swift.Equatable {
|
|
|
2189
2264
|
public func setSizeWidth(_ width: Mason.MasonDimension)
|
|
2190
2265
|
public func setSizeHeight(_ height: Mason.MasonDimension)
|
|
2191
2266
|
@objc public func setSizeWidthHeight(_ value: Swift.Float, _ type: Swift.Int)
|
|
2267
|
+
@objc public func setSizePoints(_ width: Swift.Float, _ height: Swift.Float)
|
|
2192
2268
|
public var width: Mason.MasonDimension {
|
|
2193
2269
|
get
|
|
2194
2270
|
set
|
|
@@ -2242,6 +2318,10 @@ public struct StateKeys : Swift.Equatable {
|
|
|
2242
2318
|
@objc get
|
|
2243
2319
|
@objc set
|
|
2244
2320
|
}
|
|
2321
|
+
@objc public var transform: Swift.String {
|
|
2322
|
+
@objc get
|
|
2323
|
+
@objc set
|
|
2324
|
+
}
|
|
2245
2325
|
@objc public var gridAutoRows: Swift.String {
|
|
2246
2326
|
@objc get
|
|
2247
2327
|
@objc set
|
|
@@ -2448,6 +2528,42 @@ extension UIKit.UIImage {
|
|
|
2448
2528
|
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2449
2529
|
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2450
2530
|
}
|
|
2531
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class MasonTextInput : UIKit.UITextView, UIKit.UITextViewDelegate {
|
|
2532
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2533
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var text: Swift.String! {
|
|
2534
|
+
@objc get
|
|
2535
|
+
@objc set
|
|
2536
|
+
}
|
|
2537
|
+
#endif
|
|
2538
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2539
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var attributedText: Foundation.NSAttributedString! {
|
|
2540
|
+
@objc get
|
|
2541
|
+
@objc set
|
|
2542
|
+
}
|
|
2543
|
+
#endif
|
|
2544
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2545
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var font: UIKit.UIFont? {
|
|
2546
|
+
@objc get
|
|
2547
|
+
@objc set
|
|
2548
|
+
}
|
|
2549
|
+
#endif
|
|
2550
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var textAlignment: UIKit.NSTextAlignment {
|
|
2551
|
+
@objc get
|
|
2552
|
+
@objc set
|
|
2553
|
+
}
|
|
2554
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2555
|
+
@objc deinit
|
|
2556
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
2557
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidEndEditing(_ textView: UIKit.UITextView)
|
|
2558
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2559
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func paste(_ sender: Any?)
|
|
2560
|
+
#endif
|
|
2561
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2562
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func cut(_ sender: Any?)
|
|
2563
|
+
#endif
|
|
2564
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textView(_ textView: UIKit.UITextView, shouldChangeTextIn range: Foundation.NSRange, replacementText text: Swift.String) -> Swift.Bool
|
|
2565
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func caretRect(for position: UIKit.UITextPosition) -> CoreFoundation.CGRect
|
|
2566
|
+
}
|
|
2451
2567
|
@objc @_inheritsConvenienceInitializers public class BackgroundCALayer : QuartzCore.CALayer {
|
|
2452
2568
|
@objc override dynamic public func draw(in ctx: CoreGraphics.CGContext)
|
|
2453
2569
|
public func invalidate()
|
|
@@ -2590,6 +2706,18 @@ public enum MasonDimension : Swift.Codable, Swift.Equatable {
|
|
|
2590
2706
|
case Auto
|
|
2591
2707
|
case Points(Swift.Float)
|
|
2592
2708
|
case Percent(Swift.Float)
|
|
2709
|
+
public enum Kind : Swift.RawRepresentable {
|
|
2710
|
+
case Auto
|
|
2711
|
+
case Points
|
|
2712
|
+
case Percent
|
|
2713
|
+
public typealias RawValue = Swift.Int8
|
|
2714
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2715
|
+
public init?(rawValue: Swift.Int8)
|
|
2716
|
+
#endif
|
|
2717
|
+
public var rawValue: Swift.Int8 {
|
|
2718
|
+
get
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2593
2721
|
public var cssValue: Swift.String {
|
|
2594
2722
|
get
|
|
2595
2723
|
}
|
|
@@ -3212,12 +3340,20 @@ public struct FontVariantNumeric : Swift.OptionSet, Swift.CustomStringConvertibl
|
|
|
3212
3340
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
3213
3341
|
@objc get
|
|
3214
3342
|
}
|
|
3343
|
+
@objc @_Concurrency.MainActor @preconcurrency public var contentSize: CoreFoundation.CGSize
|
|
3344
|
+
@objc @_Concurrency.MainActor @preconcurrency public var contentOffset: CoreFoundation.CGPoint {
|
|
3345
|
+
@objc get
|
|
3346
|
+
@objc set
|
|
3347
|
+
}
|
|
3215
3348
|
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
3216
3349
|
@objc get
|
|
3217
3350
|
}
|
|
3218
3351
|
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
3219
3352
|
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
3220
3353
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
3354
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
3355
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
|
|
3356
|
+
#endif
|
|
3221
3357
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
3222
3358
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
3223
3359
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
@@ -3496,15 +3632,18 @@ extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
|
3496
3632
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
3497
3633
|
extension Mason.CSSBorderRenderer.Side : Swift.Equatable {}
|
|
3498
3634
|
extension Mason.CSSBorderRenderer.Side : Swift.Hashable {}
|
|
3635
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3636
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3499
3637
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
3500
3638
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
3501
3639
|
extension Mason.PseudoState : Swift.Equatable {}
|
|
3502
3640
|
extension Mason.PseudoState : Swift.Hashable {}
|
|
3503
3641
|
extension Mason.PseudoState : Swift.RawRepresentable {}
|
|
3504
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3505
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3506
3642
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
3507
3643
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
3644
|
+
extension Mason.TransformOpType : Swift.Equatable {}
|
|
3645
|
+
extension Mason.TransformOpType : Swift.Hashable {}
|
|
3646
|
+
extension Mason.TransformOpType : Swift.RawRepresentable {}
|
|
3508
3647
|
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
3509
3648
|
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
3510
3649
|
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
@@ -3523,6 +3662,8 @@ extension Mason.Align : Swift.Equatable {}
|
|
|
3523
3662
|
extension Mason.Align : Swift.Hashable {}
|
|
3524
3663
|
extension Mason.TextAlign : Swift.Equatable {}
|
|
3525
3664
|
extension Mason.TextAlign : Swift.Hashable {}
|
|
3665
|
+
extension Mason.MasonDimension.Kind : Swift.Equatable {}
|
|
3666
|
+
extension Mason.MasonDimension.Kind : Swift.Hashable {}
|
|
3526
3667
|
extension Mason.AlignItems : Swift.Equatable {}
|
|
3527
3668
|
extension Mason.AlignItems : Swift.Hashable {}
|
|
3528
3669
|
extension Mason.AlignSelf : Swift.Equatable {}
|