react-native-inapp-inspector 1.1.29 → 1.1.32
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/dist/commonjs/components/AnalyticsDetail.js +668 -108
- package/dist/commonjs/components/AppHeaderLogo.js +5 -2
- package/dist/commonjs/components/ConsoleLogCard.js +81 -59
- package/dist/commonjs/components/DomainHeader.js +21 -17
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +297 -200
- package/dist/commonjs/components/Inspector/ConsoleTab.js +162 -56
- package/dist/commonjs/components/Inspector/InspectorHeader.js +56 -119
- package/dist/commonjs/components/Inspector/LogDetail.js +45 -12
- package/dist/commonjs/components/Inspector/NetworkTab.js +4 -1
- package/dist/commonjs/components/Inspector/ReduxDetail.js +237 -42
- package/dist/commonjs/components/Inspector/ReduxTab.js +456 -35
- package/dist/commonjs/components/JsonViewer.js +1 -1
- package/dist/commonjs/components/NetworkIcons.js +19 -10
- package/dist/commonjs/components/TreeNode.js +12 -2
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/reduxLogger.js +128 -5
- package/dist/commonjs/helpers/index.d.ts +1 -1
- package/dist/commonjs/helpers/index.js +32 -16
- package/dist/commonjs/i18n/locales/en.json +45 -2
- package/dist/commonjs/styles/AppColors.d.ts +6 -0
- package/dist/commonjs/styles/AppColors.js +6 -0
- package/dist/commonjs/styles/index.d.ts +22 -1
- package/dist/commonjs/styles/index.js +25 -4
- package/dist/commonjs/types/interfaces.d.ts +7 -0
- package/dist/esm/components/AnalyticsDetail.js +670 -110
- package/dist/esm/components/AppHeaderLogo.js +5 -2
- package/dist/esm/components/ConsoleLogCard.js +81 -59
- package/dist/esm/components/DomainHeader.js +21 -17
- package/dist/esm/components/Inspector/AnalyticsTab.js +298 -201
- package/dist/esm/components/Inspector/ConsoleTab.js +163 -57
- package/dist/esm/components/Inspector/InspectorHeader.js +57 -120
- package/dist/esm/components/Inspector/LogDetail.js +45 -12
- package/dist/esm/components/Inspector/NetworkTab.js +4 -1
- package/dist/esm/components/Inspector/ReduxDetail.js +239 -44
- package/dist/esm/components/Inspector/ReduxTab.js +458 -37
- package/dist/esm/components/JsonViewer.js +1 -1
- package/dist/esm/components/NetworkIcons.js +19 -10
- package/dist/esm/components/TreeNode.js +12 -2
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/reduxLogger.js +128 -5
- package/dist/esm/helpers/index.d.ts +1 -1
- package/dist/esm/helpers/index.js +32 -16
- package/dist/esm/i18n/locales/en.json +45 -2
- package/dist/esm/styles/AppColors.d.ts +6 -0
- package/dist/esm/styles/AppColors.js +6 -0
- package/dist/esm/styles/index.d.ts +22 -1
- package/dist/esm/styles/index.js +25 -4
- package/dist/esm/types/interfaces.d.ts +7 -0
- package/package.json +11 -11
|
@@ -142,6 +142,7 @@ const ConsoleTab = react_1.default.memo(() => {
|
|
|
142
142
|
alignItems: 'center',
|
|
143
143
|
gap: 8,
|
|
144
144
|
}}>
|
|
145
|
+
{/* All Filter */}
|
|
145
146
|
{(() => {
|
|
146
147
|
const active = logFilters.has('all');
|
|
147
148
|
return (<TouchableScale_1.default onPress={() => {
|
|
@@ -149,34 +150,52 @@ const ConsoleTab = react_1.default.memo(() => {
|
|
|
149
150
|
}}>
|
|
150
151
|
<react_native_1.View style={[
|
|
151
152
|
styles_1.default.statusFilterChip,
|
|
153
|
+
{
|
|
154
|
+
backgroundColor: active ? AppColors_1.AppColors.indigo600Alt : AppColors_1.AppColors.indigo50,
|
|
155
|
+
borderColor: active ? AppColors_1.AppColors.indigo600 : AppColors_1.AppColors.indigo400,
|
|
156
|
+
borderRadius: 7,
|
|
157
|
+
},
|
|
152
158
|
active && {
|
|
153
|
-
|
|
154
|
-
|
|
159
|
+
shadowColor: AppColors_1.AppColors.indigo600Alt,
|
|
160
|
+
shadowOffset: { width: 0, height: 1 },
|
|
161
|
+
shadowOpacity: 0.28,
|
|
162
|
+
shadowRadius: 2.5,
|
|
163
|
+
elevation: 2,
|
|
155
164
|
},
|
|
156
165
|
]}>
|
|
157
|
-
{/* #7 */}
|
|
158
166
|
<react_native_1.View style={{
|
|
159
167
|
flexDirection: 'row',
|
|
160
168
|
alignItems: 'center',
|
|
161
169
|
gap: 5,
|
|
162
170
|
}}>
|
|
163
|
-
<
|
|
164
|
-
|
|
165
|
-
:
|
|
171
|
+
<react_native_1.View style={{
|
|
172
|
+
width: 12,
|
|
173
|
+
height: 12,
|
|
174
|
+
borderRadius: 3,
|
|
175
|
+
borderWidth: 1.2,
|
|
176
|
+
borderColor: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.indigo400,
|
|
177
|
+
backgroundColor: active ? AppColors_1.AppColors.white : 'transparent',
|
|
178
|
+
alignItems: 'center',
|
|
179
|
+
justifyContent: 'center',
|
|
180
|
+
}}>
|
|
181
|
+
{active && <NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.indigo600Alt} size={8}/>}
|
|
182
|
+
</react_native_1.View>
|
|
183
|
+
<NetworkIcons_1.LayersIcon size={12} color={active ? AppColors_1.AppColors.white : AppColors_1.AppColors.indigo600Alt}/>
|
|
166
184
|
<react_native_1.Text numberOfLines={1} style={[
|
|
167
185
|
styles_1.default.statusFilterText,
|
|
168
|
-
|
|
169
|
-
color: AppColors_1.AppColors.
|
|
186
|
+
{
|
|
187
|
+
color: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.indigo600Alt,
|
|
170
188
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
171
189
|
},
|
|
172
190
|
]}>
|
|
173
|
-
All ({logCounts.all})
|
|
191
|
+
{t('common.all', 'All')} ({logCounts.all})
|
|
174
192
|
</react_native_1.Text>
|
|
175
193
|
</react_native_1.View>
|
|
176
194
|
</react_native_1.View>
|
|
177
195
|
</TouchableScale_1.default>);
|
|
178
196
|
})()}
|
|
179
197
|
|
|
198
|
+
{/* User Log / Standard Log Filter */}
|
|
180
199
|
{(() => {
|
|
181
200
|
const active = logFilters.has('user-log');
|
|
182
201
|
return (<TouchableScale_1.default onPress={() => {
|
|
@@ -193,34 +212,52 @@ const ConsoleTab = react_1.default.memo(() => {
|
|
|
193
212
|
}}>
|
|
194
213
|
<react_native_1.View style={[
|
|
195
214
|
styles_1.default.statusFilterChip,
|
|
215
|
+
{
|
|
216
|
+
backgroundColor: active ? AppColors_1.AppColors.teal600 : AppColors_1.AppColors.teal100,
|
|
217
|
+
borderColor: active ? AppColors_1.AppColors.teal600 : AppColors_1.AppColors.teal400,
|
|
218
|
+
borderRadius: 7,
|
|
219
|
+
},
|
|
196
220
|
active && {
|
|
197
|
-
|
|
198
|
-
|
|
221
|
+
shadowColor: AppColors_1.AppColors.teal600,
|
|
222
|
+
shadowOffset: { width: 0, height: 1 },
|
|
223
|
+
shadowOpacity: 0.28,
|
|
224
|
+
shadowRadius: 2.5,
|
|
225
|
+
elevation: 2,
|
|
199
226
|
},
|
|
200
227
|
]}>
|
|
201
|
-
{/* #7 */}
|
|
202
228
|
<react_native_1.View style={{
|
|
203
229
|
flexDirection: 'row',
|
|
204
230
|
alignItems: 'center',
|
|
205
231
|
gap: 5,
|
|
206
232
|
}}>
|
|
207
|
-
<
|
|
208
|
-
|
|
209
|
-
:
|
|
233
|
+
<react_native_1.View style={{
|
|
234
|
+
width: 12,
|
|
235
|
+
height: 12,
|
|
236
|
+
borderRadius: 3,
|
|
237
|
+
borderWidth: 1.2,
|
|
238
|
+
borderColor: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.teal400,
|
|
239
|
+
backgroundColor: active ? AppColors_1.AppColors.white : 'transparent',
|
|
240
|
+
alignItems: 'center',
|
|
241
|
+
justifyContent: 'center',
|
|
242
|
+
}}>
|
|
243
|
+
{active && <NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.teal600} size={8}/>}
|
|
244
|
+
</react_native_1.View>
|
|
245
|
+
<NetworkIcons_1.UserIcon size={12} color={active ? AppColors_1.AppColors.white : AppColors_1.AppColors.teal600}/>
|
|
210
246
|
<react_native_1.Text numberOfLines={1} style={[
|
|
211
247
|
styles_1.default.statusFilterText,
|
|
212
|
-
|
|
213
|
-
color: AppColors_1.AppColors.
|
|
248
|
+
{
|
|
249
|
+
color: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.teal600,
|
|
214
250
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
215
251
|
},
|
|
216
252
|
]}>
|
|
217
|
-
|
|
253
|
+
{t('console.log', 'Log')} ({logCounts['user-log']})
|
|
218
254
|
</react_native_1.Text>
|
|
219
255
|
</react_native_1.View>
|
|
220
256
|
</react_native_1.View>
|
|
221
257
|
</TouchableScale_1.default>);
|
|
222
258
|
})()}
|
|
223
259
|
|
|
260
|
+
{/* Info Filter */}
|
|
224
261
|
{(() => {
|
|
225
262
|
const active = logFilters.has('info');
|
|
226
263
|
return (<TouchableScale_1.default onPress={() => {
|
|
@@ -237,34 +274,52 @@ const ConsoleTab = react_1.default.memo(() => {
|
|
|
237
274
|
}}>
|
|
238
275
|
<react_native_1.View style={[
|
|
239
276
|
styles_1.default.statusFilterChip,
|
|
277
|
+
{
|
|
278
|
+
backgroundColor: active ? AppColors_1.AppColors.sky600 : AppColors_1.AppColors.sky100,
|
|
279
|
+
borderColor: active ? AppColors_1.AppColors.blue700 : AppColors_1.AppColors.sky400,
|
|
280
|
+
borderRadius: 7,
|
|
281
|
+
},
|
|
240
282
|
active && {
|
|
241
|
-
|
|
242
|
-
|
|
283
|
+
shadowColor: AppColors_1.AppColors.sky600,
|
|
284
|
+
shadowOffset: { width: 0, height: 1 },
|
|
285
|
+
shadowOpacity: 0.28,
|
|
286
|
+
shadowRadius: 2.5,
|
|
287
|
+
elevation: 2,
|
|
243
288
|
},
|
|
244
289
|
]}>
|
|
245
|
-
{/* #7 */}
|
|
246
290
|
<react_native_1.View style={{
|
|
247
291
|
flexDirection: 'row',
|
|
248
292
|
alignItems: 'center',
|
|
249
293
|
gap: 5,
|
|
250
294
|
}}>
|
|
251
|
-
<
|
|
252
|
-
|
|
253
|
-
:
|
|
295
|
+
<react_native_1.View style={{
|
|
296
|
+
width: 12,
|
|
297
|
+
height: 12,
|
|
298
|
+
borderRadius: 3,
|
|
299
|
+
borderWidth: 1.2,
|
|
300
|
+
borderColor: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.sky400,
|
|
301
|
+
backgroundColor: active ? AppColors_1.AppColors.white : 'transparent',
|
|
302
|
+
alignItems: 'center',
|
|
303
|
+
justifyContent: 'center',
|
|
304
|
+
}}>
|
|
305
|
+
{active && <NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.sky600} size={8}/>}
|
|
306
|
+
</react_native_1.View>
|
|
307
|
+
<NetworkIcons_1.InfoCircleIcon size={12} color={active ? AppColors_1.AppColors.white : AppColors_1.AppColors.sky600}/>
|
|
254
308
|
<react_native_1.Text numberOfLines={1} style={[
|
|
255
309
|
styles_1.default.statusFilterText,
|
|
256
|
-
|
|
257
|
-
color: AppColors_1.AppColors.
|
|
310
|
+
{
|
|
311
|
+
color: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.sky600,
|
|
258
312
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
259
313
|
},
|
|
260
314
|
]}>
|
|
261
|
-
Info ({logCounts.info})
|
|
315
|
+
{t('console.info', 'Info')} ({logCounts.info})
|
|
262
316
|
</react_native_1.Text>
|
|
263
317
|
</react_native_1.View>
|
|
264
318
|
</react_native_1.View>
|
|
265
319
|
</TouchableScale_1.default>);
|
|
266
320
|
})()}
|
|
267
321
|
|
|
322
|
+
{/* Warning Filter */}
|
|
268
323
|
{(() => {
|
|
269
324
|
const active = logFilters.has('warn');
|
|
270
325
|
return (<TouchableScale_1.default onPress={() => {
|
|
@@ -281,36 +336,52 @@ const ConsoleTab = react_1.default.memo(() => {
|
|
|
281
336
|
}}>
|
|
282
337
|
<react_native_1.View style={[
|
|
283
338
|
styles_1.default.statusFilterChip,
|
|
339
|
+
{
|
|
340
|
+
backgroundColor: active ? AppColors_1.AppColors.amber600 : AppColors_1.AppColors.amber100,
|
|
341
|
+
borderColor: active ? AppColors_1.AppColors.amber700 : AppColors_1.AppColors.amber200,
|
|
342
|
+
borderRadius: 7,
|
|
343
|
+
},
|
|
284
344
|
active && {
|
|
285
|
-
|
|
286
|
-
|
|
345
|
+
shadowColor: AppColors_1.AppColors.amber600,
|
|
346
|
+
shadowOffset: { width: 0, height: 1 },
|
|
347
|
+
shadowOpacity: 0.28,
|
|
348
|
+
shadowRadius: 2.5,
|
|
349
|
+
elevation: 2,
|
|
287
350
|
},
|
|
288
351
|
]}>
|
|
289
|
-
{/* #7 */}
|
|
290
352
|
<react_native_1.View style={{
|
|
291
353
|
flexDirection: 'row',
|
|
292
354
|
alignItems: 'center',
|
|
293
355
|
gap: 5,
|
|
294
356
|
}}>
|
|
295
|
-
<
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
:
|
|
357
|
+
<react_native_1.View style={{
|
|
358
|
+
width: 12,
|
|
359
|
+
height: 12,
|
|
360
|
+
borderRadius: 3,
|
|
361
|
+
borderWidth: 1.2,
|
|
362
|
+
borderColor: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.amber500,
|
|
363
|
+
backgroundColor: active ? AppColors_1.AppColors.white : 'transparent',
|
|
364
|
+
alignItems: 'center',
|
|
365
|
+
justifyContent: 'center',
|
|
366
|
+
}}>
|
|
367
|
+
{active && <NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.amber600} size={8}/>}
|
|
368
|
+
</react_native_1.View>
|
|
369
|
+
<NetworkIcons_1.WarningTriangleIcon size={12} color={active ? AppColors_1.AppColors.white : AppColors_1.AppColors.amber700}/>
|
|
299
370
|
<react_native_1.Text numberOfLines={1} style={[
|
|
300
371
|
styles_1.default.statusFilterText,
|
|
301
|
-
|
|
302
|
-
color: AppColors_1.AppColors.
|
|
303
|
-
AppColors_1.AppColors.lightOrange,
|
|
372
|
+
{
|
|
373
|
+
color: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.amber800Warm,
|
|
304
374
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
305
375
|
},
|
|
306
376
|
]}>
|
|
307
|
-
|
|
377
|
+
{t('console.warning', 'Warn')} ({logCounts.warn})
|
|
308
378
|
</react_native_1.Text>
|
|
309
379
|
</react_native_1.View>
|
|
310
380
|
</react_native_1.View>
|
|
311
381
|
</TouchableScale_1.default>);
|
|
312
382
|
})()}
|
|
313
383
|
|
|
384
|
+
{/* Error Filter */}
|
|
314
385
|
{(() => {
|
|
315
386
|
const active = logFilters.has('error');
|
|
316
387
|
return (<TouchableScale_1.default onPress={() => {
|
|
@@ -327,34 +398,52 @@ const ConsoleTab = react_1.default.memo(() => {
|
|
|
327
398
|
}}>
|
|
328
399
|
<react_native_1.View style={[
|
|
329
400
|
styles_1.default.statusFilterChip,
|
|
401
|
+
{
|
|
402
|
+
backgroundColor: active ? AppColors_1.AppColors.red500 : AppColors_1.AppColors.red100,
|
|
403
|
+
borderColor: active ? AppColors_1.AppColors.red600 : AppColors_1.AppColors.errorBorder,
|
|
404
|
+
borderRadius: 7,
|
|
405
|
+
},
|
|
330
406
|
active && {
|
|
331
|
-
|
|
332
|
-
|
|
407
|
+
shadowColor: AppColors_1.AppColors.red500,
|
|
408
|
+
shadowOffset: { width: 0, height: 1 },
|
|
409
|
+
shadowOpacity: 0.28,
|
|
410
|
+
shadowRadius: 2.5,
|
|
411
|
+
elevation: 2,
|
|
333
412
|
},
|
|
334
413
|
]}>
|
|
335
|
-
{/* #7 */}
|
|
336
414
|
<react_native_1.View style={{
|
|
337
415
|
flexDirection: 'row',
|
|
338
416
|
alignItems: 'center',
|
|
339
417
|
gap: 5,
|
|
340
418
|
}}>
|
|
341
|
-
<
|
|
342
|
-
|
|
343
|
-
:
|
|
419
|
+
<react_native_1.View style={{
|
|
420
|
+
width: 12,
|
|
421
|
+
height: 12,
|
|
422
|
+
borderRadius: 3,
|
|
423
|
+
borderWidth: 1.2,
|
|
424
|
+
borderColor: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.red500,
|
|
425
|
+
backgroundColor: active ? AppColors_1.AppColors.white : 'transparent',
|
|
426
|
+
alignItems: 'center',
|
|
427
|
+
justifyContent: 'center',
|
|
428
|
+
}}>
|
|
429
|
+
{active && <NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.red500} size={8}/>}
|
|
430
|
+
</react_native_1.View>
|
|
431
|
+
<NetworkIcons_1.ErrorCircleIcon size={12} color={active ? AppColors_1.AppColors.white : AppColors_1.AppColors.red500}/>
|
|
344
432
|
<react_native_1.Text numberOfLines={1} style={[
|
|
345
433
|
styles_1.default.statusFilterText,
|
|
346
|
-
|
|
347
|
-
color: AppColors_1.AppColors.
|
|
434
|
+
{
|
|
435
|
+
color: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.redErrorText,
|
|
348
436
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
349
437
|
},
|
|
350
438
|
]}>
|
|
351
|
-
Error ({logCounts.error})
|
|
439
|
+
{t('console.error', 'Error')} ({logCounts.error})
|
|
352
440
|
</react_native_1.Text>
|
|
353
441
|
</react_native_1.View>
|
|
354
442
|
</react_native_1.View>
|
|
355
443
|
</TouchableScale_1.default>);
|
|
356
444
|
})()}
|
|
357
445
|
|
|
446
|
+
{/* Analytics Filter */}
|
|
358
447
|
{(() => {
|
|
359
448
|
const active = logFilters.has('analytics');
|
|
360
449
|
return (<TouchableScale_1.default onPress={() => {
|
|
@@ -371,28 +460,45 @@ const ConsoleTab = react_1.default.memo(() => {
|
|
|
371
460
|
}}>
|
|
372
461
|
<react_native_1.View style={[
|
|
373
462
|
styles_1.default.statusFilterChip,
|
|
463
|
+
{
|
|
464
|
+
backgroundColor: active ? AppColors_1.AppColors.violet600 : AppColors_1.AppColors.purple100,
|
|
465
|
+
borderColor: active ? AppColors_1.AppColors.purple700 : AppColors_1.AppColors.purple200,
|
|
466
|
+
borderRadius: 7,
|
|
467
|
+
},
|
|
374
468
|
active && {
|
|
375
|
-
|
|
376
|
-
|
|
469
|
+
shadowColor: AppColors_1.AppColors.violet600,
|
|
470
|
+
shadowOffset: { width: 0, height: 1 },
|
|
471
|
+
shadowOpacity: 0.28,
|
|
472
|
+
shadowRadius: 2.5,
|
|
473
|
+
elevation: 2,
|
|
377
474
|
},
|
|
378
475
|
]}>
|
|
379
|
-
{/* #7 */}
|
|
380
476
|
<react_native_1.View style={{
|
|
381
477
|
flexDirection: 'row',
|
|
382
478
|
alignItems: 'center',
|
|
383
479
|
gap: 5,
|
|
384
480
|
}}>
|
|
385
|
-
<
|
|
386
|
-
|
|
387
|
-
:
|
|
481
|
+
<react_native_1.View style={{
|
|
482
|
+
width: 12,
|
|
483
|
+
height: 12,
|
|
484
|
+
borderRadius: 3,
|
|
485
|
+
borderWidth: 1.2,
|
|
486
|
+
borderColor: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.purple400,
|
|
487
|
+
backgroundColor: active ? AppColors_1.AppColors.white : 'transparent',
|
|
488
|
+
alignItems: 'center',
|
|
489
|
+
justifyContent: 'center',
|
|
490
|
+
}}>
|
|
491
|
+
{active && <NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.violet600} size={8}/>}
|
|
492
|
+
</react_native_1.View>
|
|
493
|
+
<NetworkIcons_1.AnalyticsIcon size={12} color={active ? AppColors_1.AppColors.white : AppColors_1.AppColors.purple}/>
|
|
388
494
|
<react_native_1.Text numberOfLines={1} style={[
|
|
389
495
|
styles_1.default.statusFilterText,
|
|
390
|
-
|
|
391
|
-
color: AppColors_1.AppColors.
|
|
496
|
+
{
|
|
497
|
+
color: active ? AppColors_1.AppColors.white : AppColors_1.AppColors.brandPurple,
|
|
392
498
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
393
499
|
},
|
|
394
500
|
]}>
|
|
395
|
-
Analytics ({logCounts.analytics})
|
|
501
|
+
{t('tabs.analytics', 'Analytics')} ({logCounts.analytics})
|
|
396
502
|
</react_native_1.Text>
|
|
397
503
|
</react_native_1.View>
|
|
398
504
|
</react_native_1.View>
|
|
@@ -139,16 +139,18 @@ const InspectorHeader = react_1.default.memo(() => {
|
|
|
139
139
|
<NetworkIcons_1.WhiteBackNavigation />
|
|
140
140
|
</TouchableScale_1.default>
|
|
141
141
|
|
|
142
|
-
{!isAnySelected ? (<
|
|
142
|
+
{!isAnySelected ? (<react_native_1.View style={{
|
|
143
143
|
flexDirection: 'row',
|
|
144
|
-
alignItems: '
|
|
145
|
-
gap:
|
|
144
|
+
alignItems: 'center',
|
|
145
|
+
gap: 8,
|
|
146
146
|
flex: 1,
|
|
147
|
+
minWidth: 0,
|
|
148
|
+
marginRight: 6,
|
|
147
149
|
}}>
|
|
148
|
-
<AppHeaderLogo_1.default size={
|
|
149
|
-
<react_native_1.View style={{ gap: 2, flex: 1, minWidth: 0 }}>
|
|
150
|
-
<react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 6,
|
|
151
|
-
<react_native_1.Text style={[styles_1.default.headerTitle, { flexShrink: 1 }]} numberOfLines={1}>
|
|
150
|
+
<AppHeaderLogo_1.default size={38} customIcon={appIcon}/>
|
|
151
|
+
<react_native_1.View style={{ gap: 2.5, flex: 1, minWidth: 0 }}>
|
|
152
|
+
<react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 6, minWidth: 0 }}>
|
|
153
|
+
<react_native_1.Text style={[styles_1.default.headerTitle, { flexShrink: 1 }]} numberOfLines={1} ellipsizeMode="tail">
|
|
152
154
|
{(0, helpers_1.getAppName)()}
|
|
153
155
|
</react_native_1.Text>
|
|
154
156
|
<react_native_1.View style={[
|
|
@@ -156,6 +158,9 @@ const InspectorHeader = react_1.default.memo(() => {
|
|
|
156
158
|
{
|
|
157
159
|
backgroundColor: envConfig.bg,
|
|
158
160
|
borderColor: envConfig.border,
|
|
161
|
+
flexShrink: 0,
|
|
162
|
+
paddingVertical: 1.5,
|
|
163
|
+
marginBottom: 0,
|
|
159
164
|
},
|
|
160
165
|
]}>
|
|
161
166
|
<react_native_1.Text style={[
|
|
@@ -174,6 +179,7 @@ const InspectorHeader = react_1.default.memo(() => {
|
|
|
174
179
|
])} style={{
|
|
175
180
|
alignItems: 'center',
|
|
176
181
|
justifyContent: 'center',
|
|
182
|
+
flexShrink: 0,
|
|
177
183
|
}}>
|
|
178
184
|
<react_native_1.Animated.View style={{
|
|
179
185
|
width: 8,
|
|
@@ -187,128 +193,59 @@ const InspectorHeader = react_1.default.memo(() => {
|
|
|
187
193
|
}}/>
|
|
188
194
|
</react_native_1.Pressable>)}
|
|
189
195
|
</react_native_1.View>
|
|
196
|
+
|
|
197
|
+
{/* Clean Bundle Identifier & Version Representation */}
|
|
190
198
|
<react_native_1.View style={{
|
|
191
199
|
flexDirection: 'row',
|
|
192
200
|
alignItems: 'center',
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
201
|
+
gap: 4.5,
|
|
202
|
+
minWidth: 0,
|
|
203
|
+
}}>
|
|
204
|
+
<react_native_1.View style={{
|
|
205
|
+
flexDirection: 'row',
|
|
206
|
+
alignItems: 'center',
|
|
207
|
+
backgroundColor: `${AppColors_1.AppColors.white}1F`,
|
|
208
|
+
borderRadius: 5,
|
|
209
|
+
paddingHorizontal: 6,
|
|
210
|
+
paddingVertical: 2,
|
|
211
|
+
gap: 3.5,
|
|
199
212
|
borderWidth: 1,
|
|
200
|
-
borderColor: `${AppColors_1.AppColors.white}
|
|
213
|
+
borderColor: `${AppColors_1.AppColors.white}2E`,
|
|
214
|
+
flexShrink: 1,
|
|
215
|
+
minWidth: 0,
|
|
201
216
|
}}>
|
|
217
|
+
{react_native_1.Platform.OS === 'ios' ? (<NetworkIcons_1.AppleIcon color={`${AppColors_1.AppColors.white}D9`} size={9}/>) : (<NetworkIcons_1.AndroidIcon color={`${AppColors_1.AppColors.white}D9`} size={9}/>)}
|
|
218
|
+
<react_native_1.Text style={{
|
|
219
|
+
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
220
|
+
fontSize: 9.5,
|
|
221
|
+
color: `${AppColors_1.AppColors.white}EB`,
|
|
222
|
+
letterSpacing: 0.1,
|
|
223
|
+
flexShrink: 1,
|
|
224
|
+
}} numberOfLines={1} ellipsizeMode="middle">
|
|
225
|
+
{(0, helpers_1.getBundleIdentifier)()}
|
|
226
|
+
</react_native_1.Text>
|
|
227
|
+
</react_native_1.View>
|
|
228
|
+
|
|
202
229
|
<react_native_1.View style={{
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
230
|
+
backgroundColor: `${AppColors_1.AppColors.white}14`,
|
|
231
|
+
borderRadius: 4,
|
|
232
|
+
paddingHorizontal: 4.5,
|
|
233
|
+
paddingVertical: 1.5,
|
|
234
|
+
borderWidth: 1,
|
|
235
|
+
borderColor: `${AppColors_1.AppColors.white}20`,
|
|
236
|
+
flexShrink: 0,
|
|
237
|
+
}}>
|
|
238
|
+
<react_native_1.Text style={{
|
|
209
239
|
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
210
|
-
fontSize:
|
|
211
|
-
color: `${AppColors_1.AppColors.white}
|
|
212
|
-
letterSpacing: 0.2,
|
|
240
|
+
fontSize: 8.5,
|
|
241
|
+
color: `${AppColors_1.AppColors.white}B3`,
|
|
213
242
|
}} numberOfLines={1}>
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
transform: [{ rotate: showHeaderInfo ? '180deg' : '0deg' }],
|
|
218
|
-
marginLeft: 2,
|
|
219
|
-
}}>
|
|
220
|
-
<NetworkIcons_1.ChevronIcon color="rgba(255,255,255,0.6)" size={12}/>
|
|
221
|
-
</react_native_1.Animated.View>
|
|
243
|
+
v{constants_2.LIB_VERSION}
|
|
244
|
+
</react_native_1.Text>
|
|
245
|
+
</react_native_1.View>
|
|
222
246
|
</react_native_1.View>
|
|
223
|
-
{showHeaderInfo && (<react_native_1.View style={{
|
|
224
|
-
flexDirection: 'row',
|
|
225
|
-
alignItems: 'center',
|
|
226
|
-
gap: 6,
|
|
227
|
-
marginTop: 4,
|
|
228
|
-
}}>
|
|
229
|
-
<react_native_1.View style={{
|
|
230
|
-
flexDirection: 'row',
|
|
231
|
-
alignItems: 'center',
|
|
232
|
-
borderRadius: 6,
|
|
233
|
-
overflow: 'hidden',
|
|
234
|
-
borderWidth: 1,
|
|
235
|
-
borderColor: `${AppColors_1.AppColors.white}2E`,
|
|
236
|
-
}}>
|
|
237
|
-
<react_native_1.View style={{
|
|
238
|
-
flexDirection: 'row',
|
|
239
|
-
alignItems: 'center',
|
|
240
|
-
gap: 3.5,
|
|
241
|
-
paddingHorizontal: 6,
|
|
242
|
-
paddingVertical: 2.5,
|
|
243
|
-
backgroundColor: `${AppColors_1.AppColors.white}47`,
|
|
244
|
-
}}>
|
|
245
|
-
{react_native_1.Platform.OS === 'ios' ? (<NetworkIcons_1.AppleIcon color={AppColors_1.AppColors.white} size={10}/>) : (<NetworkIcons_1.AndroidIcon color={AppColors_1.AppColors.white} size={10}/>)}
|
|
246
|
-
<react_native_1.Text style={{
|
|
247
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
248
|
-
fontSize: 9,
|
|
249
|
-
color: AppColors_1.AppColors.white,
|
|
250
|
-
letterSpacing: 0.3,
|
|
251
|
-
}}>
|
|
252
|
-
{react_native_1.Platform.OS === 'ios' ? 'iOS' : 'Android'}
|
|
253
|
-
</react_native_1.Text>
|
|
254
|
-
</react_native_1.View>
|
|
255
|
-
<react_native_1.View style={{
|
|
256
|
-
paddingHorizontal: 5,
|
|
257
|
-
paddingVertical: 2.5,
|
|
258
|
-
backgroundColor: `${AppColors_1.AppColors.white}1F`,
|
|
259
|
-
}}>
|
|
260
|
-
<react_native_1.Text style={{
|
|
261
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
262
|
-
fontSize: 9.5,
|
|
263
|
-
color: `${AppColors_1.AppColors.white}EB`,
|
|
264
|
-
}}>
|
|
265
|
-
{String(react_native_1.Platform.Version)}
|
|
266
|
-
</react_native_1.Text>
|
|
267
|
-
</react_native_1.View>
|
|
268
|
-
</react_native_1.View>
|
|
269
|
-
<react_native_1.View style={{
|
|
270
|
-
flexDirection: 'row',
|
|
271
|
-
alignItems: 'center',
|
|
272
|
-
borderRadius: 6,
|
|
273
|
-
overflow: 'hidden',
|
|
274
|
-
borderWidth: 1,
|
|
275
|
-
borderColor: `${AppColors_1.AppColors.white}2E`,
|
|
276
|
-
}}>
|
|
277
|
-
<react_native_1.View style={{
|
|
278
|
-
flexDirection: 'row',
|
|
279
|
-
alignItems: 'center',
|
|
280
|
-
gap: 3.5,
|
|
281
|
-
paddingHorizontal: 6,
|
|
282
|
-
paddingVertical: 2.5,
|
|
283
|
-
backgroundColor: `${AppColors_1.AppColors.white}47`,
|
|
284
|
-
}}>
|
|
285
|
-
<NetworkIcons_1.PackageBoxIcon color={AppColors_1.AppColors.white} size={10}/>
|
|
286
|
-
<react_native_1.Text style={{
|
|
287
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
288
|
-
fontSize: 9,
|
|
289
|
-
color: AppColors_1.AppColors.white,
|
|
290
|
-
letterSpacing: 0.3,
|
|
291
|
-
}}>
|
|
292
|
-
npm
|
|
293
|
-
</react_native_1.Text>
|
|
294
|
-
</react_native_1.View>
|
|
295
|
-
<react_native_1.View style={{
|
|
296
|
-
paddingHorizontal: 5,
|
|
297
|
-
paddingVertical: 2,
|
|
298
|
-
backgroundColor: `${AppColors_1.AppColors.white}1F`,
|
|
299
|
-
}}>
|
|
300
|
-
<react_native_1.Text style={{
|
|
301
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
302
|
-
fontSize: 9.5,
|
|
303
|
-
color: `${AppColors_1.AppColors.white}EB`,
|
|
304
|
-
}}>
|
|
305
|
-
v{constants_2.LIB_VERSION}
|
|
306
|
-
</react_native_1.Text>
|
|
307
|
-
</react_native_1.View>
|
|
308
|
-
</react_native_1.View>
|
|
309
|
-
</react_native_1.View>)}
|
|
310
247
|
</react_native_1.View>
|
|
311
|
-
</
|
|
248
|
+
</react_native_1.View>) : null}
|
|
312
249
|
</react_native_1.View>
|
|
313
250
|
|
|
314
251
|
{isDetailView && (<react_native_1.View style={styles_1.default.headerCenter}>
|