@triniwiz/nativescript-masonkit 1.0.0-beta.67 → 1.0.0-beta.68.1
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/button/index.android.js +1 -7
- package/button/index.android.js.map +1 -1
- package/common.d.ts +36 -1
- package/common.js +78 -7
- package/common.js.map +1 -1
- package/index.android.d.ts +1 -0
- package/index.android.js +1 -0
- package/index.android.js.map +1 -1
- package/index.d.ts +29 -1
- package/index.ios.d.ts +1 -0
- package/index.ios.js +1 -0
- package/index.ios.js.map +1 -1
- package/input/common.js +1 -0
- package/input/common.js.map +1 -1
- 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 +38 -15
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +34 -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 +6069 -13459
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +80 -35
- 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 +80 -35
- 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 +8595 -8485
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +76 -30
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +34 -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 +6069 -13459
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +80 -35
- 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 +80 -35
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +6069 -13459
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +80 -35
- 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 +80 -35
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +28 -28
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8590 -8480
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +8242 -8142
- package/pseudo.d.ts +9 -0
- package/pseudo.js +58 -0
- package/pseudo.js.map +1 -0
- package/style.d.ts +117 -8
- package/style.js +259 -326
- package/style.js.map +1 -1
- package/symbols.d.ts +1 -0
- package/symbols.js +1 -0
- package/symbols.js.map +1 -1
- package/textarea/common.d.ts +8 -0
- package/textarea/common.js +28 -0
- package/textarea/common.js.map +1 -0
- package/textarea/index.android.d.ts +15 -0
- package/textarea/index.android.js +71 -0
- package/textarea/index.android.js.map +1 -0
- package/textarea/index.ios.d.ts +18 -0
- package/textarea/index.ios.js +134 -0
- package/textarea/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +3 -0
- package/tree/index.android.js +10 -0
- package/tree/index.android.js.map +1 -1
- package/tree/index.ios.d.ts +19 -1
- package/tree/index.ios.js +25 -0
- package/tree/index.ios.js.map +1 -1
- package/view/index.ios.js +0 -16
- package/view/index.ios.js.map +1 -1
|
@@ -317,6 +317,9 @@ extension Mason.Button {
|
|
|
317
317
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
318
318
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
319
319
|
#endif
|
|
320
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
321
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
|
|
322
|
+
#endif
|
|
320
323
|
}
|
|
321
324
|
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
322
325
|
case None
|
|
@@ -571,6 +574,11 @@ extension Mason.TextContainer {
|
|
|
571
574
|
public func createListItemNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
572
575
|
@objc public func createListItemNode() -> Mason.MasonNode
|
|
573
576
|
@objc public func createListItem() -> Mason.MasonLi
|
|
577
|
+
@objc public func createTextArea() -> Mason.MasonTextArea
|
|
578
|
+
@objc public var preflight: Swift.Bool {
|
|
579
|
+
@objc get
|
|
580
|
+
@objc set
|
|
581
|
+
}
|
|
574
582
|
@objc public static let scale: Swift.Float
|
|
575
583
|
}
|
|
576
584
|
@_inheritsConvenienceInitializers @objcMembers @objc(MeasureOutput) public class MeasureOutput : ObjectiveC.NSObject {
|
|
@@ -653,6 +661,23 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
653
661
|
public init?(rawValue: Swift.Int32)
|
|
654
662
|
#endif
|
|
655
663
|
}
|
|
664
|
+
@objc(PseudoState) public enum PseudoState : Swift.UInt16 {
|
|
665
|
+
case `default` = 0
|
|
666
|
+
case hover = 0x01
|
|
667
|
+
case active = 0x02
|
|
668
|
+
case focus = 0x04
|
|
669
|
+
case focusWithin = 0x08
|
|
670
|
+
case focusVisible = 0x10
|
|
671
|
+
case disabled = 0x40
|
|
672
|
+
case checked = 0x80
|
|
673
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
674
|
+
public init?(rawValue: Swift.UInt16)
|
|
675
|
+
#endif
|
|
676
|
+
public typealias RawValue = Swift.UInt16
|
|
677
|
+
public var rawValue: Swift.UInt16 {
|
|
678
|
+
get
|
|
679
|
+
}
|
|
680
|
+
}
|
|
656
681
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
657
682
|
@objc public var mason: Mason.NSCMason {
|
|
658
683
|
get
|
|
@@ -670,11 +695,25 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
670
695
|
get
|
|
671
696
|
}
|
|
672
697
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
673
|
-
@objc public func setPseudoString(_ pseudoState: Swift.UInt16, key: Swift.String, value: Swift.String)
|
|
698
|
+
@objc public func setPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String, _ value: Swift.String)
|
|
699
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
700
|
+
@objc public func getPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String) -> Swift.String?
|
|
701
|
+
#endif
|
|
702
|
+
@objc public func clearPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String)
|
|
703
|
+
@objc public var pseudoMask: Swift.UInt16 {
|
|
704
|
+
@objc get
|
|
705
|
+
}
|
|
706
|
+
@objc public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
707
|
+
@objc public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
674
708
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
675
|
-
@objc public func
|
|
709
|
+
@objc public func getPseudoBuffer(_ flags: Swift.UInt16) -> Foundation.NSMutableData?
|
|
676
710
|
#endif
|
|
677
|
-
@objc public func
|
|
711
|
+
@objc public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Foundation.NSMutableData
|
|
712
|
+
public func hasPseudoSetFor(_ key: Mason.StateKeys) -> Swift.Bool
|
|
713
|
+
public func hasPseudoSetInBuffer(_ flags: Swift.UInt16, _ key: Mason.StateKeys) -> Swift.Bool
|
|
714
|
+
public func getPseudoSetFlags(_ flags: Swift.UInt16) -> Mason.StateKeys
|
|
715
|
+
public static func markPseudoSet(buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, key: Mason.StateKeys)
|
|
716
|
+
public static func markPseudoSet(_ buf: Foundation.NSMutableData, _ key: Mason.StateKeys)
|
|
678
717
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
679
718
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
680
719
|
@objc public var parent: Mason.MasonNode? {
|
|
@@ -716,36 +755,6 @@ extension Mason.MasonNode {
|
|
|
716
755
|
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
717
756
|
@objc dynamic public func removeAllChildren()
|
|
718
757
|
}
|
|
719
|
-
@objc(PseudoState) public enum PseudoState : Swift.UInt16 {
|
|
720
|
-
case `default` = 0
|
|
721
|
-
case hover = 0x01
|
|
722
|
-
case active = 0x02
|
|
723
|
-
case focus = 0x04
|
|
724
|
-
case focusWithin = 0x08
|
|
725
|
-
case focusVisible = 0x10
|
|
726
|
-
case disabled = 0x40
|
|
727
|
-
case checked = 0x80
|
|
728
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
729
|
-
public init?(rawValue: Swift.UInt16)
|
|
730
|
-
#endif
|
|
731
|
-
public typealias RawValue = Swift.UInt16
|
|
732
|
-
public var rawValue: Swift.UInt16 {
|
|
733
|
-
get
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
extension Mason.MasonNode {
|
|
737
|
-
@objc dynamic public var pseudoMask: Swift.UInt16 {
|
|
738
|
-
@objc get
|
|
739
|
-
}
|
|
740
|
-
@objc dynamic public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
741
|
-
@objc dynamic public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
742
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
743
|
-
public func getPseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeBufferPointer<Swift.UInt8>?
|
|
744
|
-
#endif
|
|
745
|
-
public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeMutableBufferPointer<Swift.UInt8>
|
|
746
|
-
public func hasPseudoSetFor(_ key: Mason.StateKeys) -> Swift.Bool
|
|
747
|
-
public static func markPseudoSet(_ buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, _ key: Mason.StateKeys)
|
|
748
|
-
}
|
|
749
758
|
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
750
759
|
@objc var style: Mason.MasonStyle { get }
|
|
751
760
|
@objc var node: Mason.MasonNode { get }
|
|
@@ -1315,7 +1324,38 @@ public struct MasonNodeView {
|
|
|
1315
1324
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
1316
1325
|
@objc deinit
|
|
1317
1326
|
}
|
|
1318
|
-
@
|
|
1327
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextArea) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonTextArea : Mason.MasonTextInput, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1328
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1329
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1330
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1331
|
+
@objc get
|
|
1332
|
+
}
|
|
1333
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1334
|
+
@objc get
|
|
1335
|
+
}
|
|
1336
|
+
@objc @_Concurrency.MainActor @preconcurrency public var rows: Swift.Int {
|
|
1337
|
+
@objc get
|
|
1338
|
+
@objc set
|
|
1339
|
+
}
|
|
1340
|
+
@objc @_Concurrency.MainActor @preconcurrency public var cols: Swift.Int {
|
|
1341
|
+
@objc get
|
|
1342
|
+
@objc set
|
|
1343
|
+
}
|
|
1344
|
+
@objc @_Concurrency.MainActor @preconcurrency public var name: Swift.String
|
|
1345
|
+
@objc @_Concurrency.MainActor @preconcurrency public var maxLength: Swift.Int
|
|
1346
|
+
@objc @_Concurrency.MainActor @preconcurrency public var value: Swift.String {
|
|
1347
|
+
@objc get
|
|
1348
|
+
@objc set
|
|
1349
|
+
}
|
|
1350
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason doc: Mason.NSCMason)
|
|
1351
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1352
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1353
|
+
#endif
|
|
1354
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
1355
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
1356
|
+
@_Concurrency.MainActor @preconcurrency @objc override public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
1357
|
+
@objc @_Concurrency.MainActor @preconcurrency public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
1358
|
+
@_Concurrency.MainActor @preconcurrency @objc override public func textView(_ textView: UIKit.UITextView, shouldChangeTextIn range: Foundation.NSRange, replacementText text: Swift.String) -> Swift.Bool
|
|
1319
1359
|
@objc deinit
|
|
1320
1360
|
}
|
|
1321
1361
|
@objc(NSCFontFaceSetStatus) public enum NSCFontFaceSetStatus : Swift.Int, Swift.RawRepresentable {
|
|
@@ -2528,7 +2568,11 @@ extension UIKit.UIImage {
|
|
|
2528
2568
|
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2529
2569
|
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2530
2570
|
}
|
|
2531
|
-
@
|
|
2571
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonTextInput) @_Concurrency.MainActor @preconcurrency public class MasonTextInput : UIKit.UITextView, UIKit.UITextViewDelegate {
|
|
2572
|
+
@objc @_Concurrency.MainActor @preconcurrency public var placeholder: Swift.String? {
|
|
2573
|
+
@objc get
|
|
2574
|
+
@objc set
|
|
2575
|
+
}
|
|
2532
2576
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
2533
2577
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var text: Swift.String! {
|
|
2534
2578
|
@objc get
|
|
@@ -2554,6 +2598,7 @@ extension UIKit.UIImage {
|
|
|
2554
2598
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2555
2599
|
@objc deinit
|
|
2556
2600
|
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
2601
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidBeginEditing(_ textView: UIKit.UITextView)
|
|
2557
2602
|
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidEndEditing(_ textView: UIKit.UITextView)
|
|
2558
2603
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
2559
2604
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func paste(_ sender: Any?)
|
|
Binary file
|
|
@@ -317,6 +317,9 @@ extension Mason.Button {
|
|
|
317
317
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
318
318
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
319
319
|
#endif
|
|
320
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
321
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
|
|
322
|
+
#endif
|
|
320
323
|
}
|
|
321
324
|
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
322
325
|
case None
|
|
@@ -571,6 +574,11 @@ extension Mason.TextContainer {
|
|
|
571
574
|
public func createListItemNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
572
575
|
@objc public func createListItemNode() -> Mason.MasonNode
|
|
573
576
|
@objc public func createListItem() -> Mason.MasonLi
|
|
577
|
+
@objc public func createTextArea() -> Mason.MasonTextArea
|
|
578
|
+
@objc public var preflight: Swift.Bool {
|
|
579
|
+
@objc get
|
|
580
|
+
@objc set
|
|
581
|
+
}
|
|
574
582
|
@objc public static let scale: Swift.Float
|
|
575
583
|
}
|
|
576
584
|
@_inheritsConvenienceInitializers @objcMembers @objc(MeasureOutput) public class MeasureOutput : ObjectiveC.NSObject {
|
|
@@ -653,6 +661,23 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
653
661
|
public init?(rawValue: Swift.Int32)
|
|
654
662
|
#endif
|
|
655
663
|
}
|
|
664
|
+
@objc(PseudoState) public enum PseudoState : Swift.UInt16 {
|
|
665
|
+
case `default` = 0
|
|
666
|
+
case hover = 0x01
|
|
667
|
+
case active = 0x02
|
|
668
|
+
case focus = 0x04
|
|
669
|
+
case focusWithin = 0x08
|
|
670
|
+
case focusVisible = 0x10
|
|
671
|
+
case disabled = 0x40
|
|
672
|
+
case checked = 0x80
|
|
673
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
674
|
+
public init?(rawValue: Swift.UInt16)
|
|
675
|
+
#endif
|
|
676
|
+
public typealias RawValue = Swift.UInt16
|
|
677
|
+
public var rawValue: Swift.UInt16 {
|
|
678
|
+
get
|
|
679
|
+
}
|
|
680
|
+
}
|
|
656
681
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
657
682
|
@objc public var mason: Mason.NSCMason {
|
|
658
683
|
get
|
|
@@ -670,11 +695,25 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
670
695
|
get
|
|
671
696
|
}
|
|
672
697
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
673
|
-
@objc public func setPseudoString(_ pseudoState: Swift.UInt16, key: Swift.String, value: Swift.String)
|
|
698
|
+
@objc public func setPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String, _ value: Swift.String)
|
|
699
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
700
|
+
@objc public func getPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String) -> Swift.String?
|
|
701
|
+
#endif
|
|
702
|
+
@objc public func clearPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String)
|
|
703
|
+
@objc public var pseudoMask: Swift.UInt16 {
|
|
704
|
+
@objc get
|
|
705
|
+
}
|
|
706
|
+
@objc public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
707
|
+
@objc public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
674
708
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
675
|
-
@objc public func
|
|
709
|
+
@objc public func getPseudoBuffer(_ flags: Swift.UInt16) -> Foundation.NSMutableData?
|
|
676
710
|
#endif
|
|
677
|
-
@objc public func
|
|
711
|
+
@objc public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Foundation.NSMutableData
|
|
712
|
+
public func hasPseudoSetFor(_ key: Mason.StateKeys) -> Swift.Bool
|
|
713
|
+
public func hasPseudoSetInBuffer(_ flags: Swift.UInt16, _ key: Mason.StateKeys) -> Swift.Bool
|
|
714
|
+
public func getPseudoSetFlags(_ flags: Swift.UInt16) -> Mason.StateKeys
|
|
715
|
+
public static func markPseudoSet(buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, key: Mason.StateKeys)
|
|
716
|
+
public static func markPseudoSet(_ buf: Foundation.NSMutableData, _ key: Mason.StateKeys)
|
|
678
717
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
679
718
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
680
719
|
@objc public var parent: Mason.MasonNode? {
|
|
@@ -716,36 +755,6 @@ extension Mason.MasonNode {
|
|
|
716
755
|
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
717
756
|
@objc dynamic public func removeAllChildren()
|
|
718
757
|
}
|
|
719
|
-
@objc(PseudoState) public enum PseudoState : Swift.UInt16 {
|
|
720
|
-
case `default` = 0
|
|
721
|
-
case hover = 0x01
|
|
722
|
-
case active = 0x02
|
|
723
|
-
case focus = 0x04
|
|
724
|
-
case focusWithin = 0x08
|
|
725
|
-
case focusVisible = 0x10
|
|
726
|
-
case disabled = 0x40
|
|
727
|
-
case checked = 0x80
|
|
728
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
729
|
-
public init?(rawValue: Swift.UInt16)
|
|
730
|
-
#endif
|
|
731
|
-
public typealias RawValue = Swift.UInt16
|
|
732
|
-
public var rawValue: Swift.UInt16 {
|
|
733
|
-
get
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
extension Mason.MasonNode {
|
|
737
|
-
@objc dynamic public var pseudoMask: Swift.UInt16 {
|
|
738
|
-
@objc get
|
|
739
|
-
}
|
|
740
|
-
@objc dynamic public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
741
|
-
@objc dynamic public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
742
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
743
|
-
public func getPseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeBufferPointer<Swift.UInt8>?
|
|
744
|
-
#endif
|
|
745
|
-
public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeMutableBufferPointer<Swift.UInt8>
|
|
746
|
-
public func hasPseudoSetFor(_ key: Mason.StateKeys) -> Swift.Bool
|
|
747
|
-
public static func markPseudoSet(_ buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, _ key: Mason.StateKeys)
|
|
748
|
-
}
|
|
749
758
|
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
750
759
|
@objc var style: Mason.MasonStyle { get }
|
|
751
760
|
@objc var node: Mason.MasonNode { get }
|
|
@@ -1315,7 +1324,38 @@ public struct MasonNodeView {
|
|
|
1315
1324
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
1316
1325
|
@objc deinit
|
|
1317
1326
|
}
|
|
1318
|
-
@
|
|
1327
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextArea) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonTextArea : Mason.MasonTextInput, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1328
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1329
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1330
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1331
|
+
@objc get
|
|
1332
|
+
}
|
|
1333
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1334
|
+
@objc get
|
|
1335
|
+
}
|
|
1336
|
+
@objc @_Concurrency.MainActor @preconcurrency public var rows: Swift.Int {
|
|
1337
|
+
@objc get
|
|
1338
|
+
@objc set
|
|
1339
|
+
}
|
|
1340
|
+
@objc @_Concurrency.MainActor @preconcurrency public var cols: Swift.Int {
|
|
1341
|
+
@objc get
|
|
1342
|
+
@objc set
|
|
1343
|
+
}
|
|
1344
|
+
@objc @_Concurrency.MainActor @preconcurrency public var name: Swift.String
|
|
1345
|
+
@objc @_Concurrency.MainActor @preconcurrency public var maxLength: Swift.Int
|
|
1346
|
+
@objc @_Concurrency.MainActor @preconcurrency public var value: Swift.String {
|
|
1347
|
+
@objc get
|
|
1348
|
+
@objc set
|
|
1349
|
+
}
|
|
1350
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason doc: Mason.NSCMason)
|
|
1351
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1352
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1353
|
+
#endif
|
|
1354
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
1355
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
1356
|
+
@_Concurrency.MainActor @preconcurrency @objc override public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
1357
|
+
@objc @_Concurrency.MainActor @preconcurrency public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
1358
|
+
@_Concurrency.MainActor @preconcurrency @objc override public func textView(_ textView: UIKit.UITextView, shouldChangeTextIn range: Foundation.NSRange, replacementText text: Swift.String) -> Swift.Bool
|
|
1319
1359
|
@objc deinit
|
|
1320
1360
|
}
|
|
1321
1361
|
@objc(NSCFontFaceSetStatus) public enum NSCFontFaceSetStatus : Swift.Int, Swift.RawRepresentable {
|
|
@@ -2528,7 +2568,11 @@ extension UIKit.UIImage {
|
|
|
2528
2568
|
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2529
2569
|
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2530
2570
|
}
|
|
2531
|
-
@
|
|
2571
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonTextInput) @_Concurrency.MainActor @preconcurrency public class MasonTextInput : UIKit.UITextView, UIKit.UITextViewDelegate {
|
|
2572
|
+
@objc @_Concurrency.MainActor @preconcurrency public var placeholder: Swift.String? {
|
|
2573
|
+
@objc get
|
|
2574
|
+
@objc set
|
|
2575
|
+
}
|
|
2532
2576
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
2533
2577
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var text: Swift.String! {
|
|
2534
2578
|
@objc get
|
|
@@ -2554,6 +2598,7 @@ extension UIKit.UIImage {
|
|
|
2554
2598
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2555
2599
|
@objc deinit
|
|
2556
2600
|
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
2601
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidBeginEditing(_ textView: UIKit.UITextView)
|
|
2557
2602
|
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidEndEditing(_ textView: UIKit.UITextView)
|
|
2558
2603
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
2559
2604
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func paste(_ sender: Any?)
|