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,573 +1,99 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
exports.ConsoleLogCard = void 0;
|
|
40
|
-
const react_1 = __importStar(require("react"));
|
|
41
|
-
const i18n_1 = require("../i18n");
|
|
42
|
-
const react_native_1 = require("react-native");
|
|
43
|
-
const AppColors_1 = require("../styles/AppColors");
|
|
44
|
-
const AppFonts_1 = require("../styles/AppFonts");
|
|
45
|
-
const helpers_1 = require("../helpers");
|
|
46
|
-
const CopyButton_1 = __importDefault(require("./CopyButton"));
|
|
47
|
-
const LogSyntaxHighlighter_1 = __importDefault(require("./LogSyntaxHighlighter"));
|
|
48
|
-
const NetworkIcons_1 = require("./NetworkIcons");
|
|
49
|
-
const InspectorContext_1 = require("./Inspector/InspectorContext");
|
|
50
|
-
const getLogMessageWithBadges = (message, searchStr, textStyle, highlightStyle, numberOfLines) => {
|
|
51
|
-
if (!message)
|
|
52
|
-
return null;
|
|
53
|
-
const prefixRegex = /^((?:\[[^\]]+\]\s*)+)/;
|
|
54
|
-
const match = message.match(prefixRegex);
|
|
55
|
-
if (match) {
|
|
56
|
-
const fullPrefix = match[1];
|
|
57
|
-
const remainingText = message.substring(fullPrefix.length);
|
|
58
|
-
const tags = fullPrefix.match(/\[[^\]]+\]/g) || [];
|
|
59
|
-
const getTagDecorator = (tag) => {
|
|
60
|
-
const clean = tag.replace(/[\[\]]/g, '').trim().toUpperCase();
|
|
61
|
-
if (clean === 'AXIOS') {
|
|
62
|
-
return { color: AppColors_1.AppColors.emerald600, Icon: NetworkIcons_1.ZapIcon, label: 'AXIOS' };
|
|
63
|
-
}
|
|
64
|
-
if (clean === 'API' || clean === 'FETCH' || clean === 'HTTP' || clean === 'NETWORK') {
|
|
65
|
-
return { color: AppColors_1.AppColors.sky600, Icon: NetworkIcons_1.GlobeIcon, label: clean };
|
|
66
|
-
}
|
|
67
|
-
if (clean === 'SAMPLE' || clean === 'BATCH') {
|
|
68
|
-
return { color: AppColors_1.AppColors.indigo600Alt, Icon: NetworkIcons_1.DiceIcon, label: clean };
|
|
69
|
-
}
|
|
70
|
-
if (clean === 'REDUX' || clean === 'STORE' || clean === 'STATE') {
|
|
71
|
-
return { color: AppColors_1.AppColors.violet600, Icon: NetworkIcons_1.AtomIcon, label: clean };
|
|
72
|
-
}
|
|
73
|
-
if (clean === 'ANALYTICS' || clean === 'FIREBASE' || clean === 'GA4' || clean === 'GA') {
|
|
74
|
-
return { color: AppColors_1.AppColors.teal600, Icon: NetworkIcons_1.BarChartIcon, label: clean };
|
|
75
|
-
}
|
|
76
|
-
if (clean === 'AUTH' || clean === 'TOKEN' || clean === 'SESSION') {
|
|
77
|
-
return { color: AppColors_1.AppColors.amber600, Icon: NetworkIcons_1.KeyIcon, label: clean };
|
|
78
|
-
}
|
|
79
|
-
if (clean === 'APP') {
|
|
80
|
-
return { color: AppColors_1.AppColors.indigo600Alt, Icon: NetworkIcons_1.SmartphoneIcon, label: 'APP' };
|
|
81
|
-
}
|
|
82
|
-
if (clean === 'TEST') {
|
|
83
|
-
return { color: AppColors_1.AppColors.emerald500, Icon: NetworkIcons_1.FlaskIcon, label: 'TEST' };
|
|
84
|
-
}
|
|
85
|
-
if (clean === 'WARN' || clean === 'WARNING') {
|
|
86
|
-
return { color: AppColors_1.AppColors.amber600, Icon: NetworkIcons_1.AlertTriangleIcon, label: 'WARN' };
|
|
87
|
-
}
|
|
88
|
-
if (clean === 'ERROR' || clean === 'CRASH' || clean === 'BUG') {
|
|
89
|
-
return { color: AppColors_1.AppColors.red600, Icon: NetworkIcons_1.BugIcon, label: 'ERROR' };
|
|
90
|
-
}
|
|
91
|
-
if (clean === 'PERF' || clean === 'RENDER') {
|
|
92
|
-
return { color: AppColors_1.AppColors.violet500, Icon: NetworkIcons_1.ZapIcon, label: clean };
|
|
93
|
-
}
|
|
94
|
-
return { color: AppColors_1.AppColors.slate600, Icon: NetworkIcons_1.TagIcon, label: clean };
|
|
95
|
-
};
|
|
96
|
-
return (<react_native_1.View style={{ flexDirection: 'column', gap: 6 }}>
|
|
97
|
-
<react_native_1.View style={{ flexDirection: 'row', flexWrap: 'wrap', gap: 5 }}>
|
|
98
|
-
{tags.map((tag, i) => {
|
|
99
|
-
const dec = getTagDecorator(tag);
|
|
100
|
-
const IconComp = dec.Icon;
|
|
101
|
-
return (<react_native_1.View key={i} style={[
|
|
102
|
-
styles.prefixTag,
|
|
103
|
-
{
|
|
104
|
-
backgroundColor: `${dec.color}14`,
|
|
105
|
-
borderColor: `${dec.color}33`,
|
|
106
|
-
},
|
|
107
|
-
]}>
|
|
108
|
-
<IconComp color={dec.color} size={10}/>
|
|
109
|
-
<react_native_1.Text style={[styles.prefixTagText, { color: dec.color }]}>
|
|
110
|
-
{dec.label}
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(r,o,t,n){n===void 0&&(n=t);var l=Object.getOwnPropertyDescriptor(o,t);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[t]}}),Object.defineProperty(r,n,l)}):(function(r,o,t,n){n===void 0&&(n=t),r[n]=o[t]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(r,o){Object.defineProperty(r,"default",{enumerable:!0,value:o})}):function(r,o){r.default=o}),__importStar=this&&this.__importStar||(function(){var r=function(o){return r=Object.getOwnPropertyNames||function(t){var n=[];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(n[n.length]=l);return n},r(o)};return function(o){if(o&&o.__esModule)return o;var t={};if(o!=null)for(var n=r(o),l=0;l<n.length;l++)n[l]!=="default"&&__createBinding(t,o,n[l]);return __setModuleDefault(t,o),t}})(),__importDefault=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConsoleLogCard=void 0;const react_1=__importStar(require("react")),i18n_1=require("../i18n"),react_native_1=require("react-native"),AppColors_1=require("../styles/AppColors"),AppFonts_1=require("../styles/AppFonts"),helpers_1=require("../helpers"),CopyButton_1=__importDefault(require("./CopyButton")),LogSyntaxHighlighter_1=__importDefault(require("./LogSyntaxHighlighter")),NetworkIcons_1=require("./NetworkIcons"),InspectorContext_1=require("./Inspector/InspectorContext"),getLogMessageWithBadges=(r,o,t,n,l)=>{if(!r)return null;const c=/^((?:\[[^\]]+\]\s*)+)/,C=r.match(c);if(C){const i=C[1],g=r.substring(i.length),f=i.match(/\[[^\]]+\]/g)||[],a=u=>{const e=u.replace(/[\[\]]/g,"").trim().toUpperCase();return e==="AXIOS"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.ZapIcon,label:"AXIOS"}:e==="API"||e==="FETCH"||e==="HTTP"||e==="REST"||e==="NETWORK"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.GlobeIcon,label:e}:e==="GRAPHQL"||e==="GQL"||e==="APOLLO"||e==="MUTATION"||e==="QUERY"?{color:AppColors_1.AppColors.pink500,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="WS"||e==="WEBSOCKET"||e==="SOCKET"||e==="SOCKET.IO"||e==="REALTIME"?{color:AppColors_1.AppColors.cyan600,Icon:NetworkIcons_1.SignalIcon,label:e}:e==="REDUX"||e==="STORE"||e==="STATE"||e==="ZUSTAND"||e==="MOBX"||e==="RECOIL"||e==="ACTION"||e==="DISPATCH"?{color:AppColors_1.AppColors.violet600,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="ANALYTICS"||e==="FIREBASE"||e==="GA4"||e==="GA"||e==="SEGMENT"||e==="MIXPANEL"||e==="POSTHOG"||e==="TRACK"||e==="EVENT"?{color:AppColors_1.AppColors.teal600,Icon:NetworkIcons_1.BarChartIcon,label:e}:e==="AUTH"||e==="TOKEN"||e==="SESSION"||e==="JWT"||e==="LOGIN"||e==="LOGOUT"||e==="USER"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.KeyIcon,label:e}:e==="SECURITY"||e==="SHIELD"||e==="PERMISSION"||e==="PERMISSIONS"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.ShieldAlertIcon,label:e}:e==="NAV"||e==="NAVIGATION"||e==="ROUTE"||e==="SCREEN"||e==="ROUTER"||e==="DEEPLINK"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="STORAGE"||e==="ASYNCSTORAGE"||e==="MMKV"||e==="SQLITE"||e==="DB"||e==="DATABASE"||e==="REALM"||e==="CACHE"?{color:AppColors_1.AppColors.purple500,Icon:NetworkIcons_1.StorageIcon,label:e}:e==="PERF"||e==="RENDER"||e==="PERFORMANCE"||e==="FPS"||e==="MEMORY"?{color:AppColors_1.AppColors.violet500,Icon:NetworkIcons_1.PerformanceIcon,label:e}:e==="INIT"||e==="BOOT"||e==="STARTUP"||e==="LIFECYCLE"||e==="MOUNT"||e==="UNMOUNT"?{color:AppColors_1.AppColors.blue600,Icon:NetworkIcons_1.ZapIcon,label:e}:e==="SYNC"||e==="REFRESH"||e==="BACKGROUND"||e==="JOB"||e==="WORKER"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.RefreshCcwIcon,label:e}:e==="PUSH"||e==="NOTIF"||e==="NOTIFICATION"||e==="FCM"||e==="APNS"?{color:AppColors_1.AppColors.darkOrange,Icon:NetworkIcons_1.FlameIcon,label:e}:e==="PAY"||e==="PAYMENT"||e==="STRIPE"||e==="IAP"||e==="BILLING"||e==="CHECKOUT"||e==="CART"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MoneyIcon,label:e}:e==="DEVICE"||e==="HARDWARE"||e==="BLE"||e==="BLUETOOTH"||e==="NFC"||e==="SENSOR"?{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.ChipIcon,label:e}:e==="LOCATION"||e==="GPS"||e==="GEO"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="APP"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.SmartphoneIcon,label:"APP"}:e==="UI"||e==="VIEW"||e==="THEME"||e==="STYLE"||e==="LAYOUT"?{color:AppColors_1.AppColors.pink600,Icon:NetworkIcons_1.LayoutIcon,label:e}:e==="TEST"||e==="MOCK"||e==="SPEC"?{color:AppColors_1.AppColors.emerald500,Icon:NetworkIcons_1.FlaskIcon,label:"TEST"}:e==="SAMPLE"||e==="BATCH"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.DiceIcon,label:e}:e==="CONFIG"||e==="ENV"||e==="SETTINGS"?{color:AppColors_1.AppColors.slate700,Icon:NetworkIcons_1.SettingsIcon,label:e}:e==="DEBUG"||e==="TRACE"?{color:AppColors_1.AppColors.purpleText,Icon:NetworkIcons_1.TerminalIcon,label:e}:e==="INFO"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.InfoCircleIcon,label:"INFO"}:e==="SUCCESS"||e==="OK"||e==="DONE"||e==="PASSED"?{color:AppColors_1.AppColors.green600,Icon:NetworkIcons_1.CircleCheckIcon,label:e}:e==="WARN"||e==="WARNING"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.AlertTriangleIcon,label:"WARN"}:e==="ERROR"||e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?{color:AppColors_1.AppColors.red600,Icon:NetworkIcons_1.BugIcon,label:e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?e:"ERROR"}:{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.TagIcon,label:e}};return<react_native_1.View style={{flexDirection:"column",gap:6}}>
|
|
2
|
+
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:5}}>
|
|
3
|
+
{f.map((u,e)=>{const s=a(u),A=s.Icon;return<react_native_1.View key={e}style={[styles.prefixTag,{backgroundColor:`${s.color}14`,borderColor:`${s.color}33`}]}>
|
|
4
|
+
<A color={s.color}size={10}/>
|
|
5
|
+
<react_native_1.Text style={[styles.prefixTagText,{color:s.color}]}>
|
|
6
|
+
{s.label}
|
|
111
7
|
</react_native_1.Text>
|
|
112
|
-
</react_native_1.View>)
|
|
113
|
-
})}
|
|
8
|
+
</react_native_1.View>})}
|
|
114
9
|
</react_native_1.View>
|
|
115
|
-
<LogSyntaxHighlighter_1.default text={
|
|
116
|
-
</react_native_1.View>);
|
|
117
|
-
|
|
118
|
-
return (<LogSyntaxHighlighter_1.default text={message} search={searchStr} style={textStyle} numberOfLines={numberOfLines} detectLinks={true}/>);
|
|
119
|
-
};
|
|
120
|
-
exports.ConsoleLogCard = react_1.default.memo(function ConsoleLogCard({ item, searchStr = '', }) {
|
|
121
|
-
const { setSelectedLog } = (0, InspectorContext_1.useInspector)();
|
|
122
|
-
const { t } = (0, i18n_1.useTranslation)();
|
|
123
|
-
const [isExpanded, setIsExpanded] = (0, react_1.useState)(false);
|
|
124
|
-
const jsonContent = (0, helpers_1.getJsonContent)(item.message);
|
|
125
|
-
const isAnalyticsError = item.message
|
|
126
|
-
.toLowerCase()
|
|
127
|
-
.includes('[analytics error]');
|
|
128
|
-
const isUserLog = item.sourceMethod === 'log';
|
|
129
|
-
const parsedCaller = item.caller && item.caller !== 'Unknown'
|
|
130
|
-
? (0, helpers_1.parseStackLine)(item.caller, true)
|
|
131
|
-
: null;
|
|
132
|
-
const getLogColors = () => {
|
|
133
|
-
const type = (item.type || 'log').toLowerCase();
|
|
134
|
-
const method = (item.sourceMethod || type).toLowerCase();
|
|
135
|
-
if (isAnalyticsError || type === 'error' || method === 'error') {
|
|
136
|
-
return {
|
|
137
|
-
border: AppColors_1.AppColors.errorColor,
|
|
138
|
-
badgeBg: `${AppColors_1.AppColors.errorColor}18`,
|
|
139
|
-
badgeText: AppColors_1.AppColors.errorColor,
|
|
140
|
-
label: 'ERROR',
|
|
141
|
-
cardBg: '#FFF8F8',
|
|
142
|
-
methodBorder: `${AppColors_1.AppColors.errorColor}30`,
|
|
143
|
-
methodBg: `${AppColors_1.AppColors.errorColor}12`,
|
|
144
|
-
methodText: AppColors_1.AppColors.errorColor,
|
|
145
|
-
textColor: AppColors_1.AppColors.redErrorText,
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
if (type === 'warn' || method === 'warn') {
|
|
149
|
-
return {
|
|
150
|
-
border: AppColors_1.AppColors.amber600,
|
|
151
|
-
badgeBg: `${AppColors_1.AppColors.amber600}18`,
|
|
152
|
-
badgeText: AppColors_1.AppColors.amber800,
|
|
153
|
-
label: 'WARN',
|
|
154
|
-
cardBg: '#FFFDF5',
|
|
155
|
-
methodBorder: `${AppColors_1.AppColors.amber600}33`,
|
|
156
|
-
methodBg: `${AppColors_1.AppColors.amber600}14`,
|
|
157
|
-
methodText: AppColors_1.AppColors.amber800,
|
|
158
|
-
textColor: AppColors_1.AppColors.amber800,
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
if (type === 'debug' || method === 'debug') {
|
|
162
|
-
return {
|
|
163
|
-
border: AppColors_1.AppColors.purple500,
|
|
164
|
-
badgeBg: `${AppColors_1.AppColors.purple500}18`,
|
|
165
|
-
badgeText: AppColors_1.AppColors.purple,
|
|
166
|
-
label: 'DEBUG',
|
|
167
|
-
cardBg: '#FAF8FD',
|
|
168
|
-
methodBorder: `${AppColors_1.AppColors.purple500}33`,
|
|
169
|
-
methodBg: `${AppColors_1.AppColors.purple500}12`,
|
|
170
|
-
methodText: AppColors_1.AppColors.purple,
|
|
171
|
-
textColor: AppColors_1.AppColors.purpleText,
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
if (type === 'info' || method === 'info') {
|
|
175
|
-
return {
|
|
176
|
-
border: AppColors_1.AppColors.sky500,
|
|
177
|
-
badgeBg: `${AppColors_1.AppColors.sky500}18`,
|
|
178
|
-
badgeText: AppColors_1.AppColors.sky600,
|
|
179
|
-
label: 'INFO',
|
|
180
|
-
cardBg: '#F8FAFC',
|
|
181
|
-
methodBorder: `${AppColors_1.AppColors.sky500}33`,
|
|
182
|
-
methodBg: `${AppColors_1.AppColors.sky500}12`,
|
|
183
|
-
methodText: AppColors_1.AppColors.sky600,
|
|
184
|
-
textColor: AppColors_1.AppColors.blue800,
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
return {
|
|
188
|
-
border: AppColors_1.AppColors.indigo500,
|
|
189
|
-
badgeBg: `${AppColors_1.AppColors.indigo500}15`,
|
|
190
|
-
badgeText: AppColors_1.AppColors.indigo600Alt,
|
|
191
|
-
label: 'LOG',
|
|
192
|
-
cardBg: AppColors_1.AppColors.white,
|
|
193
|
-
methodBorder: AppColors_1.AppColors.dividerColor,
|
|
194
|
-
methodBg: AppColors_1.AppColors.indigo50,
|
|
195
|
-
methodText: AppColors_1.AppColors.indigo600Alt,
|
|
196
|
-
textColor: AppColors_1.AppColors.primaryBlack,
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
const colors = getLogColors();
|
|
200
|
-
const jsonPreview = jsonContent
|
|
201
|
-
? (0, helpers_1.getJsonPreviewText)(jsonContent.data)
|
|
202
|
-
: null;
|
|
203
|
-
const openDetail = () => {
|
|
204
|
-
setSelectedLog(item);
|
|
205
|
-
};
|
|
206
|
-
const toggleExpand = (e) => {
|
|
207
|
-
e?.stopPropagation?.();
|
|
208
|
-
setIsExpanded(prev => !prev);
|
|
209
|
-
};
|
|
210
|
-
return (<react_native_1.View style={styles.container}>
|
|
211
|
-
<react_native_1.Pressable onPress={openDetail} style={({ pressed }) => [
|
|
212
|
-
styles.card,
|
|
213
|
-
{
|
|
214
|
-
borderLeftColor: colors.border,
|
|
215
|
-
borderLeftWidth: 3.5,
|
|
216
|
-
backgroundColor: colors.cardBg,
|
|
217
|
-
},
|
|
218
|
-
pressed && styles.cardPressed,
|
|
219
|
-
]}>
|
|
10
|
+
<LogSyntaxHighlighter_1.default text={g}search={o}style={t}numberOfLines={l}detectLinks={!0}/>
|
|
11
|
+
</react_native_1.View>}return<LogSyntaxHighlighter_1.default text={r}search={o}style={t}numberOfLines={l}detectLinks={!0}/>};exports.ConsoleLogCard=react_1.default.memo(function({item:o,searchStr:t=""}){const{setSelectedLog:n}=(0,InspectorContext_1.useInspector)(),{t:l}=(0,i18n_1.useTranslation)(),[c,C]=(0,react_1.useState)(!1),i=(0,helpers_1.getJsonContent)(o.message),g=o.message.toLowerCase().includes("[analytics error]"),f=o.sourceMethod==="log",a=o.caller&&o.caller!=="Unknown"?(0,helpers_1.parseStackLine)(o.caller,!0):null,e=(()=>{const p=(o.type||"log").toLowerCase(),d=(o.sourceMethod||p).toLowerCase();return g||p==="error"||d==="error"?{border:AppColors_1.AppColors.errorColor,badgeBg:`${AppColors_1.AppColors.errorColor}18`,badgeText:AppColors_1.AppColors.errorColor,label:"ERROR",cardBg:AppColors_1.AppColors.errorCardBg,methodBorder:`${AppColors_1.AppColors.errorColor}30`,methodBg:`${AppColors_1.AppColors.errorColor}12`,methodText:AppColors_1.AppColors.errorColor,textColor:AppColors_1.AppColors.redErrorText}:p==="warn"||d==="warn"?{border:AppColors_1.AppColors.amber600,badgeBg:`${AppColors_1.AppColors.amber600}18`,badgeText:AppColors_1.AppColors.amber800,label:"WARN",cardBg:AppColors_1.AppColors.warnCardBg,methodBorder:`${AppColors_1.AppColors.amber600}33`,methodBg:`${AppColors_1.AppColors.amber600}14`,methodText:AppColors_1.AppColors.amber800,textColor:AppColors_1.AppColors.amber800}:p==="debug"||d==="debug"?{border:AppColors_1.AppColors.purple500,badgeBg:`${AppColors_1.AppColors.purple500}18`,badgeText:AppColors_1.AppColors.purple,label:"DEBUG",cardBg:AppColors_1.AppColors.purpleTintBg,methodBorder:`${AppColors_1.AppColors.purple500}33`,methodBg:`${AppColors_1.AppColors.purple500}12`,methodText:AppColors_1.AppColors.purple,textColor:AppColors_1.AppColors.purpleText}:d==="info"||p==="info"&&d!=="log"?{border:AppColors_1.AppColors.sky500,badgeBg:`${AppColors_1.AppColors.sky500}18`,badgeText:AppColors_1.AppColors.sky600,label:"INFO",cardBg:AppColors_1.AppColors.blueTintBg,methodBorder:`${AppColors_1.AppColors.sky500}33`,methodBg:`${AppColors_1.AppColors.sky500}12`,methodText:AppColors_1.AppColors.sky600,textColor:AppColors_1.AppColors.blue800}:{border:AppColors_1.AppColors.indigo500,badgeBg:`${AppColors_1.AppColors.indigo500}15`,badgeText:AppColors_1.AppColors.indigo600Alt,label:"LOG",cardBg:AppColors_1.AppColors.white,methodBorder:AppColors_1.AppColors.dividerColor,methodBg:AppColors_1.AppColors.indigo50,methodText:AppColors_1.AppColors.indigo600Alt,textColor:AppColors_1.AppColors.primaryBlack}})(),s=i?(0,helpers_1.getJsonPreviewText)(i.data):null,A=()=>{n(o)},T=p=>{p?.stopPropagation?.(),C(d=>!d)};return<react_native_1.View style={styles.container}>
|
|
12
|
+
<react_native_1.Pressable onPress={A}style={({pressed:p})=>[styles.card,{borderLeftColor:e.border,borderLeftWidth:3.5,backgroundColor:e.cardBg},p&&styles.cardPressed]}>
|
|
220
13
|
|
|
221
14
|
<react_native_1.View style={styles.cardHeader}>
|
|
222
15
|
<react_native_1.View style={styles.headerLeft}>
|
|
223
|
-
<react_native_1.View style={
|
|
224
|
-
<react_native_1.
|
|
225
|
-
|
|
226
|
-
{colors.label}
|
|
16
|
+
<react_native_1.View style={styles.idBadge}>
|
|
17
|
+
<react_native_1.Text style={styles.idBadgeText}>
|
|
18
|
+
#{o.id!=null?o.id+1:1}
|
|
227
19
|
</react_native_1.Text>
|
|
228
20
|
</react_native_1.View>
|
|
229
|
-
<react_native_1.View style={[
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
<react_native_1.Text style={[styles.metaChipText,
|
|
21
|
+
<react_native_1.View style={[styles.typeChip,{backgroundColor:e.badgeBg}]}>
|
|
22
|
+
<react_native_1.View style={[styles.typeDot,{backgroundColor:e.badgeText}]}/>
|
|
23
|
+
<react_native_1.Text style={[styles.typeChipText,{color:e.badgeText,fontFamily:AppFonts_1.AppFonts.interBold}]}>
|
|
24
|
+
{e.label}
|
|
25
|
+
</react_native_1.Text>
|
|
26
|
+
</react_native_1.View>
|
|
27
|
+
<react_native_1.View style={[styles.metaChip,{backgroundColor:e.methodBg,borderColor:e.methodBorder}]}>
|
|
28
|
+
<react_native_1.Text style={[styles.metaChipText,{color:e.methodText,fontFamily:AppFonts_1.AppFonts.interBold}]}>
|
|
237
29
|
console.
|
|
238
|
-
{(
|
|
239
|
-
item.type ||
|
|
240
|
-
'log'}
|
|
30
|
+
{("sourceMethod"in o?o.sourceMethod:void 0)||o.type||"log"}
|
|
241
31
|
</react_native_1.Text>
|
|
242
32
|
</react_native_1.View>
|
|
243
|
-
{
|
|
244
|
-
styles.
|
|
245
|
-
|
|
246
|
-
backgroundColor: `${AppColors_1.AppColors.teal600}14`,
|
|
247
|
-
borderColor: `${AppColors_1.AppColors.teal600}33`,
|
|
248
|
-
},
|
|
249
|
-
]}>
|
|
250
|
-
<react_native_1.Text style={[styles.metaChipText, { color: AppColors_1.AppColors.teal600, fontFamily: AppFonts_1.AppFonts.interBold }]}>
|
|
251
|
-
{Array.isArray(jsonContent.data)
|
|
252
|
-
? `Array[${jsonContent.data.length}]`
|
|
253
|
-
: `Object{${Object.keys(jsonContent.data).length}}`}
|
|
33
|
+
{i&&<react_native_1.View style={[styles.metaChip,{backgroundColor:`${AppColors_1.AppColors.teal600}14`,borderColor:`${AppColors_1.AppColors.teal600}33`}]}>
|
|
34
|
+
<react_native_1.Text style={[styles.metaChipText,{color:AppColors_1.AppColors.teal600,fontFamily:AppFonts_1.AppFonts.interBold}]}>
|
|
35
|
+
{Array.isArray(i.data)?`Array[${i.data.length}]`:`Object{${Object.keys(i.data).length}}`}
|
|
254
36
|
</react_native_1.Text>
|
|
255
|
-
</react_native_1.View>
|
|
256
|
-
{
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
styles.metaChip,
|
|
260
|
-
{
|
|
261
|
-
backgroundColor: `${AppColors_1.AppColors.purple}1A`,
|
|
262
|
-
borderColor: `${AppColors_1.AppColors.purple}3D`,
|
|
263
|
-
},
|
|
264
|
-
]}>
|
|
265
|
-
<react_native_1.Text style={[styles.metaChipText, { color: AppColors_1.AppColors.purple, fontFamily: AppFonts_1.AppFonts.interBold }]}>
|
|
266
|
-
×{item.duplicateCount}
|
|
37
|
+
</react_native_1.View>}
|
|
38
|
+
{"duplicateCount"in o&&o.duplicateCount!=null&&o.duplicateCount>1&&<react_native_1.View style={[styles.metaChip,{backgroundColor:`${AppColors_1.AppColors.purple}1A`,borderColor:`${AppColors_1.AppColors.purple}3D`}]}>
|
|
39
|
+
<react_native_1.Text style={[styles.metaChipText,{color:AppColors_1.AppColors.purple,fontFamily:AppFonts_1.AppFonts.interBold}]}>
|
|
40
|
+
×{o.duplicateCount}
|
|
267
41
|
</react_native_1.Text>
|
|
268
|
-
</react_native_1.View>
|
|
42
|
+
</react_native_1.View>}
|
|
269
43
|
</react_native_1.View>
|
|
270
44
|
|
|
271
45
|
<react_native_1.View style={styles.headerRight}>
|
|
272
|
-
<CopyButton_1.default value={
|
|
273
|
-
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextWeak}
|
|
46
|
+
<CopyButton_1.default value={o.message}label={l("console.logMessage")}/>
|
|
47
|
+
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextWeak}size={14}/>
|
|
274
48
|
</react_native_1.View>
|
|
275
49
|
</react_native_1.View>
|
|
276
50
|
|
|
277
51
|
|
|
278
52
|
<react_native_1.View style={styles.cardBody}>
|
|
279
|
-
{
|
|
280
|
-
{
|
|
281
|
-
{
|
|
282
|
-
<LogSyntaxHighlighter_1.default text={
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
]} detectLinks={false} numberOfLines={isExpanded ? undefined : 4}/>
|
|
286
|
-
{jsonPreview.text.split('\n').length > 4 && (<react_native_1.Pressable onPress={toggleExpand} hitSlop={6} style={styles.expandToggle}>
|
|
53
|
+
{i?<>
|
|
54
|
+
{i.header?getLogMessageWithBadges(i.header,t,[styles.messageText,{color:AppColors_1.AppColors.primaryBlack}],styles.highlight,c?void 0:2):null}
|
|
55
|
+
{s&&<react_native_1.View style={styles.jsonPreviewContainer}>
|
|
56
|
+
<LogSyntaxHighlighter_1.default text={s.text}search={t}style={[styles.jsonPreviewText,{color:AppColors_1.AppColors.primaryBlack}]}detectLinks={!1}numberOfLines={c?void 0:4}/>
|
|
57
|
+
{s.text.split(`
|
|
58
|
+
`).length>4&&<react_native_1.Pressable onPress={T}hitSlop={6}style={styles.expandToggle}>
|
|
287
59
|
<react_native_1.Text style={styles.expandToggleText}>
|
|
288
|
-
{
|
|
60
|
+
{c?"Show less":"Show full preview"}
|
|
289
61
|
</react_native_1.Text>
|
|
290
|
-
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.purple}
|
|
291
|
-
</react_native_1.Pressable>
|
|
292
|
-
</react_native_1.View>
|
|
293
|
-
|
|
62
|
+
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.purple}size={11}direction={c?"up":"down"}/>
|
|
63
|
+
</react_native_1.Pressable>}
|
|
64
|
+
</react_native_1.View>}
|
|
65
|
+
</>:getLogMessageWithBadges(o.message,t,[styles.messageText,{color:AppColors_1.AppColors.primaryBlack}],styles.highlight,c?void 0:4)}
|
|
294
66
|
</react_native_1.View>
|
|
295
67
|
|
|
296
68
|
|
|
297
69
|
<react_native_1.View style={styles.cardFooter}>
|
|
298
70
|
<react_native_1.View style={styles.footerLeft}>
|
|
299
|
-
<
|
|
300
|
-
<react_native_1.
|
|
301
|
-
|
|
302
|
-
{parsedCaller && (<>
|
|
71
|
+
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.grayTextWeak}size={11}/>
|
|
72
|
+
<react_native_1.Text style={styles.footerTime}>{(0,helpers_1.formatTime)(o.timestamp)}</react_native_1.Text>
|
|
73
|
+
{a&&<>
|
|
303
74
|
<react_native_1.View style={styles.footerDot}/>
|
|
304
|
-
<react_native_1.Pressable onPress={
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
parsedCaller.fileName, parsedCaller.lineNumber, parsedCaller.columnNumber);
|
|
309
|
-
}} hitSlop={8} style={styles.callerPill}>
|
|
310
|
-
{parsedCaller.fileExt && parsedCaller.fileExt !== 'other' && (<react_native_1.View style={[
|
|
311
|
-
styles.extBadge,
|
|
312
|
-
{
|
|
313
|
-
backgroundColor: parsedCaller.fileExt === 'tsx' || parsedCaller.fileExt === 'ts'
|
|
314
|
-
? `${AppColors_1.AppColors.brandPurple}22`
|
|
315
|
-
: `${AppColors_1.AppColors.teal600}22`,
|
|
316
|
-
},
|
|
317
|
-
]}>
|
|
318
|
-
<react_native_1.Text style={[
|
|
319
|
-
styles.extBadgeText,
|
|
320
|
-
{
|
|
321
|
-
color: parsedCaller.fileExt === 'tsx' || parsedCaller.fileExt === 'ts'
|
|
322
|
-
? AppColors_1.AppColors.brandPurple
|
|
323
|
-
: AppColors_1.AppColors.teal600,
|
|
324
|
-
},
|
|
325
|
-
]}>
|
|
326
|
-
{parsedCaller.fileExt.toUpperCase()}
|
|
75
|
+
<react_native_1.Pressable onPress={p=>{p.stopPropagation?.(),(0,helpers_1.openInVSCode)(a.rawFilePath||a.fullPath||a.fileName,a.lineNumber,a.columnNumber)}}hitSlop={8}style={styles.callerPill}>
|
|
76
|
+
{a.fileExt&&a.fileExt!=="other"&&<react_native_1.View style={[styles.extBadge,{backgroundColor:a.fileExt==="tsx"||a.fileExt==="ts"?`${AppColors_1.AppColors.brandPurple}22`:`${AppColors_1.AppColors.teal600}22`}]}>
|
|
77
|
+
<react_native_1.Text style={[styles.extBadgeText,{color:a.fileExt==="tsx"||a.fileExt==="ts"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.teal600}]}>
|
|
78
|
+
{a.fileExt.toUpperCase()}
|
|
327
79
|
</react_native_1.Text>
|
|
328
|
-
</react_native_1.View>
|
|
329
|
-
<react_native_1.Text style={styles.callerFileName}
|
|
330
|
-
{
|
|
331
|
-
{
|
|
80
|
+
</react_native_1.View>}
|
|
81
|
+
<react_native_1.Text style={styles.callerFileName}numberOfLines={1}ellipsizeMode="middle">
|
|
82
|
+
{a.fileName}
|
|
83
|
+
{a.lineNumber?`:${a.lineNumber}`:""}
|
|
332
84
|
</react_native_1.Text>
|
|
333
|
-
<NetworkIcons_1.ExternalLinkIcon color={AppColors_1.AppColors.sky600}
|
|
85
|
+
<NetworkIcons_1.ExternalLinkIcon color={AppColors_1.AppColors.sky600}size={8.5}/>
|
|
334
86
|
</react_native_1.Pressable>
|
|
335
|
-
</>
|
|
87
|
+
</>}
|
|
336
88
|
</react_native_1.View>
|
|
337
89
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
styles.
|
|
341
|
-
|
|
342
|
-
backgroundColor: `${AppColors_1.AppColors.skyBlue}15`,
|
|
343
|
-
borderColor: `${AppColors_1.AppColors.skyBlue}30`,
|
|
344
|
-
},
|
|
345
|
-
]}>
|
|
346
|
-
<react_native_1.Text style={[styles.footerBadgeText, { color: AppColors_1.AppColors.skyBlue }]}>
|
|
347
|
-
{t('console.analyticsBadge')}
|
|
90
|
+
{g&&<react_native_1.View style={styles.footerRight}>
|
|
91
|
+
<react_native_1.View style={[styles.footerBadge,{backgroundColor:`${AppColors_1.AppColors.skyBlue}15`,borderColor:`${AppColors_1.AppColors.skyBlue}30`}]}>
|
|
92
|
+
<react_native_1.Text style={[styles.footerBadgeText,{color:AppColors_1.AppColors.skyBlue}]}>
|
|
93
|
+
{l("console.analyticsBadge")}
|
|
348
94
|
</react_native_1.Text>
|
|
349
|
-
</react_native_1.View>
|
|
350
|
-
|
|
351
|
-
styles.footerBadge,
|
|
352
|
-
{
|
|
353
|
-
backgroundColor: `${AppColors_1.AppColors.slate600}12`,
|
|
354
|
-
borderColor: `${AppColors_1.AppColors.slate600}26`,
|
|
355
|
-
},
|
|
356
|
-
]}>
|
|
357
|
-
<react_native_1.Text style={[styles.footerBadgeText, { color: AppColors_1.AppColors.grayTextStrong }]}>
|
|
358
|
-
{t('console.userLogBadge')}
|
|
359
|
-
</react_native_1.Text>
|
|
360
|
-
</react_native_1.View>)}
|
|
361
|
-
</react_native_1.View>
|
|
95
|
+
</react_native_1.View>
|
|
96
|
+
</react_native_1.View>}
|
|
362
97
|
</react_native_1.View>
|
|
363
98
|
</react_native_1.Pressable>
|
|
364
|
-
</react_native_1.View>);
|
|
365
|
-
});
|
|
366
|
-
const styles = react_native_1.StyleSheet.create({
|
|
367
|
-
container: {
|
|
368
|
-
paddingHorizontal: 10,
|
|
369
|
-
paddingVertical: 3.5,
|
|
370
|
-
},
|
|
371
|
-
card: {
|
|
372
|
-
alignSelf: 'stretch',
|
|
373
|
-
borderRadius: 11,
|
|
374
|
-
borderWidth: 1,
|
|
375
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
376
|
-
borderLeftWidth: 3.5,
|
|
377
|
-
paddingHorizontal: 12,
|
|
378
|
-
paddingTop: 10,
|
|
379
|
-
paddingBottom: 9,
|
|
380
|
-
backgroundColor: AppColors_1.AppColors.white,
|
|
381
|
-
shadowColor: AppColors_1.AppColors.black,
|
|
382
|
-
shadowOpacity: 0.04,
|
|
383
|
-
shadowRadius: 3,
|
|
384
|
-
shadowOffset: { width: 0, height: 1.5 },
|
|
385
|
-
elevation: 1.5,
|
|
386
|
-
},
|
|
387
|
-
cardPressed: {
|
|
388
|
-
opacity: 0.88,
|
|
389
|
-
transform: [{ scale: 0.995 }],
|
|
390
|
-
},
|
|
391
|
-
cardHeader: {
|
|
392
|
-
flexDirection: 'row',
|
|
393
|
-
justifyContent: 'space-between',
|
|
394
|
-
alignItems: 'center',
|
|
395
|
-
marginBottom: 6,
|
|
396
|
-
gap: 8,
|
|
397
|
-
},
|
|
398
|
-
headerLeft: {
|
|
399
|
-
flexDirection: 'row',
|
|
400
|
-
alignItems: 'center',
|
|
401
|
-
flexWrap: 'wrap',
|
|
402
|
-
gap: 6,
|
|
403
|
-
flex: 1,
|
|
404
|
-
},
|
|
405
|
-
headerRight: {
|
|
406
|
-
flexDirection: 'row',
|
|
407
|
-
alignItems: 'center',
|
|
408
|
-
gap: 6,
|
|
409
|
-
},
|
|
410
|
-
typeChip: {
|
|
411
|
-
flexDirection: 'row',
|
|
412
|
-
alignItems: 'center',
|
|
413
|
-
gap: 4,
|
|
414
|
-
paddingHorizontal: 7,
|
|
415
|
-
paddingVertical: 2.5,
|
|
416
|
-
borderRadius: 6,
|
|
417
|
-
},
|
|
418
|
-
typeDot: {
|
|
419
|
-
width: 5,
|
|
420
|
-
height: 5,
|
|
421
|
-
borderRadius: 2.5,
|
|
422
|
-
},
|
|
423
|
-
typeChipText: {
|
|
424
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
425
|
-
fontSize: 9.5,
|
|
426
|
-
letterSpacing: 0.5,
|
|
427
|
-
},
|
|
428
|
-
metaChip: {
|
|
429
|
-
paddingHorizontal: 6,
|
|
430
|
-
paddingVertical: 2,
|
|
431
|
-
borderRadius: 6,
|
|
432
|
-
borderWidth: 1,
|
|
433
|
-
},
|
|
434
|
-
metaChipText: {
|
|
435
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
436
|
-
fontSize: 9.5,
|
|
437
|
-
letterSpacing: 0.2,
|
|
438
|
-
},
|
|
439
|
-
cardBody: {
|
|
440
|
-
paddingVertical: 2,
|
|
441
|
-
},
|
|
442
|
-
messageText: {
|
|
443
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
444
|
-
fontSize: 12.5,
|
|
445
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
446
|
-
lineHeight: 18,
|
|
447
|
-
},
|
|
448
|
-
highlight: {
|
|
449
|
-
backgroundColor: AppColors_1.AppColors.yellowHighlight,
|
|
450
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
451
|
-
borderRadius: 2,
|
|
452
|
-
},
|
|
453
|
-
jsonPreviewContainer: {
|
|
454
|
-
marginTop: 6,
|
|
455
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
456
|
-
borderRadius: 8,
|
|
457
|
-
borderWidth: 1,
|
|
458
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
459
|
-
paddingHorizontal: 9,
|
|
460
|
-
paddingVertical: 7,
|
|
461
|
-
},
|
|
462
|
-
jsonPreviewText: {
|
|
463
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
464
|
-
fontSize: 11,
|
|
465
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
466
|
-
lineHeight: 16,
|
|
467
|
-
},
|
|
468
|
-
expandToggle: {
|
|
469
|
-
flexDirection: 'row',
|
|
470
|
-
alignItems: 'center',
|
|
471
|
-
justifyContent: 'center',
|
|
472
|
-
gap: 4,
|
|
473
|
-
marginTop: 5,
|
|
474
|
-
paddingVertical: 2,
|
|
475
|
-
borderTopWidth: 1,
|
|
476
|
-
borderTopColor: AppColors_1.AppColors.dividerColor,
|
|
477
|
-
},
|
|
478
|
-
expandToggleText: {
|
|
479
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
480
|
-
fontSize: 10,
|
|
481
|
-
color: AppColors_1.AppColors.purple,
|
|
482
|
-
},
|
|
483
|
-
cardFooter: {
|
|
484
|
-
flexDirection: 'row',
|
|
485
|
-
alignItems: 'center',
|
|
486
|
-
justifyContent: 'space-between',
|
|
487
|
-
marginTop: 7,
|
|
488
|
-
paddingTop: 6,
|
|
489
|
-
borderTopWidth: 1,
|
|
490
|
-
borderTopColor: `${AppColors_1.AppColors.dividerColor}88`,
|
|
491
|
-
gap: 6,
|
|
492
|
-
},
|
|
493
|
-
footerLeft: {
|
|
494
|
-
flexDirection: 'row',
|
|
495
|
-
alignItems: 'center',
|
|
496
|
-
gap: 5,
|
|
497
|
-
flex: 1,
|
|
498
|
-
flexWrap: 'wrap',
|
|
499
|
-
},
|
|
500
|
-
footerRight: {
|
|
501
|
-
flexDirection: 'row',
|
|
502
|
-
alignItems: 'center',
|
|
503
|
-
gap: 4,
|
|
504
|
-
},
|
|
505
|
-
footerDot: {
|
|
506
|
-
width: 3,
|
|
507
|
-
height: 3,
|
|
508
|
-
borderRadius: 1.5,
|
|
509
|
-
backgroundColor: AppColors_1.AppColors.grayTextWeak,
|
|
510
|
-
opacity: 0.6,
|
|
511
|
-
},
|
|
512
|
-
footerId: {
|
|
513
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
514
|
-
fontSize: 10,
|
|
515
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
516
|
-
},
|
|
517
|
-
footerTime: {
|
|
518
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
519
|
-
fontSize: 10,
|
|
520
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
521
|
-
letterSpacing: 0.1,
|
|
522
|
-
},
|
|
523
|
-
callerPill: {
|
|
524
|
-
flexDirection: 'row',
|
|
525
|
-
alignItems: 'center',
|
|
526
|
-
gap: 4,
|
|
527
|
-
maxWidth: 185,
|
|
528
|
-
backgroundColor: `${AppColors_1.AppColors.sky600}10`,
|
|
529
|
-
borderColor: `${AppColors_1.AppColors.sky600}2B`,
|
|
530
|
-
borderWidth: 1,
|
|
531
|
-
borderRadius: 5,
|
|
532
|
-
paddingHorizontal: 5,
|
|
533
|
-
paddingVertical: 1.5,
|
|
534
|
-
},
|
|
535
|
-
extBadge: {
|
|
536
|
-
borderRadius: 3,
|
|
537
|
-
paddingHorizontal: 3.5,
|
|
538
|
-
paddingVertical: 0.5,
|
|
539
|
-
},
|
|
540
|
-
extBadgeText: {
|
|
541
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
542
|
-
fontSize: 8,
|
|
543
|
-
},
|
|
544
|
-
callerFileName: {
|
|
545
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
546
|
-
color: AppColors_1.AppColors.sky600,
|
|
547
|
-
fontSize: 9.5,
|
|
548
|
-
},
|
|
549
|
-
footerBadge: {
|
|
550
|
-
paddingHorizontal: 6,
|
|
551
|
-
paddingVertical: 1.5,
|
|
552
|
-
borderRadius: 5,
|
|
553
|
-
borderWidth: 1,
|
|
554
|
-
},
|
|
555
|
-
footerBadgeText: {
|
|
556
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
557
|
-
fontSize: 9,
|
|
558
|
-
},
|
|
559
|
-
prefixTag: {
|
|
560
|
-
flexDirection: 'row',
|
|
561
|
-
alignItems: 'center',
|
|
562
|
-
gap: 3.5,
|
|
563
|
-
paddingHorizontal: 6.5,
|
|
564
|
-
paddingVertical: 2,
|
|
565
|
-
borderRadius: 5,
|
|
566
|
-
borderWidth: 1,
|
|
567
|
-
},
|
|
568
|
-
prefixTagText: {
|
|
569
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
570
|
-
fontSize: 9.5,
|
|
571
|
-
letterSpacing: 0.3,
|
|
572
|
-
},
|
|
573
|
-
});
|
|
99
|
+
</react_native_1.View>});const styles=react_native_1.StyleSheet.create({container:{paddingHorizontal:10,paddingVertical:3.5},card:{alignSelf:"stretch",borderRadius:11,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,borderLeftWidth:3.5,paddingHorizontal:12,paddingTop:10,paddingBottom:9,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.04,shadowRadius:3,shadowOffset:{width:0,height:1.5},elevation:1.5},cardPressed:{opacity:.88,transform:[{scale:.995}]},cardHeader:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:6,gap:8},headerLeft:{flexDirection:"row",alignItems:"center",flexWrap:"wrap",gap:6,flex:1},idBadge:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.slate500}12`,borderWidth:1,borderColor:`${AppColors_1.AppColors.slate500}22`},idBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.2},headerRight:{flexDirection:"row",alignItems:"center",gap:6},typeChip:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:2.5,borderRadius:6},typeDot:{width:5,height:5,borderRadius:2.5},typeChipText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,letterSpacing:.5},metaChip:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1},metaChipText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,letterSpacing:.2},cardBody:{paddingVertical:2},messageText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12.5,color:AppColors_1.AppColors.primaryBlack,lineHeight:18},highlight:{backgroundColor:AppColors_1.AppColors.yellowHighlight,color:AppColors_1.AppColors.primaryBlack,borderRadius:2},jsonPreviewContainer:{marginTop:6,backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,borderLeftWidth:3,borderLeftColor:AppColors_1.AppColors.teal600,paddingHorizontal:10,paddingVertical:7},jsonPreviewText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.primaryBlack,lineHeight:16},expandToggle:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:4,marginTop:5,paddingVertical:3,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor},expandToggleText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:AppColors_1.AppColors.purple},cardFooter:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:7,paddingTop:6,borderTopWidth:1,borderTopColor:`${AppColors_1.AppColors.dividerColor}88`,gap:6},footerLeft:{flexDirection:"row",alignItems:"center",gap:5,flex:1,flexWrap:"wrap"},footerRight:{flexDirection:"row",alignItems:"center",gap:4},footerDot:{width:3,height:3,borderRadius:1.5,backgroundColor:AppColors_1.AppColors.grayTextWeak,opacity:.6},footerId:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.grayTextWeak},footerTime:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.1},callerPill:{flexDirection:"row",alignItems:"center",gap:4,maxWidth:185,backgroundColor:`${AppColors_1.AppColors.sky600}10`,borderColor:`${AppColors_1.AppColors.sky600}2B`,borderWidth:1,borderRadius:5,paddingHorizontal:5,paddingVertical:1.5},extBadge:{borderRadius:3,paddingHorizontal:3.5,paddingVertical:.5},extBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8},callerFileName:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.sky600,fontSize:9.5},footerBadge:{paddingHorizontal:6,paddingVertical:1.5,borderRadius:5,borderWidth:1},footerBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9},prefixTag:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:6.5,paddingVertical:2,borderRadius:5,borderWidth:1},prefixTagText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,letterSpacing:.3}});
|