@triniwiz/nativescript-masonkit 1.0.0-beta.66 → 1.0.0-beta.68
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 +46 -0
- package/button/index.android.js +0 -1
- package/button/index.android.js.map +1 -1
- package/button/index.ios.js +6 -3
- package/button/index.ios.js.map +1 -1
- package/common.d.ts +40 -2
- package/common.js +173 -25
- 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/li/index.ios.js +7 -4
- package/li/index.ios.js.map +1 -1
- package/package.json +6 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +97 -12
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +46 -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 +17963 -13015
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +544 -358
- 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 +544 -358
- 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 +8589 -8290
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +194 -24
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +46 -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 +17963 -13015
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +544 -358
- 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 +544 -358
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17963 -13015
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +544 -358
- 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 +544 -358
- 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 +8584 -8285
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +8236 -7949
- package/properties.d.ts +13 -1
- package/properties.js +66 -1
- package/properties.js.map +1 -1
- package/pseudo.d.ts +9 -0
- package/pseudo.js +58 -0
- package/pseudo.js.map +1 -0
- package/scroll/index.ios.d.ts +5 -3
- package/scroll/index.ios.js +53 -19
- package/scroll/index.ios.js.map +1 -1
- package/style.d.ts +138 -8
- package/style.js +619 -538
- package/style.js.map +1 -1
- package/symbols.d.ts +1 -0
- package/symbols.js +1 -0
- package/symbols.js.map +1 -1
- package/text/index.android.js +3 -2
- package/text/index.android.js.map +1 -1
- package/text/index.ios.d.ts +2 -1
- package/text/index.ios.js +36 -14
- package/text/index.ios.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.d.ts +1 -0
- package/view/index.ios.js +44 -21
- package/view/index.ios.js.map +1 -1
|
@@ -10,6 +10,7 @@ import Foundation
|
|
|
10
10
|
@_exported import Mason
|
|
11
11
|
import MetalKit
|
|
12
12
|
import MetalPerformanceShaders
|
|
13
|
+
import QuartzCore
|
|
13
14
|
import Swift
|
|
14
15
|
import UIKit
|
|
15
16
|
import UniformTypeIdentifiers
|
|
@@ -241,7 +242,7 @@ final public class CSSBorderRenderer {
|
|
|
241
242
|
}
|
|
242
243
|
public static func == (a: Mason.CSSBorderRenderer.CornerRadius, b: Mason.CSSBorderRenderer.CornerRadius) -> Swift.Bool
|
|
243
244
|
}
|
|
244
|
-
public struct BorderRadius {
|
|
245
|
+
public struct BorderRadius : Swift.Equatable {
|
|
245
246
|
public var topLeft: Mason.CSSBorderRenderer.CornerRadius
|
|
246
247
|
public var topRight: Mason.CSSBorderRenderer.CornerRadius
|
|
247
248
|
public var bottomRight: Mason.CSSBorderRenderer.CornerRadius
|
|
@@ -249,6 +250,7 @@ final public class CSSBorderRenderer {
|
|
|
249
250
|
public static var zero: Mason.CSSBorderRenderer.BorderRadius {
|
|
250
251
|
get
|
|
251
252
|
}
|
|
253
|
+
public static func == (a: Mason.CSSBorderRenderer.BorderRadius, b: Mason.CSSBorderRenderer.BorderRadius) -> Swift.Bool
|
|
252
254
|
}
|
|
253
255
|
final public var top: Mason.CSSBorderRenderer.BorderSide
|
|
254
256
|
final public var right: Mason.CSSBorderRenderer.BorderSide
|
|
@@ -290,6 +292,9 @@ final public class CSSBorderRenderer {
|
|
|
290
292
|
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
291
293
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
292
294
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
295
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
296
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
297
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
293
298
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
294
299
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
295
300
|
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
@@ -312,6 +317,213 @@ extension Mason.Button {
|
|
|
312
317
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
313
318
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
314
319
|
#endif
|
|
320
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
321
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
|
|
322
|
+
#endif
|
|
323
|
+
}
|
|
324
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
325
|
+
case None
|
|
326
|
+
case P
|
|
327
|
+
case Span
|
|
328
|
+
case Code
|
|
329
|
+
case H1
|
|
330
|
+
case H2
|
|
331
|
+
case H3
|
|
332
|
+
case H4
|
|
333
|
+
case H5
|
|
334
|
+
case H6
|
|
335
|
+
case Li
|
|
336
|
+
case Blockquote
|
|
337
|
+
case B
|
|
338
|
+
case Pre
|
|
339
|
+
case Strong
|
|
340
|
+
case Em
|
|
341
|
+
case I
|
|
342
|
+
case A
|
|
343
|
+
public typealias RawValue = Swift.Int32
|
|
344
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
345
|
+
get
|
|
346
|
+
}
|
|
347
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
348
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
349
|
+
#endif
|
|
350
|
+
public var description: Swift.String {
|
|
351
|
+
get
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
public enum InlineSegmentPayload {
|
|
355
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
356
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
357
|
+
}
|
|
358
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
359
|
+
@objc override dynamic public init()
|
|
360
|
+
@objc override dynamic public init(layer: Any)
|
|
361
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
362
|
+
@objc deinit
|
|
363
|
+
}
|
|
364
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
365
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
366
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
367
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
368
|
+
@objc get
|
|
369
|
+
@objc set
|
|
370
|
+
}
|
|
371
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
372
|
+
@objc get
|
|
373
|
+
}
|
|
374
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
375
|
+
@objc get
|
|
376
|
+
}
|
|
377
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
378
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
379
|
+
@objc get
|
|
380
|
+
}
|
|
381
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
382
|
+
@objc get
|
|
383
|
+
}
|
|
384
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
385
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
386
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
387
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
388
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
389
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
390
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
391
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
392
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
393
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
394
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
395
|
+
get
|
|
396
|
+
set
|
|
397
|
+
}
|
|
398
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
399
|
+
@objc get
|
|
400
|
+
@objc set
|
|
401
|
+
}
|
|
402
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
403
|
+
@objc get
|
|
404
|
+
@objc set
|
|
405
|
+
}
|
|
406
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
407
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
408
|
+
@objc get
|
|
409
|
+
@objc set
|
|
410
|
+
}
|
|
411
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
412
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
413
|
+
@objc get
|
|
414
|
+
@objc set
|
|
415
|
+
}
|
|
416
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
417
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
418
|
+
@objc get
|
|
419
|
+
@objc set
|
|
420
|
+
}
|
|
421
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
422
|
+
@objc get
|
|
423
|
+
@objc set
|
|
424
|
+
}
|
|
425
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
426
|
+
@objc get
|
|
427
|
+
@objc set
|
|
428
|
+
}
|
|
429
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
430
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
431
|
+
@objc get
|
|
432
|
+
@objc set
|
|
433
|
+
}
|
|
434
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
435
|
+
@objc get
|
|
436
|
+
@objc set
|
|
437
|
+
}
|
|
438
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
439
|
+
@objc get
|
|
440
|
+
@objc set
|
|
441
|
+
}
|
|
442
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
443
|
+
@objc get
|
|
444
|
+
@objc set
|
|
445
|
+
}
|
|
446
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
447
|
+
@objc get
|
|
448
|
+
@objc set
|
|
449
|
+
}
|
|
450
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
451
|
+
@objc get
|
|
452
|
+
@objc set
|
|
453
|
+
}
|
|
454
|
+
@objc deinit
|
|
455
|
+
}
|
|
456
|
+
extension Mason.MasonText {
|
|
457
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
458
|
+
@objc @discardableResult
|
|
459
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
460
|
+
#endif
|
|
461
|
+
}
|
|
462
|
+
extension Mason.MasonText {
|
|
463
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
464
|
+
}
|
|
465
|
+
@objc public protocol MasonCharacterData {
|
|
466
|
+
@objc var data: Swift.String { get set }
|
|
467
|
+
@objc var length: Swift.Int { get }
|
|
468
|
+
@objc @discardableResult
|
|
469
|
+
func appendData(_ s: Swift.String) -> Self
|
|
470
|
+
@objc @discardableResult
|
|
471
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
472
|
+
@objc @discardableResult
|
|
473
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
474
|
+
@objc @discardableResult
|
|
475
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
476
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
477
|
+
@objc @discardableResult
|
|
478
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
479
|
+
@objc @discardableResult
|
|
480
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
481
|
+
}
|
|
482
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
483
|
+
@objc public var data: Swift.String {
|
|
484
|
+
@objc get
|
|
485
|
+
@objc set
|
|
486
|
+
}
|
|
487
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
488
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
489
|
+
#endif
|
|
490
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
491
|
+
@objc public var length: Swift.Int {
|
|
492
|
+
@objc get
|
|
493
|
+
}
|
|
494
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
495
|
+
@discardableResult
|
|
496
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
497
|
+
@discardableResult
|
|
498
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
499
|
+
@discardableResult
|
|
500
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
501
|
+
@discardableResult
|
|
502
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
503
|
+
@discardableResult
|
|
504
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
505
|
+
@discardableResult
|
|
506
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
507
|
+
@objc deinit
|
|
508
|
+
}
|
|
509
|
+
extension Mason.MasonTextNode {
|
|
510
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
511
|
+
}
|
|
512
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
513
|
+
@objc var engine: Mason.TextEngine { get }
|
|
514
|
+
@objc var node: Mason.MasonNode { get }
|
|
515
|
+
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
516
|
+
}
|
|
517
|
+
extension Mason.TextContainer {
|
|
518
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
519
|
+
}
|
|
520
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
521
|
+
public var textContent: Swift.String {
|
|
522
|
+
get
|
|
523
|
+
set
|
|
524
|
+
}
|
|
525
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
526
|
+
@objc deinit
|
|
315
527
|
}
|
|
316
528
|
@_inheritsConvenienceInitializers @objc(NSCMason) @objcMembers public class NSCMason : ObjectiveC.NSObject {
|
|
317
529
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
@@ -356,11 +568,18 @@ extension Mason.Button {
|
|
|
356
568
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
357
569
|
@objc public func createTextNode() -> Mason.MasonNode
|
|
358
570
|
@objc public func createImageNode() -> Mason.MasonNode
|
|
571
|
+
@objc public func createButtonNode() -> Mason.MasonNode
|
|
359
572
|
@objc public func createLineBreakNode() -> Mason.MasonNode
|
|
360
573
|
@objc public func createListView(isOrdered: Swift.Bool = false) -> Mason.MasonList
|
|
361
574
|
public func createListItemNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
362
575
|
@objc public func createListItemNode() -> Mason.MasonNode
|
|
363
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
|
+
}
|
|
582
|
+
@objc public static let scale: Swift.Float
|
|
364
583
|
}
|
|
365
584
|
@_inheritsConvenienceInitializers @objcMembers @objc(MeasureOutput) public class MeasureOutput : ObjectiveC.NSObject {
|
|
366
585
|
@objc override dynamic public init()
|
|
@@ -442,6 +661,23 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
442
661
|
public init?(rawValue: Swift.Int32)
|
|
443
662
|
#endif
|
|
444
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
|
+
}
|
|
445
681
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
446
682
|
@objc public var mason: Mason.NSCMason {
|
|
447
683
|
get
|
|
@@ -454,15 +690,30 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
454
690
|
@objc public var computedLayout: Mason.MasonLayout {
|
|
455
691
|
get
|
|
456
692
|
}
|
|
693
|
+
@objc public var isLayoutValid: Swift.Bool
|
|
457
694
|
@objc public var document: Mason.MasonDocument? {
|
|
458
695
|
get
|
|
459
696
|
}
|
|
460
697
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
461
|
-
@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)
|
|
462
708
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
463
|
-
@objc public func
|
|
709
|
+
@objc public func getPseudoBuffer(_ flags: Swift.UInt16) -> Foundation.NSMutableData?
|
|
464
710
|
#endif
|
|
465
|
-
@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)
|
|
466
717
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
467
718
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
468
719
|
@objc public var parent: Mason.MasonNode? {
|
|
@@ -502,336 +753,106 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
502
753
|
extension Mason.MasonNode {
|
|
503
754
|
@objc dynamic public func setChildren(value: [Mason.MasonNode])
|
|
504
755
|
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
505
|
-
@objc dynamic public func removeAllChildren()
|
|
506
|
-
}
|
|
507
|
-
@objc(PseudoState) public enum PseudoState : Swift.UInt16 {
|
|
508
|
-
case `default` = 0
|
|
509
|
-
case hover = 0x01
|
|
510
|
-
case active = 0x02
|
|
511
|
-
case focus = 0x04
|
|
512
|
-
case focusWithin = 0x08
|
|
513
|
-
case focusVisible = 0x10
|
|
514
|
-
case disabled = 0x40
|
|
515
|
-
case checked = 0x80
|
|
516
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
517
|
-
public init?(rawValue: Swift.UInt16)
|
|
518
|
-
#endif
|
|
519
|
-
public typealias RawValue = Swift.UInt16
|
|
520
|
-
public var rawValue: Swift.UInt16 {
|
|
521
|
-
get
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
extension Mason.MasonNode {
|
|
525
|
-
@objc dynamic public var pseudoMask: Swift.UInt16 {
|
|
526
|
-
@objc get
|
|
527
|
-
}
|
|
528
|
-
@objc dynamic public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
529
|
-
@objc dynamic public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
530
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
531
|
-
public func getPseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeBufferPointer<Swift.UInt8>?
|
|
532
|
-
#endif
|
|
533
|
-
public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Swift.UnsafeMutableBufferPointer<Swift.UInt8>
|
|
534
|
-
public static func markPseudoSet(_ buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, _ key: Mason.StateKeys)
|
|
535
|
-
}
|
|
536
|
-
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
537
|
-
@objc var style: Mason.MasonStyle { get }
|
|
538
|
-
@objc var node: Mason.MasonNode { get }
|
|
539
|
-
@objc var uiView: UIKit.UIView { get }
|
|
540
|
-
}
|
|
541
|
-
public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
542
|
-
var style: Mason.MasonStyle { get }
|
|
543
|
-
var node: Mason.MasonNode { get }
|
|
544
|
-
var uiView: UIKit.UIView { get }
|
|
545
|
-
var innerHTML: Swift.String { get set }
|
|
546
|
-
func markNodeDirty()
|
|
547
|
-
func isNodeDirty() -> Swift.Bool
|
|
548
|
-
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
549
|
-
@discardableResult
|
|
550
|
-
func layout() -> Mason.MasonLayout
|
|
551
|
-
func compute()
|
|
552
|
-
func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
553
|
-
func computeMaxContent()
|
|
554
|
-
func computeMinContent()
|
|
555
|
-
func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
556
|
-
func computeWithViewSize()
|
|
557
|
-
func computeWithViewSize(layout: Swift.Bool)
|
|
558
|
-
func computeWithMaxContent()
|
|
559
|
-
func computeWithMinContent()
|
|
560
|
-
func attachAndApply()
|
|
561
|
-
func requestLayout()
|
|
562
|
-
func append(_ element: any Mason.MasonElement)
|
|
563
|
-
func append(text: Swift.String)
|
|
564
|
-
func append(node: Mason.MasonNode)
|
|
565
|
-
func append(texts: [Swift.String])
|
|
566
|
-
func append(elements: [any Mason.MasonElement])
|
|
567
|
-
func append(nodes: [Mason.MasonNode])
|
|
568
|
-
func prepend(_ element: any Mason.MasonElement)
|
|
569
|
-
func prepend(string: Swift.String)
|
|
570
|
-
func prepend(node: Mason.MasonNode)
|
|
571
|
-
func prepend(strings: [Swift.String])
|
|
572
|
-
func prepend(elements: [any Mason.MasonElement])
|
|
573
|
-
func prepend(nodes: [Mason.MasonNode])
|
|
574
|
-
func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
575
|
-
func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
576
|
-
func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
577
|
-
func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
578
|
-
func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
579
|
-
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
580
|
-
}
|
|
581
|
-
extension Mason.MasonElement {
|
|
582
|
-
public var innerHTML: Swift.String {
|
|
583
|
-
get
|
|
584
|
-
set
|
|
585
|
-
}
|
|
586
|
-
public func dispatch(_ event: Mason.MasonEvent)
|
|
587
|
-
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
588
|
-
public func syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
589
|
-
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
590
|
-
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
591
|
-
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
592
|
-
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
593
|
-
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
594
|
-
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
595
|
-
public func removeAllChildren()
|
|
596
|
-
public var style: Mason.MasonStyle {
|
|
597
|
-
get
|
|
598
|
-
}
|
|
599
|
-
public func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
600
|
-
public func requestLayout()
|
|
601
|
-
public func invalidate(markDirty: Swift.Bool = false)
|
|
602
|
-
public func invalidateLayout()
|
|
603
|
-
public func addView(_ view: UIKit.UIView)
|
|
604
|
-
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
605
|
-
public func autoComputeIfRoot()
|
|
606
|
-
public func append(_ element: any Mason.MasonElement)
|
|
607
|
-
public func append(text: Swift.String)
|
|
608
|
-
public func append(node childNode: Mason.MasonNode)
|
|
609
|
-
public func append(texts: [Swift.String])
|
|
610
|
-
public func append(nodes: [Mason.MasonNode])
|
|
611
|
-
public func append(elements: [any Mason.MasonElement])
|
|
612
|
-
public func markNodeDirty()
|
|
613
|
-
public func isNodeDirty() -> Swift.Bool
|
|
614
|
-
@discardableResult
|
|
615
|
-
public func layout() -> Mason.MasonLayout
|
|
616
|
-
public func compute()
|
|
617
|
-
public func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
618
|
-
public func computeMaxContent()
|
|
619
|
-
public func computeMinContent()
|
|
620
|
-
public func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
621
|
-
public func computeWithViewSize()
|
|
622
|
-
public func computeWithViewSize(layout: Swift.Bool)
|
|
623
|
-
public func computeWithMaxContent()
|
|
624
|
-
public func computeWithMinContent()
|
|
625
|
-
public func attachAndApply()
|
|
626
|
-
}
|
|
627
|
-
extension Mason.MasonElement {
|
|
628
|
-
public func prepend(_ element: any Mason.MasonElement)
|
|
629
|
-
public func prepend(string: Swift.String)
|
|
630
|
-
public func prepend(node childNode: Mason.MasonNode)
|
|
631
|
-
public func prepend(strings: [Swift.String])
|
|
632
|
-
public func prepend(elements: [any Mason.MasonElement])
|
|
633
|
-
public func prepend(nodes: [Mason.MasonNode])
|
|
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
|
|
756
|
+
@objc dynamic public func removeAllChildren()
|
|
819
757
|
}
|
|
820
|
-
@objc
|
|
821
|
-
@objc var
|
|
758
|
+
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
759
|
+
@objc var style: Mason.MasonStyle { get }
|
|
822
760
|
@objc var node: Mason.MasonNode { get }
|
|
823
|
-
@objc
|
|
761
|
+
@objc var uiView: UIKit.UIView { get }
|
|
824
762
|
}
|
|
825
|
-
|
|
826
|
-
|
|
763
|
+
public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
764
|
+
var style: Mason.MasonStyle { get }
|
|
765
|
+
var node: Mason.MasonNode { get }
|
|
766
|
+
var uiView: UIKit.UIView { get }
|
|
767
|
+
var innerHTML: Swift.String { get set }
|
|
768
|
+
func markNodeDirty()
|
|
769
|
+
func isNodeDirty() -> Swift.Bool
|
|
770
|
+
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
771
|
+
@discardableResult
|
|
772
|
+
func layout() -> Mason.MasonLayout
|
|
773
|
+
func compute()
|
|
774
|
+
func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
775
|
+
func computeMaxContent()
|
|
776
|
+
func computeMinContent()
|
|
777
|
+
func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
778
|
+
func computeWithViewSize()
|
|
779
|
+
func computeWithViewSize(layout: Swift.Bool)
|
|
780
|
+
func computeWithMaxContent()
|
|
781
|
+
func computeWithMinContent()
|
|
782
|
+
func attachAndApply()
|
|
783
|
+
func requestLayout()
|
|
784
|
+
func append(_ element: any Mason.MasonElement)
|
|
785
|
+
func append(text: Swift.String)
|
|
786
|
+
func append(node: Mason.MasonNode)
|
|
787
|
+
func append(texts: [Swift.String])
|
|
788
|
+
func append(elements: [any Mason.MasonElement])
|
|
789
|
+
func append(nodes: [Mason.MasonNode])
|
|
790
|
+
func prepend(_ element: any Mason.MasonElement)
|
|
791
|
+
func prepend(string: Swift.String)
|
|
792
|
+
func prepend(node: Mason.MasonNode)
|
|
793
|
+
func prepend(strings: [Swift.String])
|
|
794
|
+
func prepend(elements: [any Mason.MasonElement])
|
|
795
|
+
func prepend(nodes: [Mason.MasonNode])
|
|
796
|
+
func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
797
|
+
func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
798
|
+
func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
799
|
+
func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
800
|
+
func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
801
|
+
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
827
802
|
}
|
|
828
|
-
|
|
829
|
-
public var
|
|
803
|
+
extension Mason.MasonElement {
|
|
804
|
+
public var innerHTML: Swift.String {
|
|
830
805
|
get
|
|
831
806
|
set
|
|
832
807
|
}
|
|
833
|
-
public func
|
|
834
|
-
|
|
808
|
+
public func dispatch(_ event: Mason.MasonEvent)
|
|
809
|
+
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
810
|
+
public func syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
811
|
+
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
812
|
+
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
813
|
+
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
814
|
+
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
815
|
+
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
816
|
+
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
817
|
+
public func removeAllChildren()
|
|
818
|
+
public var style: Mason.MasonStyle {
|
|
819
|
+
get
|
|
820
|
+
}
|
|
821
|
+
public func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
822
|
+
public func requestLayout()
|
|
823
|
+
public func invalidate(markDirty: Swift.Bool = false)
|
|
824
|
+
public func invalidateLayout()
|
|
825
|
+
public func addView(_ view: UIKit.UIView)
|
|
826
|
+
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
827
|
+
public func autoComputeIfRoot()
|
|
828
|
+
public func append(_ element: any Mason.MasonElement)
|
|
829
|
+
public func append(text: Swift.String)
|
|
830
|
+
public func append(node childNode: Mason.MasonNode)
|
|
831
|
+
public func append(texts: [Swift.String])
|
|
832
|
+
public func append(nodes: [Mason.MasonNode])
|
|
833
|
+
public func append(elements: [any Mason.MasonElement])
|
|
834
|
+
public func markNodeDirty()
|
|
835
|
+
public func isNodeDirty() -> Swift.Bool
|
|
836
|
+
@discardableResult
|
|
837
|
+
public func layout() -> Mason.MasonLayout
|
|
838
|
+
public func compute()
|
|
839
|
+
public func compute(_ width: Swift.Float, _ height: Swift.Float)
|
|
840
|
+
public func computeMaxContent()
|
|
841
|
+
public func computeMinContent()
|
|
842
|
+
public func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
843
|
+
public func computeWithViewSize()
|
|
844
|
+
public func computeWithViewSize(layout: Swift.Bool)
|
|
845
|
+
public func computeWithMaxContent()
|
|
846
|
+
public func computeWithMinContent()
|
|
847
|
+
public func attachAndApply()
|
|
848
|
+
}
|
|
849
|
+
extension Mason.MasonElement {
|
|
850
|
+
public func prepend(_ element: any Mason.MasonElement)
|
|
851
|
+
public func prepend(string: Swift.String)
|
|
852
|
+
public func prepend(node childNode: Mason.MasonNode)
|
|
853
|
+
public func prepend(strings: [Swift.String])
|
|
854
|
+
public func prepend(elements: [any Mason.MasonElement])
|
|
855
|
+
public func prepend(nodes: [Mason.MasonNode])
|
|
835
856
|
}
|
|
836
857
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MinSizing) public class MinSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
837
858
|
@objc public var value: Swift.Float {
|
|
@@ -1303,6 +1324,40 @@ public struct MasonNodeView {
|
|
|
1303
1324
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
1304
1325
|
@objc deinit
|
|
1305
1326
|
}
|
|
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
|
|
1359
|
+
@objc deinit
|
|
1360
|
+
}
|
|
1306
1361
|
@objc(NSCFontFaceSetStatus) public enum NSCFontFaceSetStatus : Swift.Int, Swift.RawRepresentable {
|
|
1307
1362
|
case loading
|
|
1308
1363
|
case loaded
|
|
@@ -1521,66 +1576,66 @@ public struct StyleKeys {
|
|
|
1521
1576
|
public static let JUSTIFY_SELF: Swift.Int
|
|
1522
1577
|
public static let JUSTIFY_CONTENT: Swift.Int
|
|
1523
1578
|
public static let INSET_LEFT_TYPE: Swift.Int
|
|
1524
|
-
public static let INSET_LEFT_VALUE: Swift.Int
|
|
1525
1579
|
public static let INSET_RIGHT_TYPE: Swift.Int
|
|
1526
|
-
public static let INSET_RIGHT_VALUE: Swift.Int
|
|
1527
1580
|
public static let INSET_TOP_TYPE: Swift.Int
|
|
1528
|
-
public static let INSET_TOP_VALUE: Swift.Int
|
|
1529
1581
|
public static let INSET_BOTTOM_TYPE: Swift.Int
|
|
1582
|
+
public static let INSET_LEFT_VALUE: Swift.Int
|
|
1583
|
+
public static let INSET_RIGHT_VALUE: Swift.Int
|
|
1584
|
+
public static let INSET_TOP_VALUE: Swift.Int
|
|
1530
1585
|
public static let INSET_BOTTOM_VALUE: Swift.Int
|
|
1531
1586
|
public static let MARGIN_LEFT_TYPE: Swift.Int
|
|
1532
|
-
public static let MARGIN_LEFT_VALUE: Swift.Int
|
|
1533
1587
|
public static let MARGIN_RIGHT_TYPE: Swift.Int
|
|
1534
|
-
public static let MARGIN_RIGHT_VALUE: Swift.Int
|
|
1535
1588
|
public static let MARGIN_TOP_TYPE: Swift.Int
|
|
1536
|
-
public static let MARGIN_TOP_VALUE: Swift.Int
|
|
1537
1589
|
public static let MARGIN_BOTTOM_TYPE: Swift.Int
|
|
1590
|
+
public static let MARGIN_LEFT_VALUE: Swift.Int
|
|
1591
|
+
public static let MARGIN_RIGHT_VALUE: Swift.Int
|
|
1592
|
+
public static let MARGIN_TOP_VALUE: Swift.Int
|
|
1538
1593
|
public static let MARGIN_BOTTOM_VALUE: Swift.Int
|
|
1539
1594
|
public static let PADDING_LEFT_TYPE: Swift.Int
|
|
1540
|
-
public static let PADDING_LEFT_VALUE: Swift.Int
|
|
1541
1595
|
public static let PADDING_RIGHT_TYPE: Swift.Int
|
|
1542
|
-
public static let PADDING_RIGHT_VALUE: Swift.Int
|
|
1543
1596
|
public static let PADDING_TOP_TYPE: Swift.Int
|
|
1544
|
-
public static let PADDING_TOP_VALUE: Swift.Int
|
|
1545
1597
|
public static let PADDING_BOTTOM_TYPE: Swift.Int
|
|
1598
|
+
public static let PADDING_LEFT_VALUE: Swift.Int
|
|
1599
|
+
public static let PADDING_RIGHT_VALUE: Swift.Int
|
|
1600
|
+
public static let PADDING_TOP_VALUE: Swift.Int
|
|
1546
1601
|
public static let PADDING_BOTTOM_VALUE: Swift.Int
|
|
1547
1602
|
public static let BORDER_LEFT_TYPE: Swift.Int
|
|
1548
|
-
public static let BORDER_LEFT_VALUE: Swift.Int
|
|
1549
1603
|
public static let BORDER_RIGHT_TYPE: Swift.Int
|
|
1550
|
-
public static let BORDER_RIGHT_VALUE: Swift.Int
|
|
1551
1604
|
public static let BORDER_TOP_TYPE: Swift.Int
|
|
1552
|
-
public static let BORDER_TOP_VALUE: Swift.Int
|
|
1553
1605
|
public static let BORDER_BOTTOM_TYPE: Swift.Int
|
|
1606
|
+
public static let BORDER_LEFT_VALUE: Swift.Int
|
|
1607
|
+
public static let BORDER_RIGHT_VALUE: Swift.Int
|
|
1608
|
+
public static let BORDER_TOP_VALUE: Swift.Int
|
|
1554
1609
|
public static let BORDER_BOTTOM_VALUE: Swift.Int
|
|
1555
1610
|
public static let FLEX_GROW: Swift.Int
|
|
1556
1611
|
public static let FLEX_SHRINK: Swift.Int
|
|
1557
1612
|
public static let FLEX_BASIS_TYPE: Swift.Int
|
|
1558
1613
|
public static let FLEX_BASIS_VALUE: Swift.Int
|
|
1559
1614
|
public static let WIDTH_TYPE: Swift.Int
|
|
1560
|
-
public static let WIDTH_VALUE: Swift.Int
|
|
1561
1615
|
public static let HEIGHT_TYPE: Swift.Int
|
|
1616
|
+
public static let WIDTH_VALUE: Swift.Int
|
|
1562
1617
|
public static let HEIGHT_VALUE: Swift.Int
|
|
1563
1618
|
public static let MIN_WIDTH_TYPE: Swift.Int
|
|
1564
|
-
public static let MIN_WIDTH_VALUE: Swift.Int
|
|
1565
1619
|
public static let MIN_HEIGHT_TYPE: Swift.Int
|
|
1620
|
+
public static let MIN_WIDTH_VALUE: Swift.Int
|
|
1566
1621
|
public static let MIN_HEIGHT_VALUE: Swift.Int
|
|
1567
1622
|
public static let MAX_WIDTH_TYPE: Swift.Int
|
|
1568
|
-
public static let MAX_WIDTH_VALUE: Swift.Int
|
|
1569
1623
|
public static let MAX_HEIGHT_TYPE: Swift.Int
|
|
1624
|
+
public static let MAX_WIDTH_VALUE: Swift.Int
|
|
1570
1625
|
public static let MAX_HEIGHT_VALUE: Swift.Int
|
|
1571
1626
|
public static let GAP_ROW_TYPE: Swift.Int
|
|
1572
|
-
public static let GAP_ROW_VALUE: Swift.Int
|
|
1573
1627
|
public static let GAP_COLUMN_TYPE: Swift.Int
|
|
1628
|
+
public static let GAP_ROW_VALUE: Swift.Int
|
|
1574
1629
|
public static let GAP_COLUMN_VALUE: Swift.Int
|
|
1575
1630
|
public static let ASPECT_RATIO: Swift.Int
|
|
1576
1631
|
public static let GRID_AUTO_FLOW: Swift.Int
|
|
1577
1632
|
public static let GRID_COLUMN_START_TYPE: Swift.Int
|
|
1578
|
-
public static let GRID_COLUMN_START_VALUE: Swift.Int
|
|
1579
1633
|
public static let GRID_COLUMN_END_TYPE: Swift.Int
|
|
1580
|
-
public static let GRID_COLUMN_END_VALUE: Swift.Int
|
|
1581
1634
|
public static let GRID_ROW_START_TYPE: Swift.Int
|
|
1582
|
-
public static let GRID_ROW_START_VALUE: Swift.Int
|
|
1583
1635
|
public static let GRID_ROW_END_TYPE: Swift.Int
|
|
1636
|
+
public static let GRID_COLUMN_START_VALUE: Swift.Int
|
|
1637
|
+
public static let GRID_COLUMN_END_VALUE: Swift.Int
|
|
1638
|
+
public static let GRID_ROW_START_VALUE: Swift.Int
|
|
1584
1639
|
public static let GRID_ROW_END_VALUE: Swift.Int
|
|
1585
1640
|
public static let SCROLLBAR_WIDTH: Swift.Int
|
|
1586
1641
|
public static let ALIGN: Swift.Int
|
|
@@ -1603,24 +1658,24 @@ public struct StyleKeys {
|
|
|
1603
1658
|
public static let BORDER_TOP_COLOR: Swift.Int
|
|
1604
1659
|
public static let BORDER_BOTTOM_COLOR: Swift.Int
|
|
1605
1660
|
public static let BORDER_RADIUS_TOP_LEFT_X_TYPE: Swift.Int
|
|
1606
|
-
public static let BORDER_RADIUS_TOP_LEFT_X_VALUE: Swift.Int
|
|
1607
1661
|
public static let BORDER_RADIUS_TOP_LEFT_Y_TYPE: Swift.Int
|
|
1608
|
-
public static let BORDER_RADIUS_TOP_LEFT_Y_VALUE: Swift.Int
|
|
1609
|
-
public static let BORDER_RADIUS_TOP_LEFT_EXPONENT: Swift.Int
|
|
1610
1662
|
public static let BORDER_RADIUS_TOP_RIGHT_X_TYPE: Swift.Int
|
|
1611
|
-
public static let BORDER_RADIUS_TOP_RIGHT_X_VALUE: Swift.Int
|
|
1612
1663
|
public static let BORDER_RADIUS_TOP_RIGHT_Y_TYPE: Swift.Int
|
|
1613
|
-
public static let BORDER_RADIUS_TOP_RIGHT_Y_VALUE: Swift.Int
|
|
1614
|
-
public static let BORDER_RADIUS_TOP_RIGHT_EXPONENT: Swift.Int
|
|
1615
1664
|
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_TYPE: Swift.Int
|
|
1616
|
-
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_VALUE: Swift.Int
|
|
1617
1665
|
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_TYPE: Swift.Int
|
|
1618
|
-
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_VALUE: Swift.Int
|
|
1619
|
-
public static let BORDER_RADIUS_BOTTOM_RIGHT_EXPONENT: Swift.Int
|
|
1620
1666
|
public static let BORDER_RADIUS_BOTTOM_LEFT_X_TYPE: Swift.Int
|
|
1621
|
-
public static let BORDER_RADIUS_BOTTOM_LEFT_X_VALUE: Swift.Int
|
|
1622
1667
|
public static let BORDER_RADIUS_BOTTOM_LEFT_Y_TYPE: Swift.Int
|
|
1668
|
+
public static let BORDER_RADIUS_TOP_LEFT_X_VALUE: Swift.Int
|
|
1669
|
+
public static let BORDER_RADIUS_TOP_LEFT_Y_VALUE: Swift.Int
|
|
1670
|
+
public static let BORDER_RADIUS_TOP_RIGHT_X_VALUE: Swift.Int
|
|
1671
|
+
public static let BORDER_RADIUS_TOP_RIGHT_Y_VALUE: Swift.Int
|
|
1672
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_VALUE: Swift.Int
|
|
1673
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_VALUE: Swift.Int
|
|
1674
|
+
public static let BORDER_RADIUS_BOTTOM_LEFT_X_VALUE: Swift.Int
|
|
1623
1675
|
public static let BORDER_RADIUS_BOTTOM_LEFT_Y_VALUE: Swift.Int
|
|
1676
|
+
public static let BORDER_RADIUS_TOP_LEFT_EXPONENT: Swift.Int
|
|
1677
|
+
public static let BORDER_RADIUS_TOP_RIGHT_EXPONENT: Swift.Int
|
|
1678
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_EXPONENT: Swift.Int
|
|
1624
1679
|
public static let BORDER_RADIUS_BOTTOM_LEFT_EXPONENT: Swift.Int
|
|
1625
1680
|
public static let FLOAT: Swift.Int
|
|
1626
1681
|
public static let CLEAR: Swift.Int
|
|
@@ -1692,6 +1747,38 @@ public struct StyleKeys {
|
|
|
1692
1747
|
public static let FILTER_BRIGHTNESS_STATE: Swift.Int
|
|
1693
1748
|
public static let FONT_VARIANT_NUMERIC: Swift.Int
|
|
1694
1749
|
public static let FONT_VARIANT_NUMERIC_STATE: Swift.Int
|
|
1750
|
+
public static let TRANSFORM_COUNT: Swift.Int
|
|
1751
|
+
public static let TRANSFORM_FLAGS: Swift.Int
|
|
1752
|
+
public static let TRANSFORM_OP_0: Swift.Int
|
|
1753
|
+
public static let TRANSFORM_OP_1: Swift.Int
|
|
1754
|
+
public static let TRANSFORM_OP_2: Swift.Int
|
|
1755
|
+
public static let TRANSFORM_OP_3: Swift.Int
|
|
1756
|
+
public static let TRANSFORM_OP_4: Swift.Int
|
|
1757
|
+
public static let TRANSFORM_OP_5: Swift.Int
|
|
1758
|
+
public static let TRANSFORM_MATRIX: Swift.Int
|
|
1759
|
+
public static let TRANSFORM_OP_SIZE: Swift.Int
|
|
1760
|
+
public static let MAX_INLINE_TRANSFORM_OPS: Swift.Int
|
|
1761
|
+
public static let TRANSFORM_FLAG_HAS_MATRIX: Swift.UInt8
|
|
1762
|
+
public static let TRANSFORM_FLAG_IS_3D: Swift.UInt8
|
|
1763
|
+
}
|
|
1764
|
+
@objc public enum TransformOpType : Swift.UInt8 {
|
|
1765
|
+
case none = 0
|
|
1766
|
+
case translate = 1
|
|
1767
|
+
case translateX = 2
|
|
1768
|
+
case translateY = 3
|
|
1769
|
+
case scale = 4
|
|
1770
|
+
case scaleX = 5
|
|
1771
|
+
case scaleY = 6
|
|
1772
|
+
case rotate = 7
|
|
1773
|
+
case skewX = 8
|
|
1774
|
+
case skewY = 9
|
|
1775
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1776
|
+
public init?(rawValue: Swift.UInt8)
|
|
1777
|
+
#endif
|
|
1778
|
+
public typealias RawValue = Swift.UInt8
|
|
1779
|
+
public var rawValue: Swift.UInt8 {
|
|
1780
|
+
get
|
|
1781
|
+
}
|
|
1695
1782
|
}
|
|
1696
1783
|
public struct StateKeys : Swift.Equatable {
|
|
1697
1784
|
public let low: Swift.UInt64
|
|
@@ -2106,6 +2193,34 @@ public struct StateKeys : Swift.Equatable {
|
|
|
2106
2193
|
@objc get
|
|
2107
2194
|
@objc set
|
|
2108
2195
|
}
|
|
2196
|
+
@objc public var paddingCss: Swift.String {
|
|
2197
|
+
@objc get
|
|
2198
|
+
@objc set
|
|
2199
|
+
}
|
|
2200
|
+
@objc public var marginCss: Swift.String {
|
|
2201
|
+
@objc get
|
|
2202
|
+
@objc set
|
|
2203
|
+
}
|
|
2204
|
+
@objc public var insetCss: Swift.String {
|
|
2205
|
+
@objc get
|
|
2206
|
+
@objc set
|
|
2207
|
+
}
|
|
2208
|
+
@objc public var borderLeft: Swift.String {
|
|
2209
|
+
@objc get
|
|
2210
|
+
@objc set
|
|
2211
|
+
}
|
|
2212
|
+
@objc public var borderTop: Swift.String {
|
|
2213
|
+
@objc get
|
|
2214
|
+
@objc set
|
|
2215
|
+
}
|
|
2216
|
+
@objc public var borderRight: Swift.String {
|
|
2217
|
+
@objc get
|
|
2218
|
+
@objc set
|
|
2219
|
+
}
|
|
2220
|
+
@objc public var borderBottom: Swift.String {
|
|
2221
|
+
@objc get
|
|
2222
|
+
@objc set
|
|
2223
|
+
}
|
|
2109
2224
|
public var borderWidth: Mason.MasonRect<Mason.MasonLengthPercentage> {
|
|
2110
2225
|
get
|
|
2111
2226
|
set
|
|
@@ -2189,6 +2304,7 @@ public struct StateKeys : Swift.Equatable {
|
|
|
2189
2304
|
public func setSizeWidth(_ width: Mason.MasonDimension)
|
|
2190
2305
|
public func setSizeHeight(_ height: Mason.MasonDimension)
|
|
2191
2306
|
@objc public func setSizeWidthHeight(_ value: Swift.Float, _ type: Swift.Int)
|
|
2307
|
+
@objc public func setSizePoints(_ width: Swift.Float, _ height: Swift.Float)
|
|
2192
2308
|
public var width: Mason.MasonDimension {
|
|
2193
2309
|
get
|
|
2194
2310
|
set
|
|
@@ -2242,6 +2358,10 @@ public struct StateKeys : Swift.Equatable {
|
|
|
2242
2358
|
@objc get
|
|
2243
2359
|
@objc set
|
|
2244
2360
|
}
|
|
2361
|
+
@objc public var transform: Swift.String {
|
|
2362
|
+
@objc get
|
|
2363
|
+
@objc set
|
|
2364
|
+
}
|
|
2245
2365
|
@objc public var gridAutoRows: Swift.String {
|
|
2246
2366
|
@objc get
|
|
2247
2367
|
@objc set
|
|
@@ -2448,6 +2568,47 @@ extension UIKit.UIImage {
|
|
|
2448
2568
|
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2449
2569
|
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2450
2570
|
}
|
|
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
|
+
}
|
|
2576
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2577
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var text: Swift.String! {
|
|
2578
|
+
@objc get
|
|
2579
|
+
@objc set
|
|
2580
|
+
}
|
|
2581
|
+
#endif
|
|
2582
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2583
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var attributedText: Foundation.NSAttributedString! {
|
|
2584
|
+
@objc get
|
|
2585
|
+
@objc set
|
|
2586
|
+
}
|
|
2587
|
+
#endif
|
|
2588
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2589
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var font: UIKit.UIFont? {
|
|
2590
|
+
@objc get
|
|
2591
|
+
@objc set
|
|
2592
|
+
}
|
|
2593
|
+
#endif
|
|
2594
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var textAlignment: UIKit.NSTextAlignment {
|
|
2595
|
+
@objc get
|
|
2596
|
+
@objc set
|
|
2597
|
+
}
|
|
2598
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2599
|
+
@objc deinit
|
|
2600
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
2601
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidBeginEditing(_ textView: UIKit.UITextView)
|
|
2602
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidEndEditing(_ textView: UIKit.UITextView)
|
|
2603
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2604
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func paste(_ sender: Any?)
|
|
2605
|
+
#endif
|
|
2606
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2607
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func cut(_ sender: Any?)
|
|
2608
|
+
#endif
|
|
2609
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textView(_ textView: UIKit.UITextView, shouldChangeTextIn range: Foundation.NSRange, replacementText text: Swift.String) -> Swift.Bool
|
|
2610
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func caretRect(for position: UIKit.UITextPosition) -> CoreFoundation.CGRect
|
|
2611
|
+
}
|
|
2451
2612
|
@objc @_inheritsConvenienceInitializers public class BackgroundCALayer : QuartzCore.CALayer {
|
|
2452
2613
|
@objc override dynamic public func draw(in ctx: CoreGraphics.CGContext)
|
|
2453
2614
|
public func invalidate()
|
|
@@ -2590,6 +2751,18 @@ public enum MasonDimension : Swift.Codable, Swift.Equatable {
|
|
|
2590
2751
|
case Auto
|
|
2591
2752
|
case Points(Swift.Float)
|
|
2592
2753
|
case Percent(Swift.Float)
|
|
2754
|
+
public enum Kind : Swift.RawRepresentable {
|
|
2755
|
+
case Auto
|
|
2756
|
+
case Points
|
|
2757
|
+
case Percent
|
|
2758
|
+
public typealias RawValue = Swift.Int8
|
|
2759
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2760
|
+
public init?(rawValue: Swift.Int8)
|
|
2761
|
+
#endif
|
|
2762
|
+
public var rawValue: Swift.Int8 {
|
|
2763
|
+
get
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2593
2766
|
public var cssValue: Swift.String {
|
|
2594
2767
|
get
|
|
2595
2768
|
}
|
|
@@ -3212,12 +3385,20 @@ public struct FontVariantNumeric : Swift.OptionSet, Swift.CustomStringConvertibl
|
|
|
3212
3385
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
3213
3386
|
@objc get
|
|
3214
3387
|
}
|
|
3388
|
+
@objc @_Concurrency.MainActor @preconcurrency public var contentSize: CoreFoundation.CGSize
|
|
3389
|
+
@objc @_Concurrency.MainActor @preconcurrency public var contentOffset: CoreFoundation.CGPoint {
|
|
3390
|
+
@objc get
|
|
3391
|
+
@objc set
|
|
3392
|
+
}
|
|
3215
3393
|
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
3216
3394
|
@objc get
|
|
3217
3395
|
}
|
|
3218
3396
|
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
3219
3397
|
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
3220
3398
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
3399
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
3400
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
|
|
3401
|
+
#endif
|
|
3221
3402
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
3222
3403
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
3223
3404
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
@@ -3496,15 +3677,18 @@ extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
|
3496
3677
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
3497
3678
|
extension Mason.CSSBorderRenderer.Side : Swift.Equatable {}
|
|
3498
3679
|
extension Mason.CSSBorderRenderer.Side : Swift.Hashable {}
|
|
3680
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3681
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3499
3682
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
3500
3683
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
3501
3684
|
extension Mason.PseudoState : Swift.Equatable {}
|
|
3502
3685
|
extension Mason.PseudoState : Swift.Hashable {}
|
|
3503
3686
|
extension Mason.PseudoState : Swift.RawRepresentable {}
|
|
3504
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3505
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3506
3687
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
3507
3688
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
3689
|
+
extension Mason.TransformOpType : Swift.Equatable {}
|
|
3690
|
+
extension Mason.TransformOpType : Swift.Hashable {}
|
|
3691
|
+
extension Mason.TransformOpType : Swift.RawRepresentable {}
|
|
3508
3692
|
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
3509
3693
|
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
3510
3694
|
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
@@ -3523,6 +3707,8 @@ extension Mason.Align : Swift.Equatable {}
|
|
|
3523
3707
|
extension Mason.Align : Swift.Hashable {}
|
|
3524
3708
|
extension Mason.TextAlign : Swift.Equatable {}
|
|
3525
3709
|
extension Mason.TextAlign : Swift.Hashable {}
|
|
3710
|
+
extension Mason.MasonDimension.Kind : Swift.Equatable {}
|
|
3711
|
+
extension Mason.MasonDimension.Kind : Swift.Hashable {}
|
|
3526
3712
|
extension Mason.AlignItems : Swift.Equatable {}
|
|
3527
3713
|
extension Mason.AlignItems : Swift.Hashable {}
|
|
3528
3714
|
extension Mason.AlignSelf : Swift.Equatable {}
|