@@ -149,22 +149,22 @@ Object {
149
149
150
150
namespace facebook ::react {
151
151
152
- void EventNestedObjectPropsNativeComponentViewEventEmitter::onChange (OnChange $ event ) const {
153
- dispatchEvent(\\"change \\", [$ event= std ::move ($ event )](jsi : :Runtime & runtime ) {
154
- auto $ payload = jsi ::Object (runtime );
152
+ void EventNestedObjectPropsNativeComponentViewEventEmitter::onChange (OnChange event ) const {
153
+ dispatchEvent(\\"change \\", [event = std ::move (event )](jsi : :Runtime & runtime ) {
154
+ auto payload = jsi ::Object (runtime );
155
155
{
156
156
auto location = jsi ::Object (runtime );
157
157
{
158
158
auto source = jsi ::Object (runtime );
159
- source .setProperty (runtime , \\" url\\ " , $ event .location .source .url );
159
+ source .setProperty (runtime , \\" url\\ " , event .location .source .url );
160
160
location .setProperty (runtime , \\" source\\ " , source );
161
161
}
162
- location .setProperty (runtime , \\" x\\ " , $ event .location .x );
163
- location .setProperty (runtime , \\" y\\ " , $ event .location .y );
162
+ location .setProperty (runtime , \\" x\\ " , event .location .x );
163
+ location .setProperty (runtime , \\" y\\ " , event .location .y );
164
164
165
- auto arrayOfObjects = jsi ::Array (runtime , $ event .location .arrayOfObjects .size ());
165
+ auto arrayOfObjects = jsi ::Array (runtime , event .location .arrayOfObjects .size ());
166
166
size_t arrayOfObjectsIndex = 0 ;
167
- for (auto arrayOfObjectsValue : $ event .location .arrayOfObjects ) {
167
+ for (auto arrayOfObjectsValue : event .location .arrayOfObjects ) {
168
168
auto arrayOfObjectsObject = jsi ::Object (runtime );
169
169
{
170
170
auto value = jsi ::Object (runtime );
@@ -175,9 +175,9 @@ void EventNestedObjectPropsNativeComponentViewEventEmitter::onChange(OnChange $e
175
175
}
176
176
location .setProperty (runtime , \\" arrayOfObjects\\ " , arrayOfObjects );
177
177
178
- $ payload .setProperty (runtime , \\" location\\ " , location );
178
+ payload .setProperty (runtime , \\" location\\ " , location );
179
179
}
180
- return $ payload ;
180
+ return payload ;
181
181
});
182
182
}
183
183
@@ -203,59 +203,59 @@ Object {
203
203
204
204
namespace facebook ::react {
205
205
206
- void EventPropsNativeComponentViewEventEmitter::onChange (OnChange $ event ) const {
207
- dispatchEvent(\\"paperDirectName \\", [$ event= std ::move ($ event )](jsi : :Runtime & runtime ) {
208
- auto $ payload = jsi ::Object (runtime );
209
- $ payload .setProperty (runtime , \\" value\\ " , $ event .value );
210
- $ payload .setProperty (runtime , \\" source\\ " , $ event .source );
211
- $ payload .setProperty (runtime , \\" progress\\ " , $ event .progress );
212
- $ payload .setProperty (runtime , \\" scale\\ " , $ event .scale );
213
- return $ payload ;
206
+ void EventPropsNativeComponentViewEventEmitter::onChange (OnChange event ) const {
207
+ dispatchEvent(\\"paperDirectName \\", [event = std ::move (event )](jsi : :Runtime & runtime ) {
208
+ auto payload = jsi ::Object (runtime );
209
+ payload .setProperty (runtime , \\" value\\ " , event .value );
210
+ payload .setProperty (runtime , \\" source\\ " , event .source );
211
+ payload .setProperty (runtime , \\" progress\\ " , event .progress );
212
+ payload .setProperty (runtime , \\" scale\\ " , event .scale );
213
+ return payload ;
214
214
});
215
215
}
216
216
217
217
218
- void EventPropsNativeComponentViewEventEmitter ::onEventDirect (OnEventDirect $ event ) const {
219
- dispatchEvent(\\"eventDirect \\", [$ event= std ::move ($ event )](jsi : :Runtime & runtime ) {
220
- auto $ payload = jsi ::Object (runtime );
221
- $ payload .setProperty (runtime , \\" value\\ " , $ event .value );
222
- return $ payload ;
218
+ void EventPropsNativeComponentViewEventEmitter ::onEventDirect (OnEventDirect event ) const {
219
+ dispatchEvent(\\"eventDirect \\", [event = std ::move (event )](jsi : :Runtime & runtime ) {
220
+ auto payload = jsi ::Object (runtime );
221
+ payload .setProperty (runtime , \\" value\\ " , event .value );
222
+ return payload ;
223
223
});
224
224
}
225
225
226
226
227
- void EventPropsNativeComponentViewEventEmitter ::onEventDirectWithPaperName (OnEventDirectWithPaperName $ event ) const {
228
- dispatchEvent(\\"paperDirectName \\", [$ event= std ::move ($ event )](jsi : :Runtime & runtime ) {
229
- auto $ payload = jsi ::Object (runtime );
230
- $ payload .setProperty (runtime , \\" value\\ " , $ event .value );
231
- return $ payload ;
227
+ void EventPropsNativeComponentViewEventEmitter ::onEventDirectWithPaperName (OnEventDirectWithPaperName event ) const {
228
+ dispatchEvent(\\"paperDirectName \\", [event = std ::move (event )](jsi : :Runtime & runtime ) {
229
+ auto payload = jsi ::Object (runtime );
230
+ payload .setProperty (runtime , \\" value\\ " , event .value );
231
+ return payload ;
232
232
});
233
233
}
234
234
235
235
236
- void EventPropsNativeComponentViewEventEmitter ::onOrientationChange (OnOrientationChange $ event ) const {
237
- dispatchEvent(\\"paperBubblingName \\", [$ event= std ::move ($ event )](jsi : :Runtime & runtime ) {
238
- auto $ payload = jsi ::Object (runtime );
239
- $ payload .setProperty (runtime , \\" orientation\\ " , toString ($ event .orientation ));
240
- return $ payload ;
236
+ void EventPropsNativeComponentViewEventEmitter ::onOrientationChange (OnOrientationChange event ) const {
237
+ dispatchEvent(\\"paperBubblingName \\", [event = std ::move (event )](jsi : :Runtime & runtime ) {
238
+ auto payload = jsi ::Object (runtime );
239
+ payload .setProperty (runtime , \\" orientation\\ " , toString (event .orientation ));
240
+ return payload ;
241
241
});
242
242
}
243
243
244
244
245
- void EventPropsNativeComponentViewEventEmitter ::onEnd (OnEnd $ event ) const {
245
+ void EventPropsNativeComponentViewEventEmitter ::onEnd (OnEnd event ) const {
246
246
dispatchEvent(\\"end \\", [](jsi : :Runtime & runtime ) {
247
- auto $ payload = jsi ::Object (runtime );
247
+ auto payload = jsi ::Object (runtime );
248
248
249
- return $ payload ;
249
+ return payload ;
250
250
});
251
251
}
252
252
253
253
254
- void EventPropsNativeComponentViewEventEmitter ::onEventBubblingWithPaperName (OnEventBubblingWithPaperName $ event ) const {
254
+ void EventPropsNativeComponentViewEventEmitter ::onEventBubblingWithPaperName (OnEventBubblingWithPaperName event ) const {
255
255
dispatchEvent(\\"paperBubblingName \\", [](jsi : :Runtime & runtime ) {
256
- auto $ payload = jsi ::Object (runtime );
256
+ auto payload = jsi ::Object (runtime );
257
257
258
- return $ payload ;
258
+ return payload ;
259
259
});
260
260
}
261
261
@@ -347,11 +347,11 @@ Object {
347
347
348
348
namespace facebook ::react {
349
349
350
- void InterfaceOnlyNativeComponentViewEventEmitter::onChange (OnChange $ event ) const {
351
- dispatchEvent(\\"change \\", [$ event= std ::move ($ event )](jsi : :Runtime & runtime ) {
352
- auto $ payload = jsi ::Object (runtime );
353
- $ payload .setProperty (runtime , \\" value\\ " , $ event .value );
354
- return $ payload ;
350
+ void InterfaceOnlyNativeComponentViewEventEmitter::onChange (OnChange event ) const {
351
+ dispatchEvent(\\"change \\", [event = std ::move (event )](jsi : :Runtime & runtime ) {
352
+ auto payload = jsi ::Object (runtime );
353
+ payload .setProperty (runtime , \\" value\\ " , event .value );
354
+ return payload ;
355
355
});
356
356
}
357
357
0 commit comments