@triniwiz/nativescript-masonkit 1.0.0-beta.70 → 1.0.0-beta.71
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 +34 -12
- package/common.js +193 -7
- package/common.js.map +1 -1
- package/index.d.ts +9 -0
- package/package.json +1 -1
- package/platforms/android/include.gradle +1 -0
- 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 +101 -119
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -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 +38643 -42603
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +212 -551
- 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 +212 -551
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +0 -1
- 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 +8340 -8694
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +202 -238
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -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 +38643 -42603
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +212 -551
- 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 +212 -551
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +38643 -42603
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +212 -551
- 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 +212 -551
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +0 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +29 -29
- 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 +8335 -8689
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +7982 -8321
- package/properties.js +11 -0
- package/properties.js.map +1 -1
- package/scroll/index.android.js +4 -1
- package/scroll/index.android.js.map +1 -1
- package/scroll/index.ios.js +10 -1
- package/scroll/index.ios.js.map +1 -1
- package/style.d.ts +6 -6
- package/style.js +7 -4
- package/style.js.map +1 -1
- package/symbols.d.ts +1 -0
- package/symbols.js +1 -0
- package/symbols.js.map +1 -1
- package/text/index.android.js +12 -1
- package/text/index.android.js.map +1 -1
- package/text/index.ios.js +5 -1
- package/text/index.ios.js.map +1 -1
- package/tree/index.android.js +5 -7
- package/tree/index.android.js.map +1 -1
- package/tree/index.ios.js +4 -6
- package/tree/index.ios.js.map +1 -1
- package/view/index.android.js +4 -1
- package/view/index.android.js.map +1 -1
- package/view/index.ios.js +16 -1
- package/view/index.ios.js.map +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Headers/Mason-Swift.h +0 -1995
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Headers/Mason.h +0 -25
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Headers/mason_native.h +0 -499
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -102460
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -3807
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -3807
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/module.modulemap +0 -11
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/_CodeSignature/CodeResources +0 -212
package/index.d.ts
CHANGED
|
@@ -92,6 +92,9 @@ declare module '@nativescript/core/ui/styling/style' {
|
|
|
92
92
|
gridRowEnd: string;
|
|
93
93
|
gridTemplateRows: string;
|
|
94
94
|
gridTemplateColumns: string;
|
|
95
|
+
gridTemplateAreas: string;
|
|
96
|
+
textOverflow: 'clip' | 'ellipsis' | string;
|
|
97
|
+
textWrap: 'nowrap' | 'wrap' | 'balance';
|
|
95
98
|
overflow: Overflow | `${Overflow} ${Overflow}`;
|
|
96
99
|
overflowX: Overflow;
|
|
97
100
|
overflowY: Overflow;
|
|
@@ -164,6 +167,9 @@ interface Style {
|
|
|
164
167
|
gridRowEnd: string;
|
|
165
168
|
gridTemplateRows: string;
|
|
166
169
|
gridTemplateColumns: string;
|
|
170
|
+
gridTemplateAreas: string;
|
|
171
|
+
textOverflow: 'clip' | 'ellipsis' | string;
|
|
172
|
+
textWrap: 'nowrap' | 'wrap' | 'balance';
|
|
167
173
|
overflow: Overflow | `${Overflow} ${Overflow}`;
|
|
168
174
|
overflowX: Overflow;
|
|
169
175
|
overflowY: Overflow;
|
|
@@ -234,6 +240,9 @@ interface IViewBase {
|
|
|
234
240
|
gridRowEnd: string;
|
|
235
241
|
gridTemplateRows: string;
|
|
236
242
|
gridTemplateColumns: string;
|
|
243
|
+
gridTemplateAreas: string;
|
|
244
|
+
textOverflow: 'clip' | 'ellipsis' | string;
|
|
245
|
+
textWrap: 'nowrap' | 'wrap' | 'balance';
|
|
237
246
|
overflow: Overflow;
|
|
238
247
|
overflowX: Overflow;
|
|
239
248
|
overflowY: Overflow;
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -10,15 +10,18 @@
|
|
|
10
10
|
<key>DebugSymbolsPath</key>
|
|
11
11
|
<string>dSYMs</string>
|
|
12
12
|
<key>LibraryIdentifier</key>
|
|
13
|
-
<string>ios-
|
|
13
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
14
14
|
<key>LibraryPath</key>
|
|
15
15
|
<string>Mason.framework</string>
|
|
16
16
|
<key>SupportedArchitectures</key>
|
|
17
17
|
<array>
|
|
18
18
|
<string>arm64</string>
|
|
19
|
+
<string>x86_64</string>
|
|
19
20
|
</array>
|
|
20
21
|
<key>SupportedPlatform</key>
|
|
21
22
|
<string>ios</string>
|
|
23
|
+
<key>SupportedPlatformVariant</key>
|
|
24
|
+
<string>simulator</string>
|
|
22
25
|
</dict>
|
|
23
26
|
<dict>
|
|
24
27
|
<key>BinaryPath</key>
|
|
@@ -26,18 +29,15 @@
|
|
|
26
29
|
<key>DebugSymbolsPath</key>
|
|
27
30
|
<string>dSYMs</string>
|
|
28
31
|
<key>LibraryIdentifier</key>
|
|
29
|
-
<string>ios-
|
|
32
|
+
<string>ios-arm64</string>
|
|
30
33
|
<key>LibraryPath</key>
|
|
31
34
|
<string>Mason.framework</string>
|
|
32
35
|
<key>SupportedArchitectures</key>
|
|
33
36
|
<array>
|
|
34
37
|
<string>arm64</string>
|
|
35
|
-
<string>x86_64</string>
|
|
36
38
|
</array>
|
|
37
39
|
<key>SupportedPlatform</key>
|
|
38
40
|
<string>ios</string>
|
|
39
|
-
<key>SupportedPlatformVariant</key>
|
|
40
|
-
<string>simulator</string>
|
|
41
41
|
</dict>
|
|
42
42
|
</array>
|
|
43
43
|
<key>CFBundlePackageType</key>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.
|
|
3
|
+
// Generated by Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
4
4
|
#ifndef MASON_SWIFT_H
|
|
5
5
|
#define MASON_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
27
|
#if defined(__OBJC__)
|
|
28
28
|
#include <Foundation/Foundation.h>
|
|
29
|
-
#endif
|
|
29
|
+
#endif // defined(__OBJC__)
|
|
30
30
|
#if defined(__cplusplus)
|
|
31
31
|
#include <cstdint>
|
|
32
32
|
#include <cstddef>
|
|
@@ -195,13 +195,32 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
195
195
|
# endif
|
|
196
196
|
#endif
|
|
197
197
|
#if !defined(SWIFT_ENUM)
|
|
198
|
-
#
|
|
199
|
-
#
|
|
200
|
-
#
|
|
198
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
199
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
200
|
+
# if __has_feature(generalized_swift_name)
|
|
201
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
202
|
+
# else
|
|
203
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
204
|
+
# endif
|
|
201
205
|
# else
|
|
206
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
|
202
207
|
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
203
208
|
# endif
|
|
204
209
|
#endif
|
|
210
|
+
#if !defined(SWIFT_ENUM_TAG)
|
|
211
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
212
|
+
# define SWIFT_ENUM_TAG enum
|
|
213
|
+
# else
|
|
214
|
+
# define SWIFT_ENUM_TAG
|
|
215
|
+
# endif
|
|
216
|
+
#endif
|
|
217
|
+
#if !defined(SWIFT_ENUM_FWD_DECL)
|
|
218
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
219
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
|
220
|
+
# else
|
|
221
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
|
222
|
+
# endif
|
|
223
|
+
#endif
|
|
205
224
|
#if !defined(SWIFT_UNAVAILABLE)
|
|
206
225
|
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
207
226
|
#endif
|
|
@@ -211,6 +230,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
211
230
|
#if !defined(SWIFT_AVAILABILITY)
|
|
212
231
|
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
213
232
|
#endif
|
|
233
|
+
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
|
234
|
+
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
|
235
|
+
#endif
|
|
214
236
|
#if !defined(SWIFT_WEAK_IMPORT)
|
|
215
237
|
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
216
238
|
#endif
|
|
@@ -276,6 +298,49 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
276
298
|
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
277
299
|
#endif
|
|
278
300
|
#endif
|
|
301
|
+
#if !__has_feature(nullability)
|
|
302
|
+
# define _Nonnull
|
|
303
|
+
# define _Nullable
|
|
304
|
+
# define _Null_unspecified
|
|
305
|
+
#elif !defined(__OBJC__)
|
|
306
|
+
# pragma clang diagnostic ignored "-Wnullability-extension"
|
|
307
|
+
#endif
|
|
308
|
+
#if !__has_feature(nullability_nullable_result)
|
|
309
|
+
# define _Nullable_result _Nullable
|
|
310
|
+
#endif
|
|
311
|
+
#if __has_feature(objc_modules)
|
|
312
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
313
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
314
|
+
#endif
|
|
315
|
+
#endif
|
|
316
|
+
|
|
317
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
318
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
319
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
320
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
321
|
+
#endif
|
|
322
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
323
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
324
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
325
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
326
|
+
|
|
327
|
+
#if __has_attribute(external_source_symbol)
|
|
328
|
+
# pragma push_macro("any")
|
|
329
|
+
# undef any
|
|
330
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Mason",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
331
|
+
# pragma pop_macro("any")
|
|
332
|
+
#endif
|
|
333
|
+
|
|
334
|
+
#if defined(__cplusplus)
|
|
335
|
+
extern "C" {
|
|
336
|
+
#endif
|
|
337
|
+
|
|
338
|
+
#if defined(__cplusplus)
|
|
339
|
+
} // extern "C"
|
|
340
|
+
#endif
|
|
341
|
+
#if __has_attribute(external_source_symbol)
|
|
342
|
+
# pragma clang attribute pop
|
|
343
|
+
#endif
|
|
279
344
|
#if defined(__OBJC__)
|
|
280
345
|
#if __has_feature(objc_modules)
|
|
281
346
|
#if __has_warning("-Watimport-in-framework-header")
|
|
@@ -289,7 +354,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
289
354
|
@import UIKit;
|
|
290
355
|
#endif
|
|
291
356
|
|
|
292
|
-
#endif
|
|
357
|
+
#endif // defined(__OBJC__)
|
|
293
358
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
294
359
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
295
360
|
#if __has_warning("-Wpragma-clang-attribute")
|
|
@@ -486,7 +551,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridAutoFlowWrap, "GridAutoFlow", open)
|
|
|
486
551
|
MasonGridAutoFlowWrapColumnDense = 3,
|
|
487
552
|
};
|
|
488
553
|
|
|
489
|
-
|
|
554
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonGridPlacementCompatType)
|
|
490
555
|
SWIFT_CLASS_NAMED("GridPlacementCompat")
|
|
491
556
|
@interface GridPlacementCompat : NSObject
|
|
492
557
|
- (nonnull instancetype)initWithSpan:(int16_t)span OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -530,7 +595,7 @@ SWIFT_CLASS_NAMED("HTMLParser")
|
|
|
530
595
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
531
596
|
@end
|
|
532
597
|
|
|
533
|
-
|
|
598
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonLoadingState)
|
|
534
599
|
@class UIImage;
|
|
535
600
|
SWIFT_CLASS_NAMED("Img")
|
|
536
601
|
@interface MasonImg : UIView <MasonElementObjc>
|
|
@@ -644,7 +709,7 @@ SWIFT_PROTOCOL("_TtP5Mason18MasonCharacterData_")
|
|
|
644
709
|
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
645
710
|
@end
|
|
646
711
|
|
|
647
|
-
|
|
712
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonDimensionCompatType)
|
|
648
713
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
649
714
|
@interface MasonDimensionCompat : NSObject
|
|
650
715
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -756,7 +821,7 @@ SWIFT_CLASS("_TtC5Mason15MasonImageLayer")
|
|
|
756
821
|
- (void)layoutSublayers;
|
|
757
822
|
@end
|
|
758
823
|
|
|
759
|
-
|
|
824
|
+
SWIFT_ENUM_FWD_DECL(int8_t, MasonInputType)
|
|
760
825
|
@class NSDate;
|
|
761
826
|
SWIFT_CLASS_NAMED("MasonInput")
|
|
762
827
|
@interface MasonInput : UIView
|
|
@@ -844,7 +909,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLayout
|
|
|
844
909
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
845
910
|
@end
|
|
846
911
|
|
|
847
|
-
|
|
912
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonLengthPercentageAutoCompatType)
|
|
848
913
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoCompat")
|
|
849
914
|
@interface MasonLengthPercentageAutoCompat : NSObject
|
|
850
915
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -894,7 +959,7 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
|
894
959
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
895
960
|
@end
|
|
896
961
|
|
|
897
|
-
|
|
962
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonLengthPercentageCompatType)
|
|
898
963
|
SWIFT_CLASS_NAMED("MasonLengthPercentageCompat")
|
|
899
964
|
@interface MasonLengthPercentageCompat : NSObject
|
|
900
965
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -1049,8 +1114,8 @@ SWIFT_CLASS_NAMED("MasonMouseEventOptions")
|
|
|
1049
1114
|
- (nonnull instancetype)initWithIsComposing:(BOOL)isComposing OBJC_DESIGNATED_INITIALIZER;
|
|
1050
1115
|
@end
|
|
1051
1116
|
|
|
1052
|
-
|
|
1053
|
-
|
|
1117
|
+
SWIFT_ENUM_FWD_DECL(uint16_t, PseudoState)
|
|
1118
|
+
SWIFT_ENUM_FWD_DECL(int32_t, MasonNodeType)
|
|
1054
1119
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
1055
1120
|
@interface MasonNode : NSObject
|
|
1056
1121
|
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
@@ -1103,7 +1168,7 @@ typedef SWIFT_ENUM_NAMED(int32_t, MasonNodeType, "MasonNodeType", open) {
|
|
|
1103
1168
|
MasonNodeTypeDocument = 2,
|
|
1104
1169
|
};
|
|
1105
1170
|
|
|
1106
|
-
|
|
1171
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonOverflow)
|
|
1107
1172
|
SWIFT_CLASS_NAMED("MasonOverflowPointCompat")
|
|
1108
1173
|
@interface MasonOverflowPointCompat : NSObject
|
|
1109
1174
|
@property (nonatomic) enum MasonOverflow x;
|
|
@@ -1134,15 +1199,15 @@ SWIFT_CLASS_NAMED("MasonSizeHelper")
|
|
|
1134
1199
|
|
|
1135
1200
|
@class NSCFontFace;
|
|
1136
1201
|
@class MasonVerticalAlignValue;
|
|
1137
|
-
|
|
1202
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonObjectFit)
|
|
1138
1203
|
@class UIColor;
|
|
1139
|
-
|
|
1204
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonTextJustify)
|
|
1140
1205
|
@class MasonTextOverflowCompat;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1206
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonTextTransform)
|
|
1207
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonWhiteSpace)
|
|
1208
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonTextWrap)
|
|
1209
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonPosition)
|
|
1210
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonTextAlign)
|
|
1146
1211
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
1147
1212
|
@interface MasonStyle : NSObject
|
|
1148
1213
|
@property (nonatomic, readonly, strong) NSCFontFace * _Null_unspecified font;
|
|
@@ -1292,7 +1357,7 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
1292
1357
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1293
1358
|
@end
|
|
1294
1359
|
|
|
1295
|
-
|
|
1360
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, MasonTextType)
|
|
1296
1361
|
SWIFT_CLASS_NAMED("MasonText")
|
|
1297
1362
|
@interface MasonText : UIView <MasonElementObjc, MasonTextContainer>
|
|
1298
1363
|
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
@@ -1451,12 +1516,15 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
1451
1516
|
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1452
1517
|
- (void)layoutSubviews;
|
|
1453
1518
|
- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow;
|
|
1519
|
+
- (void)willMoveToSuperview:(UIView * _Nullable)newSuperview;
|
|
1454
1520
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1455
1521
|
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1456
1522
|
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1457
1523
|
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1458
1524
|
- (void)addView:(UIView * _Nonnull)view;
|
|
1459
1525
|
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1526
|
+
- (void)removeView:(UIView * _Nonnull)view;
|
|
1527
|
+
- (void)removeViewAt:(NSInteger)index;
|
|
1460
1528
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
1461
1529
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
1462
1530
|
@property (nonatomic) BOOL inBatch;
|
|
@@ -1626,101 +1694,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing *
|
|
|
1626
1694
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1627
1695
|
@end
|
|
1628
1696
|
|
|
1629
|
-
SWIFT_CLASS_NAMED("NSCFontDescriptors")
|
|
1630
|
-
@interface NSCFontDescriptors : NSObject <NSMutableCopying>
|
|
1631
|
-
- (id _Nonnull)mutableCopyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
1632
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1633
|
-
- (void)update:(NSString * _Nonnull)value;
|
|
1634
|
-
- (void)setFontWeight:(NSString * _Nonnull)value;
|
|
1635
|
-
- (void)setFontStyle:(NSString * _Nonnull)value;
|
|
1636
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1637
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1638
|
-
@end
|
|
1639
|
-
|
|
1640
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontDisplay, "NSCFontDisplay", open) {
|
|
1641
|
-
NSCFontDisplayAuto = 0,
|
|
1642
|
-
NSCFontDisplayBlock = 1,
|
|
1643
|
-
NSCFontDisplayFallback = 2,
|
|
1644
|
-
NSCFontDisplayOptional = 3,
|
|
1645
|
-
NSCFontDisplaySwap = 4,
|
|
1646
|
-
};
|
|
1647
|
-
|
|
1648
|
-
@class NSData;
|
|
1649
|
-
enum NSCFontFaceStatus : NSInteger;
|
|
1650
|
-
enum NSCFontWeight : NSInteger;
|
|
1651
|
-
SWIFT_CLASS_NAMED("NSCFontFace")
|
|
1652
|
-
@interface NSCFontFace : NSObject
|
|
1653
|
-
@property (nonatomic, readonly) CGFontRef _Nullable font;
|
|
1654
|
-
@property (nonatomic, readonly, strong) NSData * _Nullable fontData;
|
|
1655
|
-
- (void)updateDescriptorWithValue:(NSString * _Nonnull)value;
|
|
1656
|
-
+ (NSCFontFace * _Nullable)loadFromStyleWithStyle:(NSString * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1657
|
-
+ (void)importFromRemoteWithUrl:(NSString * _Nonnull)url load:(BOOL)load callback:(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nullable, NSString * _Nullable))callback;
|
|
1658
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1659
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family owner:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
|
|
1660
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family source:(NSString * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1661
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family data:(NSData * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1662
|
-
- (nonnull instancetype)init:(NSString * _Nonnull)family :(NSString * _Nullable)source :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1663
|
-
- (nonnull instancetype)init:(NSString * _Nonnull)family data:(NSData * _Nullable)data :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1664
|
-
@property (nonatomic) enum NSCFontFaceStatus status;
|
|
1665
|
-
@property (nonatomic) enum NSCFontDisplay display;
|
|
1666
|
-
- (void)setFontDisplayWithValue:(NSString * _Nonnull)value;
|
|
1667
|
-
@property (nonatomic, copy) NSString * _Nonnull style;
|
|
1668
|
-
- (void)setFontStyleWithValue:(NSString * _Nonnull)value angle:(NSString * _Nullable)angle;
|
|
1669
|
-
@property (nonatomic) enum NSCFontWeight weight;
|
|
1670
|
-
- (void)setFontWeightWithValue:(NSString * _Nonnull)value;
|
|
1671
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull family;
|
|
1672
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull ascentOverride;
|
|
1673
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull descentOverride;
|
|
1674
|
-
- (void)load:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
1675
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1676
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1677
|
-
@end
|
|
1678
|
-
|
|
1679
|
-
enum NSCFontFaceSetStatus : NSInteger;
|
|
1680
|
-
@class NSEnumerator;
|
|
1681
|
-
SWIFT_CLASS_NAMED("NSCFontFaceSet")
|
|
1682
|
-
@interface NSCFontFaceSet : NSObject
|
|
1683
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSCFontFaceSet * _Nonnull instance;)
|
|
1684
|
-
+ (NSCFontFaceSet * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
|
|
1685
|
-
@property (nonatomic) enum NSCFontFaceSetStatus status;
|
|
1686
|
-
@property (nonatomic, copy) void (^ _Nullable onStatus)(enum NSCFontFaceSetStatus);
|
|
1687
|
-
- (NSEnumerator * _Nonnull)iter SWIFT_WARN_UNUSED_RESULT;
|
|
1688
|
-
- (NSArray * _Nonnull)array SWIFT_WARN_UNUSED_RESULT;
|
|
1689
|
-
- (NSCFontFace * _Nonnull)get:(NSString * _Nonnull)fontFamily SWIFT_WARN_UNUSED_RESULT;
|
|
1690
|
-
- (NSCFontFace * _Nullable)getOrNil:(NSString * _Nonnull)fontFamily SWIFT_WARN_UNUSED_RESULT;
|
|
1691
|
-
- (void)add:(NSCFontFace * _Nonnull)font;
|
|
1692
|
-
- (void)clear;
|
|
1693
|
-
- (void)delete:(NSCFontFace * _Nonnull)font;
|
|
1694
|
-
- (BOOL)check:(NSString * _Nonnull)font :(NSString * _Nullable)text SWIFT_WARN_UNUSED_RESULT;
|
|
1695
|
-
- (void)load:(NSString * _Nonnull)font :(NSString * _Nullable)text :(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nonnull, NSString * _Nullable))callback;
|
|
1696
|
-
@property (nonatomic, readonly) NSInteger size;
|
|
1697
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1698
|
-
@end
|
|
1699
|
-
|
|
1700
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceSetStatus, "NSCFontFaceSetStatus", open) {
|
|
1701
|
-
NSCFontFaceSetStatusLoading = 0,
|
|
1702
|
-
NSCFontFaceSetStatusLoaded = 1,
|
|
1703
|
-
};
|
|
1704
|
-
|
|
1705
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceStatus, "NSCFontFaceStatus", open) {
|
|
1706
|
-
NSCFontFaceStatusUnloaded = 0,
|
|
1707
|
-
NSCFontFaceStatusLoading = 1,
|
|
1708
|
-
NSCFontFaceStatusLoaded = 2,
|
|
1709
|
-
NSCFontFaceStatusError = 3,
|
|
1710
|
-
};
|
|
1711
|
-
|
|
1712
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontWeight, "NSCFontWeight", open) {
|
|
1713
|
-
NSCFontWeightThin = 0,
|
|
1714
|
-
NSCFontWeightExtraLight = 1,
|
|
1715
|
-
NSCFontWeightLight = 2,
|
|
1716
|
-
NSCFontWeightNormal = 3,
|
|
1717
|
-
NSCFontWeightMedium = 4,
|
|
1718
|
-
NSCFontWeightSemiBold = 5,
|
|
1719
|
-
NSCFontWeightBold = 6,
|
|
1720
|
-
NSCFontWeightExtraBold = 7,
|
|
1721
|
-
NSCFontWeightBlack = 8,
|
|
1722
|
-
};
|
|
1723
|
-
|
|
1724
1697
|
@class NSUUID;
|
|
1725
1698
|
@class MasonScroll;
|
|
1726
1699
|
SWIFT_CLASS_NAMED("NSCMason")
|
|
@@ -1810,6 +1783,13 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) float scale;)
|
|
|
1810
1783
|
- (void)mason_replaceChildAtText:(NSString * _Nonnull)text :(NSInteger)index;
|
|
1811
1784
|
- (void)mason_replaceChildAtElement:(id <MasonElementObjc> _Nonnull)element :(NSInteger)index;
|
|
1812
1785
|
- (void)mason_replaceChildAtNode:(MasonNode * _Nonnull)node :(NSInteger)index;
|
|
1786
|
+
/// Remove the child node (view or text node) at <code>index</code> from the mason tree.
|
|
1787
|
+
/// Counterpart to <code>mason_addChildAt</code>; <code>MasonNode.removeChildAt</code> already
|
|
1788
|
+
/// handles both <code>MasonTextNode</code> and element children.
|
|
1789
|
+
- (void)mason_removeChildAt:(NSInteger)index;
|
|
1790
|
+
/// Remove a specific child node (e.g. the <code>MasonTextNode</code> a framework stamped
|
|
1791
|
+
/// onto its JS text node) without needing its index.
|
|
1792
|
+
- (void)mason_removeChildNode:(MasonNode * _Nonnull)node;
|
|
1813
1793
|
@end
|
|
1814
1794
|
|
|
1815
1795
|
typedef SWIFT_ENUM_NAMED(NSInteger, MasonObjectFit, "ObjectFit", open) {
|
|
@@ -1857,6 +1837,8 @@ SWIFT_CLASS_NAMED("Scroll")
|
|
|
1857
1837
|
- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView;
|
|
1858
1838
|
- (void)addView:(UIView * _Nonnull)view;
|
|
1859
1839
|
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1840
|
+
- (void)removeView:(UIView * _Nonnull)view;
|
|
1841
|
+
- (void)removeViewAt:(NSInteger)index;
|
|
1860
1842
|
- (void)setSize:(float)width :(float)height;
|
|
1861
1843
|
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1862
1844
|
@end
|
|
@@ -1981,7 +1963,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonWhiteSpace, "WhiteSpace", open) {
|
|
|
1981
1963
|
MasonWhiteSpaceBreakSpaces = 5,
|
|
1982
1964
|
};
|
|
1983
1965
|
|
|
1984
|
-
#endif
|
|
1966
|
+
#endif // defined(__OBJC__)
|
|
1985
1967
|
#if __has_attribute(external_source_symbol)
|
|
1986
1968
|
# pragma clang attribute pop
|
|
1987
1969
|
#endif
|
|
Binary file
|
|
Binary file
|