react-native-tvos 0.72.5-0 → 0.72.6-1
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/Libraries/Animated/NativeAnimatedHelper.js +6 -3
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +6 -2
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/LogBox/Data/LogBoxData.js +2 -1
- package/Libraries/promiseRejectionTrackingOptions.js +21 -7
- package/Libraries/vendor/emitter/EventEmitter.js +3 -1
- package/React/Base/RCTTouchHandlerTV.m +35 -0
- package/React/Base/RCTVersion.m +2 -2
- package/React/Fabric/RCTSurfacePointerHandlerTV.mm +37 -0
- package/React/Fabric/RCTSurfaceTouchHandlerTV.mm +30 -0
- package/React/React-RCTFabric.podspec +5 -1
- package/React/Views/RCTTVView.m +2 -2
- package/React-Core.podspec +4 -2
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/shell/MainReactPackage.java +5 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagersPropertyCache.java +19 -2
- package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm +22 -6
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.mm +4 -0
- package/package.json +5 -5
- package/scripts/cocoapods/utils.rb +17 -11
- package/scripts/codegen/generate-legacy-interop-components.js +8 -2
- package/sdks/hermesc/linux64-bin/hermesc +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/Gemfile +2 -1
- package/template/package.json +1 -1
- package/types/public/ReactNativeTVTypes.d.ts +25 -25
- package/React/Fabric/RCTThirdPartyFabricComponentsProvider.h +0 -29
- package/React/Fabric/RCTThirdPartyFabricComponentsProvider.mm +0 -29
- package/ReactAndroid/src/main/java/com/facebook/react/ReactAndroidHWInputDeviceHelper.java +0 -98
- package/ReactCommon/react/renderer/components/rncore/ComponentDescriptors.h +0 -29
- package/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp +0 -111
- package/ReactCommon/react/renderer/components/rncore/EventEmitters.h +0 -186
- package/ReactCommon/react/renderer/components/rncore/Props.cpp +0 -157
- package/ReactCommon/react/renderer/components/rncore/Props.h +0 -395
- package/ReactCommon/react/renderer/components/rncore/RCTComponentViewHelpers.h +0 -257
- package/ReactCommon/react/renderer/components/rncore/ShadowNodes.cpp +0 -26
- package/ReactCommon/react/renderer/components/rncore/ShadowNodes.h +0 -111
- package/ReactCommon/react/renderer/components/rncore/States.cpp +0 -18
- package/ReactCommon/react/renderer/components/rncore/States.h +0 -141
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GenerateComponentHObjCpp.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
#import <Foundation/Foundation.h>
|
|
11
|
-
#import <React/RCTDefines.h>
|
|
12
|
-
#import <React/RCTLog.h>
|
|
13
|
-
|
|
14
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
-
|
|
16
|
-
@protocol RCTSafeAreaViewViewProtocol <NSObject>
|
|
17
|
-
|
|
18
|
-
@end
|
|
19
|
-
|
|
20
|
-
@protocol RCTAndroidHorizontalScrollContentViewViewProtocol <NSObject>
|
|
21
|
-
|
|
22
|
-
@end
|
|
23
|
-
|
|
24
|
-
@protocol RCTAndroidProgressBarViewProtocol <NSObject>
|
|
25
|
-
|
|
26
|
-
@end
|
|
27
|
-
|
|
28
|
-
@protocol RCTAndroidSwipeRefreshLayoutViewProtocol <NSObject>
|
|
29
|
-
- (void)setNativeRefreshing:(BOOL)value;
|
|
30
|
-
@end
|
|
31
|
-
|
|
32
|
-
RCT_EXTERN inline void RCTAndroidSwipeRefreshLayoutHandleCommand(
|
|
33
|
-
id<RCTAndroidSwipeRefreshLayoutViewProtocol> componentView,
|
|
34
|
-
NSString const *commandName,
|
|
35
|
-
NSArray const *args)
|
|
36
|
-
{
|
|
37
|
-
if ([commandName isEqualToString:@"setNativeRefreshing"]) {
|
|
38
|
-
#if RCT_DEBUG
|
|
39
|
-
if ([args count] != 1) {
|
|
40
|
-
RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidSwipeRefreshLayout", commandName, (int)[args count], 1);
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
#endif
|
|
44
|
-
|
|
45
|
-
NSObject *arg0 = args[0];
|
|
46
|
-
#if RCT_DEBUG
|
|
47
|
-
if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"AndroidSwipeRefreshLayout", commandName, @"1st")) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
#endif
|
|
51
|
-
BOOL value = [(NSNumber *)arg0 boolValue];
|
|
52
|
-
|
|
53
|
-
[componentView setNativeRefreshing:value];
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
#if RCT_DEBUG
|
|
58
|
-
RCTLogError(@"%@ received command %@, which is not a supported command.", @"AndroidSwipeRefreshLayout", commandName);
|
|
59
|
-
#endif
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@protocol RCTPullToRefreshViewViewProtocol <NSObject>
|
|
63
|
-
- (void)setNativeRefreshing:(BOOL)refreshing;
|
|
64
|
-
@end
|
|
65
|
-
|
|
66
|
-
RCT_EXTERN inline void RCTPullToRefreshViewHandleCommand(
|
|
67
|
-
id<RCTPullToRefreshViewViewProtocol> componentView,
|
|
68
|
-
NSString const *commandName,
|
|
69
|
-
NSArray const *args)
|
|
70
|
-
{
|
|
71
|
-
if ([commandName isEqualToString:@"setNativeRefreshing"]) {
|
|
72
|
-
#if RCT_DEBUG
|
|
73
|
-
if ([args count] != 1) {
|
|
74
|
-
RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"PullToRefreshView", commandName, (int)[args count], 1);
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
#endif
|
|
78
|
-
|
|
79
|
-
NSObject *arg0 = args[0];
|
|
80
|
-
#if RCT_DEBUG
|
|
81
|
-
if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"PullToRefreshView", commandName, @"1st")) {
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
#endif
|
|
85
|
-
BOOL refreshing = [(NSNumber *)arg0 boolValue];
|
|
86
|
-
|
|
87
|
-
[componentView setNativeRefreshing:refreshing];
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
#if RCT_DEBUG
|
|
92
|
-
RCTLogError(@"%@ received command %@, which is not a supported command.", @"PullToRefreshView", commandName);
|
|
93
|
-
#endif
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@protocol RCTInputAccessoryViewProtocol <NSObject>
|
|
97
|
-
|
|
98
|
-
@end
|
|
99
|
-
|
|
100
|
-
@protocol RCTAndroidDrawerLayoutViewProtocol <NSObject>
|
|
101
|
-
- (void)openDrawer;
|
|
102
|
-
- (void)closeDrawer;
|
|
103
|
-
@end
|
|
104
|
-
|
|
105
|
-
RCT_EXTERN inline void RCTAndroidDrawerLayoutHandleCommand(
|
|
106
|
-
id<RCTAndroidDrawerLayoutViewProtocol> componentView,
|
|
107
|
-
NSString const *commandName,
|
|
108
|
-
NSArray const *args)
|
|
109
|
-
{
|
|
110
|
-
if ([commandName isEqualToString:@"openDrawer"]) {
|
|
111
|
-
#if RCT_DEBUG
|
|
112
|
-
if ([args count] != 0) {
|
|
113
|
-
RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidDrawerLayout", commandName, (int)[args count], 0);
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
#endif
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
[componentView openDrawer];
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
if ([commandName isEqualToString:@"closeDrawer"]) {
|
|
125
|
-
#if RCT_DEBUG
|
|
126
|
-
if ([args count] != 0) {
|
|
127
|
-
RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidDrawerLayout", commandName, (int)[args count], 0);
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
#endif
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
[componentView closeDrawer];
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
#if RCT_DEBUG
|
|
139
|
-
RCTLogError(@"%@ received command %@, which is not a supported command.", @"AndroidDrawerLayout", commandName);
|
|
140
|
-
#endif
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
@protocol RCTActivityIndicatorViewViewProtocol <NSObject>
|
|
144
|
-
|
|
145
|
-
@end
|
|
146
|
-
|
|
147
|
-
@protocol RCTUnimplementedNativeViewViewProtocol <NSObject>
|
|
148
|
-
|
|
149
|
-
@end
|
|
150
|
-
|
|
151
|
-
@protocol RCTSwitchViewProtocol <NSObject>
|
|
152
|
-
- (void)setValue:(BOOL)value;
|
|
153
|
-
@end
|
|
154
|
-
|
|
155
|
-
RCT_EXTERN inline void RCTSwitchHandleCommand(
|
|
156
|
-
id<RCTSwitchViewProtocol> componentView,
|
|
157
|
-
NSString const *commandName,
|
|
158
|
-
NSArray const *args)
|
|
159
|
-
{
|
|
160
|
-
if ([commandName isEqualToString:@"setValue"]) {
|
|
161
|
-
#if RCT_DEBUG
|
|
162
|
-
if ([args count] != 1) {
|
|
163
|
-
RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"Switch", commandName, (int)[args count], 1);
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
#endif
|
|
167
|
-
|
|
168
|
-
NSObject *arg0 = args[0];
|
|
169
|
-
#if RCT_DEBUG
|
|
170
|
-
if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"Switch", commandName, @"1st")) {
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
#endif
|
|
174
|
-
BOOL value = [(NSNumber *)arg0 boolValue];
|
|
175
|
-
|
|
176
|
-
[componentView setValue:value];
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
#if RCT_DEBUG
|
|
181
|
-
RCTLogError(@"%@ received command %@, which is not a supported command.", @"Switch", commandName);
|
|
182
|
-
#endif
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@protocol RCTAndroidSwitchViewProtocol <NSObject>
|
|
186
|
-
- (void)setNativeValue:(BOOL)value;
|
|
187
|
-
@end
|
|
188
|
-
|
|
189
|
-
RCT_EXTERN inline void RCTAndroidSwitchHandleCommand(
|
|
190
|
-
id<RCTAndroidSwitchViewProtocol> componentView,
|
|
191
|
-
NSString const *commandName,
|
|
192
|
-
NSArray const *args)
|
|
193
|
-
{
|
|
194
|
-
if ([commandName isEqualToString:@"setNativeValue"]) {
|
|
195
|
-
#if RCT_DEBUG
|
|
196
|
-
if ([args count] != 1) {
|
|
197
|
-
RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidSwitch", commandName, (int)[args count], 1);
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
#endif
|
|
201
|
-
|
|
202
|
-
NSObject *arg0 = args[0];
|
|
203
|
-
#if RCT_DEBUG
|
|
204
|
-
if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"AndroidSwitch", commandName, @"1st")) {
|
|
205
|
-
return;
|
|
206
|
-
}
|
|
207
|
-
#endif
|
|
208
|
-
BOOL value = [(NSNumber *)arg0 boolValue];
|
|
209
|
-
|
|
210
|
-
[componentView setNativeValue:value];
|
|
211
|
-
return;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
#if RCT_DEBUG
|
|
215
|
-
RCTLogError(@"%@ received command %@, which is not a supported command.", @"AndroidSwitch", commandName);
|
|
216
|
-
#endif
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
@protocol RCTTraceUpdateOverlayViewProtocol <NSObject>
|
|
220
|
-
- (void)draw:(NSString *)overlays;
|
|
221
|
-
@end
|
|
222
|
-
|
|
223
|
-
RCT_EXTERN inline void RCTTraceUpdateOverlayHandleCommand(
|
|
224
|
-
id<RCTTraceUpdateOverlayViewProtocol> componentView,
|
|
225
|
-
NSString const *commandName,
|
|
226
|
-
NSArray const *args)
|
|
227
|
-
{
|
|
228
|
-
if ([commandName isEqualToString:@"draw"]) {
|
|
229
|
-
#if RCT_DEBUG
|
|
230
|
-
if ([args count] != 1) {
|
|
231
|
-
RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"TraceUpdateOverlay", commandName, (int)[args count], 1);
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
#endif
|
|
235
|
-
|
|
236
|
-
NSObject *arg0 = args[0];
|
|
237
|
-
#if RCT_DEBUG
|
|
238
|
-
if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSString class], @"string", @"TraceUpdateOverlay", commandName, @"1st")) {
|
|
239
|
-
return;
|
|
240
|
-
}
|
|
241
|
-
#endif
|
|
242
|
-
NSString * overlays = (NSString *)arg0;
|
|
243
|
-
|
|
244
|
-
[componentView draw:overlays];
|
|
245
|
-
return;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
#if RCT_DEBUG
|
|
249
|
-
RCTLogError(@"%@ received command %@, which is not a supported command.", @"TraceUpdateOverlay", commandName);
|
|
250
|
-
#endif
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
@protocol RCTModalHostViewViewProtocol <NSObject>
|
|
254
|
-
|
|
255
|
-
@end
|
|
256
|
-
|
|
257
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GenerateShadowNodeCpp.js
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
#include <react/renderer/components/rncore/ShadowNodes.h>
|
|
12
|
-
|
|
13
|
-
namespace facebook {
|
|
14
|
-
namespace react {
|
|
15
|
-
|
|
16
|
-
extern const char AndroidHorizontalScrollContentViewComponentName[] = "AndroidHorizontalScrollContentView";
|
|
17
|
-
extern const char AndroidSwipeRefreshLayoutComponentName[] = "AndroidSwipeRefreshLayout";
|
|
18
|
-
extern const char PullToRefreshViewComponentName[] = "PullToRefreshView";
|
|
19
|
-
extern const char AndroidDrawerLayoutComponentName[] = "AndroidDrawerLayout";
|
|
20
|
-
extern const char ActivityIndicatorViewComponentName[] = "ActivityIndicatorView";
|
|
21
|
-
extern const char UnimplementedNativeViewComponentName[] = "UnimplementedNativeView";
|
|
22
|
-
extern const char SwitchComponentName[] = "Switch";
|
|
23
|
-
extern const char TraceUpdateOverlayComponentName[] = "TraceUpdateOverlay";
|
|
24
|
-
|
|
25
|
-
} // namespace react
|
|
26
|
-
} // namespace facebook
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GenerateShadowNodeH.js
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
#pragma once
|
|
12
|
-
|
|
13
|
-
#include <react/renderer/components/rncore/EventEmitters.h>
|
|
14
|
-
#include <react/renderer/components/rncore/Props.h>
|
|
15
|
-
#include <react/renderer/components/rncore/States.h>
|
|
16
|
-
#include <react/renderer/components/view/ConcreteViewShadowNode.h>
|
|
17
|
-
#include <jsi/jsi.h>
|
|
18
|
-
|
|
19
|
-
namespace facebook {
|
|
20
|
-
namespace react {
|
|
21
|
-
|
|
22
|
-
JSI_EXPORT extern const char AndroidHorizontalScrollContentViewComponentName[];
|
|
23
|
-
|
|
24
|
-
/*
|
|
25
|
-
* `ShadowNode` for <AndroidHorizontalScrollContentView> component.
|
|
26
|
-
*/
|
|
27
|
-
using AndroidHorizontalScrollContentViewShadowNode = ConcreteViewShadowNode<
|
|
28
|
-
AndroidHorizontalScrollContentViewComponentName,
|
|
29
|
-
AndroidHorizontalScrollContentViewProps,
|
|
30
|
-
AndroidHorizontalScrollContentViewEventEmitter,
|
|
31
|
-
AndroidHorizontalScrollContentViewState>;
|
|
32
|
-
|
|
33
|
-
JSI_EXPORT extern const char AndroidSwipeRefreshLayoutComponentName[];
|
|
34
|
-
|
|
35
|
-
/*
|
|
36
|
-
* `ShadowNode` for <AndroidSwipeRefreshLayout> component.
|
|
37
|
-
*/
|
|
38
|
-
using AndroidSwipeRefreshLayoutShadowNode = ConcreteViewShadowNode<
|
|
39
|
-
AndroidSwipeRefreshLayoutComponentName,
|
|
40
|
-
AndroidSwipeRefreshLayoutProps,
|
|
41
|
-
AndroidSwipeRefreshLayoutEventEmitter,
|
|
42
|
-
AndroidSwipeRefreshLayoutState>;
|
|
43
|
-
|
|
44
|
-
JSI_EXPORT extern const char PullToRefreshViewComponentName[];
|
|
45
|
-
|
|
46
|
-
/*
|
|
47
|
-
* `ShadowNode` for <PullToRefreshView> component.
|
|
48
|
-
*/
|
|
49
|
-
using PullToRefreshViewShadowNode = ConcreteViewShadowNode<
|
|
50
|
-
PullToRefreshViewComponentName,
|
|
51
|
-
PullToRefreshViewProps,
|
|
52
|
-
PullToRefreshViewEventEmitter,
|
|
53
|
-
PullToRefreshViewState>;
|
|
54
|
-
|
|
55
|
-
JSI_EXPORT extern const char AndroidDrawerLayoutComponentName[];
|
|
56
|
-
|
|
57
|
-
/*
|
|
58
|
-
* `ShadowNode` for <AndroidDrawerLayout> component.
|
|
59
|
-
*/
|
|
60
|
-
using AndroidDrawerLayoutShadowNode = ConcreteViewShadowNode<
|
|
61
|
-
AndroidDrawerLayoutComponentName,
|
|
62
|
-
AndroidDrawerLayoutProps,
|
|
63
|
-
AndroidDrawerLayoutEventEmitter,
|
|
64
|
-
AndroidDrawerLayoutState>;
|
|
65
|
-
|
|
66
|
-
JSI_EXPORT extern const char ActivityIndicatorViewComponentName[];
|
|
67
|
-
|
|
68
|
-
/*
|
|
69
|
-
* `ShadowNode` for <ActivityIndicatorView> component.
|
|
70
|
-
*/
|
|
71
|
-
using ActivityIndicatorViewShadowNode = ConcreteViewShadowNode<
|
|
72
|
-
ActivityIndicatorViewComponentName,
|
|
73
|
-
ActivityIndicatorViewProps,
|
|
74
|
-
ActivityIndicatorViewEventEmitter,
|
|
75
|
-
ActivityIndicatorViewState>;
|
|
76
|
-
|
|
77
|
-
JSI_EXPORT extern const char UnimplementedNativeViewComponentName[];
|
|
78
|
-
|
|
79
|
-
/*
|
|
80
|
-
* `ShadowNode` for <UnimplementedNativeView> component.
|
|
81
|
-
*/
|
|
82
|
-
using UnimplementedNativeViewShadowNode = ConcreteViewShadowNode<
|
|
83
|
-
UnimplementedNativeViewComponentName,
|
|
84
|
-
UnimplementedNativeViewProps,
|
|
85
|
-
UnimplementedNativeViewEventEmitter,
|
|
86
|
-
UnimplementedNativeViewState>;
|
|
87
|
-
|
|
88
|
-
JSI_EXPORT extern const char SwitchComponentName[];
|
|
89
|
-
|
|
90
|
-
/*
|
|
91
|
-
* `ShadowNode` for <Switch> component.
|
|
92
|
-
*/
|
|
93
|
-
using SwitchShadowNode = ConcreteViewShadowNode<
|
|
94
|
-
SwitchComponentName,
|
|
95
|
-
SwitchProps,
|
|
96
|
-
SwitchEventEmitter,
|
|
97
|
-
SwitchState>;
|
|
98
|
-
|
|
99
|
-
JSI_EXPORT extern const char TraceUpdateOverlayComponentName[];
|
|
100
|
-
|
|
101
|
-
/*
|
|
102
|
-
* `ShadowNode` for <TraceUpdateOverlay> component.
|
|
103
|
-
*/
|
|
104
|
-
using TraceUpdateOverlayShadowNode = ConcreteViewShadowNode<
|
|
105
|
-
TraceUpdateOverlayComponentName,
|
|
106
|
-
TraceUpdateOverlayProps,
|
|
107
|
-
TraceUpdateOverlayEventEmitter,
|
|
108
|
-
TraceUpdateOverlayState>;
|
|
109
|
-
|
|
110
|
-
} // namespace react
|
|
111
|
-
} // namespace facebook
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GenerateStateCpp.js
|
|
9
|
-
*/
|
|
10
|
-
#include <react/renderer/components/rncore/States.h>
|
|
11
|
-
|
|
12
|
-
namespace facebook {
|
|
13
|
-
namespace react {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} // namespace react
|
|
18
|
-
} // namespace facebook
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GenerateStateH.js
|
|
8
|
-
*/
|
|
9
|
-
#pragma once
|
|
10
|
-
|
|
11
|
-
#ifdef ANDROID
|
|
12
|
-
#include <folly/dynamic.h>
|
|
13
|
-
#include <react/renderer/mapbuffer/MapBuffer.h>
|
|
14
|
-
#include <react/renderer/mapbuffer/MapBufferBuilder.h>
|
|
15
|
-
#endif
|
|
16
|
-
|
|
17
|
-
namespace facebook {
|
|
18
|
-
namespace react {
|
|
19
|
-
|
|
20
|
-
class AndroidHorizontalScrollContentViewState {
|
|
21
|
-
public:
|
|
22
|
-
AndroidHorizontalScrollContentViewState() = default;
|
|
23
|
-
|
|
24
|
-
#ifdef ANDROID
|
|
25
|
-
AndroidHorizontalScrollContentViewState(AndroidHorizontalScrollContentViewState const &previousState, folly::dynamic data){};
|
|
26
|
-
folly::dynamic getDynamic() const {
|
|
27
|
-
return {};
|
|
28
|
-
};
|
|
29
|
-
MapBuffer getMapBuffer() const {
|
|
30
|
-
return MapBufferBuilder::EMPTY();
|
|
31
|
-
};
|
|
32
|
-
#endif
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
class AndroidSwipeRefreshLayoutState {
|
|
36
|
-
public:
|
|
37
|
-
AndroidSwipeRefreshLayoutState() = default;
|
|
38
|
-
|
|
39
|
-
#ifdef ANDROID
|
|
40
|
-
AndroidSwipeRefreshLayoutState(AndroidSwipeRefreshLayoutState const &previousState, folly::dynamic data){};
|
|
41
|
-
folly::dynamic getDynamic() const {
|
|
42
|
-
return {};
|
|
43
|
-
};
|
|
44
|
-
MapBuffer getMapBuffer() const {
|
|
45
|
-
return MapBufferBuilder::EMPTY();
|
|
46
|
-
};
|
|
47
|
-
#endif
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
class PullToRefreshViewState {
|
|
51
|
-
public:
|
|
52
|
-
PullToRefreshViewState() = default;
|
|
53
|
-
|
|
54
|
-
#ifdef ANDROID
|
|
55
|
-
PullToRefreshViewState(PullToRefreshViewState const &previousState, folly::dynamic data){};
|
|
56
|
-
folly::dynamic getDynamic() const {
|
|
57
|
-
return {};
|
|
58
|
-
};
|
|
59
|
-
MapBuffer getMapBuffer() const {
|
|
60
|
-
return MapBufferBuilder::EMPTY();
|
|
61
|
-
};
|
|
62
|
-
#endif
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
class AndroidDrawerLayoutState {
|
|
66
|
-
public:
|
|
67
|
-
AndroidDrawerLayoutState() = default;
|
|
68
|
-
|
|
69
|
-
#ifdef ANDROID
|
|
70
|
-
AndroidDrawerLayoutState(AndroidDrawerLayoutState const &previousState, folly::dynamic data){};
|
|
71
|
-
folly::dynamic getDynamic() const {
|
|
72
|
-
return {};
|
|
73
|
-
};
|
|
74
|
-
MapBuffer getMapBuffer() const {
|
|
75
|
-
return MapBufferBuilder::EMPTY();
|
|
76
|
-
};
|
|
77
|
-
#endif
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
class ActivityIndicatorViewState {
|
|
81
|
-
public:
|
|
82
|
-
ActivityIndicatorViewState() = default;
|
|
83
|
-
|
|
84
|
-
#ifdef ANDROID
|
|
85
|
-
ActivityIndicatorViewState(ActivityIndicatorViewState const &previousState, folly::dynamic data){};
|
|
86
|
-
folly::dynamic getDynamic() const {
|
|
87
|
-
return {};
|
|
88
|
-
};
|
|
89
|
-
MapBuffer getMapBuffer() const {
|
|
90
|
-
return MapBufferBuilder::EMPTY();
|
|
91
|
-
};
|
|
92
|
-
#endif
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
class UnimplementedNativeViewState {
|
|
96
|
-
public:
|
|
97
|
-
UnimplementedNativeViewState() = default;
|
|
98
|
-
|
|
99
|
-
#ifdef ANDROID
|
|
100
|
-
UnimplementedNativeViewState(UnimplementedNativeViewState const &previousState, folly::dynamic data){};
|
|
101
|
-
folly::dynamic getDynamic() const {
|
|
102
|
-
return {};
|
|
103
|
-
};
|
|
104
|
-
MapBuffer getMapBuffer() const {
|
|
105
|
-
return MapBufferBuilder::EMPTY();
|
|
106
|
-
};
|
|
107
|
-
#endif
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
class SwitchState {
|
|
111
|
-
public:
|
|
112
|
-
SwitchState() = default;
|
|
113
|
-
|
|
114
|
-
#ifdef ANDROID
|
|
115
|
-
SwitchState(SwitchState const &previousState, folly::dynamic data){};
|
|
116
|
-
folly::dynamic getDynamic() const {
|
|
117
|
-
return {};
|
|
118
|
-
};
|
|
119
|
-
MapBuffer getMapBuffer() const {
|
|
120
|
-
return MapBufferBuilder::EMPTY();
|
|
121
|
-
};
|
|
122
|
-
#endif
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
class TraceUpdateOverlayState {
|
|
126
|
-
public:
|
|
127
|
-
TraceUpdateOverlayState() = default;
|
|
128
|
-
|
|
129
|
-
#ifdef ANDROID
|
|
130
|
-
TraceUpdateOverlayState(TraceUpdateOverlayState const &previousState, folly::dynamic data){};
|
|
131
|
-
folly::dynamic getDynamic() const {
|
|
132
|
-
return {};
|
|
133
|
-
};
|
|
134
|
-
MapBuffer getMapBuffer() const {
|
|
135
|
-
return MapBufferBuilder::EMPTY();
|
|
136
|
-
};
|
|
137
|
-
#endif
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
} // namespace react
|
|
141
|
-
} // namespace facebook
|