@triniwiz/nativescript-masonkit 1.0.0-beta.5 → 1.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.js +5 -2
- package/common.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +5 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +1 -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 +20883 -20672
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +189 -188
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +189 -188
- 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 +3681 -3681
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +2 -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 +18394 -18183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +189 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +189 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +18394 -18183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +189 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +189 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +22 -22
- 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 +3678 -3674
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +3567 -3565
- package/style.js +2 -2
- package/style.js.map +1 -1
- package/text/index.android.js +1 -2
- package/text/index.android.js.map +1 -1
- package/view/index.ios.js.map +1 -1
|
@@ -276,6 +276,7 @@ extension Mason.Button {
|
|
|
276
276
|
@objc public func nodeForView(_ view: UIKit.UIView, _ isLeaf: Swift.Bool = true) -> Mason.MasonNode
|
|
277
277
|
@objc public func configureStyleForView(_ view: UIKit.UIView, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
278
278
|
@objc public func styleForView(_ view: UIKit.UIView) -> Mason.MasonStyle
|
|
279
|
+
@objc public func styleForViewOrNode(_ viewOrNode: Any?) -> Mason.MasonStyle?
|
|
279
280
|
@objc @discardableResult
|
|
280
281
|
public func layoutForView(_ view: UIKit.UIView) -> Mason.MasonLayout
|
|
281
282
|
@objc public func clear()
|
|
@@ -360,6 +361,192 @@ public let MasonLengthPercentageSizeMaxPercentWH: Mason.MasonSize<Mason.MasonLen
|
|
|
360
361
|
public let MasonDimensionSizeZero: Mason.MasonSize<Mason.MasonDimension>
|
|
361
362
|
public let MasonLengthPercentageAutoSizeZero: Mason.MasonSize<Mason.MasonLengthPercentageAuto>
|
|
362
363
|
public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPercentage>
|
|
364
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
365
|
+
@objc var engine: Mason.TextEngine { get }
|
|
366
|
+
@objc var node: Mason.MasonNode { get }
|
|
367
|
+
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
368
|
+
}
|
|
369
|
+
extension Mason.TextContainer {
|
|
370
|
+
public func onTextStyleChanged(change: Swift.Int64)
|
|
371
|
+
}
|
|
372
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
373
|
+
public var textContent: Swift.String {
|
|
374
|
+
get
|
|
375
|
+
set
|
|
376
|
+
}
|
|
377
|
+
@objc deinit
|
|
378
|
+
}
|
|
379
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
380
|
+
case None
|
|
381
|
+
case P
|
|
382
|
+
case Span
|
|
383
|
+
case Code
|
|
384
|
+
case H1
|
|
385
|
+
case H2
|
|
386
|
+
case H3
|
|
387
|
+
case H4
|
|
388
|
+
case H5
|
|
389
|
+
case H6
|
|
390
|
+
case Li
|
|
391
|
+
case Blockquote
|
|
392
|
+
case B
|
|
393
|
+
case Pre
|
|
394
|
+
public typealias RawValue = Swift.Int32
|
|
395
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
396
|
+
get
|
|
397
|
+
}
|
|
398
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
399
|
+
public var description: Swift.String {
|
|
400
|
+
get
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
public enum InlineSegmentPayload {
|
|
404
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
405
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
406
|
+
}
|
|
407
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
408
|
+
@objc override dynamic public init()
|
|
409
|
+
@objc override dynamic public init(layer: Any)
|
|
410
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
411
|
+
@objc deinit
|
|
412
|
+
}
|
|
413
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
414
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
415
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
416
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
417
|
+
@objc get
|
|
418
|
+
@objc set
|
|
419
|
+
}
|
|
420
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
421
|
+
@objc get
|
|
422
|
+
}
|
|
423
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
424
|
+
@objc get
|
|
425
|
+
}
|
|
426
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
427
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
428
|
+
@objc get
|
|
429
|
+
}
|
|
430
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
431
|
+
@objc get
|
|
432
|
+
}
|
|
433
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
434
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
435
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
436
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
437
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
438
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
439
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
440
|
+
get
|
|
441
|
+
set
|
|
442
|
+
}
|
|
443
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
444
|
+
@objc get
|
|
445
|
+
@objc set
|
|
446
|
+
}
|
|
447
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
448
|
+
@objc get
|
|
449
|
+
@objc set
|
|
450
|
+
}
|
|
451
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
452
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
453
|
+
@objc get
|
|
454
|
+
@objc set
|
|
455
|
+
}
|
|
456
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
457
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
458
|
+
@objc get
|
|
459
|
+
@objc set
|
|
460
|
+
}
|
|
461
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
462
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
463
|
+
@objc get
|
|
464
|
+
@objc set
|
|
465
|
+
}
|
|
466
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
467
|
+
@objc get
|
|
468
|
+
@objc set
|
|
469
|
+
}
|
|
470
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
471
|
+
@objc get
|
|
472
|
+
@objc set
|
|
473
|
+
}
|
|
474
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
475
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
476
|
+
@objc get
|
|
477
|
+
@objc set
|
|
478
|
+
}
|
|
479
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
480
|
+
@objc get
|
|
481
|
+
@objc set
|
|
482
|
+
}
|
|
483
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
484
|
+
@objc get
|
|
485
|
+
@objc set
|
|
486
|
+
}
|
|
487
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
488
|
+
@objc get
|
|
489
|
+
@objc set
|
|
490
|
+
}
|
|
491
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
492
|
+
@objc get
|
|
493
|
+
@objc set
|
|
494
|
+
}
|
|
495
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
496
|
+
@objc get
|
|
497
|
+
@objc set
|
|
498
|
+
}
|
|
499
|
+
@objc deinit
|
|
500
|
+
}
|
|
501
|
+
extension Mason.MasonText {
|
|
502
|
+
@objc @discardableResult
|
|
503
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
504
|
+
}
|
|
505
|
+
extension Mason.MasonText {
|
|
506
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
507
|
+
}
|
|
508
|
+
@objc public protocol MasonCharacterData {
|
|
509
|
+
@objc var data: Swift.String { get set }
|
|
510
|
+
@objc var length: Swift.Int { get }
|
|
511
|
+
@objc @discardableResult
|
|
512
|
+
func appendData(_ s: Swift.String) -> Self
|
|
513
|
+
@objc @discardableResult
|
|
514
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
515
|
+
@objc @discardableResult
|
|
516
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
517
|
+
@objc @discardableResult
|
|
518
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
519
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
520
|
+
@objc @discardableResult
|
|
521
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
522
|
+
@objc @discardableResult
|
|
523
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
524
|
+
}
|
|
525
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
526
|
+
@objc public var data: Swift.String
|
|
527
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
528
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
529
|
+
@objc public var length: Swift.Int {
|
|
530
|
+
@objc get
|
|
531
|
+
}
|
|
532
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
533
|
+
@discardableResult
|
|
534
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
535
|
+
@discardableResult
|
|
536
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
537
|
+
@discardableResult
|
|
538
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
539
|
+
@discardableResult
|
|
540
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
541
|
+
@discardableResult
|
|
542
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
543
|
+
@discardableResult
|
|
544
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
545
|
+
@objc deinit
|
|
546
|
+
}
|
|
547
|
+
extension Mason.MasonTextNode {
|
|
548
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
549
|
+
}
|
|
363
550
|
@objc(MasonNodeType) public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
364
551
|
case element
|
|
365
552
|
case text
|
|
@@ -1294,192 +1481,6 @@ extension UIKit.UIImage {
|
|
|
1294
1481
|
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1295
1482
|
@objc deinit
|
|
1296
1483
|
}
|
|
1297
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1298
|
-
case None
|
|
1299
|
-
case P
|
|
1300
|
-
case Span
|
|
1301
|
-
case Code
|
|
1302
|
-
case H1
|
|
1303
|
-
case H2
|
|
1304
|
-
case H3
|
|
1305
|
-
case H4
|
|
1306
|
-
case H5
|
|
1307
|
-
case H6
|
|
1308
|
-
case Li
|
|
1309
|
-
case Blockquote
|
|
1310
|
-
case B
|
|
1311
|
-
case Pre
|
|
1312
|
-
public typealias RawValue = Swift.Int32
|
|
1313
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1314
|
-
get
|
|
1315
|
-
}
|
|
1316
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
1317
|
-
public var description: Swift.String {
|
|
1318
|
-
get
|
|
1319
|
-
}
|
|
1320
|
-
}
|
|
1321
|
-
public enum InlineSegmentPayload {
|
|
1322
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
1323
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
1324
|
-
}
|
|
1325
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
1326
|
-
@objc override dynamic public init()
|
|
1327
|
-
@objc override dynamic public init(layer: Any)
|
|
1328
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1329
|
-
@objc deinit
|
|
1330
|
-
}
|
|
1331
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
1332
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1333
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1334
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
1335
|
-
@objc get
|
|
1336
|
-
@objc set
|
|
1337
|
-
}
|
|
1338
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1339
|
-
@objc get
|
|
1340
|
-
}
|
|
1341
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1342
|
-
@objc get
|
|
1343
|
-
}
|
|
1344
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
1345
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1346
|
-
@objc get
|
|
1347
|
-
}
|
|
1348
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1349
|
-
@objc get
|
|
1350
|
-
}
|
|
1351
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
1352
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1353
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1354
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1355
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1356
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1357
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1358
|
-
get
|
|
1359
|
-
set
|
|
1360
|
-
}
|
|
1361
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
1362
|
-
@objc get
|
|
1363
|
-
@objc set
|
|
1364
|
-
}
|
|
1365
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
1366
|
-
@objc get
|
|
1367
|
-
@objc set
|
|
1368
|
-
}
|
|
1369
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
1370
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
1371
|
-
@objc get
|
|
1372
|
-
@objc set
|
|
1373
|
-
}
|
|
1374
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
1375
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
1376
|
-
@objc get
|
|
1377
|
-
@objc set
|
|
1378
|
-
}
|
|
1379
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1380
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
1381
|
-
@objc get
|
|
1382
|
-
@objc set
|
|
1383
|
-
}
|
|
1384
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
1385
|
-
@objc get
|
|
1386
|
-
@objc set
|
|
1387
|
-
}
|
|
1388
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
1389
|
-
@objc get
|
|
1390
|
-
@objc set
|
|
1391
|
-
}
|
|
1392
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
1393
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
1394
|
-
@objc get
|
|
1395
|
-
@objc set
|
|
1396
|
-
}
|
|
1397
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
1398
|
-
@objc get
|
|
1399
|
-
@objc set
|
|
1400
|
-
}
|
|
1401
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
1402
|
-
@objc get
|
|
1403
|
-
@objc set
|
|
1404
|
-
}
|
|
1405
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
1406
|
-
@objc get
|
|
1407
|
-
@objc set
|
|
1408
|
-
}
|
|
1409
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
1410
|
-
@objc get
|
|
1411
|
-
@objc set
|
|
1412
|
-
}
|
|
1413
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
1414
|
-
@objc get
|
|
1415
|
-
@objc set
|
|
1416
|
-
}
|
|
1417
|
-
@objc deinit
|
|
1418
|
-
}
|
|
1419
|
-
extension Mason.MasonText {
|
|
1420
|
-
@objc @discardableResult
|
|
1421
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
1422
|
-
}
|
|
1423
|
-
extension Mason.MasonText {
|
|
1424
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1425
|
-
}
|
|
1426
|
-
@objc public protocol MasonCharacterData {
|
|
1427
|
-
@objc var data: Swift.String { get set }
|
|
1428
|
-
@objc var length: Swift.Int { get }
|
|
1429
|
-
@objc @discardableResult
|
|
1430
|
-
func appendData(_ s: Swift.String) -> Self
|
|
1431
|
-
@objc @discardableResult
|
|
1432
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1433
|
-
@objc @discardableResult
|
|
1434
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1435
|
-
@objc @discardableResult
|
|
1436
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1437
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1438
|
-
@objc @discardableResult
|
|
1439
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
1440
|
-
@objc @discardableResult
|
|
1441
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1442
|
-
}
|
|
1443
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1444
|
-
@objc public var data: Swift.String
|
|
1445
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1446
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1447
|
-
@objc public var length: Swift.Int {
|
|
1448
|
-
@objc get
|
|
1449
|
-
}
|
|
1450
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1451
|
-
@discardableResult
|
|
1452
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1453
|
-
@discardableResult
|
|
1454
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1455
|
-
@discardableResult
|
|
1456
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1457
|
-
@discardableResult
|
|
1458
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1459
|
-
@discardableResult
|
|
1460
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1461
|
-
@discardableResult
|
|
1462
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1463
|
-
@objc deinit
|
|
1464
|
-
}
|
|
1465
|
-
extension Mason.MasonTextNode {
|
|
1466
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1467
|
-
}
|
|
1468
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1469
|
-
@objc var engine: Mason.TextEngine { get }
|
|
1470
|
-
@objc var node: Mason.MasonNode { get }
|
|
1471
|
-
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
1472
|
-
}
|
|
1473
|
-
extension Mason.TextContainer {
|
|
1474
|
-
public func onTextStyleChanged(change: Swift.Int64)
|
|
1475
|
-
}
|
|
1476
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1477
|
-
public var textContent: Swift.String {
|
|
1478
|
-
get
|
|
1479
|
-
set
|
|
1480
|
-
}
|
|
1481
|
-
@objc deinit
|
|
1482
|
-
}
|
|
1483
1484
|
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1484
1485
|
case Loading
|
|
1485
1486
|
case Loaded
|
|
@@ -2310,12 +2311,12 @@ extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
|
2310
2311
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
2311
2312
|
extension Mason.CSSBorderRenderer.Side : Swift.Equatable {}
|
|
2312
2313
|
extension Mason.CSSBorderRenderer.Side : Swift.Hashable {}
|
|
2314
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2315
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2313
2316
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
2314
2317
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2315
2318
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2316
2319
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2317
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2318
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2319
2320
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
2320
2321
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
2321
2322
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/Mason-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
OohurJdlW9ro/k+b38gHU/m7UMM=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Mason.h</key>
|
|
12
12
|
<data>
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
kU4rYmYF3T8SHjZjBVOf0t0yp1s=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
OQImuoa61lTt2qWmKHXIjLO37n0=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
kBBERYPQMXTLQhQbqkH+l6JjW18=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
z273SBTPxUDUe9yVibJpT76NAhA=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
40
40
|
<data>
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
z273SBTPxUDUe9yVibJpT76NAhA=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
M/Asd2Z/PQ70HBDc8cqeJJcG9JU=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
kBBERYPQMXTLQhQbqkH+l6JjW18=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
rQlM4UYPnvnQEbJ/BFjocMjZgLk=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
60
60
|
<data>
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
</data>
|
|
63
63
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
rQlM4UYPnvnQEbJ/BFjocMjZgLk=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
s7rRGqnEY7EcoWuPb2P7bBp/FjY=
|
|
70
70
|
</data>
|
|
71
71
|
<key>Modules/module.modulemap</key>
|
|
72
72
|
<data>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<dict>
|
|
80
80
|
<key>hash2</key>
|
|
81
81
|
<data>
|
|
82
|
-
|
|
82
|
+
GL17/CvdO8GWhGHxq8Ylve3LQU64J3lE0q9gSqLIzXg=
|
|
83
83
|
</data>
|
|
84
84
|
</dict>
|
|
85
85
|
<key>Headers/Mason.h</key>
|
|
@@ -100,28 +100,28 @@
|
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
arA5JeSKoBUUozmDKrB8eaA7FuiexbAoSMG0Xb9lV6Y=
|
|
104
104
|
</data>
|
|
105
105
|
</dict>
|
|
106
106
|
<key>Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
107
107
|
<dict>
|
|
108
108
|
<key>hash2</key>
|
|
109
109
|
<data>
|
|
110
|
-
|
|
110
|
+
3JFiska8wkYrtZ3O2iXkTruYPkU5Z1NE4nI3h2RGMOs=
|
|
111
111
|
</data>
|
|
112
112
|
</dict>
|
|
113
113
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
114
114
|
<dict>
|
|
115
115
|
<key>hash2</key>
|
|
116
116
|
<data>
|
|
117
|
-
|
|
117
|
+
Ud3kDXVMJrVXI0PTrt4nu3KiexwwM4Jj2yFH6/BRI9s=
|
|
118
118
|
</data>
|
|
119
119
|
</dict>
|
|
120
120
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
121
121
|
<dict>
|
|
122
122
|
<key>hash2</key>
|
|
123
123
|
<data>
|
|
124
|
-
|
|
124
|
+
8b/lKnjxYi5MdyQf7kUR883/BlJz3fl6GLbXwP0n7k8=
|
|
125
125
|
</data>
|
|
126
126
|
</dict>
|
|
127
127
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -135,28 +135,28 @@
|
|
|
135
135
|
<dict>
|
|
136
136
|
<key>hash2</key>
|
|
137
137
|
<data>
|
|
138
|
-
|
|
138
|
+
8b/lKnjxYi5MdyQf7kUR883/BlJz3fl6GLbXwP0n7k8=
|
|
139
139
|
</data>
|
|
140
140
|
</dict>
|
|
141
141
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
142
142
|
<dict>
|
|
143
143
|
<key>hash2</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
T/113aWwJ5+GWR/TwofSZJl0VtdautTOPzNl1RK7Vg4=
|
|
146
146
|
</data>
|
|
147
147
|
</dict>
|
|
148
148
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
149
149
|
<dict>
|
|
150
150
|
<key>hash2</key>
|
|
151
151
|
<data>
|
|
152
|
-
|
|
152
|
+
Ud3kDXVMJrVXI0PTrt4nu3KiexwwM4Jj2yFH6/BRI9s=
|
|
153
153
|
</data>
|
|
154
154
|
</dict>
|
|
155
155
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
156
156
|
<dict>
|
|
157
157
|
<key>hash2</key>
|
|
158
158
|
<data>
|
|
159
|
-
|
|
159
|
+
yskxo/XdFAnv6BAv9Oj/xpekToq4qtk2kJfbuKez31A=
|
|
160
160
|
</data>
|
|
161
161
|
</dict>
|
|
162
162
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -170,14 +170,14 @@
|
|
|
170
170
|
<dict>
|
|
171
171
|
<key>hash2</key>
|
|
172
172
|
<data>
|
|
173
|
-
|
|
173
|
+
yskxo/XdFAnv6BAv9Oj/xpekToq4qtk2kJfbuKez31A=
|
|
174
174
|
</data>
|
|
175
175
|
</dict>
|
|
176
176
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
177
177
|
<dict>
|
|
178
178
|
<key>hash2</key>
|
|
179
179
|
<data>
|
|
180
|
-
|
|
180
|
+
rocy4HWjLq5ZxQYm/pn7nVypKOesqEkpktaRHSUawmo=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|