@triniwiz/nativescript-masonkit 1.0.0-beta.2 → 1.0.0-beta.4
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 +19 -1
- package/common.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +55 -42
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.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 +7660 -12493
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +199 -183
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +199 -183
- 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 +4292 -4264
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +110 -84
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +1 -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 +7660 -12493
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +199 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +199 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +7660 -12493
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +199 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +199 -183
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +24 -24
- 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 +4287 -4259
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +4165 -4137
- package/style.d.ts +2 -0
- package/style.js +23 -0
- package/style.js.map +1 -1
- package/view/index.ios.js +0 -1
- package/view/index.ios.js.map +1 -1
|
@@ -255,6 +255,7 @@ final public class CSSBorderRenderer {
|
|
|
255
255
|
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
256
256
|
@objc get
|
|
257
257
|
}
|
|
258
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
258
259
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
259
260
|
@objc deinit
|
|
260
261
|
}
|
|
@@ -288,6 +289,7 @@ extension Mason.Button {
|
|
|
288
289
|
@objc public func createButton() -> Mason.Button
|
|
289
290
|
@objc public func createNode() -> Mason.MasonNode
|
|
290
291
|
public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
292
|
+
@objc public func createBr() -> Mason.MasonBr
|
|
291
293
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
292
294
|
@objc public func createTextNode() -> Mason.MasonNode
|
|
293
295
|
@objc public func createImageNode() -> Mason.MasonNode
|
|
@@ -760,6 +762,7 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
760
762
|
@objc set
|
|
761
763
|
}
|
|
762
764
|
@objc public func setColor(ui color: UIKit.UIColor)
|
|
765
|
+
@objc public func setColor(css color: Swift.String)
|
|
763
766
|
@objc public var filter: Swift.String {
|
|
764
767
|
@objc get
|
|
765
768
|
@objc set
|
|
@@ -986,6 +989,10 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
986
989
|
@objc public func setPaddingTop(_ value: Swift.Float, _ type: Swift.Int)
|
|
987
990
|
@objc public func setPaddingBottom(_ value: Swift.Float, _ type: Swift.Int)
|
|
988
991
|
@objc public func setPaddingWithValueType(_ value: Swift.Float, _ type: Swift.Int)
|
|
992
|
+
@objc public var textShadow: Swift.String {
|
|
993
|
+
@objc get
|
|
994
|
+
@objc set
|
|
995
|
+
}
|
|
989
996
|
@objc public var borderRadius: Swift.String {
|
|
990
997
|
@objc get
|
|
991
998
|
@objc set
|
|
@@ -1195,187 +1202,6 @@ public struct MasonPoint<T> : Swift.Codable where T : Swift.Decodable, T : Swift
|
|
|
1195
1202
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1196
1203
|
public init(from decoder: any Swift.Decoder) throws
|
|
1197
1204
|
}
|
|
1198
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1199
|
-
case None
|
|
1200
|
-
case P
|
|
1201
|
-
case Span
|
|
1202
|
-
case Code
|
|
1203
|
-
case H1
|
|
1204
|
-
case H2
|
|
1205
|
-
case H3
|
|
1206
|
-
case H4
|
|
1207
|
-
case H5
|
|
1208
|
-
case H6
|
|
1209
|
-
case Li
|
|
1210
|
-
case Blockquote
|
|
1211
|
-
case B
|
|
1212
|
-
case Pre
|
|
1213
|
-
public typealias RawValue = Swift.Int32
|
|
1214
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1215
|
-
get
|
|
1216
|
-
}
|
|
1217
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
1218
|
-
public var description: Swift.String {
|
|
1219
|
-
get
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
public enum InlineSegmentPayload {
|
|
1223
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
1224
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
1225
|
-
}
|
|
1226
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
1227
|
-
@objc override dynamic public init()
|
|
1228
|
-
@objc override dynamic public init(layer: Any)
|
|
1229
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1230
|
-
@objc deinit
|
|
1231
|
-
}
|
|
1232
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
1233
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1234
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1235
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
1236
|
-
@objc get
|
|
1237
|
-
@objc set
|
|
1238
|
-
}
|
|
1239
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1240
|
-
@objc get
|
|
1241
|
-
}
|
|
1242
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1243
|
-
@objc get
|
|
1244
|
-
}
|
|
1245
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1246
|
-
@objc get
|
|
1247
|
-
}
|
|
1248
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1249
|
-
@objc get
|
|
1250
|
-
}
|
|
1251
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
1252
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1253
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1254
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1255
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1256
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1257
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1258
|
-
get
|
|
1259
|
-
set
|
|
1260
|
-
}
|
|
1261
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
1262
|
-
@objc get
|
|
1263
|
-
@objc set
|
|
1264
|
-
}
|
|
1265
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
1266
|
-
@objc get
|
|
1267
|
-
@objc set
|
|
1268
|
-
}
|
|
1269
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
1270
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
1271
|
-
@objc get
|
|
1272
|
-
@objc set
|
|
1273
|
-
}
|
|
1274
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
1275
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
1276
|
-
@objc get
|
|
1277
|
-
@objc set
|
|
1278
|
-
}
|
|
1279
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1280
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
1281
|
-
@objc get
|
|
1282
|
-
@objc set
|
|
1283
|
-
}
|
|
1284
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
1285
|
-
@objc get
|
|
1286
|
-
@objc set
|
|
1287
|
-
}
|
|
1288
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
1289
|
-
@objc get
|
|
1290
|
-
@objc set
|
|
1291
|
-
}
|
|
1292
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
1293
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
1294
|
-
@objc get
|
|
1295
|
-
@objc set
|
|
1296
|
-
}
|
|
1297
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
1298
|
-
@objc get
|
|
1299
|
-
@objc set
|
|
1300
|
-
}
|
|
1301
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
1302
|
-
@objc get
|
|
1303
|
-
@objc set
|
|
1304
|
-
}
|
|
1305
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
1306
|
-
@objc get
|
|
1307
|
-
@objc set
|
|
1308
|
-
}
|
|
1309
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
1310
|
-
@objc get
|
|
1311
|
-
@objc set
|
|
1312
|
-
}
|
|
1313
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
1314
|
-
@objc get
|
|
1315
|
-
@objc set
|
|
1316
|
-
}
|
|
1317
|
-
@objc deinit
|
|
1318
|
-
}
|
|
1319
|
-
extension Mason.MasonText {
|
|
1320
|
-
@objc @discardableResult
|
|
1321
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
1322
|
-
}
|
|
1323
|
-
extension Mason.MasonText {
|
|
1324
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1325
|
-
}
|
|
1326
|
-
@objc public protocol MasonCharacterData {
|
|
1327
|
-
@objc var data: Swift.String { get set }
|
|
1328
|
-
@objc var length: Swift.Int { get }
|
|
1329
|
-
@objc @discardableResult
|
|
1330
|
-
func appendData(_ s: Swift.String) -> Self
|
|
1331
|
-
@objc @discardableResult
|
|
1332
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1333
|
-
@objc @discardableResult
|
|
1334
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1335
|
-
@objc @discardableResult
|
|
1336
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1337
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1338
|
-
@objc @discardableResult
|
|
1339
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
1340
|
-
@objc @discardableResult
|
|
1341
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1342
|
-
}
|
|
1343
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1344
|
-
@objc public var data: Swift.String
|
|
1345
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1346
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1347
|
-
@objc public var length: Swift.Int {
|
|
1348
|
-
@objc get
|
|
1349
|
-
}
|
|
1350
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1351
|
-
@discardableResult
|
|
1352
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1353
|
-
@discardableResult
|
|
1354
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1355
|
-
@discardableResult
|
|
1356
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1357
|
-
@discardableResult
|
|
1358
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1359
|
-
@discardableResult
|
|
1360
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1361
|
-
@discardableResult
|
|
1362
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1363
|
-
@objc deinit
|
|
1364
|
-
}
|
|
1365
|
-
extension Mason.MasonTextNode {
|
|
1366
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1367
|
-
}
|
|
1368
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1369
|
-
@objc var engine: Mason.TextEngine { get }
|
|
1370
|
-
@objc var node: Mason.MasonNode { get }
|
|
1371
|
-
}
|
|
1372
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1373
|
-
public var textContent: Swift.String {
|
|
1374
|
-
get
|
|
1375
|
-
set
|
|
1376
|
-
}
|
|
1377
|
-
@objc deinit
|
|
1378
|
-
}
|
|
1379
1205
|
@_inheritsConvenienceInitializers @objcMembers @objc(MasonSwiftHelpers) public class SwiftHelpers : ObjectiveC.NSObject {
|
|
1380
1206
|
@objc public static func markNodeDirty(_ element: any Mason.MasonElementObjc)
|
|
1381
1207
|
@objc public static func isNodeDirty(_ element: any Mason.MasonElementObjc) -> Swift.Bool
|
|
@@ -1510,6 +1336,192 @@ extension UIKit.UIImage {
|
|
|
1510
1336
|
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1511
1337
|
@objc deinit
|
|
1512
1338
|
}
|
|
1339
|
+
@objc public protocol MasonCharacterData {
|
|
1340
|
+
@objc var data: Swift.String { get set }
|
|
1341
|
+
@objc var length: Swift.Int { get }
|
|
1342
|
+
@objc @discardableResult
|
|
1343
|
+
func appendData(_ s: Swift.String) -> Self
|
|
1344
|
+
@objc @discardableResult
|
|
1345
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1346
|
+
@objc @discardableResult
|
|
1347
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1348
|
+
@objc @discardableResult
|
|
1349
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1350
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1351
|
+
@objc @discardableResult
|
|
1352
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
1353
|
+
@objc @discardableResult
|
|
1354
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1355
|
+
}
|
|
1356
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1357
|
+
@objc public var data: Swift.String
|
|
1358
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1359
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1360
|
+
@objc public var length: Swift.Int {
|
|
1361
|
+
@objc get
|
|
1362
|
+
}
|
|
1363
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1364
|
+
@discardableResult
|
|
1365
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1366
|
+
@discardableResult
|
|
1367
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1368
|
+
@discardableResult
|
|
1369
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1370
|
+
@discardableResult
|
|
1371
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1372
|
+
@discardableResult
|
|
1373
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1374
|
+
@discardableResult
|
|
1375
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1376
|
+
@objc deinit
|
|
1377
|
+
}
|
|
1378
|
+
extension Mason.MasonTextNode {
|
|
1379
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1380
|
+
}
|
|
1381
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1382
|
+
@objc var engine: Mason.TextEngine { get }
|
|
1383
|
+
@objc var node: Mason.MasonNode { get }
|
|
1384
|
+
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
1385
|
+
}
|
|
1386
|
+
extension Mason.TextContainer {
|
|
1387
|
+
public func onTextStyleChanged(change: Swift.Int64)
|
|
1388
|
+
}
|
|
1389
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1390
|
+
public var textContent: Swift.String {
|
|
1391
|
+
get
|
|
1392
|
+
set
|
|
1393
|
+
}
|
|
1394
|
+
@objc deinit
|
|
1395
|
+
}
|
|
1396
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1397
|
+
case None
|
|
1398
|
+
case P
|
|
1399
|
+
case Span
|
|
1400
|
+
case Code
|
|
1401
|
+
case H1
|
|
1402
|
+
case H2
|
|
1403
|
+
case H3
|
|
1404
|
+
case H4
|
|
1405
|
+
case H5
|
|
1406
|
+
case H6
|
|
1407
|
+
case Li
|
|
1408
|
+
case Blockquote
|
|
1409
|
+
case B
|
|
1410
|
+
case Pre
|
|
1411
|
+
public typealias RawValue = Swift.Int32
|
|
1412
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1413
|
+
get
|
|
1414
|
+
}
|
|
1415
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
1416
|
+
public var description: Swift.String {
|
|
1417
|
+
get
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
public enum InlineSegmentPayload {
|
|
1421
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
1422
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
1423
|
+
}
|
|
1424
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
1425
|
+
@objc override dynamic public init()
|
|
1426
|
+
@objc override dynamic public init(layer: Any)
|
|
1427
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1428
|
+
@objc deinit
|
|
1429
|
+
}
|
|
1430
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
1431
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1432
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1433
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
1434
|
+
@objc get
|
|
1435
|
+
@objc set
|
|
1436
|
+
}
|
|
1437
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1438
|
+
@objc get
|
|
1439
|
+
}
|
|
1440
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1441
|
+
@objc get
|
|
1442
|
+
}
|
|
1443
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
1444
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1445
|
+
@objc get
|
|
1446
|
+
}
|
|
1447
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1448
|
+
@objc get
|
|
1449
|
+
}
|
|
1450
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
1451
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1452
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1453
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1454
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1455
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1456
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1457
|
+
get
|
|
1458
|
+
set
|
|
1459
|
+
}
|
|
1460
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
1461
|
+
@objc get
|
|
1462
|
+
@objc set
|
|
1463
|
+
}
|
|
1464
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
1465
|
+
@objc get
|
|
1466
|
+
@objc set
|
|
1467
|
+
}
|
|
1468
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
1469
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
1470
|
+
@objc get
|
|
1471
|
+
@objc set
|
|
1472
|
+
}
|
|
1473
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
1474
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
1475
|
+
@objc get
|
|
1476
|
+
@objc set
|
|
1477
|
+
}
|
|
1478
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1479
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
1480
|
+
@objc get
|
|
1481
|
+
@objc set
|
|
1482
|
+
}
|
|
1483
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
1484
|
+
@objc get
|
|
1485
|
+
@objc set
|
|
1486
|
+
}
|
|
1487
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
1488
|
+
@objc get
|
|
1489
|
+
@objc set
|
|
1490
|
+
}
|
|
1491
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
1492
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
1493
|
+
@objc get
|
|
1494
|
+
@objc set
|
|
1495
|
+
}
|
|
1496
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
1497
|
+
@objc get
|
|
1498
|
+
@objc set
|
|
1499
|
+
}
|
|
1500
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
1501
|
+
@objc get
|
|
1502
|
+
@objc set
|
|
1503
|
+
}
|
|
1504
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
1505
|
+
@objc get
|
|
1506
|
+
@objc set
|
|
1507
|
+
}
|
|
1508
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
1509
|
+
@objc get
|
|
1510
|
+
@objc set
|
|
1511
|
+
}
|
|
1512
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
1513
|
+
@objc get
|
|
1514
|
+
@objc set
|
|
1515
|
+
}
|
|
1516
|
+
@objc deinit
|
|
1517
|
+
}
|
|
1518
|
+
extension Mason.MasonText {
|
|
1519
|
+
@objc @discardableResult
|
|
1520
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
1521
|
+
}
|
|
1522
|
+
extension Mason.MasonText {
|
|
1523
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1524
|
+
}
|
|
1513
1525
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1514
1526
|
case Auto
|
|
1515
1527
|
case Points
|
|
@@ -2286,6 +2298,10 @@ public enum VerticalAlign {
|
|
|
2286
2298
|
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
2287
2299
|
@objc deinit
|
|
2288
2300
|
}
|
|
2301
|
+
@_inheritsConvenienceInitializers @objc(MasonBr) @objcMembers public class MasonBr : Mason.MasonTextNode {
|
|
2302
|
+
@objc override public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
2303
|
+
@objc deinit
|
|
2304
|
+
}
|
|
2289
2305
|
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
2290
2306
|
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
2291
2307
|
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
@@ -2298,10 +2314,10 @@ extension Mason.MasonNodeType : Swift.Equatable {}
|
|
|
2298
2314
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2299
2315
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2300
2316
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2301
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2302
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2303
2317
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
2304
2318
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
2319
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2320
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2305
2321
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
2306
2322
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
2307
2323
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/Mason-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
b3jXG65pqhLXb+6hrqR2zzRYt+k=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Mason.h</key>
|
|
12
12
|
<data>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Headers/mason_native.h</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
5QqF7XyO//6ZtYh9QIsTcm3n4P0=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Info.plist</key>
|
|
20
20
|
<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
|
+
rXIF00Ze7rLi6aeP+11v2+aJIRw=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
n2wZ/c6ieljP8dmf1IMmLyvfVGE=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
hgIQHX9xPTVHYV85SIhvtNC+KiI=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
LoSj5NozMtavlNerB2lkUrGFUy8=
|
|
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
|
+
LoSj5NozMtavlNerB2lkUrGFUy8=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
a2xwLLgSLqdXP7y83Y6IkgHBr8U=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
hgIQHX9xPTVHYV85SIhvtNC+KiI=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
rmjgwRrULUMU48ogxTHI5MUo1co=
|
|
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
|
+
rmjgwRrULUMU48ogxTHI5MUo1co=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
MxN8B6loSi4t8h0GOD/9WxVxjMo=
|
|
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
|
+
KkqENjVktvYsEJ1LK/Y2w+nTbe6wnxbOdY/28BP0iSk=
|
|
83
83
|
</data>
|
|
84
84
|
</dict>
|
|
85
85
|
<key>Headers/Mason.h</key>
|
|
@@ -93,35 +93,35 @@
|
|
|
93
93
|
<dict>
|
|
94
94
|
<key>hash2</key>
|
|
95
95
|
<data>
|
|
96
|
-
|
|
96
|
+
AkUfkKFXG6T7BljZs9GO5wQmRwkJs8tit8Z7mfbLKoo=
|
|
97
97
|
</data>
|
|
98
98
|
</dict>
|
|
99
99
|
<key>Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
/jRoH31Ne2DQAJHVVmJthgd+e/iVYd9Zru+f0NBhBaM=
|
|
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
|
+
Hpdo27hf0OsDd46AU7KEbJJkY6ugM4V48QtuH/dSeDo=
|
|
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
|
+
rM5AmhSXPtQnqwpybLZupXG3izzRdxpiGWGSOQp9lJQ=
|
|
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
|
+
M5EQthnNWxHN2JOXPsoBhbxbTZ2pmbsK0fCZ9vwvVr8=
|
|
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
|
+
M5EQthnNWxHN2JOXPsoBhbxbTZ2pmbsK0fCZ9vwvVr8=
|
|
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
|
+
KlODy5spc6TV2G/Mwby7HsGXMVk8gOAiARINCyqfe6A=
|
|
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
|
+
rM5AmhSXPtQnqwpybLZupXG3izzRdxpiGWGSOQp9lJQ=
|
|
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
|
+
O9FIBTqRnPUfQ2C/FC+kyehC3OGXVGKQH8r05v0G8n8=
|
|
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
|
+
O9FIBTqRnPUfQ2C/FC+kyehC3OGXVGKQH8r05v0G8n8=
|
|
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
|
+
laP1aU07u5QCjdRhsg0lpaRWUDdb0Vqv0qnotAJwVoo=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|