react-native-inapp-inspector 2.3.18 → 2.3.20
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/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +57 -0
- package/dist/commonjs/analytics.js +1 -24
- package/dist/commonjs/bundle.js +1 -16
- package/dist/commonjs/capture.d.ts +2 -0
- package/dist/commonjs/capture.js +1 -32
- package/dist/commonjs/components/AnalyticsDetail.js +92 -623
- package/dist/commonjs/components/AnalyticsEventCard.js +54 -350
- package/dist/commonjs/components/AnalyticsGraph.js +70 -370
- package/dist/commonjs/components/AnimatedEntrance.js +1 -11
- package/dist/commonjs/components/AppHeaderLogo.js +7 -134
- package/dist/commonjs/components/BrandCircleIcon.js +73 -118
- package/dist/commonjs/components/BrandSquareIcon.js +63 -108
- package/dist/commonjs/components/CodeSnippet.js +48 -623
- package/dist/commonjs/components/ConsoleLogCard.js +63 -537
- package/dist/commonjs/components/CopyButton.js +3 -89
- package/dist/commonjs/components/DiffViewer.js +19 -83
- package/dist/commonjs/components/DomainHeader.js +27 -127
- package/dist/commonjs/components/EmptyState.d.ts +1 -0
- package/dist/commonjs/components/EmptyState.js +10 -87
- package/dist/commonjs/components/EndOfListFooter.js +7 -81
- package/dist/commonjs/components/ErrorBoundary.js +72 -566
- package/dist/commonjs/components/HeadersSection.js +31 -110
- package/dist/commonjs/components/HighlightText.js +17 -58
- package/dist/commonjs/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/commonjs/components/Inspector/AboutModal.js +351 -0
- package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +98 -797
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +284 -930
- package/dist/commonjs/components/Inspector/BundleTab.js +551 -2918
- package/dist/commonjs/components/Inspector/ConsoleTab.js +79 -492
- package/dist/commonjs/components/Inspector/CrashDetail.js +123 -672
- package/dist/commonjs/components/Inspector/CrashFilterModal.js +66 -498
- package/dist/commonjs/components/Inspector/CrashTab.js +98 -670
- package/dist/commonjs/components/Inspector/DebuggingTab.js +64 -871
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
- package/dist/commonjs/components/Inspector/FabLauncher.js +85 -54
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.js +167 -521
- package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
- package/dist/commonjs/components/Inspector/InspectorHeader.js +219 -1093
- package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
- package/dist/commonjs/components/Inspector/MainScreen.js +60 -332
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +136 -278
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +134 -361
- package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
- package/dist/commonjs/components/Inspector/NetworkDetail.js +96 -432
- package/dist/commonjs/components/Inspector/NetworkFilterModal.js +60 -576
- package/dist/commonjs/components/Inspector/NetworkTab.js +84 -514
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +17 -433
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +25 -298
- package/dist/commonjs/components/Inspector/PerformanceTab.js +182 -1397
- package/dist/commonjs/components/Inspector/ReduxDetail.js +188 -1089
- package/dist/commonjs/components/Inspector/ReduxTab.js +85 -701
- package/dist/commonjs/components/Inspector/SettingsPanel.js +431 -3431
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Inspector/StorageTab.js +93 -826
- package/dist/commonjs/components/Inspector/TabBar.js +47 -183
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +34 -408
- package/dist/commonjs/components/JsonViewer.js +168 -380
- package/dist/commonjs/components/LogCard.js +57 -567
- package/dist/commonjs/components/LogSyntaxHighlighter.js +11 -130
- package/dist/commonjs/components/MetaAccordion.js +69 -238
- package/dist/commonjs/components/MiniBarChart.js +3 -56
- package/dist/commonjs/components/MiniLineChart.js +3 -58
- package/dist/commonjs/components/NetworkIcons.d.ts +7 -0
- package/dist/commonjs/components/NetworkIcons.js +479 -997
- package/dist/commonjs/components/QRCodeView.js +5 -79
- package/dist/commonjs/components/SectionHeader.js +15 -37
- package/dist/commonjs/components/SegmentedTabs.js +7 -61
- package/dist/commonjs/components/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Slider.js +15 -243
- package/dist/commonjs/components/SourcePageCard.js +30 -89
- package/dist/commonjs/components/Toast.js +5 -147
- package/dist/commonjs/components/TouchableScale.js +3 -24
- package/dist/commonjs/components/TreeNode.js +55 -130
- package/dist/commonjs/console.js +1 -16
- package/dist/commonjs/constants/index.js +1 -32
- package/dist/commonjs/constants/telemetryConfig.js +1 -6
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -4
- package/dist/commonjs/crash.js +1 -23
- package/dist/commonjs/customHooks/analyticsLogger.js +1 -250
- package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -957
- package/dist/commonjs/customHooks/consoleLogger.js +6 -445
- package/dist/commonjs/customHooks/crashHandler.js +7 -656
- package/dist/commonjs/customHooks/logFilters.js +1 -23
- package/dist/commonjs/customHooks/networkLogger.js +2 -536
- package/dist/commonjs/customHooks/performanceTracker.js +63 -750
- package/dist/commonjs/customHooks/reduxLogger.js +2 -313
- package/dist/commonjs/customHooks/storageInspector.js +1 -435
- package/dist/commonjs/customHooks/useAccordion.js +1 -18
- package/dist/commonjs/decorators/index.js +1 -100
- package/dist/commonjs/helpers/gaAnalyticsRegistry.js +1 -148
- package/dist/commonjs/helpers/index.js +8 -921
- package/dist/commonjs/helpers/memoryManager.js +1 -99
- package/dist/commonjs/helpers/qrGenerator.js +1 -367
- package/dist/commonjs/helpers/remoteConfig.js +1 -165
- package/dist/commonjs/helpers/searchQueryParser.js +1 -62
- package/dist/commonjs/helpers/settingsStore.js +1 -144
- package/dist/commonjs/helpers/telemetry.js +1 -501
- package/dist/commonjs/helpers/toast.js +1 -20
- package/dist/commonjs/i18n/index.js +1 -90
- package/dist/commonjs/i18n/locales/en.json +1 -1122
- package/dist/commonjs/index.js +5 -2153
- package/dist/commonjs/metro.js +6 -468
- package/dist/commonjs/native/NativeInspector.d.ts +3 -0
- package/dist/commonjs/native/NativeInspector.js +1 -402
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeNetworkInspector.js +1 -4
- package/dist/commonjs/network.js +1 -13
- package/dist/commonjs/performance.js +1 -29
- package/dist/commonjs/redux.js +1 -20
- package/dist/commonjs/storage.js +1 -14
- package/dist/commonjs/styles/AppColors.js +1 -423
- package/dist/commonjs/styles/AppFonts.js +1 -17
- package/dist/commonjs/styles/common.js +1 -190
- package/dist/commonjs/styles/index.d.ts +6 -0
- package/dist/commonjs/styles/index.js +1 -1589
- package/dist/commonjs/types/enums.d.ts +2 -1
- package/dist/commonjs/types/enums.js +1 -150
- package/dist/commonjs/types/index.js +1 -18
- package/dist/commonjs/types/interfaces.d.ts +7 -0
- package/dist/commonjs/types/interfaces.js +1 -2
- package/dist/esm/analytics.js +1 -2
- package/dist/esm/bundle.js +1 -2
- package/dist/esm/capture.d.ts +2 -0
- package/dist/esm/capture.js +1 -29
- package/dist/esm/components/AnalyticsDetail.js +171 -664
- package/dist/esm/components/AnalyticsEventCard.js +77 -335
- package/dist/esm/components/AnalyticsGraph.js +95 -357
- package/dist/esm/components/AnimatedEntrance.js +1 -6
- package/dist/esm/components/AppHeaderLogo.js +7 -94
- package/dist/esm/components/BrandCircleIcon.js +114 -119
- package/dist/esm/components/BrandSquareIcon.js +73 -78
- package/dist/esm/components/CodeSnippet.js +58 -595
- package/dist/esm/components/ConsoleLogCard.js +91 -526
- package/dist/esm/components/CopyButton.js +3 -51
- package/dist/esm/components/DiffViewer.js +22 -48
- package/dist/esm/components/DomainHeader.js +43 -138
- package/dist/esm/components/EmptyState.d.ts +1 -0
- package/dist/esm/components/EmptyState.js +17 -56
- package/dist/esm/components/EndOfListFooter.js +15 -83
- package/dist/esm/components/ErrorBoundary.js +125 -582
- package/dist/esm/components/HeadersSection.js +52 -93
- package/dist/esm/components/HighlightText.js +17 -53
- package/dist/esm/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/esm/components/Inspector/AboutModal.js +351 -0
- package/dist/esm/components/Inspector/AnalyticsFilterModal.js +225 -886
- package/dist/esm/components/Inspector/AnalyticsTab.js +296 -904
- package/dist/esm/components/Inspector/BundleTab.js +1175 -3502
- package/dist/esm/components/Inspector/ConsoleTab.js +113 -488
- package/dist/esm/components/Inspector/CrashDetail.js +236 -747
- package/dist/esm/components/Inspector/CrashFilterModal.js +149 -541
- package/dist/esm/components/Inspector/CrashTab.js +177 -711
- package/dist/esm/components/Inspector/DebuggingTab.js +156 -923
- package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
- package/dist/esm/components/Inspector/FabLauncher.js +85 -49
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/esm/components/Inspector/FeedbackModal.js +182 -499
- package/dist/esm/components/Inspector/InspectorContext.js +1 -12
- package/dist/esm/components/Inspector/InspectorHeader.js +309 -1145
- package/dist/esm/components/Inspector/LogDetail.js +235 -1023
- package/dist/esm/components/Inspector/MainScreen.js +86 -320
- package/dist/esm/components/Inspector/MediaGalleryTab.js +157 -259
- package/dist/esm/components/Inspector/MediaPreviewModal.js +153 -340
- package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
- package/dist/esm/components/Inspector/NetworkDetail.js +141 -472
- package/dist/esm/components/Inspector/NetworkFilterModal.js +122 -597
- package/dist/esm/components/Inspector/NetworkTab.js +125 -517
- package/dist/esm/components/Inspector/NpmStarPrompt.js +58 -434
- package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -281
- package/dist/esm/components/Inspector/PerformanceTab.js +393 -1570
- package/dist/esm/components/Inspector/ReduxDetail.js +307 -1170
- package/dist/esm/components/Inspector/ReduxTab.js +144 -722
- package/dist/esm/components/Inspector/SettingsPanel.js +647 -3609
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Inspector/StorageTab.js +172 -866
- package/dist/esm/components/Inspector/TabBar.js +52 -183
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +79 -416
- package/dist/esm/components/JsonViewer.js +179 -353
- package/dist/esm/components/LogCard.js +93 -565
- package/dist/esm/components/LogSyntaxHighlighter.js +11 -123
- package/dist/esm/components/MetaAccordion.js +136 -267
- package/dist/esm/components/MiniBarChart.js +3 -18
- package/dist/esm/components/MiniLineChart.js +3 -20
- package/dist/esm/components/NetworkIcons.d.ts +7 -0
- package/dist/esm/components/NetworkIcons.js +481 -817
- package/dist/esm/components/QRCodeView.js +8 -45
- package/dist/esm/components/SectionHeader.js +22 -39
- package/dist/esm/components/SegmentedTabs.js +8 -57
- package/dist/esm/components/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Slider.js +24 -213
- package/dist/esm/components/SourcePageCard.js +65 -86
- package/dist/esm/components/Toast.js +10 -117
- package/dist/esm/components/TouchableScale.js +3 -19
- package/dist/esm/components/TreeNode.js +58 -95
- package/dist/esm/console.js +1 -2
- package/dist/esm/constants/index.js +1 -28
- package/dist/esm/constants/telemetryConfig.js +1 -3
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/crash.js +1 -2
- package/dist/esm/customHooks/analyticsLogger.js +1 -230
- package/dist/esm/customHooks/bundleAnalyzer.js +1 -944
- package/dist/esm/customHooks/consoleLogger.js +6 -432
- package/dist/esm/customHooks/crashHandler.js +7 -630
- package/dist/esm/customHooks/logFilters.js +1 -20
- package/dist/esm/customHooks/networkLogger.js +2 -519
- package/dist/esm/customHooks/performanceTracker.js +63 -723
- package/dist/esm/customHooks/reduxLogger.js +2 -293
- package/dist/esm/customHooks/storageInspector.js +1 -418
- package/dist/esm/customHooks/useAccordion.js +1 -16
- package/dist/esm/decorators/index.js +1 -95
- package/dist/esm/helpers/gaAnalyticsRegistry.js +1 -143
- package/dist/esm/helpers/index.js +8 -861
- package/dist/esm/helpers/memoryManager.js +1 -91
- package/dist/esm/helpers/qrGenerator.js +1 -364
- package/dist/esm/helpers/remoteConfig.js +1 -160
- package/dist/esm/helpers/searchQueryParser.js +1 -59
- package/dist/esm/helpers/settingsStore.js +1 -134
- package/dist/esm/helpers/telemetry.js +1 -489
- package/dist/esm/helpers/toast.js +1 -15
- package/dist/esm/i18n/index.js +1 -78
- package/dist/esm/i18n/locales/en.json +1 -1122
- package/dist/esm/index.js +7 -1967
- package/dist/esm/metro.js +6 -459
- package/dist/esm/native/NativeInspector.d.ts +3 -0
- package/dist/esm/native/NativeInspector.js +1 -370
- package/dist/esm/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/esm/native/NativeNetworkInspector.js +1 -2
- package/dist/esm/network.js +1 -1
- package/dist/esm/performance.js +1 -2
- package/dist/esm/redux.js +1 -1
- package/dist/esm/storage.js +1 -1
- package/dist/esm/styles/AppColors.js +1 -417
- package/dist/esm/styles/AppFonts.js +1 -13
- package/dist/esm/styles/common.js +1 -186
- package/dist/esm/styles/index.d.ts +6 -0
- package/dist/esm/styles/index.js +1 -1551
- package/dist/esm/types/enums.d.ts +2 -1
- package/dist/esm/types/enums.js +1 -147
- package/dist/esm/types/index.js +1 -2
- package/dist/esm/types/interfaces.d.ts +7 -0
- package/dist/esm/types/interfaces.js +1 -1
- package/ios/NetworkInspectorModule.mm +253 -136
- package/package.json +5 -3
- package/react-native-inapp-inspector.podspec +1 -1
- package/src/native/NativeInspector.ts +17 -0
- package/src/native/NativeNetworkInspector.ts +1 -0
- package/src/analytics.ts +0 -35
- package/src/bundle.ts +0 -25
- package/src/capture.ts +0 -101
- package/src/components/AnalyticsDetail.tsx +0 -870
- package/src/components/AnalyticsEventCard.tsx +0 -444
- package/src/components/AnalyticsGraph.tsx +0 -583
- package/src/components/AnimatedEntrance.tsx +0 -20
- package/src/components/AppHeaderLogo.tsx +0 -143
- package/src/components/BrandCircleIcon.tsx +0 -144
- package/src/components/BrandSquareIcon.tsx +0 -184
- package/src/components/CodeSnippet.tsx +0 -725
- package/src/components/ConsoleLogCard.tsx +0 -679
- package/src/components/CopyButton.tsx +0 -87
- package/src/components/DiffViewer.tsx +0 -82
- package/src/components/DomainHeader.tsx +0 -224
- package/src/components/EmptyState.tsx +0 -95
- package/src/components/EndOfListFooter.tsx +0 -100
- package/src/components/ErrorBoundary.tsx +0 -688
- package/src/components/HeadersSection.tsx +0 -172
- package/src/components/HighlightText.tsx +0 -100
- package/src/components/Inspector/AnalyticsFilterModal.tsx +0 -1250
- package/src/components/Inspector/AnalyticsTab.tsx +0 -1362
- package/src/components/Inspector/BundleTab.tsx +0 -4768
- package/src/components/Inspector/ConsoleTab.tsx +0 -726
- package/src/components/Inspector/CrashDetail.tsx +0 -997
- package/src/components/Inspector/CrashFilterModal.tsx +0 -721
- package/src/components/Inspector/CrashTab.tsx +0 -933
- package/src/components/Inspector/DebuggingTab.tsx +0 -1103
- package/src/components/Inspector/DeviceInfoTab.tsx +0 -1397
- package/src/components/Inspector/FabLauncher.tsx +0 -80
- package/src/components/Inspector/FeatureUnderDevNotice.tsx +0 -94
- package/src/components/Inspector/FeedbackModal.tsx +0 -626
- package/src/components/Inspector/InspectorContext.tsx +0 -28
- package/src/components/Inspector/InspectorHeader.tsx +0 -1545
- package/src/components/Inspector/LogDetail.tsx +0 -1431
- package/src/components/Inspector/MainScreen.tsx +0 -459
- package/src/components/Inspector/MediaGalleryTab.tsx +0 -355
- package/src/components/Inspector/MediaPreviewModal.tsx +0 -435
- package/src/components/Inspector/NavigationTracker.tsx +0 -13
- package/src/components/Inspector/NetworkDetail.tsx +0 -795
- package/src/components/Inspector/NetworkFilterModal.tsx +0 -730
- package/src/components/Inspector/NetworkTab.tsx +0 -820
- package/src/components/Inspector/NpmStarPrompt.tsx +0 -532
- package/src/components/Inspector/NpmUpdateToast.tsx +0 -387
- package/src/components/Inspector/PerformanceTab.tsx +0 -1967
- package/src/components/Inspector/ReduxDetail.tsx +0 -1651
- package/src/components/Inspector/ReduxTab.tsx +0 -987
- package/src/components/Inspector/SettingsPanel.tsx +0 -4580
- package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Inspector/StorageTab.tsx +0 -1159
- package/src/components/Inspector/TabBar.tsx +0 -263
- package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
- package/src/components/JsonViewer.tsx +0 -547
- package/src/components/LogCard.tsx +0 -694
- package/src/components/LogSyntaxHighlighter.tsx +0 -178
- package/src/components/MetaAccordion.tsx +0 -355
- package/src/components/MiniBarChart.tsx +0 -42
- package/src/components/MiniLineChart.tsx +0 -33
- package/src/components/NetworkIcons.tsx +0 -2599
- package/src/components/QRCodeView.tsx +0 -75
- package/src/components/SectionHeader.tsx +0 -101
- package/src/components/SegmentedTabs.tsx +0 -83
- package/src/components/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Slider.tsx +0 -300
- package/src/components/SourcePageCard.tsx +0 -150
- package/src/components/Toast.tsx +0 -131
- package/src/components/TouchableScale.tsx +0 -61
- package/src/components/TreeNode.tsx +0 -171
- package/src/console.ts +0 -24
- package/src/constants/index.ts +0 -41
- package/src/constants/telemetryConfig.ts +0 -4
- package/src/constants/version.ts +0 -3
- package/src/crash.ts +0 -32
- package/src/customHooks/analyticsLogger.ts +0 -336
- package/src/customHooks/bundleAnalyzer.ts +0 -1256
- package/src/customHooks/consoleLogger.ts +0 -530
- package/src/customHooks/crashHandler.ts +0 -944
- package/src/customHooks/logFilters.ts +0 -32
- package/src/customHooks/networkLogger.ts +0 -624
- package/src/customHooks/performanceTracker.ts +0 -1014
- package/src/customHooks/reduxLogger.ts +0 -406
- package/src/customHooks/storageInspector.ts +0 -513
- package/src/customHooks/useAccordion.tsx +0 -27
- package/src/decorators/index.ts +0 -184
- package/src/helpers/gaAnalyticsRegistry.ts +0 -204
- package/src/helpers/index.ts +0 -1092
- package/src/helpers/memoryManager.ts +0 -138
- package/src/helpers/qrGenerator.ts +0 -430
- package/src/helpers/remoteConfig.ts +0 -212
- package/src/helpers/searchQueryParser.ts +0 -84
- package/src/helpers/settingsStore.ts +0 -171
- package/src/helpers/telemetry.ts +0 -568
- package/src/helpers/toast.ts +0 -17
- package/src/i18n/index.ts +0 -104
- package/src/i18n/locales/en.json +0 -1125
- package/src/index.tsx +0 -2635
- package/src/metro.ts +0 -598
- package/src/network.ts +0 -22
- package/src/performance.ts +0 -38
- package/src/redux.ts +0 -23
- package/src/storage.ts +0 -18
- package/src/styles/AppColors.ts +0 -455
- package/src/styles/AppFonts.ts +0 -26
- package/src/styles/common.ts +0 -209
- package/src/styles/index.ts +0 -1606
- package/src/types/enums.ts +0 -208
- package/src/types/index.ts +0 -34
- package/src/types/interfaces.ts +0 -530
|
@@ -1,1214 +1,340 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
const react_1 = __importStar(require("react"));
|
|
40
|
-
const react_native_1 = require("react-native");
|
|
41
|
-
const react_native_linear_gradient_1 = __importDefault(require("react-native-linear-gradient"));
|
|
42
|
-
const InspectorContext_1 = require("./InspectorContext");
|
|
43
|
-
const TouchableScale_1 = __importDefault(require("../TouchableScale"));
|
|
44
|
-
const AppHeaderLogo_1 = __importDefault(require("../AppHeaderLogo"));
|
|
45
|
-
const styles_1 = __importDefault(require("../../styles"));
|
|
46
|
-
const AppColors_1 = require("../../styles/AppColors");
|
|
47
|
-
const AppFonts_1 = require("../../styles/AppFonts");
|
|
48
|
-
const constants_1 = require("../../constants");
|
|
49
|
-
const constants_2 = require("../../constants");
|
|
50
|
-
const helpers_1 = require("../../helpers");
|
|
51
|
-
const NativeInspector_1 = require("../../native/NativeInspector");
|
|
52
|
-
const capture_1 = require("../../capture");
|
|
53
|
-
const toast_1 = require("../../helpers/toast");
|
|
54
|
-
const UpdateAvailableModal_1 = require("./UpdateAvailableModal");
|
|
55
|
-
const MediaPreviewModal_1 = require("./MediaPreviewModal");
|
|
56
|
-
const NetworkIcons_1 = require("../NetworkIcons");
|
|
57
|
-
const i18n_1 = require("../../i18n");
|
|
58
|
-
const InspectorHeader = react_1.default.memo(() => {
|
|
59
|
-
const { t } = (0, i18n_1.useTranslation)();
|
|
60
|
-
const { modalHeightPercent, appIcon, selected, setSelected, selectedEvent, setSelectedEvent, selectedLog, setSelectedLog, selectedReduxSlice, setSelectedReduxSlice, selectedReduxAction, setSelectedReduxAction, reduxState, reduxLastActionMap, showHeaderInfo, setShowHeaderInfo, updateAvailable, latestNpmVersion, clearAnim, activePulseAnim, unreadPulseAnim, runClearAllWithAnimation, settingsPage, setSettingsPage, setSettingsActiveSubTab, isFeedbackOpen, setIsFeedbackOpen, resetToDefaults, closeModal, detailTitle, activeTab, environment, visible, selectedCrash, setSelectedCrash, } = (0, InspectorContext_1.useInspector)();
|
|
61
|
-
const { width: windowWidth } = (0, react_native_1.useWindowDimensions)();
|
|
62
|
-
const isNarrow = windowWidth < 360;
|
|
63
|
-
const isCompact = windowWidth < 400;
|
|
64
|
-
const isTablet = windowWidth >= 600;
|
|
65
|
-
const [showUpdateModal, setShowUpdateModal] = react_1.default.useState(false);
|
|
66
|
-
const [appVersionString, setAppVersionString] = react_1.default.useState(() => {
|
|
67
|
-
return (0, helpers_1.getAppVersionAndBuild)().formatted;
|
|
68
|
-
});
|
|
69
|
-
const [isRecording, setIsRecording] = react_1.default.useState(false);
|
|
70
|
-
const [recordingSeconds, setRecordingSeconds] = react_1.default.useState(0);
|
|
71
|
-
const recordingTimerRef = react_1.default.useRef(null);
|
|
72
|
-
react_1.default.useEffect(() => {
|
|
73
|
-
capture_1.ScreenCapture.isRecording()
|
|
74
|
-
.then(active => {
|
|
75
|
-
setIsRecording(active);
|
|
76
|
-
})
|
|
77
|
-
.catch(() => { });
|
|
78
|
-
}, []);
|
|
79
|
-
react_1.default.useEffect(() => {
|
|
80
|
-
if (isRecording) {
|
|
81
|
-
setRecordingSeconds(0);
|
|
82
|
-
recordingTimerRef.current = setInterval(() => {
|
|
83
|
-
setRecordingSeconds(s => s + 1);
|
|
84
|
-
}, 1000);
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
if (recordingTimerRef.current) {
|
|
88
|
-
clearInterval(recordingTimerRef.current);
|
|
89
|
-
recordingTimerRef.current = null;
|
|
90
|
-
}
|
|
91
|
-
setRecordingSeconds(0);
|
|
92
|
-
}
|
|
93
|
-
return () => {
|
|
94
|
-
if (recordingTimerRef.current) {
|
|
95
|
-
clearInterval(recordingTimerRef.current);
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
}, [isRecording]);
|
|
99
|
-
const [previewMediaItem, setPreviewMediaItem] = react_1.default.useState(null);
|
|
100
|
-
const handleTakeScreenshot = react_1.default.useCallback(async () => {
|
|
101
|
-
try {
|
|
102
|
-
(0, NativeInspector_1.triggerNativeHaptic)('light');
|
|
103
|
-
const result = await capture_1.ScreenCapture.takeScreenshot({
|
|
104
|
-
format: 'png',
|
|
105
|
-
quality: 0.9,
|
|
106
|
-
hideInspector: true,
|
|
107
|
-
});
|
|
108
|
-
if (result) {
|
|
109
|
-
(0, NativeInspector_1.triggerNativeHaptic)('success');
|
|
110
|
-
const newItem = {
|
|
111
|
-
id: `screenshot_${result.timestamp}.png`,
|
|
112
|
-
type: 'image',
|
|
113
|
-
format: result.format,
|
|
114
|
-
uri: result.uri,
|
|
115
|
-
filename: result.uri.split('/').pop() || `screenshot_${result.timestamp}.png`,
|
|
116
|
-
sizeBytes: result.sizeBytes,
|
|
117
|
-
timestamp: result.timestamp,
|
|
118
|
-
width: result.width,
|
|
119
|
-
height: result.height,
|
|
120
|
-
};
|
|
121
|
-
setPreviewMediaItem(newItem);
|
|
122
|
-
(0, toast_1.showToast)(t('header.screenshotCaptured'));
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
(0, toast_1.showToast)(t('header.screenshotFailed'));
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
catch {
|
|
129
|
-
(0, toast_1.showToast)(t('header.screenshotError'));
|
|
130
|
-
}
|
|
131
|
-
}, [t]);
|
|
132
|
-
const handleToggleVideoRecording = react_1.default.useCallback(async () => {
|
|
133
|
-
try {
|
|
134
|
-
if (isRecording) {
|
|
135
|
-
(0, NativeInspector_1.triggerNativeHaptic)('medium');
|
|
136
|
-
const result = await capture_1.ScreenCapture.stopRecording();
|
|
137
|
-
setIsRecording(false);
|
|
138
|
-
if (result) {
|
|
139
|
-
(0, NativeInspector_1.triggerNativeHaptic)('success');
|
|
140
|
-
const newItem = {
|
|
141
|
-
id: `video_${result.timestamp}.${result.format}`,
|
|
142
|
-
type: result.format === 'gif' ? 'gif' : 'video',
|
|
143
|
-
format: result.format,
|
|
144
|
-
uri: result.uri,
|
|
145
|
-
filename: result.uri.split('/').pop() ||
|
|
146
|
-
`video_${result.timestamp}.${result.format}`,
|
|
147
|
-
sizeBytes: result.sizeBytes,
|
|
148
|
-
timestamp: result.timestamp,
|
|
149
|
-
durationMs: result.durationMs,
|
|
150
|
-
width: result.width,
|
|
151
|
-
height: result.height,
|
|
152
|
-
hasAudio: result.hasAudio,
|
|
153
|
-
};
|
|
154
|
-
setPreviewMediaItem(newItem);
|
|
155
|
-
(0, toast_1.showToast)(t('header.recordingSaved', {
|
|
156
|
-
duration: (result.durationMs / 1000).toFixed(1),
|
|
157
|
-
}));
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
(0, NativeInspector_1.triggerNativeHaptic)('medium');
|
|
162
|
-
const started = await capture_1.ScreenCapture.startRecording({
|
|
163
|
-
fps: 24,
|
|
164
|
-
audioSource: 'none',
|
|
165
|
-
});
|
|
166
|
-
if (started) {
|
|
167
|
-
setIsRecording(true);
|
|
168
|
-
(0, toast_1.showToast)(t('header.recordingStarted'));
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
(0, toast_1.showToast)(t('header.recordingStartFailed'));
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
catch {
|
|
176
|
-
(0, toast_1.showToast)(t('header.recordingError'));
|
|
177
|
-
setIsRecording(false);
|
|
178
|
-
}
|
|
179
|
-
}, [isRecording, t]);
|
|
180
|
-
const formatTimer = (totalSeconds) => {
|
|
181
|
-
const mins = Math.floor(totalSeconds / 60);
|
|
182
|
-
const secs = totalSeconds % 60;
|
|
183
|
-
return `${mins.toString().padStart(2, '0')}:${secs
|
|
184
|
-
.toString()
|
|
185
|
-
.padStart(2, '0')}`;
|
|
186
|
-
};
|
|
187
|
-
const envConfig = (0, react_1.useMemo)(() => {
|
|
188
|
-
const rawEnv = (environment || (__DEV__ ? 'DEV' : 'PROD')).trim();
|
|
189
|
-
const clean = rawEnv.toUpperCase();
|
|
190
|
-
if (clean === 'DEV' || clean.includes('DEV') || clean === 'LOCAL') {
|
|
191
|
-
return {
|
|
192
|
-
label: rawEnv,
|
|
193
|
-
bg: `${AppColors_1.AppColors.emerald500}40`,
|
|
194
|
-
border: `${AppColors_1.AppColors.emerald400}8C`,
|
|
195
|
-
text: AppColors_1.AppColors.mintGreenBorder,
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
if (clean === 'UAT' || clean === 'QA' || clean === 'TEST') {
|
|
199
|
-
return {
|
|
200
|
-
label: rawEnv,
|
|
201
|
-
bg: `${AppColors_1.AppColors.amber500}47`,
|
|
202
|
-
border: `${AppColors_1.AppColors.amber400}99`,
|
|
203
|
-
text: AppColors_1.AppColors.amberWarmBorder,
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
if (clean === 'PREPROD' || clean === 'STAGE' || clean === 'STAGING') {
|
|
207
|
-
return {
|
|
208
|
-
label: rawEnv,
|
|
209
|
-
bg: `${AppColors_1.AppColors.purple500}47`,
|
|
210
|
-
border: `${AppColors_1.AppColors.purple400}99`,
|
|
211
|
-
text: AppColors_1.AppColors.violetSoftBorder,
|
|
212
|
-
};
|
|
213
|
-
}
|
|
214
|
-
return {
|
|
215
|
-
label: rawEnv,
|
|
216
|
-
bg: `${AppColors_1.AppColors.rose500}40`,
|
|
217
|
-
border: `${AppColors_1.AppColors.roseBorder}8C`,
|
|
218
|
-
text: AppColors_1.AppColors.errorBorder,
|
|
219
|
-
};
|
|
220
|
-
}, [environment]);
|
|
221
|
-
const isDetailView = (activeTab === 'apis' && selected != null) ||
|
|
222
|
-
(activeTab === 'analytics' && selectedEvent != null) ||
|
|
223
|
-
(activeTab === 'logs' && selectedLog != null) ||
|
|
224
|
-
(activeTab === 'redux' &&
|
|
225
|
-
(selectedReduxSlice != null || selectedReduxAction != null)) ||
|
|
226
|
-
(activeTab === 'crash' && selectedCrash != null);
|
|
227
|
-
const isSettingsView = settingsPage !== null;
|
|
228
|
-
const isAnySelected = isDetailView || isSettingsView || isFeedbackOpen;
|
|
229
|
-
const settingsModuleTitle = (0, react_1.useMemo)(() => {
|
|
230
|
-
switch (settingsPage) {
|
|
231
|
-
case 'apis':
|
|
232
|
-
return 'APIs (Network)';
|
|
233
|
-
case 'logs':
|
|
234
|
-
return 'Console Logs';
|
|
235
|
-
case 'performance':
|
|
236
|
-
return 'Performance Tracker';
|
|
237
|
-
case 'bundle':
|
|
238
|
-
return 'Bundle Analyzer';
|
|
239
|
-
case 'crash':
|
|
240
|
-
return 'Crash Protection';
|
|
241
|
-
case 'analytics':
|
|
242
|
-
return 'Analytics Logger';
|
|
243
|
-
case 'redux':
|
|
244
|
-
return 'Redux Inspector';
|
|
245
|
-
default:
|
|
246
|
-
return 'Settings & Modules';
|
|
247
|
-
}
|
|
248
|
-
}, [settingsPage]);
|
|
249
|
-
const headerTopPadding = react_native_1.Platform.OS === 'ios' && modalHeightPercent >= 95 ? 44 : 0;
|
|
250
|
-
const buttonSize = isNarrow ? 28 : isCompact ? 30 : 32;
|
|
251
|
-
const logoSize = isNarrow ? 36 : isCompact ? 40 : 44;
|
|
252
|
-
return (<>
|
|
253
|
-
<react_native_1.View style={[
|
|
254
|
-
styles_1.default.headerGradient,
|
|
255
|
-
{
|
|
256
|
-
minHeight: (isNarrow ? 48 : 52) + headerTopPadding,
|
|
257
|
-
},
|
|
258
|
-
]}>
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(i,a,n,r){r===void 0&&(r=n);var l=Object.getOwnPropertyDescriptor(a,n);(!l||("get"in l?!a.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return a[n]}}),Object.defineProperty(i,r,l)}):(function(i,a,n,r){r===void 0&&(r=n),i[r]=a[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(i,a){Object.defineProperty(i,"default",{enumerable:!0,value:a})}):function(i,a){i.default=a}),__importStar=this&&this.__importStar||(function(){var i=function(a){return i=Object.getOwnPropertyNames||function(n){var r=[];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(r[r.length]=l);return r},i(a)};return function(a){if(a&&a.__esModule)return a;var n={};if(a!=null)for(var r=i(a),l=0;l<r.length;l++)r[l]!=="default"&&__createBinding(n,a,r[l]);return __setModuleDefault(n,a),n}})(),__importDefault=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_linear_gradient_1=__importDefault(require("react-native-linear-gradient")),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),AppHeaderLogo_1=__importDefault(require("../AppHeaderLogo")),styles_1=__importDefault(require("../../styles")),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),constants_1=require("../../constants"),constants_2=require("../../constants"),helpers_1=require("../../helpers"),NativeInspector_1=require("../../native/NativeInspector"),capture_1=require("../../capture"),toast_1=require("../../helpers/toast"),UpdateAvailableModal_1=require("./UpdateAvailableModal"),MediaPreviewModal_1=require("./MediaPreviewModal"),NetworkIcons_1=require("../NetworkIcons"),i18n_1=require("../../i18n"),InspectorHeader=react_1.default.memo(()=>{const{t:i}=(0,i18n_1.useTranslation)(),{modalHeightPercent:a,appIcon:n,selected:r,setSelected:l,selectedEvent:p,setSelectedEvent:W,selectedLog:h,setSelectedLog:N,selectedReduxSlice:w,setSelectedReduxSlice:j,selectedReduxAction:C,setSelectedReduxAction:U,reduxState:G,reduxLastActionMap:K,showHeaderInfo:ce,setShowHeaderInfo:pe,updateAvailable:V,latestNpmVersion:Q,clearAnim:O,activePulseAnim:J,unreadPulseAnim:X,runClearAllWithAnimation:Y,settingsPage:f,setSettingsPage:z,isFeedbackOpen:I,setIsFeedbackOpen:Z,isAboutOpen:D,setIsAboutOpen:H,resetToDefaults:ee,closeModal:B,minimizeInspector:te,detailTitle:ie,activeTab:u,environment:k,visible:ue,selectedCrash:s,setSelectedCrash:re,refreshMediaCount:_}=(0,InspectorContext_1.useInspector)(),{width:m}=(0,react_native_1.useWindowDimensions)(),e=m<360,T=m<400,he=m>=600,[oe,R]=react_1.default.useState(!1),[ae,fe]=react_1.default.useState(()=>(0,helpers_1.getAppVersionAndBuild)().formatted),[d,S]=react_1.default.useState(!1),[le,$]=react_1.default.useState(0),g=react_1.default.useRef(null);react_1.default.useEffect(()=>{capture_1.ScreenCapture.isRecording().then(t=>{S(t)}).catch(()=>{})},[]),react_1.default.useEffect(()=>(d?($(0),g.current=setInterval(()=>{$(t=>t+1)},1e3)):(g.current&&(clearInterval(g.current),g.current=null),$(0)),()=>{g.current&&clearInterval(g.current)}),[d]);const[F,b]=react_1.default.useState(null),P=react_1.default.useCallback(async()=>{try{(0,NativeInspector_1.triggerNativeHaptic)("light");const t=await capture_1.ScreenCapture.takeScreenshot({format:"png",quality:.9,hideInspector:!0});if(t){(0,NativeInspector_1.triggerNativeHaptic)("success");const o={id:`screenshot_${t.timestamp}.png`,type:"image",format:t.format,uri:t.uri,filename:t.uri.split("/").pop()||`screenshot_${t.timestamp}.png`,sizeBytes:t.sizeBytes,timestamp:t.timestamp,width:t.width,height:t.height};b(o),_?.().catch(()=>{}),(0,toast_1.showToast)(i("header.screenshotCaptured"))}else(0,toast_1.showToast)(i("header.screenshotFailed"))}catch{(0,toast_1.showToast)(i("header.screenshotError"))}},[_,i]),L=react_1.default.useCallback(async()=>{try{if(d){(0,NativeInspector_1.triggerNativeHaptic)("medium");const t=await capture_1.ScreenCapture.stopRecording();if(S(!1),t){(0,NativeInspector_1.triggerNativeHaptic)("success");const o={id:`video_${t.timestamp}.${t.format}`,type:t.format==="gif"?"gif":"video",format:t.format,uri:t.uri,filename:t.uri.split("/").pop()||`video_${t.timestamp}.${t.format}`,sizeBytes:t.sizeBytes,timestamp:t.timestamp,durationMs:t.durationMs,width:t.width,height:t.height,hasAudio:t.hasAudio};b(o),_?.().catch(()=>{}),(0,toast_1.showToast)(i("header.recordingSaved",{duration:(t.durationMs/1e3).toFixed(1)}))}}else(0,NativeInspector_1.triggerNativeHaptic)("medium"),await capture_1.ScreenCapture.startRecording({fps:24,audioSource:"none"})?(S(!0),(0,toast_1.showToast)(i("header.recordingStarted"))):(0,toast_1.showToast)(i("header.recordingStartFailed"))}catch{(0,toast_1.showToast)(i("header.recordingError")),S(!1)}},[d,i]),ne=t=>{const o=Math.floor(t/60),M=t%60;return`${o.toString().padStart(2,"0")}:${M.toString().padStart(2,"0")}`},v=(0,react_1.useMemo)(()=>{const t=(k||(__DEV__?"DEV":"PROD")).trim(),o=t.toUpperCase();return o==="DEV"||o.includes("DEV")||o==="LOCAL"?{label:t,bg:`${AppColors_1.AppColors.emerald500}40`,border:`${AppColors_1.AppColors.emerald400}8C`,text:AppColors_1.AppColors.mintGreenBorder}:o==="UAT"||o==="QA"||o==="TEST"?{label:t,bg:`${AppColors_1.AppColors.amber500}47`,border:`${AppColors_1.AppColors.amber400}99`,text:AppColors_1.AppColors.amberWarmBorder}:o==="PREPROD"||o==="STAGE"||o==="STAGING"?{label:t,bg:`${AppColors_1.AppColors.purple500}47`,border:`${AppColors_1.AppColors.purple400}99`,text:AppColors_1.AppColors.violetSoftBorder}:{label:t,bg:`${AppColors_1.AppColors.rose500}40`,border:`${AppColors_1.AppColors.roseBorder}8C`,text:AppColors_1.AppColors.errorBorder}},[k]),A=u==="apis"&&r!=null||u==="analytics"&&p!=null||u==="logs"&&h!=null||u==="redux"&&(w!=null||C!=null)||u==="crash"&&s!=null,x=f!==null,y=A||x||I||D,se=(0,react_1.useMemo)(()=>{switch(f){case"apis":return"APIs (Network)";case"logs":return"Console Logs";case"performance":return"Performance Tracker";case"bundle":return"Bundle Analyzer";case"crash":return"Crash Protection";case"analytics":return"Analytics Logger";case"redux":return"Redux Inspector";default:return"Settings & Modules"}},[f]),E=(0,react_1.useMemo)(()=>react_native_1.Platform.OS==="ios"?a>=98?m>=390?50:44:0:react_native_1.Platform.OS==="android"&&a>=98?react_native_1.StatusBar.currentHeight||24:0,[a,m]),c=e?28:T?30:32,de=e?42:T?46:50;return<>
|
|
2
|
+
<react_native_1.View style={[styles_1.default.headerGradient,{minHeight:(e?58:62)+E}]}>
|
|
259
3
|
|
|
260
|
-
<react_native_linear_gradient_1.default colors={[AppColors_1.AppColors.indigo600,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
}} pointerEvents="none"/>
|
|
269
|
-
<react_native_1.View style={{ paddingTop: headerTopPadding, width: '100%' }}>
|
|
270
|
-
<react_native_1.View style={[
|
|
271
|
-
styles_1.default.header,
|
|
272
|
-
{
|
|
273
|
-
paddingHorizontal: isNarrow ? 8 : 12,
|
|
274
|
-
paddingVertical: isNarrow ? 6 : 8,
|
|
275
|
-
minHeight: isNarrow ? 48 : 52,
|
|
276
|
-
},
|
|
277
|
-
]}>
|
|
278
|
-
<react_native_1.View style={{
|
|
279
|
-
flexDirection: 'row',
|
|
280
|
-
alignItems: 'center',
|
|
281
|
-
gap: isNarrow ? 6 : 8,
|
|
282
|
-
flexShrink: 0,
|
|
283
|
-
flex: isAnySelected ? undefined : 1,
|
|
284
|
-
minWidth: isAnySelected ? (isNarrow ? 32 : 36) : 0,
|
|
285
|
-
}}>
|
|
286
|
-
{isAnySelected && (<TouchableScale_1.default onPress={() => {
|
|
287
|
-
if (isFeedbackOpen) {
|
|
288
|
-
setIsFeedbackOpen(false);
|
|
289
|
-
return;
|
|
290
|
-
}
|
|
291
|
-
if (isSettingsView) {
|
|
292
|
-
if (settingsPage === 'main') {
|
|
293
|
-
setSettingsPage(null);
|
|
294
|
-
}
|
|
295
|
-
else {
|
|
296
|
-
setSettingsPage('main');
|
|
297
|
-
}
|
|
298
|
-
return;
|
|
299
|
-
}
|
|
300
|
-
setSelected(null);
|
|
301
|
-
setSelectedEvent(null);
|
|
302
|
-
setSelectedLog(null);
|
|
303
|
-
setSelectedReduxSlice(null);
|
|
304
|
-
setSelectedReduxAction(null);
|
|
305
|
-
setSelectedCrash(null);
|
|
306
|
-
}} hitSlop={15} style={{
|
|
307
|
-
width: isNarrow ? 32 : 36,
|
|
308
|
-
height: isNarrow ? 32 : 36,
|
|
309
|
-
borderRadius: isNarrow ? 16 : 18,
|
|
310
|
-
alignItems: 'center',
|
|
311
|
-
justifyContent: 'center',
|
|
312
|
-
backgroundColor: `${AppColors_1.AppColors.white}2E`,
|
|
313
|
-
borderWidth: 1,
|
|
314
|
-
borderColor: `${AppColors_1.AppColors.white}4D`,
|
|
315
|
-
}}>
|
|
316
|
-
<react_native_1.View style={{
|
|
317
|
-
position: 'absolute',
|
|
318
|
-
width: isNarrow ? 40 : 44,
|
|
319
|
-
height: isNarrow ? 40 : 44,
|
|
320
|
-
borderRadius: 22,
|
|
321
|
-
backgroundColor: `${AppColors_1.AppColors.white}1A`,
|
|
322
|
-
}}/>
|
|
323
|
-
<NetworkIcons_1.WhiteBackNavigation />
|
|
324
|
-
</TouchableScale_1.default>)}
|
|
4
|
+
<react_native_linear_gradient_1.default colors={[AppColors_1.AppColors.indigo600,AppColors_1.AppColors.violet600]}start={{x:0,y:0}}end={{x:1,y:1}}style={{position:"absolute",top:0,left:0,right:0,bottom:0,borderTopLeftRadius:20,borderTopRightRadius:20}}pointerEvents="none"/>
|
|
5
|
+
<react_native_1.View style={{paddingTop:E,width:"100%"}}>
|
|
6
|
+
<react_native_1.View style={[styles_1.default.header,{width:"100%",justifyContent:"space-between",paddingHorizontal:e?12:16,paddingVertical:e?8:10,minHeight:e?52:56}]}>
|
|
7
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?8:10,flex:A?void 0:1,flexShrink:A?0:1,minWidth:0}}>
|
|
8
|
+
{y&&<TouchableScale_1.default onPress={()=>{if(D){H(!1);return}if(I){Z(!1);return}if(x){z(f==="main"?null:"main");return}l(null),W(null),N(null),j(null),U(null),re(null)}}hitSlop={15}style={{width:e?32:36,height:e?32:36,borderRadius:e?16:18,alignItems:"center",justifyContent:"center",backgroundColor:`${AppColors_1.AppColors.white}2E`,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}4D`}}>
|
|
9
|
+
<react_native_1.View style={{position:"absolute",width:e?40:44,height:e?40:44,borderRadius:22,backgroundColor:`${AppColors_1.AppColors.white}1A`}}/>
|
|
10
|
+
<NetworkIcons_1.WhiteBackNavigation/>
|
|
11
|
+
</TouchableScale_1.default>}
|
|
325
12
|
|
|
326
|
-
{
|
|
327
|
-
<react_native_1.View style={{
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
13
|
+
{D?<react_native_1.View style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
14
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
15
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?15:16.5,lineHeight:e?19:21,color:AppColors_1.AppColors.white,letterSpacing:-.2}}numberOfLines={1}>
|
|
16
|
+
About & Specs
|
|
17
|
+
</react_native_1.Text>
|
|
18
|
+
<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.white}26`,paddingHorizontal:e?5:6,paddingVertical:2,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}20`}}>
|
|
19
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?8.5:9.5,lineHeight:12,color:AppColors_1.AppColors.white}}>
|
|
20
|
+
v{constants_2.LIB_VERSION}
|
|
21
|
+
</react_native_1.Text>
|
|
22
|
+
</react_native_1.View>
|
|
23
|
+
</react_native_1.View>
|
|
24
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${AppColors_1.AppColors.white}CC`,marginTop:1}}numberOfLines={1}>
|
|
25
|
+
Package info, runtime specs & diagnostic payload
|
|
26
|
+
</react_native_1.Text>
|
|
27
|
+
</react_native_1.View>:I?<react_native_1.View style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
28
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
29
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?15:16.5,lineHeight:e?19:21,color:AppColors_1.AppColors.white,letterSpacing:-.2}}numberOfLines={1}>
|
|
338
30
|
Support & Feedback
|
|
339
31
|
</react_native_1.Text>
|
|
340
|
-
<react_native_1.View style={{
|
|
341
|
-
|
|
342
|
-
paddingHorizontal: isNarrow ? 4 : 6,
|
|
343
|
-
paddingVertical: 1.5,
|
|
344
|
-
borderRadius: 10,
|
|
345
|
-
borderWidth: 1,
|
|
346
|
-
borderColor: `${AppColors_1.AppColors.white}20`,
|
|
347
|
-
}}>
|
|
348
|
-
<react_native_1.Text style={{
|
|
349
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
350
|
-
fontSize: isNarrow ? 8 : 9,
|
|
351
|
-
color: AppColors_1.AppColors.white,
|
|
352
|
-
}}>
|
|
32
|
+
<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.white}26`,paddingHorizontal:e?5:6,paddingVertical:2,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}20`}}>
|
|
33
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?8.5:9.5,lineHeight:12,color:AppColors_1.AppColors.white}}>
|
|
353
34
|
v{constants_2.LIB_VERSION}
|
|
354
35
|
</react_native_1.Text>
|
|
355
36
|
</react_native_1.View>
|
|
356
37
|
</react_native_1.View>
|
|
357
|
-
<react_native_1.Text style={{
|
|
358
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
359
|
-
fontSize: isNarrow ? 9.5 : 10.5,
|
|
360
|
-
color: `${AppColors_1.AppColors.white}CC`,
|
|
361
|
-
}} numberOfLines={1}>
|
|
38
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${AppColors_1.AppColors.white}CC`,marginTop:1}}numberOfLines={1}>
|
|
362
39
|
Direct line to maintainers & developers
|
|
363
40
|
</react_native_1.Text>
|
|
364
|
-
</react_native_1.View
|
|
365
|
-
<react_native_1.View style={{
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
gap: 6,
|
|
369
|
-
}}>
|
|
370
|
-
<react_native_1.Text style={{
|
|
371
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
372
|
-
fontSize: isNarrow ? 14 : 16,
|
|
373
|
-
color: AppColors_1.AppColors.white,
|
|
374
|
-
letterSpacing: -0.2,
|
|
375
|
-
}} numberOfLines={1}>
|
|
376
|
-
{settingsModuleTitle}
|
|
41
|
+
</react_native_1.View>:x?<react_native_1.View style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
42
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
43
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?15:16.5,lineHeight:e?19:21,color:AppColors_1.AppColors.white,letterSpacing:-.2}}numberOfLines={1}>
|
|
44
|
+
{se}
|
|
377
45
|
</react_native_1.Text>
|
|
378
|
-
{
|
|
379
|
-
|
|
380
|
-
paddingHorizontal: isNarrow ? 4 : 6,
|
|
381
|
-
paddingVertical: 1.5,
|
|
382
|
-
borderRadius: 10,
|
|
383
|
-
borderWidth: 1,
|
|
384
|
-
borderColor: `${AppColors_1.AppColors.white}20`,
|
|
385
|
-
}}>
|
|
386
|
-
<react_native_1.Text style={{
|
|
387
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
388
|
-
fontSize: isNarrow ? 8 : 9,
|
|
389
|
-
color: AppColors_1.AppColors.white,
|
|
390
|
-
}}>
|
|
46
|
+
{f==="main"&&<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.white}26`,paddingHorizontal:e?5:6,paddingVertical:2,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}20`}}>
|
|
47
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?8.5:9.5,lineHeight:12,color:AppColors_1.AppColors.white}}>
|
|
391
48
|
v{constants_2.LIB_VERSION}
|
|
392
49
|
</react_native_1.Text>
|
|
393
|
-
</react_native_1.View>
|
|
50
|
+
</react_native_1.View>}
|
|
394
51
|
</react_native_1.View>
|
|
395
|
-
<react_native_1.Text style={{
|
|
396
|
-
|
|
397
|
-
fontSize: isNarrow ? 9.5 : 10.5,
|
|
398
|
-
color: `${AppColors_1.AppColors.white}CC`,
|
|
399
|
-
}} numberOfLines={1}>
|
|
400
|
-
{settingsPage === 'main'
|
|
401
|
-
? 'Manage modules and preferences'
|
|
402
|
-
: 'Configure module parameters'}
|
|
52
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${AppColors_1.AppColors.white}CC`,marginTop:1}}numberOfLines={1}>
|
|
53
|
+
{f==="main"?"Manage modules and preferences":"Configure module parameters"}
|
|
403
54
|
</react_native_1.Text>
|
|
404
|
-
</react_native_1.View
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
marginRight: 4,
|
|
411
|
-
}}>
|
|
412
|
-
<AppHeaderLogo_1.default size={logoSize} customIcon={appIcon}/>
|
|
413
|
-
<react_native_1.View style={{ gap: 2, flex: 1, minWidth: 0 }}>
|
|
414
|
-
<react_native_1.View style={{
|
|
415
|
-
flexDirection: 'row',
|
|
416
|
-
alignItems: 'center',
|
|
417
|
-
gap: isNarrow ? 4 : 6,
|
|
418
|
-
minWidth: 0,
|
|
419
|
-
}}>
|
|
420
|
-
<react_native_1.Text style={[
|
|
421
|
-
styles_1.default.headerTitle,
|
|
422
|
-
{
|
|
423
|
-
fontSize: isNarrow ? 13.5 : isCompact ? 14.5 : 15.5,
|
|
424
|
-
flexShrink: 1,
|
|
425
|
-
paddingBottom: 0,
|
|
426
|
-
},
|
|
427
|
-
]} numberOfLines={1} ellipsizeMode="tail">
|
|
428
|
-
{(0, helpers_1.getAppName)()}
|
|
55
|
+
</react_native_1.View>:y?null:<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?10:12,flex:1,minWidth:0,marginRight:4}}>
|
|
56
|
+
<AppHeaderLogo_1.default size={de}customIcon={n}/>
|
|
57
|
+
<react_native_1.View style={{gap:4,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
58
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?6:7,minWidth:0}}>
|
|
59
|
+
<react_native_1.Text style={[styles_1.default.headerTitle,{fontSize:e?15:T?16:17,lineHeight:e?20:T?22:23,flexShrink:1,paddingBottom:0}]}numberOfLines={1}ellipsizeMode="tail">
|
|
60
|
+
{(0,helpers_1.getAppName)()}
|
|
429
61
|
</react_native_1.Text>
|
|
430
|
-
<react_native_1.View style={[
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
backgroundColor: envConfig.bg,
|
|
434
|
-
borderColor: envConfig.border,
|
|
435
|
-
flexShrink: 0,
|
|
436
|
-
paddingHorizontal: isNarrow ? 4.5 : 6,
|
|
437
|
-
paddingVertical: 1.5,
|
|
438
|
-
marginBottom: 0,
|
|
439
|
-
},
|
|
440
|
-
]}>
|
|
441
|
-
<react_native_1.Text style={[
|
|
442
|
-
styles_1.default.envBadgeText,
|
|
443
|
-
{
|
|
444
|
-
color: envConfig.text,
|
|
445
|
-
fontSize: isNarrow ? 8.5 : 9.5,
|
|
446
|
-
},
|
|
447
|
-
]}>
|
|
448
|
-
{envConfig.label}
|
|
62
|
+
<react_native_1.View style={[styles_1.default.envBadge,{backgroundColor:v.bg,borderColor:v.border,flexShrink:0,paddingHorizontal:e?6:7,paddingVertical:2.5,borderRadius:6,marginBottom:0}]}>
|
|
63
|
+
<react_native_1.Text style={[styles_1.default.envBadgeText,{color:v.text,fontSize:e?9:10,lineHeight:13}]}>
|
|
64
|
+
{v.label}
|
|
449
65
|
</react_native_1.Text>
|
|
450
66
|
</react_native_1.View>
|
|
451
|
-
{
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
backgroundColor: AppColors_1.AppColors.warningAmber,
|
|
455
|
-
borderRadius: 5,
|
|
456
|
-
paddingHorizontal: isNarrow ? 4 : 5.5,
|
|
457
|
-
paddingVertical: 1.5,
|
|
458
|
-
gap: 3,
|
|
459
|
-
shadowColor: AppColors_1.AppColors.warningAmber,
|
|
460
|
-
shadowOffset: { width: 0, height: 1.5 },
|
|
461
|
-
shadowOpacity: 0.35,
|
|
462
|
-
shadowRadius: 3,
|
|
463
|
-
elevation: 3,
|
|
464
|
-
flexShrink: 0,
|
|
465
|
-
}}>
|
|
466
|
-
<react_native_1.Animated.View style={{
|
|
467
|
-
width: 5,
|
|
468
|
-
height: 5,
|
|
469
|
-
borderRadius: 2.5,
|
|
470
|
-
backgroundColor: AppColors_1.AppColors.white,
|
|
471
|
-
opacity: activePulseAnim,
|
|
472
|
-
transform: [{ scale: unreadPulseAnim }],
|
|
473
|
-
}}/>
|
|
474
|
-
{!isNarrow && (<react_native_1.Text style={{
|
|
475
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
476
|
-
fontSize: 8.5,
|
|
477
|
-
color: AppColors_1.AppColors.white,
|
|
478
|
-
letterSpacing: 0.3,
|
|
479
|
-
}}>
|
|
67
|
+
{V&&<react_native_1.Pressable hitSlop={10}onPress={()=>R(!0)}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.warningAmber,borderRadius:6,paddingHorizontal:e?5:6.5,paddingVertical:2.5,gap:3.5,shadowColor:AppColors_1.AppColors.warningAmber,shadowOffset:{width:0,height:1.5},shadowOpacity:.35,shadowRadius:3,elevation:3,flexShrink:0}}>
|
|
68
|
+
<react_native_1.Animated.View style={{width:5,height:5,borderRadius:2.5,backgroundColor:AppColors_1.AppColors.white,opacity:J,transform:[{scale:X}]}}/>
|
|
69
|
+
{!e&&<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,lineHeight:11,color:AppColors_1.AppColors.white,letterSpacing:.3}}>
|
|
480
70
|
UPDATE
|
|
481
|
-
</react_native_1.Text>
|
|
482
|
-
<NetworkIcons_1.BoltIcon size={
|
|
483
|
-
</react_native_1.Pressable>
|
|
71
|
+
</react_native_1.Text>}
|
|
72
|
+
<NetworkIcons_1.BoltIcon size={e?8:9}color={AppColors_1.AppColors.white}/>
|
|
73
|
+
</react_native_1.Pressable>}
|
|
484
74
|
</react_native_1.View>
|
|
485
75
|
|
|
486
76
|
|
|
487
|
-
<react_native_1.View style={{
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
}}>
|
|
493
|
-
<react_native_1.View style={{
|
|
494
|
-
flexDirection: 'row',
|
|
495
|
-
alignItems: 'center',
|
|
496
|
-
backgroundColor: `${AppColors_1.AppColors.white}1F`,
|
|
497
|
-
borderRadius: 5,
|
|
498
|
-
paddingHorizontal: isNarrow ? 4.5 : 6,
|
|
499
|
-
paddingVertical: 2,
|
|
500
|
-
gap: 3.5,
|
|
501
|
-
borderWidth: 1,
|
|
502
|
-
borderColor: `${AppColors_1.AppColors.white}2E`,
|
|
503
|
-
flexShrink: 1,
|
|
504
|
-
minWidth: 0,
|
|
505
|
-
}}>
|
|
506
|
-
{react_native_1.Platform.OS === 'ios' ? (<NetworkIcons_1.AppleIcon color={`${AppColors_1.AppColors.white}E6`} size={isNarrow ? 9 : 10}/>) : (<NetworkIcons_1.AndroidIcon color={`${AppColors_1.AppColors.white}E6`} size={isNarrow ? 9 : 10}/>)}
|
|
507
|
-
<react_native_1.Text style={{
|
|
508
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
509
|
-
fontSize: isNarrow ? 8.5 : 9.5,
|
|
510
|
-
color: `${AppColors_1.AppColors.white}EB`,
|
|
511
|
-
letterSpacing: 0.1,
|
|
512
|
-
}} numberOfLines={1} ellipsizeMode="tail">
|
|
513
|
-
{appVersionString}
|
|
77
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?5:6,minWidth:0,marginTop:2}}>
|
|
78
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.white}1F`,borderRadius:6,paddingHorizontal:e?6:7,paddingVertical:3,gap:4,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}2E`,flexShrink:1,minWidth:0}}>
|
|
79
|
+
{react_native_1.Platform.OS==="ios"?<NetworkIcons_1.AppleIcon color={`${AppColors_1.AppColors.white}E6`}size={e?9.5:10.5}/>:<NetworkIcons_1.AndroidIcon color={`${AppColors_1.AppColors.white}E6`}size={e?9.5:10.5}/>}
|
|
80
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:e?9:10,lineHeight:13,color:`${AppColors_1.AppColors.white}EB`,letterSpacing:.1}}numberOfLines={1}ellipsizeMode="tail">
|
|
81
|
+
{ae}
|
|
514
82
|
</react_native_1.Text>
|
|
515
83
|
</react_native_1.View>
|
|
516
84
|
|
|
517
|
-
<react_native_1.Pressable onPress={()
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
}
|
|
521
|
-
else {
|
|
522
|
-
react_native_1.Linking.openURL('https://www.npmjs.com/package/react-native-inapp-inspector').catch(() => { });
|
|
523
|
-
}
|
|
524
|
-
}} style={{
|
|
525
|
-
flexDirection: 'row',
|
|
526
|
-
alignItems: 'center',
|
|
527
|
-
backgroundColor: `${AppColors_1.AppColors.white}1F`,
|
|
528
|
-
borderRadius: 5,
|
|
529
|
-
paddingHorizontal: isNarrow ? 4.5 : 6,
|
|
530
|
-
paddingVertical: 2,
|
|
531
|
-
gap: 3.5,
|
|
532
|
-
borderWidth: 1,
|
|
533
|
-
borderColor: `${AppColors_1.AppColors.white}2E`,
|
|
534
|
-
flexShrink: 0,
|
|
535
|
-
}}>
|
|
536
|
-
<NetworkIcons_1.NpmIcon size={isNarrow ? 9 : 10} color={AppColors_1.AppColors.npmRedLight}/>
|
|
537
|
-
<react_native_1.Text style={{
|
|
538
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
539
|
-
fontSize: isNarrow ? 8.5 : 9.5,
|
|
540
|
-
color: `${AppColors_1.AppColors.white}EB`,
|
|
541
|
-
letterSpacing: 0.1,
|
|
542
|
-
}} numberOfLines={1}>
|
|
85
|
+
<react_native_1.Pressable onPress={()=>{V?R(!0):react_native_1.Linking.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{})}}style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.white}1F`,borderRadius:6,paddingHorizontal:e?6:7,paddingVertical:3,gap:4,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}2E`,flexShrink:0}}>
|
|
86
|
+
<NetworkIcons_1.NpmIcon size={e?9.5:10.5}color={AppColors_1.AppColors.npmRedLight}/>
|
|
87
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:e?9:10,lineHeight:13,color:`${AppColors_1.AppColors.white}EB`,letterSpacing:.1}}numberOfLines={1}>
|
|
543
88
|
v{constants_2.LIB_VERSION}
|
|
544
89
|
</react_native_1.Text>
|
|
545
|
-
{
|
|
546
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
547
|
-
fontSize: 8.5,
|
|
548
|
-
color: AppColors_1.AppColors.warningAmber,
|
|
549
|
-
}}>
|
|
90
|
+
{V&&<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.warningAmber}}>
|
|
550
91
|
●
|
|
551
|
-
</react_native_1.Text>
|
|
92
|
+
</react_native_1.Text>}
|
|
552
93
|
</react_native_1.Pressable>
|
|
553
94
|
</react_native_1.View>
|
|
554
95
|
</react_native_1.View>
|
|
555
|
-
</react_native_1.View>
|
|
96
|
+
</react_native_1.View>}
|
|
556
97
|
</react_native_1.View>
|
|
557
98
|
|
|
558
|
-
{
|
|
559
|
-
styles_1.default.
|
|
560
|
-
{ paddingHorizontal: isNarrow ? 2 : 6 },
|
|
561
|
-
]}>
|
|
562
|
-
{activeTab === 'apis' && selected != null ? (<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
99
|
+
{A&&<react_native_1.View style={[styles_1.default.headerCenter,{paddingHorizontal:e?2:6}]}>
|
|
100
|
+
{u==="apis"&&r!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
563
101
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
564
|
-
<react_native_1.View style={[
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
backgroundColor: constants_1.METHOD_COLORS[selected.method] ??
|
|
568
|
-
AppColors_1.AppColors.grayText,
|
|
569
|
-
paddingHorizontal: isNarrow ? 5 : 6,
|
|
570
|
-
paddingVertical: isNarrow ? 2 : 3,
|
|
571
|
-
},
|
|
572
|
-
]}>
|
|
573
|
-
<react_native_1.Text style={[
|
|
574
|
-
styles_1.default.headerMethodText,
|
|
575
|
-
{ fontSize: isNarrow ? 9 : 10 },
|
|
576
|
-
]}>
|
|
577
|
-
{selected.method}
|
|
102
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:constants_1.METHOD_COLORS[r.method]??AppColors_1.AppColors.grayText,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
103
|
+
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
104
|
+
{r.method}
|
|
578
105
|
</react_native_1.Text>
|
|
579
106
|
</react_native_1.View>
|
|
580
|
-
<react_native_1.Text style={[
|
|
581
|
-
|
|
582
|
-
{ fontSize: isNarrow ? 13.5 : 15 },
|
|
583
|
-
]} numberOfLines={1} ellipsizeMode="middle">
|
|
584
|
-
{detailTitle}
|
|
107
|
+
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
108
|
+
{ie}
|
|
585
109
|
</react_native_1.Text>
|
|
586
110
|
</react_native_1.View>
|
|
587
|
-
<react_native_1.View style={{
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
paddingVertical: 1,
|
|
593
|
-
}}>
|
|
594
|
-
<react_native_1.View style={{
|
|
595
|
-
flexDirection: 'row',
|
|
596
|
-
alignItems: 'center',
|
|
597
|
-
gap: 4,
|
|
598
|
-
paddingHorizontal: isNarrow ? 6 : 8,
|
|
599
|
-
paddingVertical: 2.5,
|
|
600
|
-
borderRadius: 20,
|
|
601
|
-
backgroundColor: `${(0, helpers_1.getStatusColor)(selected.status)}26`,
|
|
602
|
-
borderWidth: 1,
|
|
603
|
-
borderColor: `${(0, helpers_1.getStatusColor)(selected.status)}55`,
|
|
604
|
-
}}>
|
|
605
|
-
<react_native_1.View style={[
|
|
606
|
-
styles_1.default.headerStatusDot,
|
|
607
|
-
{
|
|
608
|
-
backgroundColor: (0, helpers_1.getStatusColor)(selected.status),
|
|
609
|
-
width: isNarrow ? 6 : 7,
|
|
610
|
-
height: isNarrow ? 6 : 7,
|
|
611
|
-
},
|
|
612
|
-
]}/>
|
|
613
|
-
<react_native_1.Text style={[
|
|
614
|
-
styles_1.default.headerSubTitle,
|
|
615
|
-
{
|
|
616
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
617
|
-
fontSize: isNarrow ? 10 : 11,
|
|
618
|
-
},
|
|
619
|
-
]}>
|
|
620
|
-
{selected.status === 0
|
|
621
|
-
? 'Failed'
|
|
622
|
-
: selected.status ?? 'Pending'}
|
|
111
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
112
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${(0,helpers_1.getStatusColor)(r.status)}26`,borderWidth:1,borderColor:`${(0,helpers_1.getStatusColor)(r.status)}55`}}>
|
|
113
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:(0,helpers_1.getStatusColor)(r.status),width:e?6:7,height:e?6:7}]}/>
|
|
114
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?10:11}]}>
|
|
115
|
+
{r.status===0?"Failed":r.status??"Pending"}
|
|
623
116
|
</react_native_1.Text>
|
|
624
117
|
</react_native_1.View>
|
|
625
|
-
<react_native_1.View style={{
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
paddingHorizontal: isNarrow ? 6 : 8,
|
|
630
|
-
paddingVertical: 2.5,
|
|
631
|
-
borderRadius: 20,
|
|
632
|
-
backgroundColor: `${AppColors_1.AppColors.white}29`,
|
|
633
|
-
}}>
|
|
634
|
-
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white} size={isNarrow ? 10 : 11}/>
|
|
635
|
-
<react_native_1.Text style={[
|
|
636
|
-
styles_1.default.headerSubTitle,
|
|
637
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
638
|
-
]}>
|
|
639
|
-
{selected.duration != null
|
|
640
|
-
? `${selected.duration}ms`
|
|
641
|
-
: '—'}
|
|
118
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
119
|
+
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
120
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
121
|
+
{r.duration!=null?`${r.duration}ms`:"\u2014"}
|
|
642
122
|
</react_native_1.Text>
|
|
643
123
|
</react_native_1.View>
|
|
644
|
-
{
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
paddingHorizontal: isNarrow ? 6 : 8,
|
|
649
|
-
paddingVertical: 2.5,
|
|
650
|
-
borderRadius: 20,
|
|
651
|
-
backgroundColor: `${AppColors_1.AppColors.white}29`,
|
|
652
|
-
}}>
|
|
653
|
-
<NetworkIcons_1.SizeIcon color={AppColors_1.AppColors.white} size={isNarrow ? 10 : 11}/>
|
|
654
|
-
<react_native_1.Text style={[
|
|
655
|
-
styles_1.default.headerSubTitle,
|
|
656
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
657
|
-
]}>
|
|
658
|
-
{(0, helpers_1.getSize)(selected.response)}
|
|
124
|
+
{r.response!=null&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
125
|
+
<NetworkIcons_1.SizeIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
126
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
127
|
+
{(0,helpers_1.getSize)(r.response)}
|
|
659
128
|
</react_native_1.Text>
|
|
660
|
-
</react_native_1.View>
|
|
129
|
+
</react_native_1.View>}
|
|
661
130
|
</react_native_1.View>
|
|
662
|
-
</react_native_1.View
|
|
131
|
+
</react_native_1.View>:u==="analytics"&&p!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
663
132
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
664
|
-
<react_native_1.View style={[
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
backgroundColor: selectedEvent.source === 'firebase'
|
|
668
|
-
? `${AppColors_1.AppColors.firebaseOrange}4D`
|
|
669
|
-
: `${AppColors_1.AppColors.purple}4D`,
|
|
670
|
-
paddingHorizontal: isNarrow ? 5 : 6,
|
|
671
|
-
paddingVertical: isNarrow ? 2 : 3,
|
|
672
|
-
},
|
|
673
|
-
]}>
|
|
674
|
-
<react_native_1.Text style={[
|
|
675
|
-
styles_1.default.headerMethodText,
|
|
676
|
-
{ fontSize: isNarrow ? 9 : 10 },
|
|
677
|
-
]}>
|
|
678
|
-
{selectedEvent.source === 'firebase' ? 'FB' : 'MAN'}
|
|
133
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:p.source==="firebase"?`${AppColors_1.AppColors.firebaseOrange}4D`:`${AppColors_1.AppColors.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
134
|
+
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
135
|
+
{p.source==="firebase"?"FB":"MAN"}
|
|
679
136
|
</react_native_1.Text>
|
|
680
137
|
</react_native_1.View>
|
|
681
|
-
<react_native_1.Text style={[
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
]} numberOfLines={1} ellipsizeMode="middle">
|
|
685
|
-
{selectedEvent.name}
|
|
138
|
+
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
139
|
+
#{p.id!=null?p.id+1:1}{" "}
|
|
140
|
+
{p.name}
|
|
686
141
|
</react_native_1.Text>
|
|
687
142
|
</react_native_1.View>
|
|
688
|
-
<react_native_1.View style={{
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
<react_native_1.View style={[
|
|
696
|
-
styles_1.default.headerStatusDot,
|
|
697
|
-
{
|
|
698
|
-
backgroundColor: selectedEvent.source === 'firebase'
|
|
699
|
-
? AppColors_1.AppColors.firebaseOrange
|
|
700
|
-
: AppColors_1.AppColors.purple,
|
|
701
|
-
width: isNarrow ? 6 : 7,
|
|
702
|
-
height: isNarrow ? 6 : 7,
|
|
703
|
-
},
|
|
704
|
-
]}/>
|
|
705
|
-
<react_native_1.Text style={[
|
|
706
|
-
styles_1.default.headerSubTitle,
|
|
707
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
708
|
-
]}>
|
|
709
|
-
{Object.keys(selectedEvent.params).length} param
|
|
710
|
-
{Object.keys(selectedEvent.params).length !== 1
|
|
711
|
-
? 's'
|
|
712
|
-
: ''}
|
|
713
|
-
{' · '}
|
|
714
|
-
{selectedEvent.source}
|
|
143
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
144
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:p.source==="firebase"?AppColors_1.AppColors.firebaseOrange:AppColors_1.AppColors.purple,width:e?6:7,height:e?6:7}]}/>
|
|
145
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
146
|
+
{Object.keys(p.params).length} param
|
|
147
|
+
{Object.keys(p.params).length!==1?"s":""}
|
|
148
|
+
{" \xB7 "}
|
|
149
|
+
{p.source}
|
|
715
150
|
</react_native_1.Text>
|
|
716
151
|
</react_native_1.View>
|
|
717
|
-
</react_native_1.View
|
|
152
|
+
</react_native_1.View>:u==="logs"&&h!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
718
153
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
719
|
-
<react_native_1.View style={[
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
backgroundColor: selectedLog.type === 'error'
|
|
723
|
-
? `${AppColors_1.AppColors.errorColor}4D`
|
|
724
|
-
: selectedLog.type === 'warn'
|
|
725
|
-
? `${AppColors_1.AppColors.lightOrange}4D`
|
|
726
|
-
: `${AppColors_1.AppColors.purple}4D`,
|
|
727
|
-
paddingHorizontal: isNarrow ? 5 : 6,
|
|
728
|
-
paddingVertical: isNarrow ? 2 : 3,
|
|
729
|
-
},
|
|
730
|
-
]}>
|
|
731
|
-
<react_native_1.Text style={[
|
|
732
|
-
styles_1.default.headerMethodText,
|
|
733
|
-
{ fontSize: isNarrow ? 9 : 10 },
|
|
734
|
-
]}>
|
|
735
|
-
{selectedLog.type.toUpperCase()}
|
|
154
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:h.type==="error"?`${AppColors_1.AppColors.errorColor}4D`:h.type==="warn"?`${AppColors_1.AppColors.lightOrange}4D`:`${AppColors_1.AppColors.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
155
|
+
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
156
|
+
{h.type.toUpperCase()}
|
|
736
157
|
</react_native_1.Text>
|
|
737
158
|
</react_native_1.View>
|
|
738
|
-
<react_native_1.Text style={[
|
|
739
|
-
|
|
740
|
-
{ fontSize: isNarrow ? 13.5 : 15 },
|
|
741
|
-
]} numberOfLines={1} ellipsizeMode="middle">
|
|
159
|
+
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
160
|
+
#{h.id!=null?h.id+1:1}{" "}
|
|
742
161
|
console.
|
|
743
|
-
{
|
|
162
|
+
{h.sourceMethod||h.type||"log"}
|
|
744
163
|
</react_native_1.Text>
|
|
745
164
|
</react_native_1.View>
|
|
746
|
-
<react_native_1.View style={{
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
paddingVertical: 1,
|
|
752
|
-
}}>
|
|
753
|
-
<react_native_1.View style={{
|
|
754
|
-
flexDirection: 'row',
|
|
755
|
-
alignItems: 'center',
|
|
756
|
-
gap: 4,
|
|
757
|
-
paddingHorizontal: isNarrow ? 6 : 8,
|
|
758
|
-
paddingVertical: 2.5,
|
|
759
|
-
borderRadius: 20,
|
|
760
|
-
backgroundColor: `${AppColors_1.AppColors.white}29`,
|
|
761
|
-
}}>
|
|
762
|
-
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white} size={isNarrow ? 10 : 11}/>
|
|
763
|
-
<react_native_1.Text style={[
|
|
764
|
-
styles_1.default.headerSubTitle,
|
|
765
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
766
|
-
]}>
|
|
767
|
-
{(0, helpers_1.formatTime)(selectedLog.timestamp)}
|
|
165
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
166
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
167
|
+
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
168
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
169
|
+
{(0,helpers_1.formatTime)(h.timestamp)}
|
|
768
170
|
</react_native_1.Text>
|
|
769
171
|
</react_native_1.View>
|
|
770
172
|
</react_native_1.View>
|
|
771
|
-
</react_native_1.View
|
|
772
|
-
const sliceData = reduxState?.[selectedReduxSlice];
|
|
773
|
-
const keyCount = sliceData && typeof sliceData === 'object'
|
|
774
|
-
? Object.keys(sliceData).length
|
|
775
|
-
: typeof sliceData !== 'undefined'
|
|
776
|
-
? 1
|
|
777
|
-
: 0;
|
|
778
|
-
const sliceSize = (0, helpers_1.getSize)(sliceData);
|
|
779
|
-
const lastAction = reduxLastActionMap[selectedReduxSlice];
|
|
780
|
-
return (<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
173
|
+
</react_native_1.View>:u==="redux"&&w!=null?(()=>{const t=G?.[w],o=t&&typeof t=="object"?Object.keys(t).length:typeof t<"u"?1:0,M=(0,helpers_1.getSize)(t),q=K[w];return<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
781
174
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
782
|
-
<react_native_1.View style={[
|
|
783
|
-
|
|
784
|
-
{
|
|
785
|
-
backgroundColor: `${AppColors_1.AppColors.purple}4D`,
|
|
786
|
-
paddingHorizontal: isNarrow ? 5 : 6,
|
|
787
|
-
paddingVertical: isNarrow ? 2 : 3,
|
|
788
|
-
},
|
|
789
|
-
]}>
|
|
790
|
-
<react_native_1.Text style={[
|
|
791
|
-
styles_1.default.headerMethodText,
|
|
792
|
-
{ fontSize: isNarrow ? 9 : 10 },
|
|
793
|
-
]}>
|
|
175
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:`${AppColors_1.AppColors.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
176
|
+
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
794
177
|
SLICE
|
|
795
178
|
</react_native_1.Text>
|
|
796
179
|
</react_native_1.View>
|
|
797
|
-
<react_native_1.Text style={[
|
|
798
|
-
|
|
799
|
-
{ fontSize: isNarrow ? 13.5 : 15 },
|
|
800
|
-
]} numberOfLines={1} ellipsizeMode="middle">
|
|
801
|
-
{selectedReduxSlice}
|
|
180
|
+
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
181
|
+
{w}
|
|
802
182
|
</react_native_1.Text>
|
|
803
183
|
</react_native_1.View>
|
|
804
|
-
<react_native_1.View style={{
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
gap: isNarrow ? 4 : 6,
|
|
808
|
-
marginTop: 3,
|
|
809
|
-
paddingVertical: 1,
|
|
810
|
-
}}>
|
|
811
|
-
<react_native_1.View style={[
|
|
812
|
-
styles_1.default.headerStatusDot,
|
|
813
|
-
{
|
|
814
|
-
backgroundColor: AppColors_1.AppColors.liveGreen,
|
|
815
|
-
width: isNarrow ? 6 : 7,
|
|
816
|
-
height: isNarrow ? 6 : 7,
|
|
817
|
-
},
|
|
818
|
-
]}/>
|
|
819
|
-
<react_native_1.Text style={[
|
|
820
|
-
styles_1.default.headerSubTitle,
|
|
821
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
822
|
-
]}>
|
|
184
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
185
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:AppColors_1.AppColors.liveGreen,width:e?6:7,height:e?6:7}]}/>
|
|
186
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
823
187
|
Live
|
|
824
188
|
</react_native_1.Text>
|
|
825
|
-
<react_native_1.Text style={[
|
|
826
|
-
styles_1.default.headerSubTitle,
|
|
827
|
-
{ opacity: 0.6, fontSize: isNarrow ? 10 : 11 },
|
|
828
|
-
]}>
|
|
189
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
829
190
|
•
|
|
830
191
|
</react_native_1.Text>
|
|
831
|
-
<react_native_1.Text style={[
|
|
832
|
-
|
|
833
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
834
|
-
]}>
|
|
835
|
-
{keyCount} keys
|
|
192
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
193
|
+
{o} keys
|
|
836
194
|
</react_native_1.Text>
|
|
837
|
-
<react_native_1.Text style={[
|
|
838
|
-
styles_1.default.headerSubTitle,
|
|
839
|
-
{ opacity: 0.6, fontSize: isNarrow ? 10 : 11 },
|
|
840
|
-
]}>
|
|
195
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
841
196
|
•
|
|
842
197
|
</react_native_1.Text>
|
|
843
|
-
<react_native_1.Text style={[
|
|
844
|
-
|
|
845
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
846
|
-
]}>
|
|
847
|
-
{sliceSize}
|
|
198
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
199
|
+
{M}
|
|
848
200
|
</react_native_1.Text>
|
|
849
|
-
{
|
|
850
|
-
<react_native_1.Text style={[
|
|
851
|
-
styles_1.default.headerSubTitle,
|
|
852
|
-
{ opacity: 0.6, fontSize: isNarrow ? 10 : 11 },
|
|
853
|
-
]}>
|
|
201
|
+
{q?.timestamp&&<>
|
|
202
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
854
203
|
•
|
|
855
204
|
</react_native_1.Text>
|
|
856
|
-
<react_native_1.View style={{
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
}}>
|
|
861
|
-
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white} size={isNarrow ? 9 : 10}/>
|
|
862
|
-
<react_native_1.Text style={[
|
|
863
|
-
styles_1.default.headerSubTitle,
|
|
864
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
865
|
-
]}>
|
|
866
|
-
{lastAction.timestamp}
|
|
205
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:3}}>
|
|
206
|
+
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?9:10}/>
|
|
207
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
208
|
+
{q.timestamp}
|
|
867
209
|
</react_native_1.Text>
|
|
868
210
|
</react_native_1.View>
|
|
869
|
-
</>
|
|
211
|
+
</>}
|
|
870
212
|
</react_native_1.View>
|
|
871
|
-
</react_native_1.View>)
|
|
872
|
-
})()) : activeTab === 'redux' && selectedReduxAction != null ? (<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
213
|
+
</react_native_1.View>})():u==="redux"&&C!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
873
214
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
874
|
-
<react_native_1.View style={[
|
|
875
|
-
|
|
876
|
-
{
|
|
877
|
-
backgroundColor: `${AppColors_1.AppColors.brandPurple}4D`,
|
|
878
|
-
paddingHorizontal: isNarrow ? 5 : 6,
|
|
879
|
-
paddingVertical: isNarrow ? 2 : 3,
|
|
880
|
-
},
|
|
881
|
-
]}>
|
|
882
|
-
<react_native_1.Text style={[
|
|
883
|
-
styles_1.default.headerMethodText,
|
|
884
|
-
{ fontSize: isNarrow ? 9 : 10 },
|
|
885
|
-
]}>
|
|
215
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:`${AppColors_1.AppColors.brandPurple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
216
|
+
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
886
217
|
ACTION
|
|
887
218
|
</react_native_1.Text>
|
|
888
219
|
</react_native_1.View>
|
|
889
|
-
<react_native_1.Text style={[
|
|
890
|
-
|
|
891
|
-
{ fontSize: isNarrow ? 13.5 : 15 },
|
|
892
|
-
]} numberOfLines={1} ellipsizeMode="middle">
|
|
893
|
-
{selectedReduxAction.type}
|
|
220
|
+
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
221
|
+
{C.type}
|
|
894
222
|
</react_native_1.Text>
|
|
895
223
|
</react_native_1.View>
|
|
896
|
-
<react_native_1.View style={{
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
marginTop: 3,
|
|
901
|
-
paddingVertical: 1,
|
|
902
|
-
}}>
|
|
903
|
-
<react_native_1.View style={[
|
|
904
|
-
styles_1.default.headerStatusDot,
|
|
905
|
-
{
|
|
906
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
907
|
-
width: isNarrow ? 6 : 7,
|
|
908
|
-
height: isNarrow ? 6 : 7,
|
|
909
|
-
},
|
|
910
|
-
]}/>
|
|
911
|
-
<react_native_1.Text style={[
|
|
912
|
-
styles_1.default.headerSubTitle,
|
|
913
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
914
|
-
]}>
|
|
915
|
-
{selectedReduxAction.timestamp || 'Dispatched'}
|
|
224
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
225
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:AppColors_1.AppColors.purple,width:e?6:7,height:e?6:7}]}/>
|
|
226
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
227
|
+
{C.timestamp||"Dispatched"}
|
|
916
228
|
</react_native_1.Text>
|
|
917
229
|
</react_native_1.View>
|
|
918
|
-
</react_native_1.View
|
|
230
|
+
</react_native_1.View>:u==="crash"&&s!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
919
231
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
920
|
-
<react_native_1.View style={[
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
backgroundColor: selectedCrash.isFatal
|
|
924
|
-
? AppColors_1.AppColors.red600
|
|
925
|
-
: AppColors_1.AppColors.amber600,
|
|
926
|
-
paddingHorizontal: isNarrow ? 5 : 6,
|
|
927
|
-
paddingVertical: isNarrow ? 2 : 3,
|
|
928
|
-
},
|
|
929
|
-
]}>
|
|
930
|
-
<react_native_1.Text style={[
|
|
931
|
-
styles_1.default.headerMethodText,
|
|
932
|
-
{ fontSize: isNarrow ? 9 : 10 },
|
|
933
|
-
]}>
|
|
934
|
-
{selectedCrash.isFatal
|
|
935
|
-
? 'FATAL'
|
|
936
|
-
: selectedCrash.type.toUpperCase()}
|
|
232
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:s.isFatal?AppColors_1.AppColors.red600:AppColors_1.AppColors.amber600,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
233
|
+
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
234
|
+
{s.isFatal?"FATAL":s.type.toUpperCase()}
|
|
937
235
|
</react_native_1.Text>
|
|
938
236
|
</react_native_1.View>
|
|
939
|
-
<react_native_1.Text style={[
|
|
940
|
-
|
|
941
|
-
{ fontSize: isNarrow ? 13.5 : 15 },
|
|
942
|
-
]} numberOfLines={1} ellipsizeMode="middle">
|
|
943
|
-
{selectedCrash.name || selectedCrash.message}
|
|
237
|
+
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
238
|
+
{s.name||s.message}
|
|
944
239
|
</react_native_1.Text>
|
|
945
240
|
</react_native_1.View>
|
|
946
|
-
<react_native_1.View style={{
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
marginTop: 3,
|
|
951
|
-
paddingVertical: 1,
|
|
952
|
-
}}>
|
|
953
|
-
<react_native_1.View style={[
|
|
954
|
-
styles_1.default.headerStatusDot,
|
|
955
|
-
{
|
|
956
|
-
backgroundColor: selectedCrash.isFatal
|
|
957
|
-
? AppColors_1.AppColors.red600
|
|
958
|
-
: AppColors_1.AppColors.amber500,
|
|
959
|
-
width: isNarrow ? 6 : 7,
|
|
960
|
-
height: isNarrow ? 6 : 7,
|
|
961
|
-
},
|
|
962
|
-
]}/>
|
|
963
|
-
<react_native_1.Text style={[
|
|
964
|
-
styles_1.default.headerSubTitle,
|
|
965
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
966
|
-
]}>
|
|
967
|
-
{selectedCrash.timeStr ||
|
|
968
|
-
new Date(selectedCrash.timestamp).toLocaleTimeString()}
|
|
241
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
242
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:s.isFatal?AppColors_1.AppColors.red600:AppColors_1.AppColors.amber500,width:e?6:7,height:e?6:7}]}/>
|
|
243
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
244
|
+
{s.timeStr||new Date(s.timestamp).toLocaleTimeString()}
|
|
969
245
|
</react_native_1.Text>
|
|
970
|
-
{
|
|
971
|
-
<react_native_1.Text style={[
|
|
972
|
-
styles_1.default.headerSubTitle,
|
|
973
|
-
{ opacity: 0.6, fontSize: isNarrow ? 10 : 11 },
|
|
974
|
-
]}>
|
|
246
|
+
{s.deviceInfo?.platform&&<>
|
|
247
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
975
248
|
•
|
|
976
249
|
</react_native_1.Text>
|
|
977
|
-
<react_native_1.Text style={[
|
|
978
|
-
|
|
979
|
-
{ fontSize: isNarrow ? 10 : 11 },
|
|
980
|
-
]}>
|
|
981
|
-
{selectedCrash.deviceInfo.platform.toUpperCase()}
|
|
250
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
251
|
+
{s.deviceInfo.platform.toUpperCase()}
|
|
982
252
|
</react_native_1.Text>
|
|
983
|
-
</>
|
|
253
|
+
</>}
|
|
984
254
|
</react_native_1.View>
|
|
985
|
-
</react_native_1.View
|
|
986
|
-
</react_native_1.View>
|
|
255
|
+
</react_native_1.View>:null}
|
|
256
|
+
</react_native_1.View>}
|
|
257
|
+
|
|
258
|
+
<react_native_1.View style={[styles_1.default.headerRight,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",flexShrink:0,gap:e?4:5}]}>
|
|
259
|
+
|
|
260
|
+
{y&&<>
|
|
261
|
+
|
|
262
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={i("header.photo","Photo")}onPress={P}hitSlop={10}style={[styles_1.default.closeButtonSquare,{width:c,height:c,borderRadius:e?6:7}]}>
|
|
263
|
+
<NetworkIcons_1.CameraIcon size={e?12:13}color={AppColors_1.AppColors.white}/>
|
|
264
|
+
</TouchableScale_1.default>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={i("header.record","Record")}onPress={L}hitSlop={10}style={[styles_1.default.closeButtonSquare,{width:c,height:c,borderRadius:e?6:7,backgroundColor:d?`${AppColors_1.AppColors.red500}40`:`${AppColors_1.AppColors.white}24`,borderColor:d?AppColors_1.AppColors.red500:`${AppColors_1.AppColors.white}33`}]}>
|
|
268
|
+
{d?<react_native_1.Animated.View style={{width:6,height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.red500}}/>:<NetworkIcons_1.VideoCameraIcon size={e?12:13}color={AppColors_1.AppColors.white}/>}
|
|
269
|
+
</TouchableScale_1.default>
|
|
270
|
+
</>}
|
|
987
271
|
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
flexDirection: 'row',
|
|
992
|
-
alignItems: 'center',
|
|
993
|
-
justifyContent: 'flex-end',
|
|
994
|
-
flexShrink: 0,
|
|
995
|
-
gap: isNarrow ? 5 : 7,
|
|
996
|
-
},
|
|
997
|
-
]}>
|
|
998
|
-
{isSettingsView && (<TouchableScale_1.default onPress={() => {
|
|
999
|
-
react_native_1.Alert.alert('Reset All Settings', 'This restores all module visibility and UI preferences to defaults. Continue?', [
|
|
1000
|
-
{ text: 'Cancel', style: 'cancel' },
|
|
1001
|
-
{
|
|
1002
|
-
text: 'Reset',
|
|
1003
|
-
style: 'destructive',
|
|
1004
|
-
onPress: resetToDefaults,
|
|
1005
|
-
},
|
|
1006
|
-
]);
|
|
1007
|
-
}} hitSlop={15} style={[
|
|
1008
|
-
styles_1.default.closeButtonSquare,
|
|
1009
|
-
{
|
|
1010
|
-
width: buttonSize,
|
|
1011
|
-
height: buttonSize,
|
|
1012
|
-
borderRadius: isNarrow ? 6 : 7,
|
|
1013
|
-
},
|
|
1014
|
-
]}>
|
|
1015
|
-
<NetworkIcons_1.ResetIcon color={AppColors_1.AppColors.white} size={isNarrow ? 12 : 14}/>
|
|
1016
|
-
</TouchableScale_1.default>)}
|
|
272
|
+
{x&&<TouchableScale_1.default onPress={()=>{react_native_1.Alert.alert("Reset All Settings","This restores all module visibility and UI preferences to defaults. Continue?",[{text:"Cancel",style:"cancel"},{text:"Reset",style:"destructive",onPress:ee}])}}hitSlop={15}style={[styles_1.default.closeButtonSquare,{width:c,height:c,borderRadius:e?6:7}]}>
|
|
273
|
+
<NetworkIcons_1.ResetIcon color={AppColors_1.AppColors.white}size={e?12:14}/>
|
|
274
|
+
</TouchableScale_1.default>}
|
|
1017
275
|
|
|
1018
|
-
{!
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
<NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.white} size={isNarrow ? 12 : 14}/>
|
|
1027
|
-
</TouchableScale_1.default>)}
|
|
276
|
+
{!y&&<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Settings"onPress={()=>z("main")}hitSlop={15}style={[styles_1.default.closeButtonSquare,{width:c,height:c,borderRadius:e?6:7}]}>
|
|
277
|
+
<NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.white}size={e?12:14}/>
|
|
278
|
+
</TouchableScale_1.default>}
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
<react_native_1.TouchableOpacity onPress={te||B}hitSlop={{top:12,bottom:12,left:12,right:12}}activeOpacity={.6}accessibilityRole="button"accessibilityLabel={i("common.minimize","Minimize")}style={[styles_1.default.closeButtonSquare,{width:c,height:c,borderRadius:e?6:7}]}>
|
|
282
|
+
<NetworkIcons_1.ChevronDownIcon size={e?14:16}color={AppColors_1.AppColors.white}/>
|
|
283
|
+
</react_native_1.TouchableOpacity>
|
|
1028
284
|
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
width: buttonSize,
|
|
1033
|
-
height: buttonSize,
|
|
1034
|
-
borderRadius: isNarrow ? 6 : 7,
|
|
1035
|
-
},
|
|
1036
|
-
]}>
|
|
1037
|
-
<NetworkIcons_1.CloseWhite size={isNarrow ? 12 : 14}/>
|
|
285
|
+
|
|
286
|
+
<react_native_1.TouchableOpacity onPress={B}hitSlop={{top:12,bottom:12,left:12,right:12}}activeOpacity={.6}accessibilityRole="button"accessibilityLabel={i("common.close","Close")}style={[styles_1.default.closeButtonSquare,{width:c,height:c,borderRadius:e?6:7}]}>
|
|
287
|
+
<NetworkIcons_1.CloseWhite size={e?12:14}/>
|
|
1038
288
|
</react_native_1.TouchableOpacity>
|
|
1039
289
|
</react_native_1.View>
|
|
1040
290
|
</react_native_1.View>
|
|
1041
291
|
|
|
1042
292
|
|
|
1043
|
-
{!
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
<react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 6 }}>
|
|
1053
|
-
|
|
1054
|
-
<TouchableScale_1.default onPress={handleTakeScreenshot} style={{
|
|
1055
|
-
flexDirection: 'row',
|
|
1056
|
-
alignItems: 'center',
|
|
1057
|
-
gap: 4.5,
|
|
1058
|
-
backgroundColor: `${AppColors_1.AppColors.white}24`,
|
|
1059
|
-
paddingHorizontal: isNarrow ? 8 : 10,
|
|
1060
|
-
paddingVertical: isNarrow ? 4 : 5,
|
|
1061
|
-
borderRadius: 6,
|
|
1062
|
-
borderWidth: 1,
|
|
1063
|
-
borderColor: `${AppColors_1.AppColors.white}33`,
|
|
1064
|
-
}}>
|
|
1065
|
-
<NetworkIcons_1.CameraIcon size={isNarrow ? 12 : 13} color={AppColors_1.AppColors.white}/>
|
|
1066
|
-
<react_native_1.Text style={{
|
|
1067
|
-
fontFamily: AppFonts_1.AppFonts.interSemiBold,
|
|
1068
|
-
fontSize: isNarrow ? 10 : 11,
|
|
1069
|
-
color: AppColors_1.AppColors.white,
|
|
1070
|
-
}}>
|
|
1071
|
-
{t('header.photo')}
|
|
1072
|
-
</react_native_1.Text>
|
|
1073
|
-
</TouchableScale_1.default>
|
|
293
|
+
{!y&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:e?10:14,paddingBottom:e?8:10,paddingTop:2,gap:6}}>
|
|
294
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
295
|
+
|
|
296
|
+
<TouchableScale_1.default onPress={P}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}33`}}>
|
|
297
|
+
<NetworkIcons_1.CameraIcon size={e?12:13}color={AppColors_1.AppColors.white}/>
|
|
298
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:AppColors_1.AppColors.white}}>
|
|
299
|
+
{i("header.photo")}
|
|
300
|
+
</react_native_1.Text>
|
|
301
|
+
</TouchableScale_1.default>
|
|
1074
302
|
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
paddingHorizontal: isNarrow ? 8 : 10,
|
|
1084
|
-
paddingVertical: isNarrow ? 4 : 5,
|
|
1085
|
-
borderRadius: 6,
|
|
1086
|
-
borderWidth: 1,
|
|
1087
|
-
borderColor: isRecording
|
|
1088
|
-
? AppColors_1.AppColors.red500
|
|
1089
|
-
: `${AppColors_1.AppColors.white}33`,
|
|
1090
|
-
}}>
|
|
1091
|
-
{isRecording ? (<react_native_1.Animated.View style={{
|
|
1092
|
-
width: 6,
|
|
1093
|
-
height: 6,
|
|
1094
|
-
borderRadius: 3,
|
|
1095
|
-
backgroundColor: AppColors_1.AppColors.red500,
|
|
1096
|
-
}}/>) : (<NetworkIcons_1.VideoCameraIcon size={isNarrow ? 12 : 13} color={AppColors_1.AppColors.white}/>)}
|
|
1097
|
-
<react_native_1.Text style={{
|
|
1098
|
-
fontFamily: AppFonts_1.AppFonts.interSemiBold,
|
|
1099
|
-
fontSize: isNarrow ? 10 : 11,
|
|
1100
|
-
color: isRecording ? AppColors_1.AppColors.red300 : AppColors_1.AppColors.white,
|
|
1101
|
-
}}>
|
|
1102
|
-
{isRecording
|
|
1103
|
-
? `${t('header.rec')} ${formatTimer(recordingSeconds)}`
|
|
1104
|
-
: t('header.record')}
|
|
1105
|
-
</react_native_1.Text>
|
|
1106
|
-
</TouchableScale_1.default>
|
|
1107
|
-
</react_native_1.View>
|
|
303
|
+
|
|
304
|
+
<TouchableScale_1.default onPress={L}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:d?`${AppColors_1.AppColors.red500}33`:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:d?AppColors_1.AppColors.red500:`${AppColors_1.AppColors.white}33`}}>
|
|
305
|
+
{d?<react_native_1.Animated.View style={{width:6,height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.red500}}/>:<NetworkIcons_1.VideoCameraIcon size={e?12:13}color={AppColors_1.AppColors.white}/>}
|
|
306
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:d?AppColors_1.AppColors.red300:AppColors_1.AppColors.white}}>
|
|
307
|
+
{d?`${i("header.rec")} ${ne(le)}`:i("header.record")}
|
|
308
|
+
</react_native_1.Text>
|
|
309
|
+
</TouchableScale_1.default>
|
|
310
|
+
</react_native_1.View>
|
|
1108
311
|
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
<TouchableScale_1.default onPress={()
|
|
1112
|
-
|
|
1113
|
-
{
|
|
1114
|
-
{
|
|
1115
|
-
text: t('common.clearAll'),
|
|
1116
|
-
onPress: runClearAllWithAnimation,
|
|
1117
|
-
style: 'destructive',
|
|
1118
|
-
},
|
|
1119
|
-
]);
|
|
1120
|
-
}} style={{
|
|
1121
|
-
flexDirection: 'row',
|
|
1122
|
-
alignItems: 'center',
|
|
1123
|
-
gap: 4,
|
|
1124
|
-
backgroundColor: `${AppColors_1.AppColors.white}1A`,
|
|
1125
|
-
paddingHorizontal: isNarrow ? 7 : 9,
|
|
1126
|
-
paddingVertical: isNarrow ? 4 : 5,
|
|
1127
|
-
borderRadius: 6,
|
|
1128
|
-
borderWidth: 1,
|
|
1129
|
-
borderColor: `${AppColors_1.AppColors.white}26`,
|
|
1130
|
-
}}>
|
|
1131
|
-
<react_native_1.Animated.View style={{
|
|
1132
|
-
transform: [
|
|
1133
|
-
{
|
|
1134
|
-
rotate: clearAnim.interpolate({
|
|
1135
|
-
inputRange: [0, 1],
|
|
1136
|
-
outputRange: ['0deg', '-25deg'],
|
|
1137
|
-
}),
|
|
1138
|
-
},
|
|
1139
|
-
{
|
|
1140
|
-
scale: clearAnim.interpolate({
|
|
1141
|
-
inputRange: [0, 0.5, 1],
|
|
1142
|
-
outputRange: [1, 1.25, 1],
|
|
1143
|
-
}),
|
|
1144
|
-
},
|
|
1145
|
-
],
|
|
1146
|
-
}}>
|
|
1147
|
-
<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.white} size={isNarrow ? 11 : 12}/>
|
|
312
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
313
|
+
|
|
314
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={i("common.clearAll")}onPress={()=>{react_native_1.Alert.alert(i("header.clearEverythingTitle"),i("header.clearEverythingMessage"),[{text:i("common.cancel"),style:"cancel"},{text:i("common.clearAll"),onPress:Y,style:"destructive"}])}}hitSlop={10}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}33`}}>
|
|
315
|
+
<react_native_1.Animated.View style={{transform:[{rotate:O.interpolate({inputRange:[0,1],outputRange:["0deg","-25deg"]})},{scale:O.interpolate({inputRange:[0,.5,1],outputRange:[1,1.25,1]})}]}}>
|
|
316
|
+
<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.white}size={e?12:13}/>
|
|
1148
317
|
</react_native_1.Animated.View>
|
|
1149
|
-
<react_native_1.Text style={{
|
|
1150
|
-
|
|
1151
|
-
fontSize: isNarrow ? 10 : 11,
|
|
1152
|
-
color: `${AppColors_1.AppColors.white}E6`,
|
|
1153
|
-
}}>
|
|
1154
|
-
{t('header.clear')}
|
|
318
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:AppColors_1.AppColors.white}}>
|
|
319
|
+
{i("common.clearAll")}
|
|
1155
320
|
</react_native_1.Text>
|
|
1156
321
|
</TouchableScale_1.default>
|
|
1157
322
|
|
|
1158
323
|
|
|
1159
|
-
<TouchableScale_1.default onPress={()
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
flexDirection: 'row',
|
|
1164
|
-
alignItems: 'center',
|
|
1165
|
-
gap: 4,
|
|
1166
|
-
backgroundColor: `${AppColors_1.AppColors.white}1A`,
|
|
1167
|
-
paddingHorizontal: isNarrow ? 7 : 9,
|
|
1168
|
-
paddingVertical: isNarrow ? 4 : 5,
|
|
1169
|
-
borderRadius: 6,
|
|
1170
|
-
borderWidth: 1,
|
|
1171
|
-
borderColor: `${AppColors_1.AppColors.white}26`,
|
|
1172
|
-
}}>
|
|
1173
|
-
<NetworkIcons_1.InfoCircleIcon color={AppColors_1.AppColors.white} size={isNarrow ? 11 : 12}/>
|
|
1174
|
-
<react_native_1.Text style={{
|
|
1175
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
1176
|
-
fontSize: isNarrow ? 10 : 11,
|
|
1177
|
-
color: `${AppColors_1.AppColors.white}E6`,
|
|
1178
|
-
}}>
|
|
1179
|
-
{t('header.about')}
|
|
324
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={i("header.about")}onPress={()=>{H(!0)}}hitSlop={10}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}33`}}>
|
|
325
|
+
<NetworkIcons_1.InfoCircleIcon color={AppColors_1.AppColors.white}size={e?12:13}/>
|
|
326
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:AppColors_1.AppColors.white}}>
|
|
327
|
+
{i("header.about")}
|
|
1180
328
|
</react_native_1.Text>
|
|
1181
329
|
</TouchableScale_1.default>
|
|
1182
330
|
</react_native_1.View>
|
|
1183
|
-
</react_native_1.View>
|
|
331
|
+
</react_native_1.View>}
|
|
1184
332
|
</react_native_1.View>
|
|
1185
333
|
</react_native_1.View>
|
|
1186
334
|
|
|
1187
335
|
|
|
1188
|
-
<UpdateAvailableModal_1.UpdateAvailableModal visible={
|
|
336
|
+
<UpdateAvailableModal_1.UpdateAvailableModal visible={oe}latestVersion={Q}onClose={()=>R(!1)}/>
|
|
1189
337
|
|
|
1190
338
|
|
|
1191
|
-
<MediaPreviewModal_1.MediaPreviewModal item={
|
|
1192
|
-
|
|
1193
|
-
setPreviewMediaItem(null);
|
|
1194
|
-
}} onConvertToGif={async (item) => {
|
|
1195
|
-
const gif = await capture_1.ScreenCapture.convertToGif(item.uri, {
|
|
1196
|
-
fps: 12,
|
|
1197
|
-
width: 480,
|
|
1198
|
-
});
|
|
1199
|
-
if (gif) {
|
|
1200
|
-
setPreviewMediaItem({
|
|
1201
|
-
id: `anim_${gif.timestamp}.gif`,
|
|
1202
|
-
type: 'gif',
|
|
1203
|
-
format: 'gif',
|
|
1204
|
-
uri: gif.uri,
|
|
1205
|
-
filename: gif.uri.split('/').pop() || `anim_${gif.timestamp}.gif`,
|
|
1206
|
-
sizeBytes: gif.sizeBytes,
|
|
1207
|
-
timestamp: gif.timestamp,
|
|
1208
|
-
durationMs: gif.durationMs,
|
|
1209
|
-
});
|
|
1210
|
-
}
|
|
1211
|
-
}}/>
|
|
1212
|
-
</>);
|
|
1213
|
-
});
|
|
1214
|
-
exports.default = InspectorHeader;
|
|
339
|
+
<MediaPreviewModal_1.MediaPreviewModal item={F}visible={!!F}onClose={()=>b(null)}onDelete={async t=>{await capture_1.ScreenCapture.deleteMedia(t.uri),_?.().catch(()=>{}),b(null)}}onConvertToGif={async t=>{const o=await capture_1.ScreenCapture.convertToGif(t.uri,{fps:12,width:480});o&&(_?.().catch(()=>{}),b({id:`anim_${o.timestamp}.gif`,type:"gif",format:"gif",uri:o.uri,filename:o.uri.split("/").pop()||`anim_${o.timestamp}.gif`,sizeBytes:o.sizeBytes,timestamp:o.timestamp,durationMs:o.durationMs}))}}/>
|
|
340
|
+
</>});exports.default=InspectorHeader;
|