@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()
|
|
@@ -298,192 +299,6 @@ extension Mason.Button {
|
|
|
298
299
|
@objc override dynamic public init()
|
|
299
300
|
@objc deinit
|
|
300
301
|
}
|
|
301
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
302
|
-
case None
|
|
303
|
-
case P
|
|
304
|
-
case Span
|
|
305
|
-
case Code
|
|
306
|
-
case H1
|
|
307
|
-
case H2
|
|
308
|
-
case H3
|
|
309
|
-
case H4
|
|
310
|
-
case H5
|
|
311
|
-
case H6
|
|
312
|
-
case Li
|
|
313
|
-
case Blockquote
|
|
314
|
-
case B
|
|
315
|
-
case Pre
|
|
316
|
-
public typealias RawValue = Swift.Int32
|
|
317
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
318
|
-
get
|
|
319
|
-
}
|
|
320
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
321
|
-
public var description: Swift.String {
|
|
322
|
-
get
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
public enum InlineSegmentPayload {
|
|
326
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
327
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
328
|
-
}
|
|
329
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
330
|
-
@objc override dynamic public init()
|
|
331
|
-
@objc override dynamic public init(layer: Any)
|
|
332
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
333
|
-
@objc deinit
|
|
334
|
-
}
|
|
335
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
336
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
337
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
338
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
339
|
-
@objc get
|
|
340
|
-
@objc set
|
|
341
|
-
}
|
|
342
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
343
|
-
@objc get
|
|
344
|
-
}
|
|
345
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
346
|
-
@objc get
|
|
347
|
-
}
|
|
348
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
349
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
350
|
-
@objc get
|
|
351
|
-
}
|
|
352
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
353
|
-
@objc get
|
|
354
|
-
}
|
|
355
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
356
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
357
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
358
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
359
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
360
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
361
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
362
|
-
get
|
|
363
|
-
set
|
|
364
|
-
}
|
|
365
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
366
|
-
@objc get
|
|
367
|
-
@objc set
|
|
368
|
-
}
|
|
369
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
370
|
-
@objc get
|
|
371
|
-
@objc set
|
|
372
|
-
}
|
|
373
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
374
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
375
|
-
@objc get
|
|
376
|
-
@objc set
|
|
377
|
-
}
|
|
378
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
379
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
380
|
-
@objc get
|
|
381
|
-
@objc set
|
|
382
|
-
}
|
|
383
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
384
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
385
|
-
@objc get
|
|
386
|
-
@objc set
|
|
387
|
-
}
|
|
388
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
389
|
-
@objc get
|
|
390
|
-
@objc set
|
|
391
|
-
}
|
|
392
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
393
|
-
@objc get
|
|
394
|
-
@objc set
|
|
395
|
-
}
|
|
396
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
397
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
398
|
-
@objc get
|
|
399
|
-
@objc set
|
|
400
|
-
}
|
|
401
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
402
|
-
@objc get
|
|
403
|
-
@objc set
|
|
404
|
-
}
|
|
405
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
406
|
-
@objc get
|
|
407
|
-
@objc set
|
|
408
|
-
}
|
|
409
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
410
|
-
@objc get
|
|
411
|
-
@objc set
|
|
412
|
-
}
|
|
413
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
414
|
-
@objc get
|
|
415
|
-
@objc set
|
|
416
|
-
}
|
|
417
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
418
|
-
@objc get
|
|
419
|
-
@objc set
|
|
420
|
-
}
|
|
421
|
-
@objc deinit
|
|
422
|
-
}
|
|
423
|
-
extension Mason.MasonText {
|
|
424
|
-
@objc @discardableResult
|
|
425
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
426
|
-
}
|
|
427
|
-
extension Mason.MasonText {
|
|
428
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
429
|
-
}
|
|
430
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
431
|
-
@objc var engine: Mason.TextEngine { get }
|
|
432
|
-
@objc var node: Mason.MasonNode { get }
|
|
433
|
-
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
434
|
-
}
|
|
435
|
-
extension Mason.TextContainer {
|
|
436
|
-
public func onTextStyleChanged(change: Swift.Int64)
|
|
437
|
-
}
|
|
438
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
439
|
-
public var textContent: Swift.String {
|
|
440
|
-
get
|
|
441
|
-
set
|
|
442
|
-
}
|
|
443
|
-
@objc deinit
|
|
444
|
-
}
|
|
445
|
-
@objc public protocol MasonCharacterData {
|
|
446
|
-
@objc var data: Swift.String { get set }
|
|
447
|
-
@objc var length: Swift.Int { get }
|
|
448
|
-
@objc @discardableResult
|
|
449
|
-
func appendData(_ s: Swift.String) -> Self
|
|
450
|
-
@objc @discardableResult
|
|
451
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
452
|
-
@objc @discardableResult
|
|
453
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
454
|
-
@objc @discardableResult
|
|
455
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
456
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
457
|
-
@objc @discardableResult
|
|
458
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
459
|
-
@objc @discardableResult
|
|
460
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
461
|
-
}
|
|
462
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
463
|
-
@objc public var data: Swift.String
|
|
464
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
465
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
466
|
-
@objc public var length: Swift.Int {
|
|
467
|
-
@objc get
|
|
468
|
-
}
|
|
469
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
470
|
-
@discardableResult
|
|
471
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
472
|
-
@discardableResult
|
|
473
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
474
|
-
@discardableResult
|
|
475
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
476
|
-
@discardableResult
|
|
477
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
478
|
-
@discardableResult
|
|
479
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
480
|
-
@discardableResult
|
|
481
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
482
|
-
@objc deinit
|
|
483
|
-
}
|
|
484
|
-
extension Mason.MasonTextNode {
|
|
485
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
486
|
-
}
|
|
487
302
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MaxSizing) public class MaxSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
488
303
|
@objc public var value: Swift.Float {
|
|
489
304
|
get
|
|
@@ -1522,6 +1337,192 @@ extension UIKit.UIImage {
|
|
|
1522
1337
|
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1523
1338
|
@objc deinit
|
|
1524
1339
|
}
|
|
1340
|
+
@objc public protocol MasonCharacterData {
|
|
1341
|
+
@objc var data: Swift.String { get set }
|
|
1342
|
+
@objc var length: Swift.Int { get }
|
|
1343
|
+
@objc @discardableResult
|
|
1344
|
+
func appendData(_ s: Swift.String) -> Self
|
|
1345
|
+
@objc @discardableResult
|
|
1346
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1347
|
+
@objc @discardableResult
|
|
1348
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1349
|
+
@objc @discardableResult
|
|
1350
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1351
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1352
|
+
@objc @discardableResult
|
|
1353
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
1354
|
+
@objc @discardableResult
|
|
1355
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1356
|
+
}
|
|
1357
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1358
|
+
@objc public var data: Swift.String
|
|
1359
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1360
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1361
|
+
@objc public var length: Swift.Int {
|
|
1362
|
+
@objc get
|
|
1363
|
+
}
|
|
1364
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1365
|
+
@discardableResult
|
|
1366
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1367
|
+
@discardableResult
|
|
1368
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1369
|
+
@discardableResult
|
|
1370
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1371
|
+
@discardableResult
|
|
1372
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1373
|
+
@discardableResult
|
|
1374
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1375
|
+
@discardableResult
|
|
1376
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1377
|
+
@objc deinit
|
|
1378
|
+
}
|
|
1379
|
+
extension Mason.MasonTextNode {
|
|
1380
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1381
|
+
}
|
|
1382
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1383
|
+
@objc var engine: Mason.TextEngine { get }
|
|
1384
|
+
@objc var node: Mason.MasonNode { get }
|
|
1385
|
+
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
1386
|
+
}
|
|
1387
|
+
extension Mason.TextContainer {
|
|
1388
|
+
public func onTextStyleChanged(change: Swift.Int64)
|
|
1389
|
+
}
|
|
1390
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1391
|
+
public var textContent: Swift.String {
|
|
1392
|
+
get
|
|
1393
|
+
set
|
|
1394
|
+
}
|
|
1395
|
+
@objc deinit
|
|
1396
|
+
}
|
|
1397
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1398
|
+
case None
|
|
1399
|
+
case P
|
|
1400
|
+
case Span
|
|
1401
|
+
case Code
|
|
1402
|
+
case H1
|
|
1403
|
+
case H2
|
|
1404
|
+
case H3
|
|
1405
|
+
case H4
|
|
1406
|
+
case H5
|
|
1407
|
+
case H6
|
|
1408
|
+
case Li
|
|
1409
|
+
case Blockquote
|
|
1410
|
+
case B
|
|
1411
|
+
case Pre
|
|
1412
|
+
public typealias RawValue = Swift.Int32
|
|
1413
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1414
|
+
get
|
|
1415
|
+
}
|
|
1416
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
1417
|
+
public var description: Swift.String {
|
|
1418
|
+
get
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
public enum InlineSegmentPayload {
|
|
1422
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
1423
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
1424
|
+
}
|
|
1425
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
1426
|
+
@objc override dynamic public init()
|
|
1427
|
+
@objc override dynamic public init(layer: Any)
|
|
1428
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1429
|
+
@objc deinit
|
|
1430
|
+
}
|
|
1431
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
1432
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1433
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1434
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
1435
|
+
@objc get
|
|
1436
|
+
@objc set
|
|
1437
|
+
}
|
|
1438
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1439
|
+
@objc get
|
|
1440
|
+
}
|
|
1441
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1442
|
+
@objc get
|
|
1443
|
+
}
|
|
1444
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
1445
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1446
|
+
@objc get
|
|
1447
|
+
}
|
|
1448
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1449
|
+
@objc get
|
|
1450
|
+
}
|
|
1451
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
1452
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1453
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1454
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1455
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1456
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1457
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1458
|
+
get
|
|
1459
|
+
set
|
|
1460
|
+
}
|
|
1461
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
1462
|
+
@objc get
|
|
1463
|
+
@objc set
|
|
1464
|
+
}
|
|
1465
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
1466
|
+
@objc get
|
|
1467
|
+
@objc set
|
|
1468
|
+
}
|
|
1469
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
1470
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
1471
|
+
@objc get
|
|
1472
|
+
@objc set
|
|
1473
|
+
}
|
|
1474
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
1475
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
1476
|
+
@objc get
|
|
1477
|
+
@objc set
|
|
1478
|
+
}
|
|
1479
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1480
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
1481
|
+
@objc get
|
|
1482
|
+
@objc set
|
|
1483
|
+
}
|
|
1484
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
1485
|
+
@objc get
|
|
1486
|
+
@objc set
|
|
1487
|
+
}
|
|
1488
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
1489
|
+
@objc get
|
|
1490
|
+
@objc set
|
|
1491
|
+
}
|
|
1492
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
1493
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
1494
|
+
@objc get
|
|
1495
|
+
@objc set
|
|
1496
|
+
}
|
|
1497
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
1498
|
+
@objc get
|
|
1499
|
+
@objc set
|
|
1500
|
+
}
|
|
1501
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
1502
|
+
@objc get
|
|
1503
|
+
@objc set
|
|
1504
|
+
}
|
|
1505
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
1506
|
+
@objc get
|
|
1507
|
+
@objc set
|
|
1508
|
+
}
|
|
1509
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
1510
|
+
@objc get
|
|
1511
|
+
@objc set
|
|
1512
|
+
}
|
|
1513
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
1514
|
+
@objc get
|
|
1515
|
+
@objc set
|
|
1516
|
+
}
|
|
1517
|
+
@objc deinit
|
|
1518
|
+
}
|
|
1519
|
+
extension Mason.MasonText {
|
|
1520
|
+
@objc @discardableResult
|
|
1521
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
1522
|
+
}
|
|
1523
|
+
extension Mason.MasonText {
|
|
1524
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1525
|
+
}
|
|
1525
1526
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1526
1527
|
case Auto
|
|
1527
1528
|
case Points
|
|
@@ -2310,14 +2311,14 @@ 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 {}
|
|
2313
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2314
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2315
2314
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
2316
2315
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2317
2316
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2318
2317
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2319
2318
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
2320
2319
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
2320
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2321
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2321
2322
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
2322
2323
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
2323
2324
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|