@triniwiz/nativescript-masonkit 1.0.0-beta.63 → 1.0.0-beta.66
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 -0
- package/common.js +29 -0
- package/common.js.map +1 -1
- package/index.d.ts +15 -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 +11 -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 +25903 -33436
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +222 -203
- 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 +222 -203
- 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 +8274 -8194
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +22 -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 +25903 -33436
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +222 -203
- 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 +222 -203
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +25903 -33436
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +222 -203
- 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 +222 -203
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +26 -26
- 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 +8269 -8189
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +7933 -7853
|
@@ -336,6 +336,10 @@ extension Mason.Button {
|
|
|
336
336
|
@objc @discardableResult
|
|
337
337
|
public func removeEventListener(_ node: Mason.MasonNode, _ event: Swift.String) -> Swift.Bool
|
|
338
338
|
@objc public func dispatch(_ event: Mason.MasonEvent, _ node: Mason.MasonNode)
|
|
339
|
+
@objc public var htmlParser: Mason.HTMLParser {
|
|
340
|
+
@objc get
|
|
341
|
+
@objc set
|
|
342
|
+
}
|
|
339
343
|
@objc public func clear()
|
|
340
344
|
@objc public func createDocument() -> Mason.MasonDocument
|
|
341
345
|
@objc public func createView() -> Mason.MasonUIView
|
|
@@ -538,6 +542,7 @@ public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
|
538
542
|
var style: Mason.MasonStyle { get }
|
|
539
543
|
var node: Mason.MasonNode { get }
|
|
540
544
|
var uiView: UIKit.UIView { get }
|
|
545
|
+
var innerHTML: Swift.String { get set }
|
|
541
546
|
func markNodeDirty()
|
|
542
547
|
func isNodeDirty() -> Swift.Bool
|
|
543
548
|
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
@@ -574,6 +579,10 @@ public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
|
574
579
|
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
575
580
|
}
|
|
576
581
|
extension Mason.MasonElement {
|
|
582
|
+
public var innerHTML: Swift.String {
|
|
583
|
+
get
|
|
584
|
+
set
|
|
585
|
+
}
|
|
577
586
|
public func dispatch(_ event: Mason.MasonEvent)
|
|
578
587
|
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
579
588
|
public func syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
@@ -623,6 +632,207 @@ extension Mason.MasonElement {
|
|
|
623
632
|
public func prepend(elements: [any Mason.MasonElement])
|
|
624
633
|
public func prepend(nodes: [Mason.MasonNode])
|
|
625
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 {
|
|
800
|
+
@objc get
|
|
801
|
+
}
|
|
802
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
803
|
+
@discardableResult
|
|
804
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
805
|
+
@discardableResult
|
|
806
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
807
|
+
@discardableResult
|
|
808
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
809
|
+
@discardableResult
|
|
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
|
|
819
|
+
}
|
|
820
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
821
|
+
@objc var engine: Mason.TextEngine { get }
|
|
822
|
+
@objc var node: Mason.MasonNode { get }
|
|
823
|
+
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
824
|
+
}
|
|
825
|
+
extension Mason.TextContainer {
|
|
826
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
827
|
+
}
|
|
828
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
829
|
+
public var textContent: Swift.String {
|
|
830
|
+
get
|
|
831
|
+
set
|
|
832
|
+
}
|
|
833
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
834
|
+
@objc deinit
|
|
835
|
+
}
|
|
626
836
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MinSizing) public class MinSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
627
837
|
@objc public var value: Swift.Float {
|
|
628
838
|
get
|
|
@@ -2188,6 +2398,10 @@ extension UIKit.UIImage {
|
|
|
2188
2398
|
#endif
|
|
2189
2399
|
}
|
|
2190
2400
|
@objc extension ObjectiveC.NSObject {
|
|
2401
|
+
@objc dynamic public var mason_innerHTML: Swift.String {
|
|
2402
|
+
@objc get
|
|
2403
|
+
@objc set
|
|
2404
|
+
}
|
|
2191
2405
|
@discardableResult
|
|
2192
2406
|
@objc dynamic public func mason_addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
2193
2407
|
@discardableResult
|
|
@@ -2234,207 +2448,6 @@ extension UIKit.UIImage {
|
|
|
2234
2448
|
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2235
2449
|
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2236
2450
|
}
|
|
2237
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2238
|
-
case None
|
|
2239
|
-
case P
|
|
2240
|
-
case Span
|
|
2241
|
-
case Code
|
|
2242
|
-
case H1
|
|
2243
|
-
case H2
|
|
2244
|
-
case H3
|
|
2245
|
-
case H4
|
|
2246
|
-
case H5
|
|
2247
|
-
case H6
|
|
2248
|
-
case Li
|
|
2249
|
-
case Blockquote
|
|
2250
|
-
case B
|
|
2251
|
-
case Pre
|
|
2252
|
-
case Strong
|
|
2253
|
-
case Em
|
|
2254
|
-
case I
|
|
2255
|
-
case A
|
|
2256
|
-
public typealias RawValue = Swift.Int32
|
|
2257
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
2258
|
-
get
|
|
2259
|
-
}
|
|
2260
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
2261
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
2262
|
-
#endif
|
|
2263
|
-
public var description: Swift.String {
|
|
2264
|
-
get
|
|
2265
|
-
}
|
|
2266
|
-
}
|
|
2267
|
-
public enum InlineSegmentPayload {
|
|
2268
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
2269
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
2270
|
-
}
|
|
2271
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
2272
|
-
@objc override dynamic public init()
|
|
2273
|
-
@objc override dynamic public init(layer: Any)
|
|
2274
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
2275
|
-
@objc deinit
|
|
2276
|
-
}
|
|
2277
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
2278
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2279
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
2280
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
2281
|
-
@objc get
|
|
2282
|
-
@objc set
|
|
2283
|
-
}
|
|
2284
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
2285
|
-
@objc get
|
|
2286
|
-
}
|
|
2287
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
2288
|
-
@objc get
|
|
2289
|
-
}
|
|
2290
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2291
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2292
|
-
@objc get
|
|
2293
|
-
}
|
|
2294
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2295
|
-
@objc get
|
|
2296
|
-
}
|
|
2297
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
2298
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
2299
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
2300
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2301
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2302
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
2303
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
2304
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
2305
|
-
get
|
|
2306
|
-
set
|
|
2307
|
-
}
|
|
2308
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
2309
|
-
@objc get
|
|
2310
|
-
@objc set
|
|
2311
|
-
}
|
|
2312
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
2313
|
-
@objc get
|
|
2314
|
-
@objc set
|
|
2315
|
-
}
|
|
2316
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
2317
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
2318
|
-
@objc get
|
|
2319
|
-
@objc set
|
|
2320
|
-
}
|
|
2321
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
2322
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
2323
|
-
@objc get
|
|
2324
|
-
@objc set
|
|
2325
|
-
}
|
|
2326
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
2327
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
2328
|
-
@objc get
|
|
2329
|
-
@objc set
|
|
2330
|
-
}
|
|
2331
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
2332
|
-
@objc get
|
|
2333
|
-
@objc set
|
|
2334
|
-
}
|
|
2335
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
2336
|
-
@objc get
|
|
2337
|
-
@objc set
|
|
2338
|
-
}
|
|
2339
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
2340
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
2341
|
-
@objc get
|
|
2342
|
-
@objc set
|
|
2343
|
-
}
|
|
2344
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
2345
|
-
@objc get
|
|
2346
|
-
@objc set
|
|
2347
|
-
}
|
|
2348
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
2349
|
-
@objc get
|
|
2350
|
-
@objc set
|
|
2351
|
-
}
|
|
2352
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
2353
|
-
@objc get
|
|
2354
|
-
@objc set
|
|
2355
|
-
}
|
|
2356
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
2357
|
-
@objc get
|
|
2358
|
-
@objc set
|
|
2359
|
-
}
|
|
2360
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
2361
|
-
@objc get
|
|
2362
|
-
@objc set
|
|
2363
|
-
}
|
|
2364
|
-
@objc deinit
|
|
2365
|
-
}
|
|
2366
|
-
extension Mason.MasonText {
|
|
2367
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
2368
|
-
@objc @discardableResult
|
|
2369
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
2370
|
-
#endif
|
|
2371
|
-
}
|
|
2372
|
-
extension Mason.MasonText {
|
|
2373
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
2374
|
-
}
|
|
2375
|
-
@objc public protocol MasonCharacterData {
|
|
2376
|
-
@objc var data: Swift.String { get set }
|
|
2377
|
-
@objc var length: Swift.Int { get }
|
|
2378
|
-
@objc @discardableResult
|
|
2379
|
-
func appendData(_ s: Swift.String) -> Self
|
|
2380
|
-
@objc @discardableResult
|
|
2381
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2382
|
-
@objc @discardableResult
|
|
2383
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2384
|
-
@objc @discardableResult
|
|
2385
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2386
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2387
|
-
@objc @discardableResult
|
|
2388
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
2389
|
-
@objc @discardableResult
|
|
2390
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2391
|
-
}
|
|
2392
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
2393
|
-
@objc public var data: Swift.String {
|
|
2394
|
-
@objc get
|
|
2395
|
-
@objc set
|
|
2396
|
-
}
|
|
2397
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
2398
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
2399
|
-
#endif
|
|
2400
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
2401
|
-
@objc public var length: Swift.Int {
|
|
2402
|
-
@objc get
|
|
2403
|
-
}
|
|
2404
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2405
|
-
@discardableResult
|
|
2406
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
2407
|
-
@discardableResult
|
|
2408
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2409
|
-
@discardableResult
|
|
2410
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2411
|
-
@discardableResult
|
|
2412
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2413
|
-
@discardableResult
|
|
2414
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
2415
|
-
@discardableResult
|
|
2416
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2417
|
-
@objc deinit
|
|
2418
|
-
}
|
|
2419
|
-
extension Mason.MasonTextNode {
|
|
2420
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
2421
|
-
}
|
|
2422
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
2423
|
-
@objc var engine: Mason.TextEngine { get }
|
|
2424
|
-
@objc var node: Mason.MasonNode { get }
|
|
2425
|
-
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2426
|
-
}
|
|
2427
|
-
extension Mason.TextContainer {
|
|
2428
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2429
|
-
}
|
|
2430
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
2431
|
-
public var textContent: Swift.String {
|
|
2432
|
-
get
|
|
2433
|
-
set
|
|
2434
|
-
}
|
|
2435
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2436
|
-
@objc deinit
|
|
2437
|
-
}
|
|
2438
2451
|
@objc @_inheritsConvenienceInitializers public class BackgroundCALayer : QuartzCore.CALayer {
|
|
2439
2452
|
@objc override dynamic public func draw(in ctx: CoreGraphics.CGContext)
|
|
2440
2453
|
public func invalidate()
|
|
@@ -3437,6 +3450,12 @@ public struct FontVariantNumeric : Swift.OptionSet, Swift.CustomStringConvertibl
|
|
|
3437
3450
|
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
3438
3451
|
@objc deinit
|
|
3439
3452
|
}
|
|
3453
|
+
@objcMembers @objc(MasonHTMLParser) public class HTMLParser : ObjectiveC.NSObject {
|
|
3454
|
+
@objc public init(mason: Mason.NSCMason)
|
|
3455
|
+
@objc public func parse(_ html: Swift.String) -> [Mason.MasonNode]
|
|
3456
|
+
public func parseInto(_ html: Swift.String, element: any Mason.MasonElement)
|
|
3457
|
+
@objc deinit
|
|
3458
|
+
}
|
|
3440
3459
|
@_hasMissingDesignatedInitializers @objc(MasonBr) @objcMembers public class MasonBr : ObjectiveC.NSObject, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
3441
3460
|
@objc final public let mason: Mason.NSCMason
|
|
3442
3461
|
@objc public var node: Mason.MasonNode
|
|
@@ -3482,14 +3501,14 @@ extension Mason.MasonNodeType : Swift.Hashable {}
|
|
|
3482
3501
|
extension Mason.PseudoState : Swift.Equatable {}
|
|
3483
3502
|
extension Mason.PseudoState : Swift.Hashable {}
|
|
3484
3503
|
extension Mason.PseudoState : Swift.RawRepresentable {}
|
|
3504
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3505
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3485
3506
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
3486
3507
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
3487
3508
|
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
3488
3509
|
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
3489
3510
|
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
3490
3511
|
extension UIKit.UIImage.ChevronDirection : Swift.Hashable {}
|
|
3491
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3492
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3493
3512
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
3494
3513
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
3495
3514
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|