@triniwiz/nativescript-masonkit 1.0.0-beta.1 → 1.0.0-beta.2
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 +2 -1
- package/common.js +118 -1
- package/common.js.map +1 -1
- package/index.d.ts +5 -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 +4 -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 +23724 -18343
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +187 -183
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +187 -183
- 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 +3652 -3640
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +8 -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 +18470 -13089
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +187 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +187 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +18470 -13089
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +187 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +187 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +22 -22
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2995 -2982
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2918 -2905
- package/style.d.ts +9 -5
- package/style.js +159 -1
- package/style.js.map +1 -1
|
@@ -559,187 +559,6 @@ extension Mason.MasonElement {
|
|
|
559
559
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
560
560
|
required public init(from decoder: any Swift.Decoder) throws
|
|
561
561
|
}
|
|
562
|
-
@objc public protocol MasonCharacterData {
|
|
563
|
-
@objc var data: Swift.String { get set }
|
|
564
|
-
@objc var length: Swift.Int { get }
|
|
565
|
-
@objc @discardableResult
|
|
566
|
-
func appendData(_ s: Swift.String) -> Self
|
|
567
|
-
@objc @discardableResult
|
|
568
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
569
|
-
@objc @discardableResult
|
|
570
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
571
|
-
@objc @discardableResult
|
|
572
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
573
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
574
|
-
@objc @discardableResult
|
|
575
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
576
|
-
@objc @discardableResult
|
|
577
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
578
|
-
}
|
|
579
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
580
|
-
@objc public var data: Swift.String
|
|
581
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
582
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
583
|
-
@objc public var length: Swift.Int {
|
|
584
|
-
@objc get
|
|
585
|
-
}
|
|
586
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
587
|
-
@discardableResult
|
|
588
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
589
|
-
@discardableResult
|
|
590
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
591
|
-
@discardableResult
|
|
592
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
593
|
-
@discardableResult
|
|
594
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
595
|
-
@discardableResult
|
|
596
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
597
|
-
@discardableResult
|
|
598
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
599
|
-
@objc deinit
|
|
600
|
-
}
|
|
601
|
-
extension Mason.MasonTextNode {
|
|
602
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
603
|
-
}
|
|
604
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
605
|
-
@objc var engine: Mason.TextEngine { get }
|
|
606
|
-
@objc var node: Mason.MasonNode { get }
|
|
607
|
-
}
|
|
608
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
609
|
-
public var textContent: Swift.String {
|
|
610
|
-
get
|
|
611
|
-
set
|
|
612
|
-
}
|
|
613
|
-
@objc deinit
|
|
614
|
-
}
|
|
615
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
616
|
-
case None
|
|
617
|
-
case P
|
|
618
|
-
case Span
|
|
619
|
-
case Code
|
|
620
|
-
case H1
|
|
621
|
-
case H2
|
|
622
|
-
case H3
|
|
623
|
-
case H4
|
|
624
|
-
case H5
|
|
625
|
-
case H6
|
|
626
|
-
case Li
|
|
627
|
-
case Blockquote
|
|
628
|
-
case B
|
|
629
|
-
case Pre
|
|
630
|
-
public typealias RawValue = Swift.Int32
|
|
631
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
632
|
-
get
|
|
633
|
-
}
|
|
634
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
635
|
-
public var description: Swift.String {
|
|
636
|
-
get
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
public enum InlineSegmentPayload {
|
|
640
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
641
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
642
|
-
}
|
|
643
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
644
|
-
@objc override dynamic public init()
|
|
645
|
-
@objc override dynamic public init(layer: Any)
|
|
646
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
647
|
-
@objc deinit
|
|
648
|
-
}
|
|
649
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
650
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
651
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
652
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
653
|
-
@objc get
|
|
654
|
-
@objc set
|
|
655
|
-
}
|
|
656
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
657
|
-
@objc get
|
|
658
|
-
}
|
|
659
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
660
|
-
@objc get
|
|
661
|
-
}
|
|
662
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
663
|
-
@objc get
|
|
664
|
-
}
|
|
665
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
666
|
-
@objc get
|
|
667
|
-
}
|
|
668
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
669
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
670
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
671
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
672
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
673
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
674
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
675
|
-
get
|
|
676
|
-
set
|
|
677
|
-
}
|
|
678
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
679
|
-
@objc get
|
|
680
|
-
@objc set
|
|
681
|
-
}
|
|
682
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
683
|
-
@objc get
|
|
684
|
-
@objc set
|
|
685
|
-
}
|
|
686
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
687
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
688
|
-
@objc get
|
|
689
|
-
@objc set
|
|
690
|
-
}
|
|
691
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
692
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
693
|
-
@objc get
|
|
694
|
-
@objc set
|
|
695
|
-
}
|
|
696
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
697
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
698
|
-
@objc get
|
|
699
|
-
@objc set
|
|
700
|
-
}
|
|
701
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
702
|
-
@objc get
|
|
703
|
-
@objc set
|
|
704
|
-
}
|
|
705
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
706
|
-
@objc get
|
|
707
|
-
@objc set
|
|
708
|
-
}
|
|
709
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
710
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
711
|
-
@objc get
|
|
712
|
-
@objc set
|
|
713
|
-
}
|
|
714
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
715
|
-
@objc get
|
|
716
|
-
@objc set
|
|
717
|
-
}
|
|
718
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
719
|
-
@objc get
|
|
720
|
-
@objc set
|
|
721
|
-
}
|
|
722
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
723
|
-
@objc get
|
|
724
|
-
@objc set
|
|
725
|
-
}
|
|
726
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
727
|
-
@objc get
|
|
728
|
-
@objc set
|
|
729
|
-
}
|
|
730
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
731
|
-
@objc get
|
|
732
|
-
@objc set
|
|
733
|
-
}
|
|
734
|
-
@objc deinit
|
|
735
|
-
}
|
|
736
|
-
extension Mason.MasonText {
|
|
737
|
-
@objc @discardableResult
|
|
738
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
739
|
-
}
|
|
740
|
-
extension Mason.MasonText {
|
|
741
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
742
|
-
}
|
|
743
562
|
@_hasMissingDesignatedInitializers @objc(TrackSizingFunction) @objcMembers public class TrackSizingFunction : ObjectiveC.NSObject {
|
|
744
563
|
@objc public var isRepeating: Swift.Bool {
|
|
745
564
|
get
|
|
@@ -973,6 +792,8 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
973
792
|
@objc get
|
|
974
793
|
@objc set
|
|
975
794
|
}
|
|
795
|
+
@objc public func getBackgroundColor() -> Swift.String
|
|
796
|
+
@objc public func setBackgroundColor(string color: Swift.String)
|
|
976
797
|
@objc public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
977
798
|
@objc public func setLineHeight(_ value: Swift.Float, _ isRelative: Swift.Bool)
|
|
978
799
|
@objc public var lineHeight: Swift.Float {
|
|
@@ -1374,6 +1195,187 @@ public struct MasonPoint<T> : Swift.Codable where T : Swift.Decodable, T : Swift
|
|
|
1374
1195
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1375
1196
|
public init(from decoder: any Swift.Decoder) throws
|
|
1376
1197
|
}
|
|
1198
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1199
|
+
case None
|
|
1200
|
+
case P
|
|
1201
|
+
case Span
|
|
1202
|
+
case Code
|
|
1203
|
+
case H1
|
|
1204
|
+
case H2
|
|
1205
|
+
case H3
|
|
1206
|
+
case H4
|
|
1207
|
+
case H5
|
|
1208
|
+
case H6
|
|
1209
|
+
case Li
|
|
1210
|
+
case Blockquote
|
|
1211
|
+
case B
|
|
1212
|
+
case Pre
|
|
1213
|
+
public typealias RawValue = Swift.Int32
|
|
1214
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1215
|
+
get
|
|
1216
|
+
}
|
|
1217
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
1218
|
+
public var description: Swift.String {
|
|
1219
|
+
get
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
public enum InlineSegmentPayload {
|
|
1223
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
1224
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
1225
|
+
}
|
|
1226
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
1227
|
+
@objc override dynamic public init()
|
|
1228
|
+
@objc override dynamic public init(layer: Any)
|
|
1229
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1230
|
+
@objc deinit
|
|
1231
|
+
}
|
|
1232
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
1233
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1234
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1235
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
1236
|
+
@objc get
|
|
1237
|
+
@objc set
|
|
1238
|
+
}
|
|
1239
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1240
|
+
@objc get
|
|
1241
|
+
}
|
|
1242
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1243
|
+
@objc get
|
|
1244
|
+
}
|
|
1245
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1246
|
+
@objc get
|
|
1247
|
+
}
|
|
1248
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1249
|
+
@objc get
|
|
1250
|
+
}
|
|
1251
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
1252
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1253
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1254
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1255
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1256
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1257
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1258
|
+
get
|
|
1259
|
+
set
|
|
1260
|
+
}
|
|
1261
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
1262
|
+
@objc get
|
|
1263
|
+
@objc set
|
|
1264
|
+
}
|
|
1265
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
1266
|
+
@objc get
|
|
1267
|
+
@objc set
|
|
1268
|
+
}
|
|
1269
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
1270
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
1271
|
+
@objc get
|
|
1272
|
+
@objc set
|
|
1273
|
+
}
|
|
1274
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
1275
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
1276
|
+
@objc get
|
|
1277
|
+
@objc set
|
|
1278
|
+
}
|
|
1279
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1280
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
1281
|
+
@objc get
|
|
1282
|
+
@objc set
|
|
1283
|
+
}
|
|
1284
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
1285
|
+
@objc get
|
|
1286
|
+
@objc set
|
|
1287
|
+
}
|
|
1288
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
1289
|
+
@objc get
|
|
1290
|
+
@objc set
|
|
1291
|
+
}
|
|
1292
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
1293
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
1294
|
+
@objc get
|
|
1295
|
+
@objc set
|
|
1296
|
+
}
|
|
1297
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
1298
|
+
@objc get
|
|
1299
|
+
@objc set
|
|
1300
|
+
}
|
|
1301
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
1302
|
+
@objc get
|
|
1303
|
+
@objc set
|
|
1304
|
+
}
|
|
1305
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
1306
|
+
@objc get
|
|
1307
|
+
@objc set
|
|
1308
|
+
}
|
|
1309
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
1310
|
+
@objc get
|
|
1311
|
+
@objc set
|
|
1312
|
+
}
|
|
1313
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
1314
|
+
@objc get
|
|
1315
|
+
@objc set
|
|
1316
|
+
}
|
|
1317
|
+
@objc deinit
|
|
1318
|
+
}
|
|
1319
|
+
extension Mason.MasonText {
|
|
1320
|
+
@objc @discardableResult
|
|
1321
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
1322
|
+
}
|
|
1323
|
+
extension Mason.MasonText {
|
|
1324
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1325
|
+
}
|
|
1326
|
+
@objc public protocol MasonCharacterData {
|
|
1327
|
+
@objc var data: Swift.String { get set }
|
|
1328
|
+
@objc var length: Swift.Int { get }
|
|
1329
|
+
@objc @discardableResult
|
|
1330
|
+
func appendData(_ s: Swift.String) -> Self
|
|
1331
|
+
@objc @discardableResult
|
|
1332
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1333
|
+
@objc @discardableResult
|
|
1334
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1335
|
+
@objc @discardableResult
|
|
1336
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1337
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1338
|
+
@objc @discardableResult
|
|
1339
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
1340
|
+
@objc @discardableResult
|
|
1341
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1342
|
+
}
|
|
1343
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1344
|
+
@objc public var data: Swift.String
|
|
1345
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1346
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1347
|
+
@objc public var length: Swift.Int {
|
|
1348
|
+
@objc get
|
|
1349
|
+
}
|
|
1350
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1351
|
+
@discardableResult
|
|
1352
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1353
|
+
@discardableResult
|
|
1354
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1355
|
+
@discardableResult
|
|
1356
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1357
|
+
@discardableResult
|
|
1358
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1359
|
+
@discardableResult
|
|
1360
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1361
|
+
@discardableResult
|
|
1362
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1363
|
+
@objc deinit
|
|
1364
|
+
}
|
|
1365
|
+
extension Mason.MasonTextNode {
|
|
1366
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1367
|
+
}
|
|
1368
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1369
|
+
@objc var engine: Mason.TextEngine { get }
|
|
1370
|
+
@objc var node: Mason.MasonNode { get }
|
|
1371
|
+
}
|
|
1372
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1373
|
+
public var textContent: Swift.String {
|
|
1374
|
+
get
|
|
1375
|
+
set
|
|
1376
|
+
}
|
|
1377
|
+
@objc deinit
|
|
1378
|
+
}
|
|
1377
1379
|
@_inheritsConvenienceInitializers @objcMembers @objc(MasonSwiftHelpers) public class SwiftHelpers : ObjectiveC.NSObject {
|
|
1378
1380
|
@objc public static func markNodeDirty(_ element: any Mason.MasonElementObjc)
|
|
1379
1381
|
@objc public static func isNodeDirty(_ element: any Mason.MasonElementObjc) -> Swift.Bool
|
|
@@ -2042,6 +2044,7 @@ public enum VerticalAlign {
|
|
|
2042
2044
|
@objc deinit
|
|
2043
2045
|
}
|
|
2044
2046
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2047
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2045
2048
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2046
2049
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
2047
2050
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
@@ -2267,6 +2270,7 @@ public enum VerticalAlign {
|
|
|
2267
2270
|
@objc deinit
|
|
2268
2271
|
}
|
|
2269
2272
|
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, UIKit.UIScrollViewDelegate, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2273
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2270
2274
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2271
2275
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
2272
2276
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
@@ -2292,10 +2296,10 @@ extension Mason.CSSBorderRenderer.Side : Swift.Equatable {}
|
|
|
2292
2296
|
extension Mason.CSSBorderRenderer.Side : Swift.Hashable {}
|
|
2293
2297
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
2294
2298
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2295
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2296
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2297
2299
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2298
2300
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2301
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2302
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2299
2303
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
2300
2304
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
2301
2305
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|