@triniwiz/nativescript-masonkit 1.0.0-beta.112 → 1.0.0-beta.113
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 +2 -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/Info.plist +8 -8
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +11 -1
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +21 -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 +16941 -16437
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +247 -221
- 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 +247 -221
- 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 +9192 -9154
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +22 -2
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +21 -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 +16941 -16437
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +247 -221
- 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 +247 -221
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +16941 -16437
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +247 -221
- 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 +247 -221
- 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 +2 -2
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +9186 -9148
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +8761 -8726
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Headers/Mason-Swift.h +11 -1
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Headers/mason_native.h +21 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.abi.json +16941 -16437
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.private.swiftinterface +247 -221
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftinterface +247 -221
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8682 -8645
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Headers/Mason-Swift.h +11 -1
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Headers/mason_native.h +21 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.abi.json +16941 -16437
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.private.swiftinterface +247 -221
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftinterface +247 -221
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/_CodeSignature/CodeResources +16 -16
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8681 -8644
- package/platforms/windows/arm64/NativeScript.Mason.dll +0 -0
- package/platforms/windows/arm64/NativeScript.Mason.winmd +0 -0
- package/platforms/windows/x64/NativeScript.Mason.dll +0 -0
- package/platforms/windows/x64/NativeScript.Mason.winmd +0 -0
- package/style.js +10 -2
- package/style.js.map +1 -1
- package/typings/windows.d.ts +4 -0
- package/web.d.ts +32 -1
- package/web.js +213 -2
- package/web.js.map +1 -1
|
@@ -2202,225 +2202,6 @@ public struct MasonPoint<T> : Swift.Codable, Swift.Equatable where T : Swift.Dec
|
|
|
2202
2202
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
2203
2203
|
public init(from decoder: any Swift.Decoder) throws
|
|
2204
2204
|
}
|
|
2205
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2206
|
-
case None
|
|
2207
|
-
case P
|
|
2208
|
-
case Span
|
|
2209
|
-
case Code
|
|
2210
|
-
case H1
|
|
2211
|
-
case H2
|
|
2212
|
-
case H3
|
|
2213
|
-
case H4
|
|
2214
|
-
case H5
|
|
2215
|
-
case H6
|
|
2216
|
-
case Li
|
|
2217
|
-
case Blockquote
|
|
2218
|
-
case B
|
|
2219
|
-
case Pre
|
|
2220
|
-
case Strong
|
|
2221
|
-
case Em
|
|
2222
|
-
case I
|
|
2223
|
-
case A
|
|
2224
|
-
public typealias RawValue = Swift.Int32
|
|
2225
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
2226
|
-
get
|
|
2227
|
-
}
|
|
2228
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
2229
|
-
public var description: Swift.String {
|
|
2230
|
-
get
|
|
2231
|
-
}
|
|
2232
|
-
}
|
|
2233
|
-
public enum InlineSegmentPayload {
|
|
2234
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
2235
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
2236
|
-
}
|
|
2237
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
2238
|
-
@objc override dynamic public init()
|
|
2239
|
-
@objc override dynamic public init(layer: Any)
|
|
2240
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
2241
|
-
@objc deinit
|
|
2242
|
-
}
|
|
2243
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
2244
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2245
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
2246
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
2247
|
-
@objc get
|
|
2248
|
-
@objc set
|
|
2249
|
-
}
|
|
2250
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
2251
|
-
@objc get
|
|
2252
|
-
}
|
|
2253
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
2254
|
-
@objc get
|
|
2255
|
-
}
|
|
2256
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2257
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2258
|
-
@objc get
|
|
2259
|
-
}
|
|
2260
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2261
|
-
@objc get
|
|
2262
|
-
}
|
|
2263
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
2264
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
2265
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
2266
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToWindow()
|
|
2267
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2268
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2269
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
2270
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
2271
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
2272
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var isAccessibilityElement: Swift.Bool {
|
|
2273
|
-
@objc get
|
|
2274
|
-
@objc set
|
|
2275
|
-
}
|
|
2276
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityLabel: Swift.String? {
|
|
2277
|
-
@objc get
|
|
2278
|
-
@objc set
|
|
2279
|
-
}
|
|
2280
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityTraits: UIKit.UIAccessibilityTraits {
|
|
2281
|
-
@objc get
|
|
2282
|
-
@objc set
|
|
2283
|
-
}
|
|
2284
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityElements: [Any]? {
|
|
2285
|
-
@objc get
|
|
2286
|
-
@objc set
|
|
2287
|
-
}
|
|
2288
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesCancelled(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
2289
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
2290
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
2291
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
2292
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
2293
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
2294
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
2295
|
-
get
|
|
2296
|
-
set
|
|
2297
|
-
}
|
|
2298
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
2299
|
-
@objc get
|
|
2300
|
-
@objc set
|
|
2301
|
-
}
|
|
2302
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
2303
|
-
@objc get
|
|
2304
|
-
@objc set
|
|
2305
|
-
}
|
|
2306
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
2307
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
2308
|
-
@objc get
|
|
2309
|
-
@objc set
|
|
2310
|
-
}
|
|
2311
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
2312
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
2313
|
-
@objc get
|
|
2314
|
-
@objc set
|
|
2315
|
-
}
|
|
2316
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
2317
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
2318
|
-
@objc get
|
|
2319
|
-
@objc set
|
|
2320
|
-
}
|
|
2321
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
2322
|
-
@objc get
|
|
2323
|
-
@objc set
|
|
2324
|
-
}
|
|
2325
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
2326
|
-
@objc get
|
|
2327
|
-
@objc set
|
|
2328
|
-
}
|
|
2329
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
2330
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
2331
|
-
@objc get
|
|
2332
|
-
@objc set
|
|
2333
|
-
}
|
|
2334
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
2335
|
-
@objc get
|
|
2336
|
-
@objc set
|
|
2337
|
-
}
|
|
2338
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
2339
|
-
@objc get
|
|
2340
|
-
@objc set
|
|
2341
|
-
}
|
|
2342
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
2343
|
-
@objc get
|
|
2344
|
-
@objc set
|
|
2345
|
-
}
|
|
2346
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
2347
|
-
@objc get
|
|
2348
|
-
@objc set
|
|
2349
|
-
}
|
|
2350
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
2351
|
-
@objc get
|
|
2352
|
-
@objc set
|
|
2353
|
-
}
|
|
2354
|
-
@objc deinit
|
|
2355
|
-
}
|
|
2356
|
-
extension Mason.MasonText {
|
|
2357
|
-
@objc @discardableResult
|
|
2358
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
2359
|
-
}
|
|
2360
|
-
extension Mason.MasonText {
|
|
2361
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
2362
|
-
}
|
|
2363
|
-
@objc public protocol MasonCharacterData {
|
|
2364
|
-
@objc var data: Swift.String { get set }
|
|
2365
|
-
@objc var length: Swift.Int { get }
|
|
2366
|
-
@objc @discardableResult
|
|
2367
|
-
func appendData(_ s: Swift.String) -> Self
|
|
2368
|
-
@objc @discardableResult
|
|
2369
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2370
|
-
@objc @discardableResult
|
|
2371
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2372
|
-
@objc @discardableResult
|
|
2373
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2374
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2375
|
-
@objc @discardableResult
|
|
2376
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
2377
|
-
@objc @discardableResult
|
|
2378
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2379
|
-
}
|
|
2380
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
2381
|
-
@objc public var data: Swift.String {
|
|
2382
|
-
@objc get
|
|
2383
|
-
@objc set
|
|
2384
|
-
}
|
|
2385
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
2386
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
2387
|
-
@objc public var length: Swift.Int {
|
|
2388
|
-
@objc get
|
|
2389
|
-
}
|
|
2390
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2391
|
-
@discardableResult
|
|
2392
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
2393
|
-
@discardableResult
|
|
2394
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2395
|
-
@discardableResult
|
|
2396
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2397
|
-
@discardableResult
|
|
2398
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2399
|
-
@discardableResult
|
|
2400
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
2401
|
-
@discardableResult
|
|
2402
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2403
|
-
@objc deinit
|
|
2404
|
-
}
|
|
2405
|
-
extension Mason.MasonTextNode {
|
|
2406
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
2407
|
-
}
|
|
2408
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
2409
|
-
@objc var engine: Mason.TextEngine { get }
|
|
2410
|
-
@objc var node: Mason.MasonNode { get }
|
|
2411
|
-
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2412
|
-
}
|
|
2413
|
-
extension Mason.TextContainer {
|
|
2414
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2415
|
-
}
|
|
2416
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
2417
|
-
public var textContent: Swift.String {
|
|
2418
|
-
get
|
|
2419
|
-
set
|
|
2420
|
-
}
|
|
2421
|
-
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2422
|
-
@objc deinit
|
|
2423
|
-
}
|
|
2424
2205
|
@_inheritsConvenienceInitializers @objcMembers @objc(MasonSwiftHelpers) public class SwiftHelpers : ObjectiveC.NSObject {
|
|
2425
2206
|
@objc public static func markNodeDirty(_ element: any Mason.MasonElementObjc)
|
|
2426
2207
|
@objc public static func isNodeDirty(_ element: any Mason.MasonElementObjc) -> Swift.Bool
|
|
@@ -2487,6 +2268,14 @@ extension UIKit.UIImage {
|
|
|
2487
2268
|
@objc get
|
|
2488
2269
|
@objc set
|
|
2489
2270
|
}
|
|
2271
|
+
@objc dynamic public var mason_detailsRole: Swift.Int {
|
|
2272
|
+
@objc get
|
|
2273
|
+
@objc set
|
|
2274
|
+
}
|
|
2275
|
+
@objc dynamic public var mason_detailsOpen: Swift.Bool {
|
|
2276
|
+
@objc get
|
|
2277
|
+
@objc set
|
|
2278
|
+
}
|
|
2490
2279
|
@discardableResult
|
|
2491
2280
|
@objc dynamic public func mason_addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
2492
2281
|
@discardableResult
|
|
@@ -3298,12 +3087,249 @@ public struct FontVariantNumeric : Swift.OptionSet, Swift.CustomStringConvertibl
|
|
|
3298
3087
|
public typealias Element = Mason.FontVariantNumeric
|
|
3299
3088
|
public typealias RawValue = Swift.UInt8
|
|
3300
3089
|
}
|
|
3090
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
3091
|
+
case None
|
|
3092
|
+
case P
|
|
3093
|
+
case Span
|
|
3094
|
+
case Code
|
|
3095
|
+
case H1
|
|
3096
|
+
case H2
|
|
3097
|
+
case H3
|
|
3098
|
+
case H4
|
|
3099
|
+
case H5
|
|
3100
|
+
case H6
|
|
3101
|
+
case Li
|
|
3102
|
+
case Blockquote
|
|
3103
|
+
case B
|
|
3104
|
+
case Pre
|
|
3105
|
+
case Strong
|
|
3106
|
+
case Em
|
|
3107
|
+
case I
|
|
3108
|
+
case A
|
|
3109
|
+
public typealias RawValue = Swift.Int32
|
|
3110
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
3111
|
+
get
|
|
3112
|
+
}
|
|
3113
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
3114
|
+
public var description: Swift.String {
|
|
3115
|
+
get
|
|
3116
|
+
}
|
|
3117
|
+
}
|
|
3118
|
+
public enum InlineSegmentPayload {
|
|
3119
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
3120
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
3121
|
+
}
|
|
3122
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
3123
|
+
@objc override dynamic public init()
|
|
3124
|
+
@objc override dynamic public init(layer: Any)
|
|
3125
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
3126
|
+
@objc deinit
|
|
3127
|
+
}
|
|
3128
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
3129
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
3130
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
3131
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
3132
|
+
@objc get
|
|
3133
|
+
@objc set
|
|
3134
|
+
}
|
|
3135
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
3136
|
+
@objc get
|
|
3137
|
+
}
|
|
3138
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
3139
|
+
@objc get
|
|
3140
|
+
}
|
|
3141
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
3142
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
3143
|
+
@objc get
|
|
3144
|
+
}
|
|
3145
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
3146
|
+
@objc get
|
|
3147
|
+
}
|
|
3148
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
3149
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
3150
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
3151
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToWindow()
|
|
3152
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
3153
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
3154
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
3155
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
3156
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
3157
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var isAccessibilityElement: Swift.Bool {
|
|
3158
|
+
@objc get
|
|
3159
|
+
@objc set
|
|
3160
|
+
}
|
|
3161
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityLabel: Swift.String? {
|
|
3162
|
+
@objc get
|
|
3163
|
+
@objc set
|
|
3164
|
+
}
|
|
3165
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityTraits: UIKit.UIAccessibilityTraits {
|
|
3166
|
+
@objc get
|
|
3167
|
+
@objc set
|
|
3168
|
+
}
|
|
3169
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityElements: [Any]? {
|
|
3170
|
+
@objc get
|
|
3171
|
+
@objc set
|
|
3172
|
+
}
|
|
3173
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesCancelled(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
3174
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
3175
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
3176
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
3177
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
3178
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
3179
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
3180
|
+
get
|
|
3181
|
+
set
|
|
3182
|
+
}
|
|
3183
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
3184
|
+
@objc get
|
|
3185
|
+
@objc set
|
|
3186
|
+
}
|
|
3187
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
3188
|
+
@objc get
|
|
3189
|
+
@objc set
|
|
3190
|
+
}
|
|
3191
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
3192
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
3193
|
+
@objc get
|
|
3194
|
+
@objc set
|
|
3195
|
+
}
|
|
3196
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
3197
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
3198
|
+
@objc get
|
|
3199
|
+
@objc set
|
|
3200
|
+
}
|
|
3201
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
3202
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
3203
|
+
@objc get
|
|
3204
|
+
@objc set
|
|
3205
|
+
}
|
|
3206
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
3207
|
+
@objc get
|
|
3208
|
+
@objc set
|
|
3209
|
+
}
|
|
3210
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
3211
|
+
@objc get
|
|
3212
|
+
@objc set
|
|
3213
|
+
}
|
|
3214
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
3215
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
3216
|
+
@objc get
|
|
3217
|
+
@objc set
|
|
3218
|
+
}
|
|
3219
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
3220
|
+
@objc get
|
|
3221
|
+
@objc set
|
|
3222
|
+
}
|
|
3223
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
3224
|
+
@objc get
|
|
3225
|
+
@objc set
|
|
3226
|
+
}
|
|
3227
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
3228
|
+
@objc get
|
|
3229
|
+
@objc set
|
|
3230
|
+
}
|
|
3231
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
3232
|
+
@objc get
|
|
3233
|
+
@objc set
|
|
3234
|
+
}
|
|
3235
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
3236
|
+
@objc get
|
|
3237
|
+
@objc set
|
|
3238
|
+
}
|
|
3239
|
+
@objc deinit
|
|
3240
|
+
}
|
|
3241
|
+
extension Mason.MasonText {
|
|
3242
|
+
@objc @discardableResult
|
|
3243
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
3244
|
+
}
|
|
3245
|
+
extension Mason.MasonText {
|
|
3246
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
3247
|
+
}
|
|
3248
|
+
@objc public protocol MasonCharacterData {
|
|
3249
|
+
@objc var data: Swift.String { get set }
|
|
3250
|
+
@objc var length: Swift.Int { get }
|
|
3251
|
+
@objc @discardableResult
|
|
3252
|
+
func appendData(_ s: Swift.String) -> Self
|
|
3253
|
+
@objc @discardableResult
|
|
3254
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
3255
|
+
@objc @discardableResult
|
|
3256
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
3257
|
+
@objc @discardableResult
|
|
3258
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
3259
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
3260
|
+
@objc @discardableResult
|
|
3261
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
3262
|
+
@objc @discardableResult
|
|
3263
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
3264
|
+
}
|
|
3265
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
3266
|
+
@objc public var data: Swift.String {
|
|
3267
|
+
@objc get
|
|
3268
|
+
@objc set
|
|
3269
|
+
}
|
|
3270
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
3271
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
3272
|
+
@objc public var length: Swift.Int {
|
|
3273
|
+
@objc get
|
|
3274
|
+
}
|
|
3275
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
3276
|
+
@discardableResult
|
|
3277
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
3278
|
+
@discardableResult
|
|
3279
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
3280
|
+
@discardableResult
|
|
3281
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
3282
|
+
@discardableResult
|
|
3283
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
3284
|
+
@discardableResult
|
|
3285
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
3286
|
+
@discardableResult
|
|
3287
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
3288
|
+
@objc deinit
|
|
3289
|
+
}
|
|
3290
|
+
extension Mason.MasonTextNode {
|
|
3291
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
3292
|
+
}
|
|
3293
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
3294
|
+
@objc var engine: Mason.TextEngine { get }
|
|
3295
|
+
@objc var node: Mason.MasonNode { get }
|
|
3296
|
+
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
3297
|
+
}
|
|
3298
|
+
extension Mason.TextContainer {
|
|
3299
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
3300
|
+
}
|
|
3301
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
3302
|
+
public var textContent: Swift.String {
|
|
3303
|
+
get
|
|
3304
|
+
set
|
|
3305
|
+
}
|
|
3306
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
3307
|
+
@objc deinit
|
|
3308
|
+
}
|
|
3301
3309
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
3302
3310
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
3303
3311
|
@objc get
|
|
3304
3312
|
}
|
|
3305
3313
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didAddSubview(_ subview: UIKit.UIView)
|
|
3306
3314
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
3315
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var isAccessibilityElement: Swift.Bool {
|
|
3316
|
+
@objc get
|
|
3317
|
+
@objc set
|
|
3318
|
+
}
|
|
3319
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityLabel: Swift.String? {
|
|
3320
|
+
@objc get
|
|
3321
|
+
@objc set
|
|
3322
|
+
}
|
|
3323
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityTraits: UIKit.UIAccessibilityTraits {
|
|
3324
|
+
@objc get
|
|
3325
|
+
@objc set
|
|
3326
|
+
}
|
|
3327
|
+
@available(iOS 18.0, *)
|
|
3328
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var accessibilityExpandedStatus: UIKit.UIAccessibility.ExpandedStatus {
|
|
3329
|
+
@objc get
|
|
3330
|
+
@objc set
|
|
3331
|
+
}
|
|
3332
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func accessibilityActivate() -> Swift.Bool
|
|
3307
3333
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
3308
3334
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
3309
3335
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
@@ -3643,8 +3669,6 @@ extension Mason.PseudoState : Swift.RawRepresentable {}
|
|
|
3643
3669
|
extension Mason.TransformOpType : Swift.Equatable {}
|
|
3644
3670
|
extension Mason.TransformOpType : Swift.Hashable {}
|
|
3645
3671
|
extension Mason.TransformOpType : Swift.RawRepresentable {}
|
|
3646
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3647
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3648
3672
|
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
3649
3673
|
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
3650
3674
|
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
@@ -3725,3 +3749,5 @@ extension Mason.ListStylePosition : Swift.Equatable {}
|
|
|
3725
3749
|
extension Mason.ListStylePosition : Swift.Hashable {}
|
|
3726
3750
|
extension Mason.ListStyleType : Swift.Equatable {}
|
|
3727
3751
|
extension Mason.ListStyleType : Swift.Hashable {}
|
|
3752
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3753
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|