@triniwiz/nativescript-masonkit 1.0.0-beta.62 → 1.0.0-beta.64
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 +6 -0
- package/common.js +188 -139
- package/common.js.map +1 -1
- package/package.json +1 -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 +15 -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 +33604 -24637
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +238 -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 +238 -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 -8173
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +30 -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 +33604 -24637
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +238 -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 +238 -203
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +33604 -24637
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +238 -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 +238 -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 -8168
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +7933 -7832
- package/properties.d.ts +4 -0
- package/properties.js +20 -0
- package/properties.js.map +1 -1
- package/style.d.ts +8 -0
- package/style.js +84 -0
- package/style.js.map +1 -1
|
@@ -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
|
|
@@ -1876,6 +2086,22 @@ public struct StateKeys : Swift.Equatable {
|
|
|
1876
2086
|
@objc get
|
|
1877
2087
|
@objc set
|
|
1878
2088
|
}
|
|
2089
|
+
@objc public var cornerShapeTopLeft: Swift.String {
|
|
2090
|
+
@objc get
|
|
2091
|
+
@objc set
|
|
2092
|
+
}
|
|
2093
|
+
@objc public var cornerShapeTopRight: Swift.String {
|
|
2094
|
+
@objc get
|
|
2095
|
+
@objc set
|
|
2096
|
+
}
|
|
2097
|
+
@objc public var cornerShapeBottomRight: Swift.String {
|
|
2098
|
+
@objc get
|
|
2099
|
+
@objc set
|
|
2100
|
+
}
|
|
2101
|
+
@objc public var cornerShapeBottomLeft: Swift.String {
|
|
2102
|
+
@objc get
|
|
2103
|
+
@objc set
|
|
2104
|
+
}
|
|
1879
2105
|
@objc public var border: Swift.String {
|
|
1880
2106
|
@objc get
|
|
1881
2107
|
@objc set
|
|
@@ -2172,6 +2398,10 @@ extension UIKit.UIImage {
|
|
|
2172
2398
|
#endif
|
|
2173
2399
|
}
|
|
2174
2400
|
@objc extension ObjectiveC.NSObject {
|
|
2401
|
+
@objc dynamic public var mason_innerHTML: Swift.String {
|
|
2402
|
+
@objc get
|
|
2403
|
+
@objc set
|
|
2404
|
+
}
|
|
2175
2405
|
@discardableResult
|
|
2176
2406
|
@objc dynamic public func mason_addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
2177
2407
|
@discardableResult
|
|
@@ -2218,207 +2448,6 @@ extension UIKit.UIImage {
|
|
|
2218
2448
|
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2219
2449
|
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2220
2450
|
}
|
|
2221
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2222
|
-
case None
|
|
2223
|
-
case P
|
|
2224
|
-
case Span
|
|
2225
|
-
case Code
|
|
2226
|
-
case H1
|
|
2227
|
-
case H2
|
|
2228
|
-
case H3
|
|
2229
|
-
case H4
|
|
2230
|
-
case H5
|
|
2231
|
-
case H6
|
|
2232
|
-
case Li
|
|
2233
|
-
case Blockquote
|
|
2234
|
-
case B
|
|
2235
|
-
case Pre
|
|
2236
|
-
case Strong
|
|
2237
|
-
case Em
|
|
2238
|
-
case I
|
|
2239
|
-
case A
|
|
2240
|
-
public typealias RawValue = Swift.Int32
|
|
2241
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
2242
|
-
get
|
|
2243
|
-
}
|
|
2244
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
2245
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
2246
|
-
#endif
|
|
2247
|
-
public var description: Swift.String {
|
|
2248
|
-
get
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2251
|
-
public enum InlineSegmentPayload {
|
|
2252
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
2253
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
2254
|
-
}
|
|
2255
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
2256
|
-
@objc override dynamic public init()
|
|
2257
|
-
@objc override dynamic public init(layer: Any)
|
|
2258
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
2259
|
-
@objc deinit
|
|
2260
|
-
}
|
|
2261
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
2262
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2263
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
2264
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
2265
|
-
@objc get
|
|
2266
|
-
@objc set
|
|
2267
|
-
}
|
|
2268
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
2269
|
-
@objc get
|
|
2270
|
-
}
|
|
2271
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
2272
|
-
@objc get
|
|
2273
|
-
}
|
|
2274
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2275
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2276
|
-
@objc get
|
|
2277
|
-
}
|
|
2278
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2279
|
-
@objc get
|
|
2280
|
-
}
|
|
2281
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
2282
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
2283
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
2284
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2285
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2286
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
2287
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
2288
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
2289
|
-
get
|
|
2290
|
-
set
|
|
2291
|
-
}
|
|
2292
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
2293
|
-
@objc get
|
|
2294
|
-
@objc set
|
|
2295
|
-
}
|
|
2296
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
2297
|
-
@objc get
|
|
2298
|
-
@objc set
|
|
2299
|
-
}
|
|
2300
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
2301
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
2302
|
-
@objc get
|
|
2303
|
-
@objc set
|
|
2304
|
-
}
|
|
2305
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
2306
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
2307
|
-
@objc get
|
|
2308
|
-
@objc set
|
|
2309
|
-
}
|
|
2310
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
2311
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
2312
|
-
@objc get
|
|
2313
|
-
@objc set
|
|
2314
|
-
}
|
|
2315
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
2316
|
-
@objc get
|
|
2317
|
-
@objc set
|
|
2318
|
-
}
|
|
2319
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
2320
|
-
@objc get
|
|
2321
|
-
@objc set
|
|
2322
|
-
}
|
|
2323
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
2324
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
2325
|
-
@objc get
|
|
2326
|
-
@objc set
|
|
2327
|
-
}
|
|
2328
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
2329
|
-
@objc get
|
|
2330
|
-
@objc set
|
|
2331
|
-
}
|
|
2332
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
2333
|
-
@objc get
|
|
2334
|
-
@objc set
|
|
2335
|
-
}
|
|
2336
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
2337
|
-
@objc get
|
|
2338
|
-
@objc set
|
|
2339
|
-
}
|
|
2340
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
2341
|
-
@objc get
|
|
2342
|
-
@objc set
|
|
2343
|
-
}
|
|
2344
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
2345
|
-
@objc get
|
|
2346
|
-
@objc set
|
|
2347
|
-
}
|
|
2348
|
-
@objc deinit
|
|
2349
|
-
}
|
|
2350
|
-
extension Mason.MasonText {
|
|
2351
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
2352
|
-
@objc @discardableResult
|
|
2353
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
2354
|
-
#endif
|
|
2355
|
-
}
|
|
2356
|
-
extension Mason.MasonText {
|
|
2357
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
2358
|
-
}
|
|
2359
|
-
@objc public protocol MasonCharacterData {
|
|
2360
|
-
@objc var data: Swift.String { get set }
|
|
2361
|
-
@objc var length: Swift.Int { get }
|
|
2362
|
-
@objc @discardableResult
|
|
2363
|
-
func appendData(_ s: Swift.String) -> Self
|
|
2364
|
-
@objc @discardableResult
|
|
2365
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2366
|
-
@objc @discardableResult
|
|
2367
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2368
|
-
@objc @discardableResult
|
|
2369
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2370
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2371
|
-
@objc @discardableResult
|
|
2372
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
2373
|
-
@objc @discardableResult
|
|
2374
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2375
|
-
}
|
|
2376
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
2377
|
-
@objc public var data: Swift.String {
|
|
2378
|
-
@objc get
|
|
2379
|
-
@objc set
|
|
2380
|
-
}
|
|
2381
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
2382
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
2383
|
-
#endif
|
|
2384
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
2385
|
-
@objc public var length: Swift.Int {
|
|
2386
|
-
@objc get
|
|
2387
|
-
}
|
|
2388
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2389
|
-
@discardableResult
|
|
2390
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
2391
|
-
@discardableResult
|
|
2392
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2393
|
-
@discardableResult
|
|
2394
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2395
|
-
@discardableResult
|
|
2396
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2397
|
-
@discardableResult
|
|
2398
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
2399
|
-
@discardableResult
|
|
2400
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2401
|
-
@objc deinit
|
|
2402
|
-
}
|
|
2403
|
-
extension Mason.MasonTextNode {
|
|
2404
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
2405
|
-
}
|
|
2406
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
2407
|
-
@objc var engine: Mason.TextEngine { get }
|
|
2408
|
-
@objc var node: Mason.MasonNode { get }
|
|
2409
|
-
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2410
|
-
}
|
|
2411
|
-
extension Mason.TextContainer {
|
|
2412
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2413
|
-
}
|
|
2414
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
2415
|
-
public var textContent: Swift.String {
|
|
2416
|
-
get
|
|
2417
|
-
set
|
|
2418
|
-
}
|
|
2419
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2420
|
-
@objc deinit
|
|
2421
|
-
}
|
|
2422
2451
|
@objc @_inheritsConvenienceInitializers public class BackgroundCALayer : QuartzCore.CALayer {
|
|
2423
2452
|
@objc override dynamic public func draw(in ctx: CoreGraphics.CGContext)
|
|
2424
2453
|
public func invalidate()
|
|
@@ -3421,6 +3450,12 @@ public struct FontVariantNumeric : Swift.OptionSet, Swift.CustomStringConvertibl
|
|
|
3421
3450
|
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
3422
3451
|
@objc deinit
|
|
3423
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
|
+
}
|
|
3424
3459
|
@_hasMissingDesignatedInitializers @objc(MasonBr) @objcMembers public class MasonBr : ObjectiveC.NSObject, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
3425
3460
|
@objc final public let mason: Mason.NSCMason
|
|
3426
3461
|
@objc public var node: Mason.MasonNode
|
|
@@ -3466,14 +3501,14 @@ extension Mason.MasonNodeType : Swift.Hashable {}
|
|
|
3466
3501
|
extension Mason.PseudoState : Swift.Equatable {}
|
|
3467
3502
|
extension Mason.PseudoState : Swift.Hashable {}
|
|
3468
3503
|
extension Mason.PseudoState : Swift.RawRepresentable {}
|
|
3504
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3505
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3469
3506
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
3470
3507
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
3471
3508
|
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
3472
3509
|
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
3473
3510
|
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
3474
3511
|
extension UIKit.UIImage.ChevronDirection : Swift.Hashable {}
|
|
3475
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3476
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3477
3512
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
3478
3513
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
3479
3514
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|