react-native-inapp-inspector 2.3.19 → 2.3.21
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/README.md +14 -14
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +67 -0
- package/dist/commonjs/analytics.js +1 -24
- package/dist/commonjs/bundle.js +1 -16
- package/dist/commonjs/capture.js +1 -35
- 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.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 +243 -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 +74 -875
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
- package/dist/commonjs/components/Inspector/FabLauncher.js +42 -466
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
- package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
- package/dist/commonjs/components/Inspector/InspectorHeader.js +191 -1110
- package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
- package/dist/commonjs/components/Inspector/MainScreen.js +52 -335
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +97 -644
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +90 -605
- package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
- package/dist/commonjs/components/Inspector/NetworkDetail.js +89 -411
- 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 +18 -434
- 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 +427 -3807
- 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 +36 -334
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +37 -412
- package/dist/commonjs/components/JsonViewer.js +168 -381
- 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 +13 -0
- package/dist/commonjs/components/NetworkIcons.js +521 -1022
- package/dist/commonjs/components/QRCodeView.js +5 -79
- package/dist/commonjs/components/SectionHeader.js +15 -37
- package/dist/commonjs/components/SegmentedTabs.js +7 -62
- 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.d.ts +1 -0
- 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 -1140
- package/dist/commonjs/index.js +5 -2168
- package/dist/commonjs/metro.js +6 -468
- package/dist/commonjs/native/NativeInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeInspector.js +1 -415
- 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 +0 -1
- package/dist/commonjs/types/enums.js +1 -152
- package/dist/commonjs/types/index.js +1 -18
- package/dist/commonjs/types/interfaces.d.ts +2 -2
- 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.js +1 -32
- 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.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 +243 -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 +164 -925
- package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
- package/dist/esm/components/Inspector/FabLauncher.js +68 -454
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
- package/dist/esm/components/Inspector/InspectorContext.js +1 -12
- package/dist/esm/components/Inspector/InspectorHeader.js +282 -1163
- package/dist/esm/components/Inspector/LogDetail.js +235 -1023
- package/dist/esm/components/Inspector/MainScreen.js +78 -323
- package/dist/esm/components/Inspector/MediaGalleryTab.js +143 -650
- package/dist/esm/components/Inspector/MediaPreviewModal.js +138 -613
- package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
- package/dist/esm/components/Inspector/NetworkDetail.js +138 -455
- 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 +643 -3985
- 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 +45 -305
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +80 -418
- package/dist/esm/components/JsonViewer.js +179 -354
- 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 +13 -0
- package/dist/esm/components/NetworkIcons.js +523 -838
- package/dist/esm/components/QRCodeView.js +8 -45
- package/dist/esm/components/SectionHeader.js +22 -39
- package/dist/esm/components/SegmentedTabs.js +8 -58
- 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.d.ts +1 -0
- 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 -1140
- package/dist/esm/index.js +7 -1982
- package/dist/esm/metro.js +6 -459
- package/dist/esm/native/NativeInspector.d.ts +1 -0
- package/dist/esm/native/NativeInspector.js +1 -382
- 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 +0 -1
- package/dist/esm/types/enums.js +1 -149
- package/dist/esm/types/index.js +1 -2
- package/dist/esm/types/interfaces.d.ts +2 -2
- package/dist/esm/types/interfaces.js +1 -1
- package/ios/NetworkInspectorModule.mm +60 -12
- package/package.json +5 -3
- package/src/native/NativeInspector.ts +18 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +0 -7
- package/dist/commonjs/components/Inspector/FeedbackModal.js +0 -552
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +0 -7
- package/dist/esm/components/Inspector/FeedbackModal.js +0 -515
- package/src/analytics.ts +0 -35
- package/src/bundle.ts +0 -25
- package/src/capture.ts +0 -109
- 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 -97
- 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 -590
- 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 -1583
- package/src/components/Inspector/LogDetail.tsx +0 -1431
- package/src/components/Inspector/MainScreen.tsx +0 -460
- package/src/components/Inspector/MediaGalleryTab.tsx +0 -829
- package/src/components/Inspector/MediaPreviewModal.tsx +0 -783
- package/src/components/Inspector/NavigationTracker.tsx +0 -13
- package/src/components/Inspector/NetworkDetail.tsx +0 -778
- 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 -5136
- package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Inspector/StorageTab.tsx +0 -1159
- package/src/components/Inspector/TabBar.tsx +0 -431
- package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
- package/src/components/JsonViewer.tsx +0 -549
- 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 -2655
- package/src/components/QRCodeView.tsx +0 -75
- package/src/components/SectionHeader.tsx +0 -101
- package/src/components/SegmentedTabs.tsx +0 -84
- 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 -1141
- package/src/index.tsx +0 -2650
- 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 -210
- package/src/types/index.ts +0 -34
- package/src/types/interfaces.ts +0 -535
|
@@ -1,633 +1,139 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ErrorBoundary = void 0;
|
|
37
|
-
const react_1 = __importStar(require("react"));
|
|
38
|
-
const react_native_1 = require("react-native");
|
|
39
|
-
const AppColors_1 = require("../styles/AppColors");
|
|
40
|
-
const AppFonts_1 = require("../styles/AppFonts");
|
|
41
|
-
const helpers_1 = require("../helpers");
|
|
42
|
-
const i18n_1 = require("../i18n");
|
|
43
|
-
const NetworkIcons_1 = require("./NetworkIcons");
|
|
44
|
-
const crashHandler_1 = require("../customHooks/crashHandler");
|
|
45
|
-
const enums_1 = require("../types/enums");
|
|
46
|
-
const NativeInspector_1 = require("../native/NativeInspector");
|
|
47
|
-
function parseStackTrace(stack) {
|
|
48
|
-
if (!stack)
|
|
49
|
-
return { rootFrame: null, frames: [] };
|
|
50
|
-
const lines = stack.split('\n');
|
|
51
|
-
const frames = [];
|
|
52
|
-
for (const line of lines) {
|
|
53
|
-
if (line.includes('ErrorBoundary') ||
|
|
54
|
-
line.includes('getDerivedStateFromError') ||
|
|
55
|
-
line.includes('componentDidCatch') ||
|
|
56
|
-
line.includes('handleInterceptedCrash')) {
|
|
57
|
-
continue;
|
|
58
|
-
}
|
|
59
|
-
const iosMatch = line.match(/^([^@]*)@(.*):(\d+):(\d+)$/);
|
|
60
|
-
if (iosMatch) {
|
|
61
|
-
const [, method, fullPath, lineNum, colNum] = iosMatch;
|
|
62
|
-
const cleanFile = fullPath.split('?')[0].split('/').pop() || fullPath;
|
|
63
|
-
const isProject = !fullPath.includes('node_modules') && !fullPath.includes('Libraries/Core');
|
|
64
|
-
frames.push({
|
|
65
|
-
method: method.trim() || 'anonymous',
|
|
66
|
-
file: cleanFile,
|
|
67
|
-
fullPath: fullPath.split('?')[0],
|
|
68
|
-
line: lineNum,
|
|
69
|
-
column: colNum,
|
|
70
|
-
isProjectFile: isProject,
|
|
71
|
-
});
|
|
72
|
-
continue;
|
|
73
|
-
}
|
|
74
|
-
const androidMatch = line.match(/^\s*at\s+(.+)\s+\((.+):(\d+):(\d+)\)$/);
|
|
75
|
-
if (androidMatch) {
|
|
76
|
-
const [, method, fullPath, lineNum, colNum] = androidMatch;
|
|
77
|
-
const cleanFile = fullPath.split('?')[0].split('/').pop() || fullPath;
|
|
78
|
-
const isProject = !fullPath.includes('node_modules') && !fullPath.includes('Libraries/Core');
|
|
79
|
-
frames.push({
|
|
80
|
-
method: method.trim(),
|
|
81
|
-
file: cleanFile,
|
|
82
|
-
fullPath: fullPath.split('?')[0],
|
|
83
|
-
line: lineNum,
|
|
84
|
-
column: colNum,
|
|
85
|
-
isProjectFile: isProject,
|
|
86
|
-
});
|
|
87
|
-
continue;
|
|
88
|
-
}
|
|
89
|
-
const androidMatchSimple = line.match(/^\s*at\s+(.+):(\d+):(\d+)$/);
|
|
90
|
-
if (androidMatchSimple) {
|
|
91
|
-
const [, fullPath, lineNum, colNum] = androidMatchSimple;
|
|
92
|
-
const cleanFile = fullPath.split('?')[0].split('/').pop() || fullPath;
|
|
93
|
-
const isProject = !fullPath.includes('node_modules') && !fullPath.includes('Libraries/Core');
|
|
94
|
-
frames.push({
|
|
95
|
-
method: 'anonymous',
|
|
96
|
-
file: cleanFile,
|
|
97
|
-
fullPath: fullPath.split('?')[0],
|
|
98
|
-
line: lineNum,
|
|
99
|
-
column: colNum,
|
|
100
|
-
isProjectFile: isProject,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
const rootFrame = frames.find(f => f.isProjectFile) || frames[0] || null;
|
|
105
|
-
return { rootFrame, frames };
|
|
106
|
-
}
|
|
107
|
-
class ErrorBoundary extends react_1.Component {
|
|
108
|
-
constructor() {
|
|
109
|
-
super(...arguments);
|
|
110
|
-
this.state = {
|
|
111
|
-
hasError: false,
|
|
112
|
-
error: null,
|
|
113
|
-
};
|
|
114
|
-
this.handleReset = () => {
|
|
115
|
-
this.setState({ hasError: false, error: null });
|
|
116
|
-
if (this.props.onReset) {
|
|
117
|
-
this.props.onReset();
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
this.handleCopyTrace = () => {
|
|
121
|
-
const error = this.state.error;
|
|
122
|
-
if (error) {
|
|
123
|
-
const { rootFrame } = parseStackTrace(error.stack || '');
|
|
124
|
-
const detailStr = `─────────────────────────────────────────────────────────────
|
|
125
|
-
IN-APP INSPECTOR • INTERCEPTED CRASH REPORT
|
|
126
|
-
─────────────────────────────────────────────────────────────
|
|
127
|
-
Error: ${error.name || 'Error'}
|
|
128
|
-
Message: ${error.message}
|
|
129
|
-
${rootFrame ? `Location: ${rootFrame.file}:${rootFrame.line}:${rootFrame.column}\nMethod: ${rootFrame.method}\nPath: ${rootFrame.fullPath}` : ''}
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(i,t,e,r){r===void 0&&(r=e);var o=Object.getOwnPropertyDescriptor(t,e);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(i,r,o)}):(function(i,t,e,r){r===void 0&&(r=e),i[r]=t[e]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(i,t){Object.defineProperty(i,"default",{enumerable:!0,value:t})}):function(i,t){i.default=t}),__importStar=this&&this.__importStar||(function(){var i=function(t){return i=Object.getOwnPropertyNames||function(e){var r=[];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[r.length]=o);return r},i(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=i(t),o=0;o<r.length;o++)r[o]!=="default"&&__createBinding(e,t,r[o]);return __setModuleDefault(e,t),e}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorBoundary=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),AppColors_1=require("../styles/AppColors"),AppFonts_1=require("../styles/AppFonts"),helpers_1=require("../helpers"),i18n_1=require("../i18n"),NetworkIcons_1=require("./NetworkIcons"),crashHandler_1=require("../customHooks/crashHandler"),enums_1=require("../types/enums"),NativeInspector_1=require("../native/NativeInspector");function parseStackTrace(i){if(!i)return{rootFrame:null,frames:[]};const t=i.split(`
|
|
2
|
+
`),e=[];for(const o of t){if(o.includes("ErrorBoundary")||o.includes("getDerivedStateFromError")||o.includes("componentDidCatch")||o.includes("handleInterceptedCrash"))continue;const s=o.match(/^([^@]*)@(.*):(\d+):(\d+)$/);if(s){const[,l,n,c,p]=s,d=n.split("?")[0].split("/").pop()||n,f=!n.includes("node_modules")&&!n.includes("Libraries/Core");e.push({method:l.trim()||"anonymous",file:d,fullPath:n.split("?")[0],line:c,column:p,isProjectFile:f});continue}const u=o.match(/^\s*at\s+(.+)\s+\((.+):(\d+):(\d+)\)$/);if(u){const[,l,n,c,p]=u,d=n.split("?")[0].split("/").pop()||n,f=!n.includes("node_modules")&&!n.includes("Libraries/Core");e.push({method:l.trim(),file:d,fullPath:n.split("?")[0],line:c,column:p,isProjectFile:f});continue}const a=o.match(/^\s*at\s+(.+):(\d+):(\d+)$/);if(a){const[,l,n,c]=a,p=l.split("?")[0].split("/").pop()||l,d=!l.includes("node_modules")&&!l.includes("Libraries/Core");e.push({method:"anonymous",file:p,fullPath:l.split("?")[0],line:n,column:c,isProjectFile:d})}}return{rootFrame:e.find(o=>o.isProjectFile)||e[0]||null,frames:e}}class ErrorBoundary extends react_1.Component{constructor(){super(...arguments),this.state={hasError:!1,error:null},this.handleReset=()=>{this.setState({hasError:!1,error:null}),this.props.onReset&&this.props.onReset()},this.handleCopyTrace=()=>{const t=this.state.error;if(t){const{rootFrame:e}=parseStackTrace(t.stack||""),r=`\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
3
|
+
IN-APP INSPECTOR \u2022 INTERCEPTED CRASH REPORT
|
|
4
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
5
|
+
Error: ${t.name||"Error"}
|
|
6
|
+
Message: ${t.message}
|
|
7
|
+
${e?`Location: ${e.file}:${e.line}:${e.column}
|
|
8
|
+
Method: ${e.method}
|
|
9
|
+
Path: ${e.fullPath}`:""}
|
|
130
10
|
Timestamp: ${new Date().toISOString()}
|
|
131
11
|
|
|
132
12
|
Stack Trace:
|
|
133
|
-
${
|
|
134
|
-
|
|
135
|
-
(0, helpers_1.copyToClipboard)(detailStr, (0, i18n_1.t)('errors.errorReport'));
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
static getDerivedStateFromError(error) {
|
|
140
|
-
return { hasError: true, error };
|
|
141
|
-
}
|
|
142
|
-
componentDidCatch(error, errorInfo) {
|
|
143
|
-
try {
|
|
144
|
-
const stack = error?.stack || errorInfo?.componentStack || '';
|
|
145
|
-
(0, crashHandler_1.handleInterceptedCrash)(error, stack, false, enums_1.CrashType.Render, errorInfo?.componentStack);
|
|
146
|
-
(0, NativeInspector_1.showNativeFloatingButton)();
|
|
147
|
-
(0, NativeInspector_1.setNativeFloatingButtonBadge)(true);
|
|
148
|
-
}
|
|
149
|
-
catch { }
|
|
150
|
-
}
|
|
151
|
-
render() {
|
|
152
|
-
const { hasError, error } = this.state;
|
|
153
|
-
if (!hasError || !error) {
|
|
154
|
-
return this.props.children;
|
|
155
|
-
}
|
|
156
|
-
const { rootFrame, frames } = parseStackTrace(error.stack || '');
|
|
157
|
-
const errorType = error.name || (0, i18n_1.t)('errors.title');
|
|
158
|
-
const isSyntaxOrType = errorType.includes('Syntax') ||
|
|
159
|
-
errorType.includes('Type') ||
|
|
160
|
-
errorType.includes('Reference');
|
|
161
|
-
if (this.props.fallbackType === 'inline') {
|
|
162
|
-
return (<react_native_1.View style={styles.inlineContainer}>
|
|
13
|
+
${t.stack||"No stack trace available"}
|
|
14
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500`;(0,helpers_1.copyToClipboard)(r,(0,i18n_1.t)("errors.errorReport"))}}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,e){try{const r=t?.stack||e?.componentStack||"";(0,crashHandler_1.handleInterceptedCrash)(t,r,!1,enums_1.CrashType.Render,e?.componentStack),(0,NativeInspector_1.showNativeFloatingButton)(),(0,NativeInspector_1.setNativeFloatingButtonBadge)(!0)}catch{}}render(){const{hasError:t,error:e}=this.state;if(!t||!e)return this.props.children;const{rootFrame:r,frames:o}=parseStackTrace(e.stack||""),s=e.name||(0,i18n_1.t)("errors.title"),u=s.includes("Syntax")||s.includes("Type")||s.includes("Reference");return this.props.fallbackType==="inline"?<react_native_1.View style={styles.inlineContainer}>
|
|
163
15
|
<react_native_1.View style={styles.inlineHeader}>
|
|
164
|
-
<NetworkIcons_1.WarningTriangleIcon color={AppColors_1.AppColors.red600}
|
|
165
|
-
<react_native_1.View style={{
|
|
166
|
-
<react_native_1.Text style={styles.inlineTitle}
|
|
167
|
-
{
|
|
16
|
+
<NetworkIcons_1.WarningTriangleIcon color={AppColors_1.AppColors.red600}size={18}/>
|
|
17
|
+
<react_native_1.View style={{flex:1}}>
|
|
18
|
+
<react_native_1.Text style={styles.inlineTitle}numberOfLines={1}>
|
|
19
|
+
{s}: {e.message}
|
|
168
20
|
</react_native_1.Text>
|
|
169
|
-
{
|
|
170
|
-
{
|
|
171
|
-
</react_native_1.Text>
|
|
21
|
+
{r&&<react_native_1.Text style={styles.inlineLoc}numberOfLines={1}>
|
|
22
|
+
{r.file}:{r.line} ({r.method})
|
|
23
|
+
</react_native_1.Text>}
|
|
172
24
|
</react_native_1.View>
|
|
173
25
|
</react_native_1.View>
|
|
174
26
|
<react_native_1.View style={styles.inlineActions}>
|
|
175
|
-
<react_native_1.TouchableOpacity onPress={this.handleReset}
|
|
176
|
-
<NetworkIcons_1.RefreshCcwIcon size={12}
|
|
177
|
-
<react_native_1.Text style={styles.inlineBtnText}>{(0,
|
|
27
|
+
<react_native_1.TouchableOpacity onPress={this.handleReset}style={styles.inlineBtn}activeOpacity={.7}>
|
|
28
|
+
<NetworkIcons_1.RefreshCcwIcon size={12}color={AppColors_1.AppColors.white}/>
|
|
29
|
+
<react_native_1.Text style={styles.inlineBtnText}>{(0,i18n_1.t)("errors.retry")}</react_native_1.Text>
|
|
178
30
|
</react_native_1.TouchableOpacity>
|
|
179
|
-
<react_native_1.TouchableOpacity onPress={this.handleCopyTrace}
|
|
180
|
-
<NetworkIcons_1.CopyIcon size={12}
|
|
181
|
-
<react_native_1.Text style={styles.inlineCopyBtnText}>{(0,
|
|
31
|
+
<react_native_1.TouchableOpacity onPress={this.handleCopyTrace}style={styles.inlineCopyBtn}activeOpacity={.7}>
|
|
32
|
+
<NetworkIcons_1.CopyIcon size={12}color={AppColors_1.AppColors.redErrorText}/>
|
|
33
|
+
<react_native_1.Text style={styles.inlineCopyBtnText}>{(0,i18n_1.t)("errors.copy")}</react_native_1.Text>
|
|
182
34
|
</react_native_1.TouchableOpacity>
|
|
183
35
|
</react_native_1.View>
|
|
184
|
-
</react_native_1.View>
|
|
185
|
-
}
|
|
186
|
-
return (<react_native_1.SafeAreaView style={styles.safeArea}>
|
|
36
|
+
</react_native_1.View>:<react_native_1.SafeAreaView style={styles.safeArea}>
|
|
187
37
|
<react_native_1.View style={styles.container}>
|
|
188
38
|
|
|
189
39
|
<react_native_1.View style={styles.header}>
|
|
190
40
|
<react_native_1.View style={styles.iconGlowWrap}>
|
|
191
|
-
<NetworkIcons_1.WarningTriangleIcon color={AppColors_1.AppColors.red500}
|
|
41
|
+
<NetworkIcons_1.WarningTriangleIcon color={AppColors_1.AppColors.red500}size={28}/>
|
|
192
42
|
</react_native_1.View>
|
|
193
|
-
<react_native_1.View style={{
|
|
43
|
+
<react_native_1.View style={{flex:1}}>
|
|
194
44
|
<react_native_1.View style={styles.badgeRow}>
|
|
195
45
|
<react_native_1.View style={styles.crashBadge}>
|
|
196
46
|
<react_native_1.Text style={styles.crashBadgeText}>
|
|
197
|
-
{
|
|
47
|
+
{u?`JS ${s.toUpperCase()}`:(0,i18n_1.t)("errors.crashIntercepted")}
|
|
198
48
|
</react_native_1.Text>
|
|
199
49
|
</react_native_1.View>
|
|
200
50
|
<react_native_1.View style={styles.shieldBadge}>
|
|
201
|
-
<react_native_1.Text style={styles.shieldBadgeText}>{(0,
|
|
51
|
+
<react_native_1.Text style={styles.shieldBadgeText}>{(0,i18n_1.t)("errors.protected")}</react_native_1.Text>
|
|
202
52
|
</react_native_1.View>
|
|
203
53
|
</react_native_1.View>
|
|
204
|
-
<react_native_1.Text style={styles.title}>{(0,
|
|
205
|
-
<react_native_1.Text style={styles.subtitle}>{(0,
|
|
54
|
+
<react_native_1.Text style={styles.title}>{(0,i18n_1.t)("errors.rootCauseTitle")}</react_native_1.Text>
|
|
55
|
+
<react_native_1.Text style={styles.subtitle}>{(0,i18n_1.t)("errors.rootCauseSubtitle")}</react_native_1.Text>
|
|
206
56
|
</react_native_1.View>
|
|
207
|
-
{this.props.onClose
|
|
208
|
-
<NetworkIcons_1.ClearIcon size={16}
|
|
209
|
-
</react_native_1.TouchableOpacity>
|
|
57
|
+
{this.props.onClose&&<react_native_1.TouchableOpacity onPress={this.props.onClose}style={styles.closeIconBtn}activeOpacity={.7}>
|
|
58
|
+
<NetworkIcons_1.ClearIcon size={16}color={AppColors_1.AppColors.slate400}/>
|
|
59
|
+
</react_native_1.TouchableOpacity>}
|
|
210
60
|
</react_native_1.View>
|
|
211
61
|
|
|
212
|
-
<react_native_1.ScrollView style={styles.scrollArea}
|
|
62
|
+
<react_native_1.ScrollView style={styles.scrollArea}contentContainerStyle={styles.scrollContent}showsVerticalScrollIndicator={!1}>
|
|
213
63
|
|
|
214
64
|
<react_native_1.View style={styles.errorBox}>
|
|
215
65
|
<react_native_1.View style={styles.errorBoxHeader}>
|
|
216
|
-
<NetworkIcons_1.CircleAlertIcon size={14}
|
|
217
|
-
<react_native_1.Text style={styles.errorBoxTitle}>{
|
|
66
|
+
<NetworkIcons_1.CircleAlertIcon size={14}color={AppColors_1.AppColors.red500}/>
|
|
67
|
+
<react_native_1.Text style={styles.errorBoxTitle}>{s}</react_native_1.Text>
|
|
218
68
|
</react_native_1.View>
|
|
219
|
-
<react_native_1.Text style={styles.errorMessage}>{
|
|
69
|
+
<react_native_1.Text style={styles.errorMessage}>{e.message}</react_native_1.Text>
|
|
220
70
|
</react_native_1.View>
|
|
221
71
|
|
|
222
72
|
|
|
223
|
-
{
|
|
224
|
-
<react_native_1.Text style={styles.cardHeaderTitle}>{(0,
|
|
73
|
+
{r&&<react_native_1.View style={styles.locationCard}>
|
|
74
|
+
<react_native_1.Text style={styles.cardHeaderTitle}>{(0,i18n_1.t)("errors.exactLocation")}</react_native_1.Text>
|
|
225
75
|
<react_native_1.View style={styles.locRow}>
|
|
226
|
-
<react_native_1.Text style={styles.locLabel}>{(0,
|
|
227
|
-
<react_native_1.Text style={styles.locValFile}
|
|
228
|
-
{
|
|
76
|
+
<react_native_1.Text style={styles.locLabel}>{(0,i18n_1.t)("errors.file")}</react_native_1.Text>
|
|
77
|
+
<react_native_1.Text style={styles.locValFile}numberOfLines={1}>
|
|
78
|
+
{r.file}
|
|
229
79
|
</react_native_1.Text>
|
|
230
80
|
</react_native_1.View>
|
|
231
81
|
<react_native_1.View style={styles.locRow}>
|
|
232
|
-
<react_native_1.Text style={styles.locLabel}>{(0,
|
|
82
|
+
<react_native_1.Text style={styles.locLabel}>{(0,i18n_1.t)("errors.lineCol")}</react_native_1.Text>
|
|
233
83
|
<react_native_1.Text style={styles.locValNum}>
|
|
234
|
-
{(0,
|
|
84
|
+
{(0,i18n_1.t)("errors.lineColVal",{line:r.line,col:r.column})}
|
|
235
85
|
</react_native_1.Text>
|
|
236
86
|
</react_native_1.View>
|
|
237
87
|
<react_native_1.View style={styles.locRow}>
|
|
238
|
-
<react_native_1.Text style={styles.locLabel}>{(0,
|
|
239
|
-
<react_native_1.Text style={styles.locValMethod}>{
|
|
88
|
+
<react_native_1.Text style={styles.locLabel}>{(0,i18n_1.t)("errors.function")}</react_native_1.Text>
|
|
89
|
+
<react_native_1.Text style={styles.locValMethod}>{r.method}()</react_native_1.Text>
|
|
240
90
|
</react_native_1.View>
|
|
241
|
-
{
|
|
242
|
-
{
|
|
243
|
-
</react_native_1.Text
|
|
244
|
-
</react_native_1.View>
|
|
91
|
+
{r.fullPath?<react_native_1.Text style={styles.fullPathText}numberOfLines={2}>
|
|
92
|
+
{r.fullPath}
|
|
93
|
+
</react_native_1.Text>:null}
|
|
94
|
+
</react_native_1.View>}
|
|
245
95
|
|
|
246
96
|
|
|
247
97
|
<react_native_1.View style={styles.stackCard}>
|
|
248
98
|
<react_native_1.View style={styles.stackCardHeader}>
|
|
249
|
-
<react_native_1.Text style={styles.cardHeaderTitle}>{(0,
|
|
99
|
+
<react_native_1.Text style={styles.cardHeaderTitle}>{(0,i18n_1.t)("errors.callStack")}</react_native_1.Text>
|
|
250
100
|
<react_native_1.Text style={styles.frameCountText}>
|
|
251
|
-
{(0,
|
|
101
|
+
{(0,i18n_1.t)("errors.framesCount",{count:o.length})}
|
|
252
102
|
</react_native_1.Text>
|
|
253
103
|
</react_native_1.View>
|
|
254
104
|
|
|
255
|
-
{
|
|
256
|
-
styles.frameItem,
|
|
257
|
-
frame.isProjectFile && styles.frameItemProject,
|
|
258
|
-
]}>
|
|
105
|
+
{o.slice(0,8).map((a,l)=><react_native_1.View key={l}style={[styles.frameItem,a.isProjectFile&&styles.frameItemProject]}>
|
|
259
106
|
<react_native_1.View style={styles.frameNumBadge}>
|
|
260
|
-
<react_native_1.Text style={[
|
|
261
|
-
|
|
262
|
-
frame.isProjectFile && { color: AppColors_1.AppColors.sky400 },
|
|
263
|
-
]}>
|
|
264
|
-
#{idx + 1}
|
|
107
|
+
<react_native_1.Text style={[styles.frameNumText,a.isProjectFile&&{color:AppColors_1.AppColors.sky400}]}>
|
|
108
|
+
#{l+1}
|
|
265
109
|
</react_native_1.Text>
|
|
266
110
|
</react_native_1.View>
|
|
267
|
-
<react_native_1.View style={{
|
|
268
|
-
<react_native_1.Text style={[
|
|
269
|
-
|
|
270
|
-
frame.isProjectFile && styles.frameMethodProject,
|
|
271
|
-
]} numberOfLines={1}>
|
|
272
|
-
{frame.method}
|
|
111
|
+
<react_native_1.View style={{flex:1}}>
|
|
112
|
+
<react_native_1.Text style={[styles.frameMethod,a.isProjectFile&&styles.frameMethodProject]}numberOfLines={1}>
|
|
113
|
+
{a.method}
|
|
273
114
|
</react_native_1.Text>
|
|
274
|
-
<react_native_1.Text style={styles.frameLoc}
|
|
275
|
-
{
|
|
115
|
+
<react_native_1.Text style={styles.frameLoc}numberOfLines={1}>
|
|
116
|
+
{a.file}:{a.line}:{a.column}
|
|
276
117
|
</react_native_1.Text>
|
|
277
118
|
</react_native_1.View>
|
|
278
|
-
{
|
|
279
|
-
<react_native_1.Text style={styles.appTagText}>{(0,
|
|
280
|
-
</react_native_1.View>
|
|
281
|
-
</react_native_1.View>)
|
|
119
|
+
{a.isProjectFile&&<react_native_1.View style={styles.appTag}>
|
|
120
|
+
<react_native_1.Text style={styles.appTagText}>{(0,i18n_1.t)("errors.appTag")}</react_native_1.Text>
|
|
121
|
+
</react_native_1.View>}
|
|
122
|
+
</react_native_1.View>)}
|
|
282
123
|
</react_native_1.View>
|
|
283
124
|
</react_native_1.ScrollView>
|
|
284
125
|
|
|
285
126
|
|
|
286
127
|
<react_native_1.View style={styles.footer}>
|
|
287
|
-
<react_native_1.TouchableOpacity onPress={this.handleReset}
|
|
288
|
-
<NetworkIcons_1.RefreshCcwIcon size={16}
|
|
289
|
-
<react_native_1.Text style={styles.retryBtnText}>{(0,
|
|
128
|
+
<react_native_1.TouchableOpacity onPress={this.handleReset}style={styles.retryBtn}activeOpacity={.8}>
|
|
129
|
+
<NetworkIcons_1.RefreshCcwIcon size={16}color={AppColors_1.AppColors.white}/>
|
|
130
|
+
<react_native_1.Text style={styles.retryBtnText}>{(0,i18n_1.t)("errors.tryAgainRecover")}</react_native_1.Text>
|
|
290
131
|
</react_native_1.TouchableOpacity>
|
|
291
132
|
|
|
292
|
-
<react_native_1.TouchableOpacity onPress={this.handleCopyTrace}
|
|
293
|
-
<NetworkIcons_1.CopyIcon size={16}
|
|
294
|
-
<react_native_1.Text style={styles.copyBtnText}>{(0,
|
|
133
|
+
<react_native_1.TouchableOpacity onPress={this.handleCopyTrace}style={styles.copyBtn}activeOpacity={.8}>
|
|
134
|
+
<NetworkIcons_1.CopyIcon size={16}color={AppColors_1.AppColors.slate900}/>
|
|
135
|
+
<react_native_1.Text style={styles.copyBtnText}>{(0,i18n_1.t)("errors.copyDiagnostics")}</react_native_1.Text>
|
|
295
136
|
</react_native_1.TouchableOpacity>
|
|
296
137
|
</react_native_1.View>
|
|
297
138
|
</react_native_1.View>
|
|
298
|
-
</react_native_1.SafeAreaView>);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
exports.ErrorBoundary = ErrorBoundary;
|
|
302
|
-
const styles = react_native_1.StyleSheet.create({
|
|
303
|
-
safeArea: {
|
|
304
|
-
flex: 1,
|
|
305
|
-
backgroundColor: AppColors_1.AppColors.slate850,
|
|
306
|
-
},
|
|
307
|
-
container: {
|
|
308
|
-
flex: 1,
|
|
309
|
-
backgroundColor: AppColors_1.AppColors.slate850,
|
|
310
|
-
},
|
|
311
|
-
header: {
|
|
312
|
-
flexDirection: 'row',
|
|
313
|
-
alignItems: 'flex-start',
|
|
314
|
-
paddingHorizontal: 16,
|
|
315
|
-
paddingTop: 14,
|
|
316
|
-
paddingBottom: 12,
|
|
317
|
-
borderBottomWidth: 1,
|
|
318
|
-
borderBottomColor: AppColors_1.AppColors.slate800,
|
|
319
|
-
gap: 12,
|
|
320
|
-
},
|
|
321
|
-
iconGlowWrap: {
|
|
322
|
-
width: 44,
|
|
323
|
-
height: 44,
|
|
324
|
-
borderRadius: 12,
|
|
325
|
-
backgroundColor: `${AppColors_1.AppColors.red500}26`,
|
|
326
|
-
borderWidth: 1,
|
|
327
|
-
borderColor: `${AppColors_1.AppColors.red500}59`,
|
|
328
|
-
alignItems: 'center',
|
|
329
|
-
justifyContent: 'center',
|
|
330
|
-
marginTop: 2,
|
|
331
|
-
},
|
|
332
|
-
badgeRow: {
|
|
333
|
-
flexDirection: 'row',
|
|
334
|
-
alignItems: 'center',
|
|
335
|
-
gap: 6,
|
|
336
|
-
marginBottom: 4,
|
|
337
|
-
},
|
|
338
|
-
crashBadge: {
|
|
339
|
-
backgroundColor: `${AppColors_1.AppColors.red500}33`,
|
|
340
|
-
paddingHorizontal: 7,
|
|
341
|
-
paddingVertical: 2,
|
|
342
|
-
borderRadius: 4,
|
|
343
|
-
borderWidth: 1,
|
|
344
|
-
borderColor: `${AppColors_1.AppColors.red500}66`,
|
|
345
|
-
},
|
|
346
|
-
crashBadgeText: {
|
|
347
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
348
|
-
fontSize: 9.5,
|
|
349
|
-
color: AppColors_1.AppColors.red500,
|
|
350
|
-
letterSpacing: 0.5,
|
|
351
|
-
},
|
|
352
|
-
shieldBadge: {
|
|
353
|
-
backgroundColor: `${AppColors_1.AppColors.emerald500}26`,
|
|
354
|
-
paddingHorizontal: 6,
|
|
355
|
-
paddingVertical: 2,
|
|
356
|
-
borderRadius: 4,
|
|
357
|
-
borderWidth: 1,
|
|
358
|
-
borderColor: `${AppColors_1.AppColors.emerald500}4D`,
|
|
359
|
-
},
|
|
360
|
-
shieldBadgeText: {
|
|
361
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
362
|
-
fontSize: 9,
|
|
363
|
-
color: AppColors_1.AppColors.emerald500,
|
|
364
|
-
letterSpacing: 0.5,
|
|
365
|
-
},
|
|
366
|
-
title: {
|
|
367
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
368
|
-
fontSize: 16,
|
|
369
|
-
color: AppColors_1.AppColors.white,
|
|
370
|
-
letterSpacing: -0.2,
|
|
371
|
-
},
|
|
372
|
-
subtitle: {
|
|
373
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
374
|
-
fontSize: 11,
|
|
375
|
-
color: AppColors_1.AppColors.slate400,
|
|
376
|
-
marginTop: 1,
|
|
377
|
-
},
|
|
378
|
-
closeIconBtn: {
|
|
379
|
-
padding: 6,
|
|
380
|
-
borderRadius: 8,
|
|
381
|
-
backgroundColor: AppColors_1.AppColors.slate800,
|
|
382
|
-
},
|
|
383
|
-
scrollArea: {
|
|
384
|
-
flex: 1,
|
|
385
|
-
},
|
|
386
|
-
scrollContent: {
|
|
387
|
-
padding: 16,
|
|
388
|
-
gap: 12,
|
|
389
|
-
},
|
|
390
|
-
errorBox: {
|
|
391
|
-
backgroundColor: `${AppColors_1.AppColors.red500}1A`,
|
|
392
|
-
borderRadius: 12,
|
|
393
|
-
borderWidth: 1,
|
|
394
|
-
borderColor: `${AppColors_1.AppColors.red500}40`,
|
|
395
|
-
padding: 14,
|
|
396
|
-
gap: 6,
|
|
397
|
-
},
|
|
398
|
-
errorBoxHeader: {
|
|
399
|
-
flexDirection: 'row',
|
|
400
|
-
alignItems: 'center',
|
|
401
|
-
gap: 6,
|
|
402
|
-
},
|
|
403
|
-
errorBoxTitle: {
|
|
404
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
405
|
-
fontSize: 12,
|
|
406
|
-
color: AppColors_1.AppColors.red500,
|
|
407
|
-
letterSpacing: 0.3,
|
|
408
|
-
},
|
|
409
|
-
errorMessage: {
|
|
410
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
411
|
-
fontSize: 13.5,
|
|
412
|
-
color: AppColors_1.AppColors.red100,
|
|
413
|
-
lineHeight: 19,
|
|
414
|
-
},
|
|
415
|
-
locationCard: {
|
|
416
|
-
backgroundColor: AppColors_1.AppColors.slate800,
|
|
417
|
-
borderRadius: 12,
|
|
418
|
-
padding: 14,
|
|
419
|
-
borderWidth: 1,
|
|
420
|
-
borderColor: AppColors_1.AppColors.slate700,
|
|
421
|
-
gap: 8,
|
|
422
|
-
},
|
|
423
|
-
cardHeaderTitle: {
|
|
424
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
425
|
-
fontSize: 10.5,
|
|
426
|
-
color: AppColors_1.AppColors.slate400,
|
|
427
|
-
letterSpacing: 0.8,
|
|
428
|
-
},
|
|
429
|
-
locRow: {
|
|
430
|
-
flexDirection: 'row',
|
|
431
|
-
alignItems: 'center',
|
|
432
|
-
justifyContent: 'space-between',
|
|
433
|
-
gap: 8,
|
|
434
|
-
},
|
|
435
|
-
locLabel: {
|
|
436
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
437
|
-
fontSize: 12,
|
|
438
|
-
color: AppColors_1.AppColors.slate400,
|
|
439
|
-
minWidth: 80,
|
|
440
|
-
},
|
|
441
|
-
locValFile: {
|
|
442
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
443
|
-
fontSize: 12.5,
|
|
444
|
-
color: AppColors_1.AppColors.sky400,
|
|
445
|
-
flex: 1,
|
|
446
|
-
textAlign: 'right',
|
|
447
|
-
},
|
|
448
|
-
locValNum: {
|
|
449
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
450
|
-
fontSize: 12,
|
|
451
|
-
color: AppColors_1.AppColors.white,
|
|
452
|
-
},
|
|
453
|
-
locValMethod: {
|
|
454
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
455
|
-
fontSize: 12,
|
|
456
|
-
color: AppColors_1.AppColors.purple400,
|
|
457
|
-
},
|
|
458
|
-
fullPathText: {
|
|
459
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
460
|
-
fontSize: 10,
|
|
461
|
-
color: AppColors_1.AppColors.slate500,
|
|
462
|
-
marginTop: 2,
|
|
463
|
-
paddingTop: 6,
|
|
464
|
-
borderTopWidth: 1,
|
|
465
|
-
borderTopColor: AppColors_1.AppColors.slate700,
|
|
466
|
-
},
|
|
467
|
-
stackCard: {
|
|
468
|
-
backgroundColor: AppColors_1.AppColors.slate800,
|
|
469
|
-
borderRadius: 12,
|
|
470
|
-
padding: 14,
|
|
471
|
-
borderWidth: 1,
|
|
472
|
-
borderColor: AppColors_1.AppColors.slate700,
|
|
473
|
-
gap: 8,
|
|
474
|
-
},
|
|
475
|
-
stackCardHeader: {
|
|
476
|
-
flexDirection: 'row',
|
|
477
|
-
justifyContent: 'space-between',
|
|
478
|
-
alignItems: 'center',
|
|
479
|
-
marginBottom: 4,
|
|
480
|
-
},
|
|
481
|
-
frameCountText: {
|
|
482
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
483
|
-
fontSize: 10.5,
|
|
484
|
-
color: AppColors_1.AppColors.slate400,
|
|
485
|
-
},
|
|
486
|
-
frameItem: {
|
|
487
|
-
flexDirection: 'row',
|
|
488
|
-
alignItems: 'center',
|
|
489
|
-
backgroundColor: AppColors_1.AppColors.slate850,
|
|
490
|
-
padding: 10,
|
|
491
|
-
borderRadius: 8,
|
|
492
|
-
gap: 10,
|
|
493
|
-
borderWidth: 1,
|
|
494
|
-
borderColor: AppColors_1.AppColors.slate800,
|
|
495
|
-
},
|
|
496
|
-
frameItemProject: {
|
|
497
|
-
borderColor: `${AppColors_1.AppColors.sky400}4D`,
|
|
498
|
-
backgroundColor: `${AppColors_1.AppColors.sky400}0D`,
|
|
499
|
-
},
|
|
500
|
-
frameNumBadge: {
|
|
501
|
-
width: 24,
|
|
502
|
-
alignItems: 'center',
|
|
503
|
-
},
|
|
504
|
-
frameNumText: {
|
|
505
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
506
|
-
fontSize: 10.5,
|
|
507
|
-
color: AppColors_1.AppColors.slate500,
|
|
508
|
-
},
|
|
509
|
-
frameMethod: {
|
|
510
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
511
|
-
fontSize: 11.5,
|
|
512
|
-
color: AppColors_1.AppColors.slate200,
|
|
513
|
-
},
|
|
514
|
-
frameMethodProject: {
|
|
515
|
-
color: AppColors_1.AppColors.white,
|
|
516
|
-
},
|
|
517
|
-
frameLoc: {
|
|
518
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
519
|
-
fontSize: 10,
|
|
520
|
-
color: AppColors_1.AppColors.slate400,
|
|
521
|
-
marginTop: 1,
|
|
522
|
-
},
|
|
523
|
-
appTag: {
|
|
524
|
-
backgroundColor: `${AppColors_1.AppColors.sky400}33`,
|
|
525
|
-
paddingHorizontal: 5,
|
|
526
|
-
paddingVertical: 2,
|
|
527
|
-
borderRadius: 4,
|
|
528
|
-
},
|
|
529
|
-
appTagText: {
|
|
530
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
531
|
-
fontSize: 8.5,
|
|
532
|
-
color: AppColors_1.AppColors.sky400,
|
|
533
|
-
},
|
|
534
|
-
footer: {
|
|
535
|
-
flexDirection: 'row',
|
|
536
|
-
padding: 14,
|
|
537
|
-
backgroundColor: AppColors_1.AppColors.slate800,
|
|
538
|
-
borderTopWidth: 1,
|
|
539
|
-
borderTopColor: AppColors_1.AppColors.slate700,
|
|
540
|
-
gap: 10,
|
|
541
|
-
},
|
|
542
|
-
retryBtn: {
|
|
543
|
-
flex: 1.2,
|
|
544
|
-
flexDirection: 'row',
|
|
545
|
-
alignItems: 'center',
|
|
546
|
-
justifyContent: 'center',
|
|
547
|
-
gap: 8,
|
|
548
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
549
|
-
height: 44,
|
|
550
|
-
borderRadius: 10,
|
|
551
|
-
},
|
|
552
|
-
retryBtnText: {
|
|
553
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
554
|
-
fontSize: 13,
|
|
555
|
-
color: AppColors_1.AppColors.white,
|
|
556
|
-
},
|
|
557
|
-
copyBtn: {
|
|
558
|
-
flex: 1,
|
|
559
|
-
flexDirection: 'row',
|
|
560
|
-
alignItems: 'center',
|
|
561
|
-
justifyContent: 'center',
|
|
562
|
-
gap: 8,
|
|
563
|
-
backgroundColor: AppColors_1.AppColors.slate100,
|
|
564
|
-
height: 44,
|
|
565
|
-
borderRadius: 10,
|
|
566
|
-
},
|
|
567
|
-
copyBtnText: {
|
|
568
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
569
|
-
fontSize: 13,
|
|
570
|
-
color: AppColors_1.AppColors.slate900,
|
|
571
|
-
},
|
|
572
|
-
inlineContainer: {
|
|
573
|
-
padding: 12,
|
|
574
|
-
backgroundColor: AppColors_1.AppColors.red50,
|
|
575
|
-
borderWidth: 1,
|
|
576
|
-
borderColor: AppColors_1.AppColors.errorBorder,
|
|
577
|
-
borderRadius: 10,
|
|
578
|
-
margin: 8,
|
|
579
|
-
gap: 10,
|
|
580
|
-
},
|
|
581
|
-
inlineHeader: {
|
|
582
|
-
flexDirection: 'row',
|
|
583
|
-
alignItems: 'flex-start',
|
|
584
|
-
gap: 10,
|
|
585
|
-
},
|
|
586
|
-
inlineTitle: {
|
|
587
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
588
|
-
fontSize: 12,
|
|
589
|
-
color: AppColors_1.AppColors.red600,
|
|
590
|
-
},
|
|
591
|
-
inlineLoc: {
|
|
592
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
593
|
-
fontSize: 10.5,
|
|
594
|
-
color: AppColors_1.AppColors.redErrorText,
|
|
595
|
-
marginTop: 2,
|
|
596
|
-
},
|
|
597
|
-
inlineActions: {
|
|
598
|
-
flexDirection: 'row',
|
|
599
|
-
gap: 8,
|
|
600
|
-
justifyContent: 'flex-end',
|
|
601
|
-
},
|
|
602
|
-
inlineBtn: {
|
|
603
|
-
flexDirection: 'row',
|
|
604
|
-
alignItems: 'center',
|
|
605
|
-
gap: 4,
|
|
606
|
-
backgroundColor: AppColors_1.AppColors.red600,
|
|
607
|
-
paddingHorizontal: 10,
|
|
608
|
-
paddingVertical: 5,
|
|
609
|
-
borderRadius: 6,
|
|
610
|
-
},
|
|
611
|
-
inlineBtnText: {
|
|
612
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
613
|
-
fontSize: 11,
|
|
614
|
-
color: AppColors_1.AppColors.white,
|
|
615
|
-
},
|
|
616
|
-
inlineCopyBtn: {
|
|
617
|
-
flexDirection: 'row',
|
|
618
|
-
alignItems: 'center',
|
|
619
|
-
gap: 4,
|
|
620
|
-
backgroundColor: AppColors_1.AppColors.red100,
|
|
621
|
-
borderWidth: 1,
|
|
622
|
-
borderColor: AppColors_1.AppColors.errorBorder,
|
|
623
|
-
paddingHorizontal: 10,
|
|
624
|
-
paddingVertical: 5,
|
|
625
|
-
borderRadius: 6,
|
|
626
|
-
},
|
|
627
|
-
inlineCopyBtnText: {
|
|
628
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
629
|
-
fontSize: 11,
|
|
630
|
-
color: AppColors_1.AppColors.redErrorText,
|
|
631
|
-
},
|
|
632
|
-
});
|
|
633
|
-
exports.default = ErrorBoundary;
|
|
139
|
+
</react_native_1.SafeAreaView>}}exports.ErrorBoundary=ErrorBoundary;const styles=react_native_1.StyleSheet.create({safeArea:{flex:1,backgroundColor:AppColors_1.AppColors.slate850},container:{flex:1,backgroundColor:AppColors_1.AppColors.slate850},header:{flexDirection:"row",alignItems:"flex-start",paddingHorizontal:16,paddingTop:14,paddingBottom:12,borderBottomWidth:1,borderBottomColor:AppColors_1.AppColors.slate800,gap:12},iconGlowWrap:{width:44,height:44,borderRadius:12,backgroundColor:`${AppColors_1.AppColors.red500}26`,borderWidth:1,borderColor:`${AppColors_1.AppColors.red500}59`,alignItems:"center",justifyContent:"center",marginTop:2},badgeRow:{flexDirection:"row",alignItems:"center",gap:6,marginBottom:4},crashBadge:{backgroundColor:`${AppColors_1.AppColors.red500}33`,paddingHorizontal:7,paddingVertical:2,borderRadius:4,borderWidth:1,borderColor:`${AppColors_1.AppColors.red500}66`},crashBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.red500,letterSpacing:.5},shieldBadge:{backgroundColor:`${AppColors_1.AppColors.emerald500}26`,paddingHorizontal:6,paddingVertical:2,borderRadius:4,borderWidth:1,borderColor:`${AppColors_1.AppColors.emerald500}4D`},shieldBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,color:AppColors_1.AppColors.emerald500,letterSpacing:.5},title:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:16,color:AppColors_1.AppColors.white,letterSpacing:-.2},subtitle:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.slate400,marginTop:1},closeIconBtn:{padding:6,borderRadius:8,backgroundColor:AppColors_1.AppColors.slate800},scrollArea:{flex:1},scrollContent:{padding:16,gap:12},errorBox:{backgroundColor:`${AppColors_1.AppColors.red500}1A`,borderRadius:12,borderWidth:1,borderColor:`${AppColors_1.AppColors.red500}40`,padding:14,gap:6},errorBoxHeader:{flexDirection:"row",alignItems:"center",gap:6},errorBoxTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.red500,letterSpacing:.3},errorMessage:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,color:AppColors_1.AppColors.red100,lineHeight:19},locationCard:{backgroundColor:AppColors_1.AppColors.slate800,borderRadius:12,padding:14,borderWidth:1,borderColor:AppColors_1.AppColors.slate700,gap:8},cardHeaderTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:AppColors_1.AppColors.slate400,letterSpacing:.8},locRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:8},locLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.slate400,minWidth:80},locValFile:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,color:AppColors_1.AppColors.sky400,flex:1,textAlign:"right"},locValNum:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.white},locValMethod:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.purple400},fullPathText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:AppColors_1.AppColors.slate500,marginTop:2,paddingTop:6,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.slate700},stackCard:{backgroundColor:AppColors_1.AppColors.slate800,borderRadius:12,padding:14,borderWidth:1,borderColor:AppColors_1.AppColors.slate700,gap:8},stackCardHeader:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:4},frameCountText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10.5,color:AppColors_1.AppColors.slate400},frameItem:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.slate850,padding:10,borderRadius:8,gap:10,borderWidth:1,borderColor:AppColors_1.AppColors.slate800},frameItemProject:{borderColor:`${AppColors_1.AppColors.sky400}4D`,backgroundColor:`${AppColors_1.AppColors.sky400}0D`},frameNumBadge:{width:24,alignItems:"center"},frameNumText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:AppColors_1.AppColors.slate500},frameMethod:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,color:AppColors_1.AppColors.slate200},frameMethodProject:{color:AppColors_1.AppColors.white},frameLoc:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:AppColors_1.AppColors.slate400,marginTop:1},appTag:{backgroundColor:`${AppColors_1.AppColors.sky400}33`,paddingHorizontal:5,paddingVertical:2,borderRadius:4},appTagText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.sky400},footer:{flexDirection:"row",padding:14,backgroundColor:AppColors_1.AppColors.slate800,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.slate700,gap:10},retryBtn:{flex:1.2,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8,backgroundColor:AppColors_1.AppColors.purple,height:44,borderRadius:10},retryBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.white},copyBtn:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8,backgroundColor:AppColors_1.AppColors.slate100,height:44,borderRadius:10},copyBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.slate900},inlineContainer:{padding:12,backgroundColor:AppColors_1.AppColors.red50,borderWidth:1,borderColor:AppColors_1.AppColors.errorBorder,borderRadius:10,margin:8,gap:10},inlineHeader:{flexDirection:"row",alignItems:"flex-start",gap:10},inlineTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.red600},inlineLoc:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10.5,color:AppColors_1.AppColors.redErrorText,marginTop:2},inlineActions:{flexDirection:"row",gap:8,justifyContent:"flex-end"},inlineBtn:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:AppColors_1.AppColors.red600,paddingHorizontal:10,paddingVertical:5,borderRadius:6},inlineBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.white},inlineCopyBtn:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:AppColors_1.AppColors.red100,borderWidth:1,borderColor:AppColors_1.AppColors.errorBorder,paddingHorizontal:10,paddingVertical:5,borderRadius:6},inlineCopyBtnText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.redErrorText}});exports.default=ErrorBoundary;
|