@triniwiz/nativescript-masonkit 1.0.0-beta.96 → 1.0.0-beta.98
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 +41 -23
- package/README.md +15 -0
- package/angular/fesm2022/triniwiz-nativescript-masonkit-angular.mjs +30 -1
- package/angular/fesm2022/triniwiz-nativescript-masonkit-angular.mjs.map +1 -1
- package/common.js +23 -131
- package/common.js.map +1 -1
- package/framework-registry.d.ts +50 -0
- package/framework-registry.js +176 -0
- package/framework-registry.js.map +1 -0
- package/index.android.d.ts +1 -0
- package/index.android.js +1 -0
- package/index.android.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.ios.d.ts +1 -0
- package/index.ios.js +1 -0
- package/index.ios.js.map +1 -1
- package/index.windows.d.ts +1 -0
- package/index.windows.js +1 -0
- package/index.windows.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 +5 -2
- 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 +36460 -27573
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +204 -201
- 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 +204 -201
- 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 +7790 -7739
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +5 -2039
- 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 +36460 -27573
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +204 -201
- 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 +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +204 -201
- 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 +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +14 -80
- 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 +7785 -7734
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Headers/Mason-Swift.h +5 -2
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.private.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +7286 -7233
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Headers/Mason-Swift.h +5 -2
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.private.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/_CodeSignature/CodeResources +14 -14
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +7286 -7233
- package/properties.js +1 -1
- package/properties.js.map +1 -1
- package/references.d.ts +5 -0
- package/style.d.ts +4 -4
- package/style.js +18 -3
- package/style.js.map +1 -1
- package/text-runs.d.ts +23 -0
- package/text-runs.js +65 -0
- package/text-runs.js.map +1 -0
- package/typings/android.d.ts +7327 -0
- package/typings/objc!Mason.d.ts +3963 -0
- package/typings/objc!ObjectiveC.d.ts +1640 -0
- package/typings/windows.d.ts +330 -0
- package/utils/index.android.d.ts +5 -2
- package/utils/index.android.js.map +1 -1
- package/utils/index.ios.d.ts +5 -2
- package/utils/index.ios.js.map +1 -1
- package/utils/index.windows.d.ts +5 -2
- package/utils/index.windows.js +5 -2
- package/utils/index.windows.js.map +1 -1
- package/vue/README.md +66 -0
- package/vue/index.d.ts +4 -0
- package/vue/index.d.ts.map +1 -0
- package/vue/index.js +3 -0
- package/vue/index.js.map +1 -0
- package/vue/package.json +39 -0
- package/vue/src/element-registry.d.ts +18 -0
- package/vue/src/element-registry.d.ts.map +1 -0
- package/vue/src/element-registry.js +56 -0
- package/vue/src/element-registry.js.map +1 -0
- package/vue/src/mason-meta.d.ts +7 -0
- package/vue/src/mason-meta.d.ts.map +1 -0
- package/vue/src/mason-meta.js +91 -0
- package/vue/src/mason-meta.js.map +1 -0
- package/web.js +11 -1
- package/web.js.map +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +0 -8201
|
@@ -527,6 +527,205 @@ extension UIKit.UIView {
|
|
|
527
527
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
528
528
|
@objc deinit
|
|
529
529
|
}
|
|
530
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
531
|
+
case None
|
|
532
|
+
case P
|
|
533
|
+
case Span
|
|
534
|
+
case Code
|
|
535
|
+
case H1
|
|
536
|
+
case H2
|
|
537
|
+
case H3
|
|
538
|
+
case H4
|
|
539
|
+
case H5
|
|
540
|
+
case H6
|
|
541
|
+
case Li
|
|
542
|
+
case Blockquote
|
|
543
|
+
case B
|
|
544
|
+
case Pre
|
|
545
|
+
case Strong
|
|
546
|
+
case Em
|
|
547
|
+
case I
|
|
548
|
+
case A
|
|
549
|
+
public typealias RawValue = Swift.Int32
|
|
550
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
551
|
+
get
|
|
552
|
+
}
|
|
553
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
554
|
+
public var description: Swift.String {
|
|
555
|
+
get
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
public enum InlineSegmentPayload {
|
|
559
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
560
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
561
|
+
}
|
|
562
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
563
|
+
@objc override dynamic public init()
|
|
564
|
+
@objc override dynamic public init(layer: Any)
|
|
565
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
566
|
+
@objc deinit
|
|
567
|
+
}
|
|
568
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
569
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
570
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
571
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
572
|
+
@objc get
|
|
573
|
+
@objc set
|
|
574
|
+
}
|
|
575
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
576
|
+
@objc get
|
|
577
|
+
}
|
|
578
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
579
|
+
@objc get
|
|
580
|
+
}
|
|
581
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
582
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
583
|
+
@objc get
|
|
584
|
+
}
|
|
585
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
586
|
+
@objc get
|
|
587
|
+
}
|
|
588
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
589
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
590
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
591
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToWindow()
|
|
592
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
593
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
594
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
595
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
596
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
597
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
598
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
599
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
600
|
+
get
|
|
601
|
+
set
|
|
602
|
+
}
|
|
603
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
604
|
+
@objc get
|
|
605
|
+
@objc set
|
|
606
|
+
}
|
|
607
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
608
|
+
@objc get
|
|
609
|
+
@objc set
|
|
610
|
+
}
|
|
611
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
612
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
613
|
+
@objc get
|
|
614
|
+
@objc set
|
|
615
|
+
}
|
|
616
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
617
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
618
|
+
@objc get
|
|
619
|
+
@objc set
|
|
620
|
+
}
|
|
621
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
622
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
623
|
+
@objc get
|
|
624
|
+
@objc set
|
|
625
|
+
}
|
|
626
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
627
|
+
@objc get
|
|
628
|
+
@objc set
|
|
629
|
+
}
|
|
630
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
631
|
+
@objc get
|
|
632
|
+
@objc set
|
|
633
|
+
}
|
|
634
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
635
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
636
|
+
@objc get
|
|
637
|
+
@objc set
|
|
638
|
+
}
|
|
639
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
640
|
+
@objc get
|
|
641
|
+
@objc set
|
|
642
|
+
}
|
|
643
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
644
|
+
@objc get
|
|
645
|
+
@objc set
|
|
646
|
+
}
|
|
647
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
648
|
+
@objc get
|
|
649
|
+
@objc set
|
|
650
|
+
}
|
|
651
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
652
|
+
@objc get
|
|
653
|
+
@objc set
|
|
654
|
+
}
|
|
655
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
656
|
+
@objc get
|
|
657
|
+
@objc set
|
|
658
|
+
}
|
|
659
|
+
@objc deinit
|
|
660
|
+
}
|
|
661
|
+
extension Mason.MasonText {
|
|
662
|
+
@objc @discardableResult
|
|
663
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
664
|
+
}
|
|
665
|
+
extension Mason.MasonText {
|
|
666
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
667
|
+
}
|
|
668
|
+
@objc public protocol MasonCharacterData {
|
|
669
|
+
@objc var data: Swift.String { get set }
|
|
670
|
+
@objc var length: Swift.Int { get }
|
|
671
|
+
@objc @discardableResult
|
|
672
|
+
func appendData(_ s: Swift.String) -> Self
|
|
673
|
+
@objc @discardableResult
|
|
674
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
675
|
+
@objc @discardableResult
|
|
676
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
677
|
+
@objc @discardableResult
|
|
678
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
679
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
680
|
+
@objc @discardableResult
|
|
681
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
682
|
+
@objc @discardableResult
|
|
683
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
684
|
+
}
|
|
685
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
686
|
+
@objc public var data: Swift.String {
|
|
687
|
+
@objc get
|
|
688
|
+
@objc set
|
|
689
|
+
}
|
|
690
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
691
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
692
|
+
@objc public var length: Swift.Int {
|
|
693
|
+
@objc get
|
|
694
|
+
}
|
|
695
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
696
|
+
@discardableResult
|
|
697
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
698
|
+
@discardableResult
|
|
699
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
700
|
+
@discardableResult
|
|
701
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
702
|
+
@discardableResult
|
|
703
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
704
|
+
@discardableResult
|
|
705
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
706
|
+
@discardableResult
|
|
707
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
708
|
+
@objc deinit
|
|
709
|
+
}
|
|
710
|
+
extension Mason.MasonTextNode {
|
|
711
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
712
|
+
}
|
|
713
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
714
|
+
@objc var engine: Mason.TextEngine { get }
|
|
715
|
+
@objc var node: Mason.MasonNode { get }
|
|
716
|
+
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
717
|
+
}
|
|
718
|
+
extension Mason.TextContainer {
|
|
719
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
720
|
+
}
|
|
721
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
722
|
+
public var textContent: Swift.String {
|
|
723
|
+
get
|
|
724
|
+
set
|
|
725
|
+
}
|
|
726
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
727
|
+
@objc deinit
|
|
728
|
+
}
|
|
530
729
|
public protocol MasonEventTarget {
|
|
531
730
|
var node: Mason.MasonNode { get }
|
|
532
731
|
@discardableResult
|
|
@@ -2199,205 +2398,6 @@ extension UIKit.UIImage {
|
|
|
2199
2398
|
@objc dynamic public func mason_removeChildAt(_ index: Swift.Int)
|
|
2200
2399
|
@objc dynamic public func mason_removeChildNode(_ node: Mason.MasonNode)
|
|
2201
2400
|
}
|
|
2202
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2203
|
-
case None
|
|
2204
|
-
case P
|
|
2205
|
-
case Span
|
|
2206
|
-
case Code
|
|
2207
|
-
case H1
|
|
2208
|
-
case H2
|
|
2209
|
-
case H3
|
|
2210
|
-
case H4
|
|
2211
|
-
case H5
|
|
2212
|
-
case H6
|
|
2213
|
-
case Li
|
|
2214
|
-
case Blockquote
|
|
2215
|
-
case B
|
|
2216
|
-
case Pre
|
|
2217
|
-
case Strong
|
|
2218
|
-
case Em
|
|
2219
|
-
case I
|
|
2220
|
-
case A
|
|
2221
|
-
public typealias RawValue = Swift.Int32
|
|
2222
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
2223
|
-
get
|
|
2224
|
-
}
|
|
2225
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
2226
|
-
public var description: Swift.String {
|
|
2227
|
-
get
|
|
2228
|
-
}
|
|
2229
|
-
}
|
|
2230
|
-
public enum InlineSegmentPayload {
|
|
2231
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
2232
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
2233
|
-
}
|
|
2234
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
2235
|
-
@objc override dynamic public init()
|
|
2236
|
-
@objc override dynamic public init(layer: Any)
|
|
2237
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
2238
|
-
@objc deinit
|
|
2239
|
-
}
|
|
2240
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
2241
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2242
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
2243
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
2244
|
-
@objc get
|
|
2245
|
-
@objc set
|
|
2246
|
-
}
|
|
2247
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
2248
|
-
@objc get
|
|
2249
|
-
}
|
|
2250
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
2251
|
-
@objc get
|
|
2252
|
-
}
|
|
2253
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2254
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2255
|
-
@objc get
|
|
2256
|
-
}
|
|
2257
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2258
|
-
@objc get
|
|
2259
|
-
}
|
|
2260
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
2261
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
2262
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
2263
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToWindow()
|
|
2264
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2265
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2266
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
2267
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
2268
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
2269
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
2270
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
2271
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
2272
|
-
get
|
|
2273
|
-
set
|
|
2274
|
-
}
|
|
2275
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
2276
|
-
@objc get
|
|
2277
|
-
@objc set
|
|
2278
|
-
}
|
|
2279
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
2280
|
-
@objc get
|
|
2281
|
-
@objc set
|
|
2282
|
-
}
|
|
2283
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
2284
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
2285
|
-
@objc get
|
|
2286
|
-
@objc set
|
|
2287
|
-
}
|
|
2288
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
2289
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
2290
|
-
@objc get
|
|
2291
|
-
@objc set
|
|
2292
|
-
}
|
|
2293
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
2294
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
2295
|
-
@objc get
|
|
2296
|
-
@objc set
|
|
2297
|
-
}
|
|
2298
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
2299
|
-
@objc get
|
|
2300
|
-
@objc set
|
|
2301
|
-
}
|
|
2302
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
2303
|
-
@objc get
|
|
2304
|
-
@objc set
|
|
2305
|
-
}
|
|
2306
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
2307
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
2308
|
-
@objc get
|
|
2309
|
-
@objc set
|
|
2310
|
-
}
|
|
2311
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
2312
|
-
@objc get
|
|
2313
|
-
@objc set
|
|
2314
|
-
}
|
|
2315
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
2316
|
-
@objc get
|
|
2317
|
-
@objc set
|
|
2318
|
-
}
|
|
2319
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
2320
|
-
@objc get
|
|
2321
|
-
@objc set
|
|
2322
|
-
}
|
|
2323
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
2324
|
-
@objc get
|
|
2325
|
-
@objc set
|
|
2326
|
-
}
|
|
2327
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
2328
|
-
@objc get
|
|
2329
|
-
@objc set
|
|
2330
|
-
}
|
|
2331
|
-
@objc deinit
|
|
2332
|
-
}
|
|
2333
|
-
extension Mason.MasonText {
|
|
2334
|
-
@objc @discardableResult
|
|
2335
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
2336
|
-
}
|
|
2337
|
-
extension Mason.MasonText {
|
|
2338
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
2339
|
-
}
|
|
2340
|
-
@objc public protocol MasonCharacterData {
|
|
2341
|
-
@objc var data: Swift.String { get set }
|
|
2342
|
-
@objc var length: Swift.Int { get }
|
|
2343
|
-
@objc @discardableResult
|
|
2344
|
-
func appendData(_ s: Swift.String) -> Self
|
|
2345
|
-
@objc @discardableResult
|
|
2346
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2347
|
-
@objc @discardableResult
|
|
2348
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2349
|
-
@objc @discardableResult
|
|
2350
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2351
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2352
|
-
@objc @discardableResult
|
|
2353
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
2354
|
-
@objc @discardableResult
|
|
2355
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2356
|
-
}
|
|
2357
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
2358
|
-
@objc public var data: Swift.String {
|
|
2359
|
-
@objc get
|
|
2360
|
-
@objc set
|
|
2361
|
-
}
|
|
2362
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
2363
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
2364
|
-
@objc public var length: Swift.Int {
|
|
2365
|
-
@objc get
|
|
2366
|
-
}
|
|
2367
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2368
|
-
@discardableResult
|
|
2369
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
2370
|
-
@discardableResult
|
|
2371
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2372
|
-
@discardableResult
|
|
2373
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2374
|
-
@discardableResult
|
|
2375
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2376
|
-
@discardableResult
|
|
2377
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
2378
|
-
@discardableResult
|
|
2379
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2380
|
-
@objc deinit
|
|
2381
|
-
}
|
|
2382
|
-
extension Mason.MasonTextNode {
|
|
2383
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
2384
|
-
}
|
|
2385
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
2386
|
-
@objc var engine: Mason.TextEngine { get }
|
|
2387
|
-
@objc var node: Mason.MasonNode { get }
|
|
2388
|
-
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2389
|
-
}
|
|
2390
|
-
extension Mason.TextContainer {
|
|
2391
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2392
|
-
}
|
|
2393
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
2394
|
-
public var textContent: Swift.String {
|
|
2395
|
-
get
|
|
2396
|
-
set
|
|
2397
|
-
}
|
|
2398
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2399
|
-
@objc deinit
|
|
2400
|
-
}
|
|
2401
2401
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonTextInput) @_Concurrency.MainActor @preconcurrency public class MasonTextInput : UIKit.UITextView, UIKit.UITextViewDelegate {
|
|
2402
2402
|
@objc @_Concurrency.MainActor @preconcurrency public var placeholder: Swift.String? {
|
|
2403
2403
|
@objc get
|
|
@@ -2779,8 +2779,11 @@ public enum MasonLengthPercentageAuto : Swift.Codable, Swift.Equatable {
|
|
|
2779
2779
|
public init?(rawValue: Mason.Overflow.RawValue)
|
|
2780
2780
|
}
|
|
2781
2781
|
@objc(MasonPosition) public enum Position : Swift.Int, Swift.RawRepresentable {
|
|
2782
|
+
case Static
|
|
2782
2783
|
case Relative
|
|
2783
2784
|
case Absolute
|
|
2785
|
+
case Fixed
|
|
2786
|
+
case Sticky
|
|
2784
2787
|
public typealias RawValue = Swift.Int8
|
|
2785
2788
|
public var rawValue: Mason.Position.RawValue {
|
|
2786
2789
|
get
|
|
@@ -3443,6 +3446,8 @@ extension Mason.MasonNodeType : Swift.Hashable {}
|
|
|
3443
3446
|
extension Mason.PseudoState : Swift.Equatable {}
|
|
3444
3447
|
extension Mason.PseudoState : Swift.Hashable {}
|
|
3445
3448
|
extension Mason.PseudoState : Swift.RawRepresentable {}
|
|
3449
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3450
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3446
3451
|
extension Mason.TransformOpType : Swift.Equatable {}
|
|
3447
3452
|
extension Mason.TransformOpType : Swift.Hashable {}
|
|
3448
3453
|
extension Mason.TransformOpType : Swift.RawRepresentable {}
|
|
@@ -3450,8 +3455,6 @@ extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
|
3450
3455
|
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
3451
3456
|
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
3452
3457
|
extension UIKit.UIImage.ChevronDirection : Swift.Hashable {}
|
|
3453
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3454
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3455
3458
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
3456
3459
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
3457
3460
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|