@triniwiz/nativescript-masonkit 1.0.0-alpha.16 → 1.0.0-alpha.18
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.d.ts +4 -0
- package/common.js +39 -15
- package/common.js.map +1 -1
- package/index.android.d.ts +12 -1
- package/index.android.js +41 -2
- package/index.android.js.map +1 -1
- package/index.d.ts +49 -1
- package/index.ios.d.ts +14 -1
- package/index.ios.js +83 -2
- package/index.ios.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/include.gradle +5 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +26 -3
- 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 +1195 -88
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +33 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +33 -0
- 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 +2416 -2260
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +52 -6
- 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 +1195 -88
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +33 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +33 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +1195 -88
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +33 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +33 -0
- 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 +2416 -2260
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2352 -2198
|
@@ -144,6 +144,7 @@ public struct Line<T> {
|
|
|
144
144
|
@objc public func createView() -> Mason.MasonUIView
|
|
145
145
|
@objc public func createTextView() -> Mason.MasonText
|
|
146
146
|
@objc public func createTextView(type: Mason.MasonTextType) -> Mason.MasonText
|
|
147
|
+
@objc public func createImageView() -> Mason.MasonImg
|
|
147
148
|
@objc public func createNode() -> Mason.MasonNode
|
|
148
149
|
public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
149
150
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
@@ -335,6 +336,10 @@ extension UIKit.UIColor {
|
|
|
335
336
|
@objc @_Concurrency.MainActor @preconcurrency public func updateText(_ value: Swift.String?)
|
|
336
337
|
@objc @_Concurrency.MainActor @preconcurrency public var txtToRender: Foundation.NSMutableAttributedString
|
|
337
338
|
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
339
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
340
|
+
get
|
|
341
|
+
set
|
|
342
|
+
}
|
|
338
343
|
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
339
344
|
@objc get
|
|
340
345
|
@objc set
|
|
@@ -871,6 +876,25 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
871
876
|
}
|
|
872
877
|
@objc deinit
|
|
873
878
|
}
|
|
879
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class MasonImg : UIKit.UIImageView, Mason.MasonView {
|
|
880
|
+
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
881
|
+
@objc get
|
|
882
|
+
}
|
|
883
|
+
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
884
|
+
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
885
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
|
|
886
|
+
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
887
|
+
@objc get
|
|
888
|
+
}
|
|
889
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
890
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
891
|
+
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
892
|
+
@objc get
|
|
893
|
+
@objc set
|
|
894
|
+
}
|
|
895
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
896
|
+
@objc deinit
|
|
897
|
+
}
|
|
874
898
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
875
899
|
case Auto
|
|
876
900
|
case Points
|
|
@@ -1232,6 +1256,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1232
1256
|
case Pre
|
|
1233
1257
|
case PreWrap
|
|
1234
1258
|
case PreLine
|
|
1259
|
+
case Nowrap
|
|
1235
1260
|
public typealias RawValue = Swift.Int32
|
|
1236
1261
|
public var rawValue: Mason.WhiteSpace.RawValue {
|
|
1237
1262
|
get
|
|
@@ -1255,6 +1280,14 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1255
1280
|
get
|
|
1256
1281
|
}
|
|
1257
1282
|
}
|
|
1283
|
+
public enum TextOverflow : Swift.CustomStringConvertible {
|
|
1284
|
+
case Clip
|
|
1285
|
+
case Ellipse(Swift.String?)
|
|
1286
|
+
case Custom(Swift.String)
|
|
1287
|
+
public var description: Swift.String {
|
|
1288
|
+
get
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1258
1291
|
public protocol MasonView {
|
|
1259
1292
|
var style: Mason.MasonStyle { get }
|
|
1260
1293
|
var node: Mason.MasonNode { get }
|
|
@@ -144,6 +144,7 @@ public struct Line<T> {
|
|
|
144
144
|
@objc public func createView() -> Mason.MasonUIView
|
|
145
145
|
@objc public func createTextView() -> Mason.MasonText
|
|
146
146
|
@objc public func createTextView(type: Mason.MasonTextType) -> Mason.MasonText
|
|
147
|
+
@objc public func createImageView() -> Mason.MasonImg
|
|
147
148
|
@objc public func createNode() -> Mason.MasonNode
|
|
148
149
|
public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
149
150
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
@@ -335,6 +336,10 @@ extension UIKit.UIColor {
|
|
|
335
336
|
@objc @_Concurrency.MainActor @preconcurrency public func updateText(_ value: Swift.String?)
|
|
336
337
|
@objc @_Concurrency.MainActor @preconcurrency public var txtToRender: Foundation.NSMutableAttributedString
|
|
337
338
|
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
339
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
340
|
+
get
|
|
341
|
+
set
|
|
342
|
+
}
|
|
338
343
|
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
339
344
|
@objc get
|
|
340
345
|
@objc set
|
|
@@ -871,6 +876,25 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
871
876
|
}
|
|
872
877
|
@objc deinit
|
|
873
878
|
}
|
|
879
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class MasonImg : UIKit.UIImageView, Mason.MasonView {
|
|
880
|
+
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
881
|
+
@objc get
|
|
882
|
+
}
|
|
883
|
+
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
884
|
+
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
885
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
|
|
886
|
+
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
887
|
+
@objc get
|
|
888
|
+
}
|
|
889
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
890
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
891
|
+
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
892
|
+
@objc get
|
|
893
|
+
@objc set
|
|
894
|
+
}
|
|
895
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
896
|
+
@objc deinit
|
|
897
|
+
}
|
|
874
898
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
875
899
|
case Auto
|
|
876
900
|
case Points
|
|
@@ -1232,6 +1256,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1232
1256
|
case Pre
|
|
1233
1257
|
case PreWrap
|
|
1234
1258
|
case PreLine
|
|
1259
|
+
case Nowrap
|
|
1235
1260
|
public typealias RawValue = Swift.Int32
|
|
1236
1261
|
public var rawValue: Mason.WhiteSpace.RawValue {
|
|
1237
1262
|
get
|
|
@@ -1255,6 +1280,14 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1255
1280
|
get
|
|
1256
1281
|
}
|
|
1257
1282
|
}
|
|
1283
|
+
public enum TextOverflow : Swift.CustomStringConvertible {
|
|
1284
|
+
case Clip
|
|
1285
|
+
case Ellipse(Swift.String?)
|
|
1286
|
+
case Custom(Swift.String)
|
|
1287
|
+
public var description: Swift.String {
|
|
1288
|
+
get
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1258
1291
|
public protocol MasonView {
|
|
1259
1292
|
var style: Mason.MasonStyle { get }
|
|
1260
1293
|
var node: Mason.MasonNode { get }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/Mason-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
UqpS4Mf9p6s3bCjw3i913PW7D9s=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Mason.h</key>
|
|
12
12
|
<data>
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
piRj0Ry6BuVUguufDYym17kq1sQ=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
HsU2u9Bps9WxvAi8VoKiPE6EQI4=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
5fZRvSO6GKZsn4rnb52aK9R1Qd8=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
kqXyfj2wIRfrNVOR6wD++DsfUxU=
|
|
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
|
+
kqXyfj2wIRfrNVOR6wD++DsfUxU=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
4BjX0tFV3krDi1BMQ2uThpubPic=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
5fZRvSO6GKZsn4rnb52aK9R1Qd8=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
JdPX8XVqi1lb84NHGSeD7v+nYac=
|
|
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
|
+
JdPX8XVqi1lb84NHGSeD7v+nYac=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
KH3vALwz6oZmLRjGOK/1LoI/DOg=
|
|
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
|
+
VyoAo6wA/yorgOdNZiLT+7Ru7szl4eiQ3+izR6M74mA=
|
|
83
83
|
</data>
|
|
84
84
|
</dict>
|
|
85
85
|
<key>Headers/Mason.h</key>
|
|
@@ -100,28 +100,28 @@
|
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
TpxN5z99bLXQcBkc6+LB0Iqbsite4SH3QYNN1xeg94c=
|
|
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
|
+
oH5HnhUk5t/4UVAPNW32uiBwvDbqF+YUarTUdk1U+NU=
|
|
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
|
+
0psqk5T4VBWQExJRJEFdhRm6pb19W0sCEvnUBwyBNWk=
|
|
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
|
+
UXSDZ293WIeCGvUULQuElTq67++aHUt4wb5e3Xs1r20=
|
|
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
|
+
UXSDZ293WIeCGvUULQuElTq67++aHUt4wb5e3Xs1r20=
|
|
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
|
+
80qF8iFJMhJ+sR9IgHHs4Ce98aBgqFTZN7uRIzIu9KA=
|
|
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
|
+
0psqk5T4VBWQExJRJEFdhRm6pb19W0sCEvnUBwyBNWk=
|
|
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
|
+
AMAOdnIXsPv01b1ZyQ0oOqgOzpAbeyiRO4EeBuODJr8=
|
|
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
|
+
AMAOdnIXsPv01b1ZyQ0oOqgOzpAbeyiRO4EeBuODJr8=
|
|
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
|
+
iNyoJ2IbehHJHltxLzWNv9CDngiPTpTJNTHXezVcG38=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|